Searched refs:LocationPermissions (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/location/injector/ |
D | LocationPermissionsHelper.java | 19 import static com.android.server.location.LocationPermissions.PERMISSION_NONE; 23 import com.android.server.location.LocationPermissions; 24 import com.android.server.location.LocationPermissions.PermissionLevel; 99 if (!hasPermission(LocationPermissions.asPermission(permissionLevel), identity)) { in hasLocationPermissions()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationPermissions.java | 32 public final class LocationPermissions { class 175 private LocationPermissions() {} in LocationPermissions() method in LocationPermissions
|
D | LocationManagerService.java | 32 import static com.android.server.location.LocationPermissions.PERMISSION_COARSE; 33 import static com.android.server.location.LocationPermissions.PERMISSION_FINE; 616 if (!LocationPermissions.checkCallingOrSelfLocationPermission(mContext, in getProviders() 681 int permissionLevel = LocationPermissions.getPermissionLevel(mContext, identity.getUid(), in getCurrentLocation() 683 LocationPermissions.enforceLocationPermission(identity.getUid(), permissionLevel, in getCurrentLocation() 704 int permissionLevel = LocationPermissions.getPermissionLevel(mContext, identity.getUid(), in registerLocationListener() 706 LocationPermissions.enforceLocationPermission(identity.getUid(), permissionLevel, in registerLocationListener() 729 int permissionLevel = LocationPermissions.getPermissionLevel(mContext, identity.getUid(), in registerLocationPendingIntent() 731 LocationPermissions.enforceLocationPermission(identity.getUid(), permissionLevel, in registerLocationPendingIntent() 893 int permissionLevel = LocationPermissions.getPermissionLevel(mContext, identity.getUid(), in getLastLocation() [all …]
|
/frameworks/base/services/core/java/com/android/server/location/geofence/ |
D | GeofenceManager.java | 23 import static com.android.server.location.LocationPermissions.PERMISSION_FINE; 45 import com.android.server.location.LocationPermissions; 297 LocationPermissions.enforceCallingOrSelfLocationPermission(mContext, PERMISSION_FINE); in addGeofence()
|
/frameworks/base/services/core/java/com/android/server/location/provider/ |
D | LocationProviderManager.java | 37 import static com.android.server.location.LocationPermissions.PERMISSION_COARSE; 38 import static com.android.server.location.LocationPermissions.PERMISSION_FINE; 39 import static com.android.server.location.LocationPermissions.PERMISSION_NONE; 93 import com.android.server.location.LocationPermissions; 94 import com.android.server.location.LocationPermissions.PermissionLevel; 889 if (!mAppOpsHelper.noteOpNoThrow(LocationPermissions.asAppOp(getPermissionLevel()), in acceptLocationChange() 1209 LocationPermissions.asAppOp(getPermissionLevel()), getIdentity())) { in acceptLocationChange() 1602 if (!mAppOpsHelper.noteOpNoThrow(LocationPermissions.asAppOp(permissionLevel),
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssListenerMultiplexer.java | 21 import static com.android.server.location.LocationPermissions.PERMISSION_FINE;
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/ |
D | LocationProviderManagerTest.java | 31 import static com.android.server.location.LocationPermissions.PERMISSION_COARSE; 32 import static com.android.server.location.LocationPermissions.PERMISSION_FINE;
|
/frameworks/base/services/ |
D | art-profile | 21407 HPLcom/android/server/location/LocationPermissions;->asAppOp(I)I 21408 HSPLcom/android/server/location/LocationPermissions;->asPermission(I)Ljava/lang/String; 21409 HPLcom/android/server/location/LocationPermissions;->checkCallingOrSelfLocationPermission(Landroid/… 21410 HSPLcom/android/server/location/LocationPermissions;->checkLocationPermission(II)Z 21411 HPLcom/android/server/location/LocationPermissions;->enforceCallingOrSelfLocationPermission(Landroi… 21412 HSPLcom/android/server/location/LocationPermissions;->enforceLocationPermission(III)V+]Ljava/lang/S… 21413 HPLcom/android/server/location/LocationPermissions;->getCallingOrSelfPermissionLevel(Landroid/conte… 21414 HSPLcom/android/server/location/LocationPermissions;->getPermissionLevel(Landroid/content/Context;I… 53881 Lcom/android/server/location/LocationPermissions;
|