/frameworks/base/core/java/com/android/internal/util/ |
D | LocationPermissionChecker.java | 148 checkPackage(uid, pkgName); in checkLocationPermissionInternal() 245 private void checkPackage(int uid, String pkgName) in checkPackage() method in LocationPermissionChecker 250 mAppOpsManager.checkPackage(uid, pkgName); in checkPackage()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 219 checkPackage(uid, pkgName); in enforceCanAccessScanResults() 274 checkPackage(uid, pkgName); in enforceCanAccessScanResultsForWifiScanner() 312 checkPackage(uid, pkgName); in checkCanAccessWifiDirect() 347 public void checkPackage(int uid, String pkgName) throws SecurityException { in checkPackage() method in WifiPermissionsUtil 351 mAppOps.checkPackage(uid, pkgName); in checkPackage()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareServiceImpl.java | 170 mAppOps.checkPackage(uid, callingPackage); in connect() 286 mAppOps.checkPackage(uid, callingPackage); in publish() 336 mAppOps.checkPackage(uid, callingPackage); in subscribe()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | AppSmsManager.java | 87 appOps.checkPackage(Binder.getCallingUid(), callingPkg); in createAppSpecificSmsToken() 124 appOps.checkPackage(Binder.getCallingUid(), callingPackageName); in createAppSpecificSmsTokenWithPackageInfo()
|
D | SmsPermissions.java | 179 .checkPackage(Binder.getCallingUid(), packageName); in packageNameMatchesCallingUid()
|
D | SubscriptionController.java | 1125 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in getAccessibleSubscriptionInfoList() 3165 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in enforceCarrierPrivilegeOnInactiveSub() 3271 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in createSubscriptionGroup() 3388 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in addSubscriptionsIntoGroup() 3448 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in removeSubscriptionsFromGroup()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccController.java | 366 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in getDownloadableSubscriptionMetadata() 528 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in downloadSubscription() 803 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in getDefaultDownloadableSubscriptionList() 889 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in deleteSubscription() 958 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in switchToSubscription() 1085 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in updateSubscriptionNickname()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImplTest.java | 952 .when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testAddLocalServiceFailureWhenChannelUpdateWrongPkgName() 966 doNothing().when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testAddLocalServiceFailureWhenCallerPermissionDenied() 984 doNothing().when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testAddLocalServiceSuccess() 1002 doNothing().when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testAddLocalServiceFailureWhenNativeCallFailure() 1034 .when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testConnectWithConfigValidAsGroupFailureWhenChannelUpdateWrongPkgName() 1048 doNothing().when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testConnectWithConfigValidAsGroupFailureWhenPermissionDenied() 1116 .when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testCreateGroupWithConfigValidAsGroupFailureWhenChannelUpdateWrongPkgName() 1132 doNothing().when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testCreateGroupWithConfigValidAsGroupFailureWhenPermissionDenied() 1199 .when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testDiscoverPeersFailureWhenChannelUpdateWrongPkgName() 1213 doNothing().when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testDiscoverPeersFailureWhenPermissionDenied() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IAppOpsService.aidl | 61 int checkPackage(int uid, String packageName); in checkPackage() method
|
/frameworks/base/services/core/java/com/android/server/ |
D | HardwarePropertiesManagerService.java | 163 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in enforceHardwarePropertiesRetrievalAllowed()
|
D | BluetoothManagerService.java | 867 checkPackage(callingUid, packageName); in checkBluetoothPermissions() 1156 private void checkPackage(int uid, String packageName) { in checkPackage() method in BluetoothManagerService 1167 mAppOps.checkPackage(uid, packageName); in checkPackage()
|
D | TelephonyRegistry.java | 636 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in addOnSubscriptionsChangedListener() 690 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in addOnOpportunisticSubscriptionsChangedListener() 808 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in listen()
|
/frameworks/base/startop/apps/test/src/ |
D | SystemServerBenchmarks.java | 173 appOps.checkPackage(uid, packageName); in initializeBenchmarks()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 531 mAppOps.checkPackage(callingUid, installerPackageName); in createSessionInternal() 538 mAppOps.checkPackage(callingUid, requestedInstallerPackageName); in createSessionInternal() 903 mAppOps.checkPackage(Binder.getCallingUid(), installerPackageName); in getMySessions() 927 mAppOps.checkPackage(callingUid, callerPackageName); in uninstall() 979 mAppOps.checkPackage(callingUid, callerPackageName); in uninstallExistingPackage()
|
D | CrossProfileAppsServiceImpl.java | 680 mInjector.getAppOpsManager().checkPackage(mInjector.getCallingUid(), callingPackage);
|
/frameworks/base/services/core/java/com/android/server/os/ |
D | BugreportManagerServiceImpl.java | 83 mAppOps.checkPackage(callingUid, callingPackage); in startBugreport()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SmsPermissionsTest.java | 270 doThrow(e).when(mockAppOpsManager).checkPackage(anyInt(), anyString()); in testPackageNameMatchesCallingUid()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | LocationPermissionCheckerTest.java | 113 .when(mMockAppOps).checkPackage(mUid, TEST_PKG_NAME); in setupMocks()
|
/frameworks/base/services/core/java/com/android/server/incident/ |
D | PendingReports.java | 458 mAppOpsManager.checkPackage(uid, packageName); in isPackageInUid()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ScanRequestProxy.java | 372 mAppOps.checkPackage(callingUid, packageName); in isRequestFromBackground()
|
/frameworks/base/graphics/java/android/graphics/ |
D | GraphicsStatsService.java | 182 mAppOps.checkPackage(uid, packageName); in requestBufferForProcess()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplTest.java | 160 }).when(mAppOpsManager).checkPackage(anyInt(), anyString()); in setupPackage()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 881 mAppOpsManager.checkPackage(callingUid, opPackageName); in registerAccountListener() 915 mAppOpsManager.checkPackage(callingUid, opPackageName); in unregisterAccountListener() 1906 mAppOpsManager.checkPackage(callingUid, opPackageName); in hasFeatures() 4211 mAppOpsManager.checkPackage(callingUid, opPackageName); 4288 mAppOpsManager.checkPackage(callingUid, opPackageName); 4465 mAppOpsManager.checkPackage(callingUid, opPackageName); 4534 mAppOpsManager.checkPackage(callingUid, opPackageName); 4599 mAppOpsManager.checkPackage(callingUid, opPackageName);
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceManagerService.java | 432 mAppOps.checkPackage(Binder.getCallingUid(), pkg); in verifyCaller()
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
D | ClipboardService.java | 752 mAppOps.checkPackage(uid, callingPackage); in clipboardAccessAllowed()
|