Home
last modified time | relevance | path

Searched refs:IAppOpsService (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/native/libs/permission/
DIAppOpsService.cpp31 class BpAppOpsService : public BpInterface<IAppOpsService>
35 : BpInterface<IAppOpsService>(impl) in BpAppOpsService()
41 data.writeInterfaceToken(IAppOpsService::getInterfaceDescriptor()); in checkOperation()
55 data.writeInterfaceToken(IAppOpsService::getInterfaceDescriptor()); in noteOperation()
77 data.writeInterfaceToken(IAppOpsService::getInterfaceDescriptor()); in startOperation()
99 data.writeInterfaceToken(IAppOpsService::getInterfaceDescriptor()); in finishOperation()
111 data.writeInterfaceToken(IAppOpsService::getInterfaceDescriptor()); in startWatchingMode()
120 data.writeInterfaceToken(IAppOpsService::getInterfaceDescriptor()); in stopWatchingMode()
127 data.writeInterfaceToken(IAppOpsService::getInterfaceDescriptor()); in permissionToOpCode()
138 data.writeInterfaceToken(IAppOpsService::getInterfaceDescriptor()); in checkAudioOperation()
[all …]
DAppOpsManager.cpp50 sp<IAppOpsService> AppOpsManager::getService() in getService()
56 sp<IAppOpsService> service = mService; in getService()
71 service = interface_cast<IAppOpsService>(binder); in getService()
80 sp<IAppOpsService> service = getService(); in checkOp()
88 sp<IAppOpsService> service = getService(); in checkAudioOpNoThrow()
101 sp<IAppOpsService> service = getService(); in noteOp()
119 sp<IAppOpsService> service = getService(); in startOpNoThrow()
135 sp<IAppOpsService> service = getService(); in finishOp()
143 sp<IAppOpsService> service = getService(); in startWatchingMode()
151 sp<IAppOpsService> service = getService(); in startWatchingMode()
[all …]
DAndroid.bp40 "IAppOpsService.cpp",
/frameworks/native/libs/permission/include/binder/
DAppOpsManager.h36 MODE_ALLOWED = IAppOpsService::MODE_ALLOWED,
37 MODE_IGNORED = IAppOpsService::MODE_IGNORED,
38 MODE_ERRORED = IAppOpsService::MODE_ERRORED
189 sp<IAppOpsService> mService;
191 sp<IAppOpsService> getService();
DIAppOpsService.h32 class IAppOpsService : public IInterface
81 class BnAppOpsService : public BnInterface<IAppOpsService>
/frameworks/base/boot/hiddenapi/
Dhiddenapi-unsupported.txt207 Lcom/android/internal/app/IAppOpsService$Stub$Proxy;-><init>(Landroid/os/IBinder;)V
208 Lcom/android/internal/app/IAppOpsService$Stub$Proxy;->checkOperation(IILjava/lang/String;)I
209 Lcom/android/internal/app/IAppOpsService$Stub$Proxy;->setMode(IILjava/lang/String;I)V
210 Lcom/android/internal/app/IAppOpsService$Stub;->asInterface(Landroid/os/IBinder;)Lcom/android/inter…
211 Lcom/android/internal/app/IAppOpsService$Stub;->TRANSACTION_checkAudioOperation:I
212 Lcom/android/internal/app/IAppOpsService$Stub;->TRANSACTION_checkOperation:I
213 Lcom/android/internal/app/IAppOpsService$Stub;->TRANSACTION_checkPackage:I
214 Lcom/android/internal/app/IAppOpsService$Stub;->TRANSACTION_finishOperation:I
215 Lcom/android/internal/app/IAppOpsService$Stub;->TRANSACTION_getOpsForPackage:I
216 Lcom/android/internal/app/IAppOpsService$Stub;->TRANSACTION_getPackagesForOps:I
[all …]
/frameworks/base/services/companion/java/com/android/server/companion/
DPermissionsUtils.java49 import com.android.internal.app.IAppOpsService;
229 private static IAppOpsService getAppOpsService() { in getAppOpsService()
233 sAppOpsService = IAppOpsService.Stub.asInterface( in getAppOpsService()
242 private static IAppOpsService sAppOpsService = null;
DCompanionDeviceManagerService.java101 import com.android.internal.app.IAppOpsService;
166 private final IAppOpsService mAppOpsManager;
217 mAppOpsManager = IAppOpsService.Stub.asInterface( in CompanionDeviceManagerService()
/frameworks/base/services/core/java/com/android/server/am/
DBaseAppStateTracker.java40 import com.android.internal.app.IAppOpsService;
294 IAppOpsService mIAppOpsService;
317 mIAppOpsService = IAppOpsService.Stub.asInterface( in onSystemReady()
390 IAppOpsService getIAppOpsService() { in getIAppOpsService()
DAppPermissionTracker.java59 import com.android.internal.app.IAppOpsService;
192 final IAppOpsService appOpsService = mInjector.getIAppOpsService(); in handleOpChanged()
306 final IAppOpsService appOpsService = mInjector.getIAppOpsService(); in updateAppOps()
365 final IAppOpsService appOpsService = mInjector.getIAppOpsService(); in startWatchingMode()
381 final IAppOpsService appOpsService = mInjector.getIAppOpsService(); in stopWatchingMode()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendPackagesTest.java53 import com.android.internal.app.IAppOpsService;
271 final IAppOpsService iAppOps = IAppOpsService.Stub.asInterface( in assertOpBlockedOnSuspend()
/frameworks/base/media/java/android/media/
DPlayerBase.java39 import com.android.internal.app.IAppOpsService;
74 private @Nullable IAppOpsService mAppOps;
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DAppStateTrackerImpl.java53 import com.android.internal.app.IAppOpsService;
94 IAppOpsService mAppOpsService;
550 IAppOpsService injectIAppOpsService() { in injectIAppOpsService()
551 return IAppOpsService.Stub.asInterface( in injectIAppOpsService()
/frameworks/base/core/java/com/android/internal/app/
DIAppOpsService.aidl35 interface IAppOpsService { interface
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java88 import com.android.internal.app.IAppOpsService;
192 final IAppOpsService appOpsService = IAppOpsService.Stub.asInterface( in onStart()
/frameworks/base/core/java/android/hardware/
DCamera.java57 import com.android.internal.app.IAppOpsService;
194 private @Nullable IAppOpsService mAppOps;
545 mAppOps = IAppOpsService.Stub.asInterface(b); in initAppOps()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/tare/
DInternalResourceService.java76 import com.android.internal.app.IAppOpsService;
155 private IAppOpsService mAppOpsService;
388 mAppOpsService = IAppOpsService.Stub.asInterface( in onBootPhase()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java123 import com.android.internal.app.IAppOpsService;
666 IAppOpsService iAppOpsService = mInjector.getAppOpsService(); in onBootPhase()
2658 IAppOpsService getAppOpsService() { in getAppOpsService()
2659 return IAppOpsService.Stub.asInterface( in getAppOpsService()
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java245 import com.android.internal.app.IAppOpsService;
807 IAppOpsService service = IAppOpsService.Stub.asInterface(b); in registerService()
DAppOpsManager.java79 import com.android.internal.app.IAppOpsService;
219 final IAppOpsService mService;
226 static IAppOpsService sService;
7286 AppOpsManager(Context context, IAppOpsService service) { in AppOpsManager()
8740 public static IBinder getToken(IAppOpsService service) { in getToken()
8756 private static IAppOpsService getService() { in getService()
8759 sService = IAppOpsService.Stub.asInterface( in getService()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAppStateTrackerTest.java71 import com.android.internal.app.IAppOpsService;
115 IAppOpsService injectIAppOpsService() { in injectIAppOpsService()
179 private IAppOpsService mMockIAppOpsService;
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBackgroundRestrictionTest.java146 import com.android.internal.app.IAppOpsService;
298 @Mock private IAppOpsService mIAppOpsService;
3435 IAppOpsService getIAppOpsService() { in getIAppOpsService()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java145 import com.android.internal.app.IAppOpsService;
2093 IAppOpsService iAppOpsService = mInjector.getAppOpsService(); in onBootPhase()
4716 IAppOpsService getAppOpsService() { in getAppOpsService()
4717 return IAppOpsService.Stub.asInterface( in getAppOpsService()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java140 import com.android.internal.app.IAppOpsService;
561 private IAppOpsService mIAppOpsService;
2007 mIAppOpsService = IAppOpsService.Stub.asInterface( in servicesReady()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java144 import com.android.internal.app.IAppOpsService;
203 public class AppOpsService extends IAppOpsService.Stub {
4378 final IAppOpsService mInterface;
4394 Shell(IAppOpsService iface, AppOpsService internal) { in Shell()

12