Home
last modified time | relevance | path

Searched refs:getAppOpsManager (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java301 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/
DBroadcastSkipPolicy.java139 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()
DBaseAppStateTracker.java372 AppOpsManager getAppOpsManager() { in getAppOpsManager() method in BaseAppStateTracker.Injector
DAppRestrictionController.java2932 final AppOpsManager appOpsManager = mInjector.getAppOpsManager();
2964 final AppOpsManager appOpsManager = mInjector.getAppOpsManager();
3281 AppOpsManager getAppOpsManager() {
DActiveServices.java1051 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/
DCrossProfileAppsServiceImpl.java527 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();
DPackageArchiver.java297 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/
DServiceWrappers.h188 virtual std::unique_ptr<AppOpsManagerWrapper> getAppOpsManager() = 0;
206 std::unique_ptr<AppOpsManagerWrapper> getAppOpsManager() final;
DServiceWrappers.cpp426 std::unique_ptr<AppOpsManagerWrapper> RealServiceManager::getAppOpsManager() { in getAppOpsManager() function in android::incremental::RealServiceManager
DIncrementalService.cpp353 mAppOpsManager(sm.getAppOpsManager()), in IncrementalService()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DBackgroundActivityStartControllerExemptionTests.java175 when(mService.getAppOpsManager()).thenReturn(mAppOpsManager); in setUp()
675 when(mService.getAppOpsManager()).thenReturn(appOpsManager); in testCaller_isExemptFromBgStartRestriction()
DBackgroundActivityStartControllerTests.java197 Mockito.when(mService.getAppOpsManager()).thenReturn(mAppOpsManager); in setUp()
DSystemServicesTestRule.java632 doReturn(aos).when(this).getAppOpsManager();
DActivityStarterTests.java174 mAppOpsManager = mAtm.getAppOpsManager(); in setUp()
DActivityRecordTests.java2342 AppOpsManager appOpsManager = mAtm.getAppOpsManager(); in testCheckEnterPictureInPictureState_displayNotSupportedPip()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DCrossProfileAppsServiceImplTest.java743 public AppOpsManager getAppOpsManager() { in getAppOpsManager() method in CrossProfileAppsServiceImplTest.TestInjector
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DCrossProfileAppsServiceImplTest.java743 public AppOpsManager getAppOpsManager() { in getAppOpsManager() method in CrossProfileAppsServiceImplTest.TestInjector
/frameworks/base/services/robotests/src/com/android/server/pm/
DCrossProfileAppsServiceImplRoboTest.java760 public AppOpsManager getAppOpsManager() { in getAppOpsManager() method in CrossProfileAppsServiceImplRoboTest.TestInjector
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskSupervisor.java1306 private AppOpsManager getAppOpsManager() { in getAppOpsManager() method in ActivityTaskSupervisor
1335 if (getAppOpsManager().noteOpNoThrow(opCode, callingUid, in getComponentRestrictionForCallingPackage()
1379 if (getAppOpsManager().noteOpNoThrow(opCode, callingUid, in getActionRestrictionForCallingPackage()
DBackgroundActivityStartController.java888 if (isSystemExemptFlagEnabled() && mService.getAppOpsManager().checkOpNoThrow( in checkBackgroundActivityStartAllowedByCaller()
DActivityTaskManagerService.java1090 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/
DContentProvider.java1401 public AppOpsManager getAppOpsManager() { in getAppOpsManager() method in ContentProvider
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBackgroundRestrictionTest.java3262 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/
DDevicePolicyManagerService.java1369 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/
DIncrementalServiceTest.cpp703 std::unique_ptr<AppOpsManagerWrapper> getAppOpsManager() final { in getAppOpsManager() function in android::os::incremental::MockServiceManager

12