/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 238 checkPackage(uid, pkgName); in enforceCanAccessScanResults() 291 checkPackage(uid, pkgName); in enforceCanAccessScanResultsForWifiScanner() 328 checkPackage(uid, pkgName); in checkCanAccessWifiDirect() 363 public void checkPackage(int uid, String pkgName) throws SecurityException { in checkPackage() method in WifiPermissionsUtil 367 mAppOps.checkPackage(uid, pkgName); in checkPackage()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | LocationPermissionChecker.java | 148 checkPackage(uid, pkgName); in checkLocationPermissionInternal() 244 private void checkPackage(int uid, String pkgName) in checkPackage() method in LocationPermissionChecker 249 mAppOpsManager.checkPackage(uid, pkgName); in checkPackage()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareServiceImpl.java | 183 mAppOps.checkPackage(uid, callingPackage); in connect() 299 mAppOps.checkPackage(uid, callingPackage); in publish() 349 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 | SubscriptionController.java | 961 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in getAccessibleSubscriptionInfoList() 3027 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in enforceCarrierPrivilegeOnInactiveSub() 3133 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in createSubscriptionGroup() 3250 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in addSubscriptionsIntoGroup() 3310 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in removeSubscriptionsFromGroup()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccController.java | 365 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in getDownloadableSubscriptionMetadata() 527 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in downloadSubscription() 802 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in getDefaultDownloadableSubscriptionList() 888 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in deleteSubscription() 957 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in switchToSubscription() 1084 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in updateSubscriptionNickname()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImplTest.java | 880 .when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testAddLocalServiceFailureWhenChannelUpdateWrongPkgName() 894 doNothing().when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testAddLocalServiceFailureWhenCallerPermissionDenied() 912 doNothing().when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testAddLocalServiceSuccess() 930 doNothing().when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testAddLocalServiceFailureWhenNativeCallFailure() 962 .when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testConnectWithConfigValidAsGroupFailureWhenChannelUpdateWrongPkgName() 976 doNothing().when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testConnectWithConfigValidAsGroupFailureWhenPermissionDenied() 1044 .when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testCreateGroupWithConfigValidAsGroupFailureWhenChannelUpdateWrongPkgName() 1060 doNothing().when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testCreateGroupWithConfigValidAsGroupFailureWhenPermissionDenied() 1127 .when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testDiscoverPeersFailureWhenChannelUpdateWrongPkgName() 1141 doNothing().when(mWifiPermissionsUtil).checkPackage(anyInt(), anyString()); in testDiscoverPeersFailureWhenPermissionDenied() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IAppOpsService.aidl | 50 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 | GraphicsStatsService.java | 172 mAppOps.checkPackage(uid, packageName); in requestBufferForProcess()
|
D | BluetoothManagerService.java | 858 checkPackage(callingUid, packageName); in checkBluetoothPermissions() 1147 private void checkPackage(int uid, String packageName) { in checkPackage() method in BluetoothManagerService 1158 mAppOps.checkPackage(uid, packageName); in checkPackage()
|
D | TelephonyRegistry.java | 632 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in addOnSubscriptionsChangedListener() 686 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in addOnOpportunisticSubscriptionsChangedListener() 804 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in listen()
|
/frameworks/base/services/core/java/com/android/server/os/ |
D | BugreportManagerServiceImpl.java | 90 mAppOps.checkPackage(callingUid, callingPackage); in startBugreport()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | CrossProfileAppsServiceImpl.java | 237 mInjector.getAppOpsManager().checkPackage(mInjector.getCallingUid(), callingPackage); in verifyCallingPackage()
|
D | PackageInstallerService.java | 495 mAppOps.checkPackage(callingUid, installerPackageName); in createSessionInternal() 801 mAppOps.checkPackage(Binder.getCallingUid(), installerPackageName); in getMySessions() 824 mAppOps.checkPackage(callingUid, callerPackageName); in uninstall()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | LocationPermissionCheckerTest.java | 112 .when(mMockAppOps).checkPackage(mUid, TEST_PKG_NAME); in setupMocks()
|
/frameworks/base/services/core/java/com/android/server/incident/ |
D | PendingReports.java | 456 mAppOpsManager.checkPackage(uid, packageName); in isPackageInUid()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ScanRequestProxy.java | 410 mAppOps.checkPackage(callingUid, packageName); in isRequestFromBackground()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplTest.java | 142 }).when(mAppOpsManager).checkPackage(anyInt(), anyString()); in setupPackage()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 880 mAppOpsManager.checkPackage(callingUid, opPackageName); in registerAccountListener() 914 mAppOpsManager.checkPackage(callingUid, opPackageName); in unregisterAccountListener() 1900 mAppOpsManager.checkPackage(callingUid, opPackageName); in hasFeatures() 4215 mAppOpsManager.checkPackage(callingUid, opPackageName); 4292 mAppOpsManager.checkPackage(callingUid, opPackageName); 4475 mAppOpsManager.checkPackage(callingUid, opPackageName); 4544 mAppOpsManager.checkPackage(callingUid, opPackageName); 4609 mAppOpsManager.checkPackage(callingUid, opPackageName);
|
/frameworks/base/services/companion/java/com/android/server/companion/ |
D | CompanionDeviceManagerService.java | 300 mAppOpsManager.checkPackage(Binder.getCallingUid(), pkg); in checkCallerIsSystemOr()
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceManagerService.java | 427 mAppOps.checkPackage(Binder.getCallingUid(), pkg); in verifyCaller()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | ContentService.java | 1204 mContext.getSystemService(AppOpsManager.class).checkPackage(Binder.getCallingUid(), in putCache() 1226 mContext.getSystemService(AppOpsManager.class).checkPackage(Binder.getCallingUid(), in getCache()
|
/frameworks/base/services/core/java/com/android/server/role/ |
D | RoleManagerService.java | 441 mAppOpsManager.checkPackage(callingUid, packageName); in isRoleHeld()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | WifiPermissionsUtilTest.java | 1165 .when(mMockAppOps).checkPackage(mUid, TEST_PACKAGE_NAME);
|