
org.robolectric.shadows.ShadowIAppOpsService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of framework Show documentation
Show all versions of framework Show documentation
An alternative Android testing framework.
The newest version!
package org.robolectric.shadows;
import android.os.IBinder;
import com.android.internal.app.IAppOpsService;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
import org.robolectric.util.ReflectionHelpers;
public class ShadowIAppOpsService {
@Implements(value = IAppOpsService.Stub.class, isInAndroidSdk = false)
public static class ShadowStub {
@Implementation
public static IAppOpsService asInterface(IBinder obj) {
return ReflectionHelpers.createNullProxy(IAppOpsService.class);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy