/frameworks/base/services/companion/java/com/android/server/companion/utils/ |
D | PermissionsUtils.java | 168 if (!checkPackage(callingUid, packageName)) { in enforceCallerIsSystemOr() 193 if (checkPackage(callingUid, packageName) || canManageCompanionDevices) { in enforceCallerCanManageAssociationsForPackage() 217 private static boolean checkPackage(@UserIdInt int uid, @NonNull String packageName) { in checkPackage() method in PermissionsUtils 219 return getAppOpsService().checkPackage(uid, packageName) == MODE_ALLOWED; in checkPackage()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | AppSmsManager.java | 87 appOps.checkPackage(Binder.getCallingUid(), callingPkg); in createAppSpecificSmsToken() 125 appOps.checkPackage(Binder.getCallingUid(), callingPackageName); in createAppSpecificSmsTokenWithPackageInfo()
|
D | SmsPermissions.java | 207 .checkPackage(callerUid, packageName); in packageNameMatchesCallingUid()
|
D | PhoneSubInfoController.java | 189 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); 350 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccController.java | 246 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in getEid() 278 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in getAvailableMemoryInBytes() 455 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in getDownloadableSubscriptionMetadata() 623 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in downloadSubscription() 986 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in getDefaultDownloadableSubscriptionList() 1076 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in deleteSubscription() 1155 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in switchToSubscription() 1545 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in updateSubscriptionNickname() 2226 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in isSimPortAvailable() 2313 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in hasCarrierPrivilegesForPackageOnAnyPhone() [all …]
|
/frameworks/base/startop/apps/test/src/ |
D | SystemServerBenchmarks.java | 173 appOps.checkPackage(uid, packageName); in initializeBenchmarks()
|
/frameworks/base/services/core/java/com/android/server/ |
D | HardwarePropertiesManagerService.java | 171 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in enforceHardwarePropertiesRetrievalAllowed()
|
D | VcnManagementService.java | 795 .checkPackage(mDeps.getBinderCallingUid(), config.getProvisioningPackageName()); in setVcnConfig() 854 .checkPackage(mDeps.getBinderCallingUid(), opPkgName); in clearVcnConfig() 914 .checkPackage(mDeps.getBinderCallingUid(), opPkgName); in getConfiguredSubscriptionGroups() 1204 mContext.getSystemService(AppOpsManager.class).checkPackage(callingUid, opPkgName); in registerVcnStatusCallback()
|
D | TelephonyRegistry.java | 933 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in addOnSubscriptionsChangedListener() 989 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in addOnOpportunisticSubscriptionsChangedListener() 1109 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in listen() 3169 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in addCarrierPrivilegesCallback() 3230 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in removeCarrierPrivilegesCallback() 3318 mAppOps.checkPackage(Binder.getCallingUid(), pkg); in addCarrierConfigChangeListener() 3353 mAppOps.checkPackage(Binder.getCallingUid(), pkg); in removeCarrierConfigChangeListener()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SmsPermissionsTest.java | 269 doThrow(e).when(mockAppOpsManager).checkPackage(anyInt(), anyString()); in testPackageNameMatchesCallingUid()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IAppOpsService.aidl | 80 int checkPackage(int uid, String packageName); in checkPackage() method
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 721 mAppOps.checkPackage(callingUid, installerPackageName); 728 mAppOps.checkPackage(callingUid, requestedInstallerPackageName); 1366 mAppOps.checkPackage(callingUid, installerPackageName); 1423 mAppOps.checkPackage(callingUid, callerPackageName); 1484 mAppOps.checkPackage(callingUid, callerPackageName);
|
D | CrossProfileAppsServiceImpl.java | 745 mInjector.getAppOpsManager().checkPackage(mInjector.getCallingUid(), callingPackage);
|
D | VerifyingSession.java | 722 .checkPackage(installerUid, requiredVerifierPackage); in isVerificationEnabled()
|
/frameworks/base/services/core/java/com/android/server/incident/ |
D | PendingReports.java | 504 mAppOpsManager.checkPackage(uid, packageName); in isPackageInUid()
|
/frameworks/base/graphics/java/android/graphics/ |
D | GraphicsStatsService.java | 180 mAppOps.checkPackage(uid, packageName); in requestBufferForProcess()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplTest.java | 175 }).when(mAppOpsManager).checkPackage(anyInt(), anyString()); in setupPackage()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplTest.java | 175 }).when(mAppOpsManager).checkPackage(anyInt(), anyString()); in setupPackage()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 955 mAppOpsManager.checkPackage(callingUid, opPackageName); in registerAccountListener() 989 mAppOpsManager.checkPackage(callingUid, opPackageName); in unregisterAccountListener() 2066 mAppOpsManager.checkPackage(callingUid, opPackageName); in hasFeatures() 4449 mAppOpsManager.checkPackage(callingUid, opPackageName); 4538 mAppOpsManager.checkPackage(callingUid, opPackageName); 4738 mAppOpsManager.checkPackage(callingUid, opPackageName); 4807 mAppOpsManager.checkPackage(callingUid, opPackageName); 4872 mAppOpsManager.checkPackage(callingUid, opPackageName);
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceManagerService.java | 440 mAppOps.checkPackage(Binder.getCallingUid(), pkg); in verifyCaller()
|
/frameworks/base/tests/vcn/java/com/android/server/ |
D | VcnManagementServiceTest.java | 951 .checkPackage(TEST_UID, TEST_PACKAGE_NAME_2); in testGetConfiguredSubscriptionGroupsMismatchedPackages() 1703 doThrow(new SecurityException()).when(mAppOpsMgr).checkPackage(TEST_UID, TEST_PACKAGE_NAME); in testRegisterVcnStatusCallbackInvalidPackage()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | ContentService.java | 1366 mContext.getSystemService(AppOpsManager.class).checkPackage(Binder.getCallingUid(), in putCache() 1388 mContext.getSystemService(AppOpsManager.class).checkPackage(Binder.getCallingUid(), in getCache()
|
/frameworks/base/services/core/java/com/android/server/os/ |
D | BugreportManagerServiceImpl.java | 673 mAppOps.checkPackage(callingUid, callingPackage); in enforcePermission()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/ |
D | SubscriptionManagerService.java | 2228 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in getAccessibleSubscriptionInfoList() 2597 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in createSubscriptionGroup() 2867 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in addSubscriptionsIntoGroup()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackManagerServiceImpl.java | 434 appOps.checkPackage(callingUid, callerPackageName);
|