Home
last modified time | relevance | path

Searched refs:getAppOpsManager (Results 1 – 18 of 18) 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 …]
DIpSecService.java1011 private AppOpsManager getAppOpsManager() { in getAppOpsManager() method in IpSecService
1579 if (AppOpsManager.MODE_ALLOWED == getAppOpsManager().noteOpNoThrow( in enforceTunnelFeatureAndPermissions()
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java477 mInjector.getAppOpsManager()
480 mInjector.getAppOpsManager()
535 == mInjector.getAppOpsManager().unsafeCheckOpNoThrow(op, uid, packageName));
680 mInjector.getAppOpsManager().checkPackage(mInjector.getCallingUid(), callingPackage);
793 public AppOpsManager getAppOpsManager() {
861 AppOpsManager getAppOpsManager();
/frameworks/base/services/incremental/
DServiceWrappers.h143 virtual std::unique_ptr<AppOpsManagerWrapper> getAppOpsManager() = 0;
158 std::unique_ptr<AppOpsManagerWrapper> getAppOpsManager() final;
DServiceWrappers.cpp303 std::unique_ptr<AppOpsManagerWrapper> RealServiceManager::getAppOpsManager() { in getAppOpsManager() function in android::incremental::RealServiceManager
DIncrementalService.cpp276 mAppOpsManager(sm.getAppOpsManager()), in IncrementalService()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastQueue.java641 && mService.getAppOpsManager().noteOpNoThrow(opCode, r.callingUid, in deliverToRegisteredReceiverLocked()
674 && mService.getAppOpsManager().noteOpNoThrow(appOp, in deliverToRegisteredReceiverLocked()
706 && mService.getAppOpsManager().noteOpNoThrow(r.appOp, in deliverToRegisteredReceiverLocked()
1367 … && mService.getAppOpsManager().noteOpNoThrow(opCode, r.callingUid, r.callerPackage, in processNextBroadcastLocked()
1405 && mService.getAppOpsManager().noteOpNoThrow(appOp, in processNextBroadcastLocked()
1422 && mService.getAppOpsManager().noteOpNoThrow(r.appOp, in processNextBroadcastLocked()
DActiveServices.java450 final int mode = mAm.getAppOpsManager().checkOpNoThrow( in appRestrictedAnyInBackground()
522 final int mode = mAm.getAppOpsManager().checkOpNoThrow( in startServiceLocked()
1321 final int mode = mAm.getAppOpsManager().checkOpNoThrow( in setServiceForegroundInnerLocked()
1387 final int mode = mAm.getAppOpsManager().checkOpNoThrow( in setServiceForegroundInnerLocked()
1552 callback = new AppOpCallback(r.app, mAm.getAppOpsManager()); in registerAppOpCallbackLocked()
2546 if (opCode != AppOpsManager.OP_NONE && mAm.getAppOpsManager().checkOpNoThrow( in retrieveServiceLocked()
DActivityManagerService.java2144 if (getAppOpsManager().checkOpNoThrow(op, uid, packageName) in setSystemProcess()
2515 AppOpsManager getAppOpsManager() { in getAppOpsManager() method in ActivityManagerService
6297 int appop = getAppOpsManager().noteOpNoThrow(AppOpsManager.OP_RUN_IN_BACKGROUND, in appRestrictedInBackgroundLocked()
8194 final int mode = getAppOpsManager().checkOpNoThrow(AppOpsManager.OP_RUN_ANY_IN_BACKGROUND, in isBackgroundRestrictedNoCheck()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DCrossProfileAppsServiceImplTest.java663 public AppOpsManager getAppOpsManager() { in getAppOpsManager() method in CrossProfileAppsServiceImplTest.TestInjector
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSystemServicesTestRule.java473 doReturn(aos).when(this).getAppOpsManager();
/frameworks/base/services/robotests/src/com/android/server/pm/
DCrossProfileAppsServiceImplRoboTest.java704 public AppOpsManager getAppOpsManager() { in getAppOpsManager() method in CrossProfileAppsServiceImplRoboTest.TestInjector
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStackSupervisor.java1144 private AppOpsManager getAppOpsManager() { in getAppOpsManager() method in ActivityStackSupervisor
1169 if (getAppOpsManager().noteOpNoThrow(opCode, callingUid, in getComponentRestrictionForCallingPackage()
1213 if (getAppOpsManager().noteOpNoThrow(opCode, callingUid, in getActionRestrictionForCallingPackage()
DActivityTaskManagerService.java911 AppOpsManager getAppOpsManager() { in getAppOpsManager() method in ActivityTaskManagerService
923 final int mode = getAppOpsManager().noteOpNoThrow(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in hasSystemAlertWindowPermission()
DActivityRecord.java2368 return mAtmService.getAppOpsManager().checkOpNoThrow( in checkEnterPictureInPictureAppOpsState()
/frameworks/base/core/java/android/content/
DContentProvider.java1172 public AppOpsManager getAppOpsManager() { in getAppOpsManager() method in ContentProvider
/frameworks/base/services/incremental/test/
DIncrementalServiceTest.cpp490 …std::unique_ptr<AppOpsManagerWrapper> getAppOpsManager() final { return std::move(mAppOpsManager);… in getAppOpsManager() function in android::os::incremental::MockServiceManager
/frameworks/base/services/
Dart-profile2497 PLcom/android/server/MmsServiceBroker;->getAppOpsManager()Landroid/app/AppOpsManager;
6261 HSPLcom/android/server/am/ActivityManagerService;->getAppOpsManager()Landroid/app/AppOpsManager;
23828 HPLcom/android/server/pm/CrossProfileAppsServiceImpl$InjectorImpl;->getAppOpsManager()Landroid/app/…
24571 PLcom/android/server/pm/PackageManagerService$Injector;->getAppOpsManager()Landroid/app/AppOpsManag…
35225 PLcom/android/server/wm/ActivityStackSupervisor;->getAppOpsManager()Landroid/app/AppOpsManager;
35613 PLcom/android/server/wm/ActivityTaskManagerService;->getAppOpsManager()Landroid/app/AppOpsManager;