Home
last modified time | relevance | path

Searched refs:checkPackage (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java238 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/
DLocationPermissionChecker.java148 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/
DWifiAwareServiceImpl.java183 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/
DAppSmsManager.java87 appOps.checkPackage(Binder.getCallingUid(), callingPkg); in createAppSpecificSmsToken()
124 appOps.checkPackage(Binder.getCallingUid(), callingPackageName); in createAppSpecificSmsTokenWithPackageInfo()
DSubscriptionController.java961 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/
DEuiccController.java365 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/
DWifiP2pServiceImplTest.java880 .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/
DIAppOpsService.aidl50 int checkPackage(int uid, String packageName); in checkPackage() method
/frameworks/base/services/core/java/com/android/server/
DHardwarePropertiesManagerService.java163 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage); in enforceHardwarePropertiesRetrievalAllowed()
DGraphicsStatsService.java172 mAppOps.checkPackage(uid, packageName); in requestBufferForProcess()
DBluetoothManagerService.java858 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()
DTelephonyRegistry.java632 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/
DBugreportManagerServiceImpl.java90 mAppOps.checkPackage(callingUid, callingPackage); in startBugreport()
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java237 mInjector.getAppOpsManager().checkPackage(mInjector.getCallingUid(), callingPackage); in verifyCallingPackage()
DPackageInstallerService.java495 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/
DLocationPermissionCheckerTest.java112 .when(mMockAppOps).checkPackage(mUid, TEST_PKG_NAME); in setupMocks()
/frameworks/base/services/core/java/com/android/server/incident/
DPendingReports.java456 mAppOpsManager.checkPackage(uid, packageName); in isPackageInUid()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanRequestProxy.java410 mAppOps.checkPackage(callingUid, packageName); in isRequestFromBackground()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DCrossProfileAppsServiceImplTest.java142 }).when(mAppOpsManager).checkPackage(anyInt(), anyString()); in setupPackage()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java880 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/
DCompanionDeviceManagerService.java300 mAppOpsManager.checkPackage(Binder.getCallingUid(), pkg); in checkCallerIsSystemOr()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java427 mAppOps.checkPackage(Binder.getCallingUid(), pkg); in verifyCaller()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java1204 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/
DRoleManagerService.java441 mAppOpsManager.checkPackage(callingUid, packageName); in isRoleHeld()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DWifiPermissionsUtilTest.java1165 .when(mMockAppOps).checkPackage(mUid, TEST_PACKAGE_NAME);

123