Searched defs:mAppOpsService (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/appops/ |
H A D | AppOpsServiceTest.java | 59 private AppOpsService mAppOpsService; field in class:AppOpsServiceTest 79 mAppOpsService = new AppOpsService(mAppOpsFile, mHandler); 80 mAppOpsService.mContext = mContext; 91 mAppOpsService.setMode(OP_READ_SMS, mMyUid, mMyPackageName, MODE_ALLOWED); 92 mAppOpsService.setMode(OP_WRITE_SMS, mMyUid, mMyPackageName, MODE_ERRORED); 95 mAppOpsService.noteOperation(OP_READ_SMS, mMyUid, mMyPackageName); 100 mAppOpsService.noteOperation(OP_WRITE_SMS, mMyUid, mMyPackageName); 109 mAppOpsService.setMode(OP_READ_SMS, mMyUid, mMyPackageName, MODE_ALLOWED); 110 mAppOpsService.setMode(OP_WRITE_SMS, mMyUid, mMyPackageName, MODE_ERRORED); 111 mAppOpsService [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
H A D | ActivityManagerServiceTest.java | 122 @Mock private AppOpsService mAppOpsService; field in class:ActivityManagerServiceTest 363 when(mAppOpsService.noteOperation(AppOpsManager.OP_GET_USAGE_STATS, Process.myUid(), null)) 816 return mAppOpsService;
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AppStateTracker.java | 90 IAppOpsService mAppOpsService; field in class:AppStateTracker 422 mAppOpsService = Preconditions.checkNotNull(injectIAppOpsService()); 442 mAppOpsService.startWatchingMode(TARGET_OP, null, 665 restricted = mAppOpsService.checkOperation(TARGET_OP,
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | UserManagerService.java | 366 private IAppOpsService mAppOpsService; field in class:UserManagerService 545 mAppOpsService = IAppOpsService.Stub.asInterface( 1668 if (mAppOpsService != null) { // We skip it until system-ready. 1673 mAppOpsService.setUserRestrictions(effective, mUserRestriconToken, userId); 2901 mAppOpsService.removeUser(userHandle);
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 1418 final AppOpsService mAppOpsService; field in class:ActivityManagerService 2758 mAppOpsService.startWatchingMode(AppOpsManager.OP_RUN_IN_BACKGROUND, null, 2762 if (mAppOpsService.checkOperation(op, uid, packageName) 2789 return mAppOpsService; 3017 mAppOpsService = mInjector.getAppOpsService(null, null); 3109 mAppOpsService = mInjector.getAppOpsService(new File(systemDir, "appops.xml"), mHandler); 3220 mAppOpsService.publish(mContext); 4777 final int mode = mAppOpsService.noteOperation(AppOpsManager.OP_GET_USAGE_STATS, 9054 return mActivityManagerService.mAppOpsService 9314 int appop = mAppOpsService [all...] |
Completed in 44 milliseconds