/frameworks/base/services/core/java/com/android/server/ |
D | VibratorService.java | 86 private final IAppOpsService mAppOpsService; field in VibratorService 206 mAppOpsService = in VibratorService() 547 mode = mAppOpsService.checkAudioOperation(AppOpsManager.OP_VIBRATE, in getAppOpMode() 550 mode = mAppOpsService.startOperation(AppOpsManager.getToken(mAppOpsService), in getAppOpMode() 563 mAppOpsService.finishOperation(AppOpsManager.getToken(mAppOpsService), in reportFinishVibrationLocked()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ActivityManagerServiceTest.java | 122 @Mock private AppOpsService mAppOpsService; field in ActivityManagerServiceTest 363 when(mAppOpsService.checkOperation(AppOpsManager.OP_GET_USAGE_STATS, Process.myUid(), null)) in testDispatchUids_dispatchNeededChanges() 816 return mAppOpsService; in getAppOpsService()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastQueue.java | 534 && mService.mAppOpsService.noteOperation(opCode, r.callingUid, in deliverToRegisteredReceiverLocked() 566 && mService.mAppOpsService.noteOperation(appOp, in deliverToRegisteredReceiverLocked() 598 && mService.mAppOpsService.noteOperation(r.appOp, in deliverToRegisteredReceiverLocked() 1088 && mService.mAppOpsService.noteOperation(opCode, r.callingUid, in processNextBroadcast() 1126 && mService.mAppOpsService.noteOperation(appOp, in processNextBroadcast() 1142 && mService.mAppOpsService.noteOperation(r.appOp, in processNextBroadcast()
|
D | ActivityManagerService.java | 1237 final AppOpsService mAppOpsService; field in ActivityManagerService 2605 return mAppOpsService; in getAppOpsService() 2694 mAppOpsService = mInjector.getAppOpsService(null, null); in ActivityManagerService() 2773 mAppOpsService = mInjector.getAppOpsService(new File(systemDir, "appops.xml"), mHandler); in ActivityManagerService() 2774 mAppOpsService.startWatchingMode(AppOpsManager.OP_RUN_IN_BACKGROUND, null, in ActivityManagerService() 2778 if (mAppOpsService.checkOperation(op, uid, packageName) in ActivityManagerService() 2868 mAppOpsService.publish(mContext); in start() 4222 final int mode = mAppOpsService.checkOperation(AppOpsManager.OP_GET_USAGE_STATS, in hasUsageStatsPermission() 8382 int appop = mAppOpsService.noteOperation(AppOpsManager.OP_RUN_IN_BACKGROUND, in appRestrictedInBackgroundLocked() 12447 mAppOpsService.shutdown(); [all …]
|
D | ActiveServices.java | 1027 final int mode = mAm.mAppOpsService.checkOperation( in setServiceForegroundInnerLocked() 1793 if (opCode != AppOpsManager.OP_NONE && mAm.mAppOpsService.noteOperation( in retrieveServiceLocked()
|
D | ActivityStackSupervisor.java | 1768 if (mService.mAppOpsService.noteOperation(opCode, callingUid, in getComponentRestrictionForCallingPackage() 1812 if (mService.mAppOpsService.noteOperation(opCode, callingUid, in getActionRestrictionForCallingPackage()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssLocationProvider.java | 405 private final IAppOpsService mAppOpsService; field in GnssLocationProvider 703 mAppOpsService = IAppOpsService.Stub.asInterface(ServiceManager.getService( in GnssLocationProvider() 1294 mAppOpsService.startOperation(AppOpsManager.getToken(mAppOpsService), in updateClientUids() 1312 mAppOpsService.finishOperation(AppOpsManager.getToken(mAppOpsService), in updateClientUids()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 355 private IAppOpsService mAppOpsService; field in UserManagerService 478 mAppOpsService = IAppOpsService.Stub.asInterface( in systemReady() 1451 if (mAppOpsService != null) { // We skip it until system-ready. in updateUserRestrictionsInternalLR() 1456 mAppOpsService.setUserRestrictions(effective, mUserRestriconToken, userId); in updateUserRestrictionsInternalLR() 2682 mAppOpsService.removeUser(userHandle); in removeUserUnchecked()
|