Home
last modified time | relevance | path

Searched refs:mAppOpsService (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DVibratorService.java86 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/
DActivityManagerServiceTest.java122 @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/
DBroadcastQueue.java534 && 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()
DActivityManagerService.java1237 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 …]
DActiveServices.java1027 final int mode = mAm.mAppOpsService.checkOperation( in setServiceForegroundInnerLocked()
1793 if (opCode != AppOpsManager.OP_NONE && mAm.mAppOpsService.noteOperation( in retrieveServiceLocked()
DActivityStackSupervisor.java1768 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/
DGnssLocationProvider.java405 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/
DUserManagerService.java355 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()