/frameworks/base/services/core/java/com/android/server/location/ |
D | CallerIdentity.java | 132 enforceLocationPermission(Binder.getCallingUid(), getBinderPermissionLevel(context)); in enforceCallingOrSelfLocationPermission() 142 private static void enforceLocationPermission(int uid, @PermissionLevel int permissionLevel) { in enforceLocationPermission() method in CallerIdentity 213 public void enforceLocationPermission() { in enforceLocationPermission() method in CallerIdentity 214 enforceLocationPermission(uid, permissionLevel); in enforceLocationPermission()
|
D | LocationManagerService.java | 1884 identity.enforceLocationPermission(); in requestLocationUpdates() 2036 identity.enforceLocationPermission(); in getLastLocation() 2149 identity.enforceLocationPermission(); in requestGeofence()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareServiceImpl.java | 180 enforceLocationPermission(callingPackage, callingFeatureId, getMockableCallingUid()); in connect() 288 enforceLocationPermission(callingPackage, callingFeatureId, getMockableCallingUid()); in publish() 338 enforceLocationPermission(callingPackage, callingFeatureId, getMockableCallingUid()); in subscribe() 462 private void enforceLocationPermission(String callingPackage, String callingFeatureId, in enforceLocationPermission() method in WifiAwareServiceImpl 464 mWifiPermissionsUtil.enforceLocationPermission(callingPackage, callingFeatureId, uid); in enforceLocationPermission()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | LocationPermissionChecker.java | 134 public void enforceLocationPermission(String pkgName, @Nullable String featureId, int uid, in enforceLocationPermission() method in LocationPermissionChecker
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | WifiPermissionsUtilTest.java | 717 codeUnderTest.enforceLocationPermission(TEST_PACKAGE_NAME, TEST_FEATURE_ID, mUid); in testEnforceCoarseLocationPermissionLegacyApp() 740 codeUnderTest.enforceLocationPermission(TEST_PACKAGE_NAME, TEST_FEATURE_ID, mUid); in testEnforceFineLocationPermissionNewQApp() 764 codeUnderTest.enforceLocationPermission(TEST_PACKAGE_NAME, TEST_FEATURE_ID, mUid); in testEnforceFailureFineLocationPermissionNewQApp() 956 codeUnderTest.enforceLocationPermission(TEST_PACKAGE_NAME, TEST_FEATURE_ID, mUid); in testEnforceLocationPermissionExpectSecurityException()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 84 public void enforceLocationPermission(String pkgName, @Nullable String featureId, int uid) { in enforceLocationPermission() method in WifiPermissionsUtil
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 731 private void enforceLocationPermission(String pkgName, @Nullable String featureId, int uid) { in enforceLocationPermission() method in WifiServiceImpl 732 mWifiPermissionsUtil.enforceLocationPermission(pkgName, featureId, uid); in enforceLocationPermission() 1745 enforceLocationPermission(packageName, featureId, uid); in startLocalOnlyHotspot() 4209 enforceLocationPermission(packageName, featureId, uid);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiServiceImplTest.java | 1993 .when(mWifiPermissionsUtil).enforceLocationPermission(eq(TEST_PACKAGE_NAME), in testStartLocalOnlyHotspotThrowsSecurityExceptionWithoutLocationPermission()
|
/frameworks/base/services/ |
D | art-profile | 17301 HPLcom/android/server/location/CallerIdentity;->enforceLocationPermission()V 17302 HPLcom/android/server/location/CallerIdentity;->enforceLocationPermission(II)V
|