Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java299 private AppOpsManager getAppOpsManager() { in getAppOpsManager() method in MmsServiceBroker
340 if (getAppOpsManager().noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), in sendMessage()
360 if (getAppOpsManager().noteOp(AppOpsManager.OP_RECEIVE_MMS, Binder.getCallingUid(), in downloadMessage()
377 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in importTextMessage()
391 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in importMultimediaMessage()
404 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in deleteStoredMessage()
414 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in deleteStoredConversation()
424 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in updateStoredMessageStatus()
435 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in archiveStoredConversation()
446 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in addTextMessageDraft()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java518 mInjector.getAppOpsManager()
521 mInjector.getAppOpsManager()
566 == mInjector.getAppOpsManager().unsafeCheckOpNoThrow(op, uid, packageName));
723 mInjector.getAppOpsManager().checkPackage(mInjector.getCallingUid(), callingPackage);
832 public AppOpsManager getAppOpsManager() {
900 AppOpsManager getAppOpsManager();
/frameworks/base/services/incremental/
DServiceWrappers.h188 virtual std::unique_ptr<AppOpsManagerWrapper> getAppOpsManager() = 0;
206 std::unique_ptr<AppOpsManagerWrapper> getAppOpsManager() final;
DServiceWrappers.cpp415 std::unique_ptr<AppOpsManagerWrapper> RealServiceManager::getAppOpsManager() { in getAppOpsManager() function in android::incremental::RealServiceManager
DIncrementalService.cpp353 mAppOpsManager(sm.getAppOpsManager()), in IncrementalService()
/frameworks/base/services/core/java/com/android/server/am/
DBaseAppStateTracker.java370 AppOpsManager getAppOpsManager() { in getAppOpsManager() method in BaseAppStateTracker.Injector
DBroadcastQueue.java740 && mService.getAppOpsManager().noteOpNoThrow(opCode, r.callingUid, in deliverToRegisteredReceiverLocked()
813 && mService.getAppOpsManager().noteOpNoThrow(appOp, in deliverToRegisteredReceiverLocked()
858 mService.getAppOpsManager().checkOpNoThrow(appOp, in deliverToRegisteredReceiverLocked()
910 && mService.getAppOpsManager().noteOpNoThrow(r.appOp, in deliverToRegisteredReceiverLocked()
1601 if (opCode != AppOpsManager.OP_NONE && mService.getAppOpsManager().noteOpNoThrow(opCode, in processNextBroadcastLocked()
1766 mService.getAppOpsManager().checkOpNoThrow(appOp, in processNextBroadcastLocked()
2062 if (mService.getAppOpsManager().noteOpNoThrow(appOp, in noteOpForManifestReceiverInner()
DActiveServices.java770 final int mode = mAm.getAppOpsManager().checkOpNoThrow( in startServiceLocked()
1814 final int mode = mAm.getAppOpsManager().checkOpNoThrow( in setServiceForegroundInnerLocked()
1874 final int mode = mAm.getAppOpsManager().checkOpNoThrow( in setServiceForegroundInnerLocked()
2464 callback = new AppOpCallback(r.app, mAm.getAppOpsManager()); in registerAppOpCallbackLocked()
3567 if (opCode != AppOpsManager.OP_NONE && mAm.getAppOpsManager().checkOpNoThrow( in retrieveServiceLocked()
6828 final AppOpsManager appOpsManager = mAm.getAppOpsManager(); in shouldAllowFgsStartForegroundNoBindingCheckLocked()
DAppRestrictionController.java2816 final AppOpsManager appOpsManager = mInjector.getAppOpsManager(); in getBackgroundRestrictionExemptionReason()
3125 AppOpsManager getAppOpsManager() { in getAppOpsManager() method in AppRestrictionController.Injector
DActivityManagerService.java1900 if (getAppOpsManager().checkOpNoThrow(op, uid, packageName) in setSystemProcess()
2293 AppOpsManager getAppOpsManager() { in getAppOpsManager() method in ActivityManagerService
6003 int appop = getAppOpsManager().noteOpNoThrow(AppOpsManager.OP_RUN_IN_BACKGROUND, in appRestrictedInBackgroundLOSP()
6667 final int mode = getAppOpsManager().checkOpNoThrow(AppOpsManager.OP_RUN_ANY_IN_BACKGROUND, in isBackgroundRestrictedNoCheck()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/
DCrossProfileAppsServiceImplTest.java738 public AppOpsManager getAppOpsManager() { in getAppOpsManager() method in CrossProfileAppsServiceImplTest.TestInjector
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskSupervisor.java1224 private AppOpsManager getAppOpsManager() { in getAppOpsManager() method in ActivityTaskSupervisor
1249 if (getAppOpsManager().noteOpNoThrow(opCode, callingUid, in getComponentRestrictionForCallingPackage()
1293 if (getAppOpsManager().noteOpNoThrow(opCode, callingUid, in getActionRestrictionForCallingPackage()
DActivityTaskManagerService.java1057 AppOpsManager getAppOpsManager() { in getAppOpsManager() method in ActivityTaskManagerService
1070 final int mode = getAppOpsManager().noteOpNoThrow(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in hasSystemAlertWindowPermission()
3035 getAppOpsManager(), proxy, lock, AppOpsManager.OP_ASSIST_STRUCTURE, in requestAssistDataForTask()
DActivityRecord.java3238 return mAtmService.getAppOpsManager().checkOpNoThrow( in checkEnterPictureInPictureAppOpsState()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSystemServicesTestRule.java556 doReturn(aos).when(this).getAppOpsManager();
DActivityRecordTests.java2363 AppOpsManager appOpsManager = mAtm.getAppOpsManager(); in testCheckEnterPictureInPictureState_displayNotSupportedPip()
/frameworks/base/services/robotests/src/com/android/server/pm/
DCrossProfileAppsServiceImplRoboTest.java748 public AppOpsManager getAppOpsManager() { in getAppOpsManager() method in CrossProfileAppsServiceImplRoboTest.TestInjector
/frameworks/base/core/java/android/content/
DContentProvider.java1248 public AppOpsManager getAppOpsManager() { in getAppOpsManager() method in ContentProvider
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBackgroundRestrictionTest.java3082 AppOpsManager getAppOpsManager() { in getAppOpsManager() method in BackgroundRestrictionTest.TestBgRestrictionInjector
3235 AppOpsManager getAppOpsManager() { in getAppOpsManager() method in BackgroundRestrictionTest.TestBaseTrackerInjector
DMockingOomAdjusterTests.java197 doReturn(mock(AppOpsManager.class)).when(sService).getAppOpsManager(); in setUpOnce()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1122 final List<AppOpsManager.PackageOps> allVpnOps = mInjector.getAppOpsManager() in clearUserConfiguredVpns()
1140 mInjector.getAppOpsManager().setMode(AppOpsManager.OP_ACTIVATE_VPN, pkgOps.getUid(), in clearUserConfiguredVpns()
1522 AppOpsManager getAppOpsManager() { in getAppOpsManager() method in Injector
6500 AppOpsManager appOpsManager = mInjector.getAppOpsManager();
6636 mInjector.getAppOpsManager().setMode(AppOpsManager.OP_ACTIVATE_VPN,
17900 return mInjector.getAppOpsManager().unsafeCheckOpNoThrow(
/frameworks/base/services/incremental/test/
DIncrementalServiceTest.cpp703 std::unique_ptr<AppOpsManagerWrapper> getAppOpsManager() final { in getAppOpsManager() function in android::os::incremental::MockServiceManager
/frameworks/base/services/
Dart-profile1658 PLcom/android/server/MmsServiceBroker;->getAppOpsManager()Landroid/app/AppOpsManager;
6227 HPLcom/android/server/am/ActivityManagerService;->getAppOpsManager()Landroid/app/AppOpsManager;
7175 HPLcom/android/server/am/AppRestrictionController$Injector;->getAppOpsManager()Landroid/app/AppOpsM…
19334 PLcom/android/server/devicepolicy/DevicePolicyManagerService$Injector;->getAppOpsManager()Landroid/…
33526 HPLcom/android/server/pm/CrossProfileAppsServiceImpl$InjectorImpl;->getAppOpsManager()Landroid/app/…
51576 HSPLcom/android/server/wm/ActivityTaskManagerService;->getAppOpsManager()Landroid/app/AppOpsManager;
51818 PLcom/android/server/wm/ActivityTaskSupervisor;->getAppOpsManager()Landroid/app/AppOpsManager;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt10098 Landroid/content/ContentProvider;->getAppOpsManager()Landroid/app/AppOpsManager;