Searched refs:permissionLevel (Results 1 – 4 of 4) sorted by relevance
54 public static String asPermission(@PermissionLevel int permissionLevel) { in asPermission() argument55 switch (permissionLevel) { in asPermission()68 public static int asAppOp(@PermissionLevel int permissionLevel) { in asAppOp() argument69 switch (permissionLevel) { in asAppOp()142 private static void enforceLocationPermission(int uid, @PermissionLevel int permissionLevel) { in enforceLocationPermission() argument143 if (checkLocationPermission(permissionLevel)) { in enforceLocationPermission()151 private static boolean checkLocationPermission(@PermissionLevel int permissionLevel) { in checkLocationPermission() argument152 return permissionLevel >= PERMISSION_COARSE; in checkLocationPermission()189 public final @PermissionLevel int permissionLevel; field in CallerIdentity193 @Nullable String featureId, @PermissionLevel int permissionLevel) { in CallerIdentity() argument[all …]
128 CallerIdentity.asAppOp(callerIdentity.permissionLevel), in checkLocationAccess()142 return noteOpNoThrow(CallerIdentity.asAppOp(identity.permissionLevel), identity); in noteLocationAccess()
253 int op = CallerIdentity.asAppOp(identity.permissionLevel); in updateFences()
1242 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()