Home
last modified time | relevance | path

Searched refs:enforceLocationPermission (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/location/
DCallerIdentity.java132 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()
DLocationManagerService.java1884 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/
DWifiAwareServiceImpl.java180 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/
DLocationPermissionChecker.java134 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/
DWifiPermissionsUtilTest.java717 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/
DWifiPermissionsUtil.java84 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/
DWifiServiceImpl.java731 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/
DWifiServiceImplTest.java1993 .when(mWifiPermissionsUtil).enforceLocationPermission(eq(TEST_PACKAGE_NAME), in testStartLocalOnlyHotspotThrowsSecurityExceptionWithoutLocationPermission()
/frameworks/base/services/
Dart-profile17301 HPLcom/android/server/location/CallerIdentity;->enforceLocationPermission()V
17302 HPLcom/android/server/location/CallerIdentity;->enforceLocationPermission(II)V