/frameworks/base/services/core/java/com/android/server/ |
D | MmsServiceBroker.java | 301 private AppOpsManager getAppOpsManager() { in getAppOpsManager() method in MmsServiceBroker 354 if (getAppOpsManager().noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), in sendMessage() 374 if (getAppOpsManager().noteOp(AppOpsManager.OP_RECEIVE_MMS, Binder.getCallingUid(), in downloadMessage() 391 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in importTextMessage() 405 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in importMultimediaMessage() 418 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in deleteStoredMessage() 428 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in deleteStoredConversation() 438 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in updateStoredMessageStatus() 449 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in archiveStoredConversation() 460 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in addTextMessageDraft() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastSkipPolicy.java | 139 if (opCode != AppOpsManager.OP_NONE && mService.getAppOpsManager().noteOpNoThrow(opCode, in shouldSkipMessage() 260 mService.getAppOpsManager().checkOpNoThrow(appOp, in shouldSkipMessage() 404 && mService.getAppOpsManager().noteOpNoThrow(opCode, r.callingUid, in shouldSkipMessage() 497 && mService.getAppOpsManager().noteOpNoThrow(appOp, in shouldSkipMessage() 540 mService.getAppOpsManager().checkOpNoThrow(appOp, in shouldSkipMessage() 587 && mService.getAppOpsManager().noteOpNoThrow(r.appOp, in shouldSkipMessage() 652 if (mService.getAppOpsManager().noteOpNoThrow(appOp, in noteOpForManifestReceiverInner()
|
D | BaseAppStateTracker.java | 372 AppOpsManager getAppOpsManager() { in getAppOpsManager() method in BaseAppStateTracker.Injector
|
D | AppRestrictionController.java | 2932 final AppOpsManager appOpsManager = mInjector.getAppOpsManager(); 2964 final AppOpsManager appOpsManager = mInjector.getAppOpsManager(); 3281 AppOpsManager getAppOpsManager() {
|
D | ActiveServices.java | 1051 final int mode = mAm.getAppOpsManager().checkOpNoThrow( in startServiceLocked() 2169 final int mode = mAm.getAppOpsManager().checkOpNoThrow( in setServiceForegroundInnerLocked() 2256 final int mode = mAm.getAppOpsManager().checkOpNoThrow( in setServiceForegroundInnerLocked() 3322 callback = new AppOpCallback(r.app, mAm.getAppOpsManager()); in registerAppOpCallbackLocked() 5095 if (opCode != AppOpsManager.OP_NONE && mAm.getAppOpsManager().checkOpNoThrow( in retrieveServiceLocked() 8829 final AppOpsManager appOpsManager = mAm.getAppOpsManager(); in shouldAllowFgsStartForegroundNoBindingCheckLocked() 8839 final AppOpsManager appOpsManager = mAm.getAppOpsManager(); in shouldAllowFgsStartForegroundNoBindingCheckLocked()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | CrossProfileAppsServiceImpl.java | 527 mInjector.getAppOpsManager() 530 mInjector.getAppOpsManager() 575 == mInjector.getAppOpsManager().unsafeCheckOpNoThrow(op, uid, packageName)); 745 mInjector.getAppOpsManager().checkPackage(mInjector.getCallingUid(), callingPackage); 854 public AppOpsManager getAppOpsManager() { 922 AppOpsManager getAppOpsManager();
|
D | PackageArchiver.java | 297 boolean openAppDetailsIfOngoingUnarchival = getAppOpsManager().checkOp( in requestUnarchiveOnActivityStart() 319 getAppOpsManager().checkOp( in requestUnarchiveOnActivityStart() 727 getAppOpsManager().checkOpNoThrow( in isAppOptedOutOfArchiving() 958 if (icon != null && getAppOpsManager().checkOp( in getArchivedAppIcon() 1277 private AppOpsManager getAppOpsManager() { in getAppOpsManager() method in PackageArchiver
|
/frameworks/base/services/incremental/ |
D | ServiceWrappers.h | 188 virtual std::unique_ptr<AppOpsManagerWrapper> getAppOpsManager() = 0; 206 std::unique_ptr<AppOpsManagerWrapper> getAppOpsManager() final;
|
D | ServiceWrappers.cpp | 426 std::unique_ptr<AppOpsManagerWrapper> RealServiceManager::getAppOpsManager() { in getAppOpsManager() function in android::incremental::RealServiceManager
|
D | IncrementalService.cpp | 353 mAppOpsManager(sm.getAppOpsManager()), in IncrementalService()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | BackgroundActivityStartControllerExemptionTests.java | 175 when(mService.getAppOpsManager()).thenReturn(mAppOpsManager); in setUp() 675 when(mService.getAppOpsManager()).thenReturn(appOpsManager); in testCaller_isExemptFromBgStartRestriction()
|
D | BackgroundActivityStartControllerTests.java | 197 Mockito.when(mService.getAppOpsManager()).thenReturn(mAppOpsManager); in setUp()
|
D | SystemServicesTestRule.java | 632 doReturn(aos).when(this).getAppOpsManager();
|
D | ActivityStarterTests.java | 174 mAppOpsManager = mAtm.getAppOpsManager(); in setUp()
|
D | ActivityRecordTests.java | 2342 AppOpsManager appOpsManager = mAtm.getAppOpsManager(); in testCheckEnterPictureInPictureState_displayNotSupportedPip()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplTest.java | 743 public AppOpsManager getAppOpsManager() { in getAppOpsManager() method in CrossProfileAppsServiceImplTest.TestInjector
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplTest.java | 743 public AppOpsManager getAppOpsManager() { in getAppOpsManager() method in CrossProfileAppsServiceImplTest.TestInjector
|
/frameworks/base/services/robotests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplRoboTest.java | 760 public AppOpsManager getAppOpsManager() { in getAppOpsManager() method in CrossProfileAppsServiceImplRoboTest.TestInjector
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskSupervisor.java | 1306 private AppOpsManager getAppOpsManager() { in getAppOpsManager() method in ActivityTaskSupervisor 1335 if (getAppOpsManager().noteOpNoThrow(opCode, callingUid, in getComponentRestrictionForCallingPackage() 1379 if (getAppOpsManager().noteOpNoThrow(opCode, callingUid, in getActionRestrictionForCallingPackage()
|
D | BackgroundActivityStartController.java | 888 if (isSystemExemptFlagEnabled() && mService.getAppOpsManager().checkOpNoThrow( in checkBackgroundActivityStartAllowedByCaller()
|
D | ActivityTaskManagerService.java | 1090 AppOpsManager getAppOpsManager() { in getAppOpsManager() method in ActivityTaskManagerService 1103 final int mode = getAppOpsManager().noteOpNoThrow(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in hasSystemAlertWindowPermission() 3172 getAppOpsManager(), proxy, lock, AppOpsManager.OP_ASSIST_STRUCTURE, in requestAssistDataForTask()
|
/frameworks/base/core/java/android/content/ |
D | ContentProvider.java | 1401 public AppOpsManager getAppOpsManager() { in getAppOpsManager() method in ContentProvider
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | BackgroundRestrictionTest.java | 3262 AppOpsManager getAppOpsManager() { in getAppOpsManager() method in BackgroundRestrictionTest.TestBgRestrictionInjector 3420 AppOpsManager getAppOpsManager() { in getAppOpsManager() method in BackgroundRestrictionTest.TestBaseTrackerInjector
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 1369 final List<AppOpsManager.PackageOps> allVpnOps = mInjector.getAppOpsManager() in clearUserConfiguredVpns() 1387 mInjector.getAppOpsManager().setMode(AppOpsManager.OP_ACTIVATE_VPN, pkgOps.getUid(), in clearUserConfiguredVpns() 1817 AppOpsManager getAppOpsManager() { in getAppOpsManager() method in Injector 7456 AppOpsManager appOpsManager = mInjector.getAppOpsManager(); 7593 mInjector.getAppOpsManager().setMode(AppOpsManager.OP_ACTIVATE_VPN, 20544 final AppOpsManager appOpsMgr = mInjector.getAppOpsManager(); 20603 if (mInjector.getAppOpsManager().unsafeCheckOpNoThrow( 21703 int mode = mInjector.getAppOpsManager().unsafeCheckOpNoThrow(
|
/frameworks/base/services/incremental/test/ |
D | IncrementalServiceTest.cpp | 703 std::unique_ptr<AppOpsManagerWrapper> getAppOpsManager() final { in getAppOpsManager() function in android::os::incremental::MockServiceManager
|