Home
last modified time | relevance | path

Searched defs:permissionLevel (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/base/services/core/java/com/android/server/location/
H A DLocationPermissions.java58 public static String asPermission(@PermissionLevel int permissionLevel) { in asPermission()
72 public static int asAppOp(@PermissionLevel int permissionLevel) { in asAppOp()
108 public static void enforceLocationPermission(int uid, @PermissionLevel int permissionLevel, in enforceLocationPermission()
147 public static boolean checkLocationPermission(@PermissionLevel int permissionLevel, in checkLocationPermission()
H A DLocationManagerService.java681 int permissionLevel = LocationPermissions.getPermissionLevel(mContext, identity.getUid(), in getCurrentLocation() local
683 LocationPermissions.enforceLocationPermission(identity.getUid(), permissionLevel, in getCurrentLocation() local
704 int permissionLevel = LocationPermissions.getPermissionLevel(mContext, identity.getUid(), in registerLocationListener() local
706 LocationPermissions.enforceLocationPermission(identity.getUid(), permissionLevel, in registerLocationListener() local
729 int permissionLevel = LocationPermissions.getPermissionLevel(mContext, identity.getUid(), in registerLocationPendingIntent() local
731 LocationPermissions.enforceLocationPermission(identity.getUid(), permissionLevel, in registerLocationPendingIntent() local
893 int permissionLevel = LocationPermissions.getPermissionLevel(mContext, identity.getUid(), in getLastLocation() local
895 LocationPermissions.enforceLocationPermission(identity.getUid(), permissionLevel, in getLastLocation() local
/aosp12/frameworks/base/services/core/java/com/android/server/location/provider/
H A DLocationProviderManager.java339 LocationTransport transport, @PermissionLevel int permissionLevel) { in Registration()
744 @PermissionLevel int permissionLevel) { in LocationRegistration()
1029 LocationListenerTransport transport, @PermissionLevel int permissionLevel) { in LocationListenerRegistration()
1095 @PermissionLevel int permissionLevel) { in LocationPendingIntentRegistration()
1152 CallerIdentity identity, LocationTransport transport, int permissionLevel) { in GetCurrentLocationListenerRegistration()
/aosp12/frameworks/base/services/core/java/com/android/server/location/injector/
H A DLocationPermissionsHelper.java95 public final boolean hasLocationPermissions(@PermissionLevel int permissionLevel, in hasLocationPermissions()