Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/location/
DCallerIdentity.java54 public static String asPermission(@PermissionLevel int permissionLevel) { in asPermission() argument
55 switch (permissionLevel) { in asPermission()
68 public static int asAppOp(@PermissionLevel int permissionLevel) { in asAppOp() argument
69 switch (permissionLevel) { in asAppOp()
142 private static void enforceLocationPermission(int uid, @PermissionLevel int permissionLevel) { in enforceLocationPermission() argument
143 if (checkLocationPermission(permissionLevel)) { in enforceLocationPermission()
151 private static boolean checkLocationPermission(@PermissionLevel int permissionLevel) { in checkLocationPermission() argument
152 return permissionLevel >= PERMISSION_COARSE; in checkLocationPermission()
189 public final @PermissionLevel int permissionLevel; field in CallerIdentity
193 @Nullable String featureId, @PermissionLevel int permissionLevel) { in CallerIdentity() argument
[all …]
DAppOpsHelper.java128 CallerIdentity.asAppOp(callerIdentity.permissionLevel), in checkLocationAccess()
142 return noteOpNoThrow(CallerIdentity.asAppOp(identity.permissionLevel), identity); in noteLocationAccess()
DGeofenceManager.java253 int op = CallerIdentity.asAppOp(identity.permissionLevel); in updateFences()
DLocationManagerService.java1242 CallerIdentity.asPermission(mCallerIdentity.permissionLevel), in callLocationChangedLocked()
1277 CallerIdentity.asPermission(mCallerIdentity.permissionLevel), in callProviderEnabledLocked()
1848 if (identity.permissionLevel < PERMISSION_FINE) { in createSanitizedRequest()
2059 Location location = manager.getLastLocation(identity.userId, identity.permissionLevel); in getLastLocation()
2468 switch (identity.permissionLevel) { in handleLocationChangedLocked()