Searched refs:PERMISSION_FINE (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/ |
D | LocationProviderManagerTest.java | 32 import static com.android.server.location.LocationPermissions.PERMISSION_FINE; 313 PERMISSION_FINE)).isNull(); in testGetLastLocation_Fine() 318 PERMISSION_FINE)).isEqualTo(loc); in testGetLastLocation_Fine() 324 PERMISSION_FINE)).isNull(); in testGetLastLocation_Coarse() 337 PERMISSION_FINE)).isNull(); in testGetLastLocation_Bypass() 340 IDENTITY, PERMISSION_FINE)).isNull(); in testGetLastLocation_Bypass() 345 PERMISSION_FINE)).isEqualTo(loc); in testGetLastLocation_Bypass() 348 IDENTITY, PERMISSION_FINE)).isEqualTo( in testGetLastLocation_Bypass() 353 PERMISSION_FINE)).isNull(); in testGetLastLocation_Bypass() 356 IDENTITY, PERMISSION_FINE)).isEqualTo( in testGetLastLocation_Bypass() [all …]
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationPermissions.java | 49 public static final int PERMISSION_FINE = 2; field in LocationPermissions 51 @IntDef({PERMISSION_NONE, PERMISSION_COARSE, PERMISSION_FINE}) 62 case PERMISSION_FINE: in asPermission() 76 case PERMISSION_FINE: in asAppOp() 117 } else if (requiredPermissionLevel == PERMISSION_FINE) { in enforceLocationPermission() 166 return PERMISSION_FINE; in getPermissionLevel()
|
D | LocationManagerService.java | 33 import static com.android.server.location.LocationPermissions.PERMISSION_FINE; 1646 PERMISSION_FINE, false, Long.MAX_VALUE); in getGnssTimeMillis()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssListenerMultiplexer.java | 21 import static com.android.server.location.LocationPermissions.PERMISSION_FINE; 100 mPermitted = mLocationPermissionsHelper.hasLocationPermissions(PERMISSION_FINE, in onBinderListenerRegister() 139 boolean permitted = mLocationPermissionsHelper.hasLocationPermissions(PERMISSION_FINE, in onLocationPermissionsChanged()
|
/frameworks/base/services/core/java/com/android/server/location/geofence/ |
D | GeofenceManager.java | 23 import static com.android.server.location.LocationPermissions.PERMISSION_FINE; 118 mPermitted = mLocationPermissionsHelper.hasLocationPermissions(PERMISSION_FINE, in onPendingIntentListenerRegister() 151 boolean permitted = mLocationPermissionsHelper.hasLocationPermissions(PERMISSION_FINE, in onLocationPermissionsChanged() 297 LocationPermissions.enforceCallingOrSelfLocationPermission(mContext, PERMISSION_FINE); in addGeofence()
|
/frameworks/base/services/core/java/com/android/server/location/provider/ |
D | LocationProviderManager.java | 38 import static com.android.server.location.LocationPermissions.PERMISSION_FINE; 618 if (mPermissionLevel < PERMISSION_FINE) { in calculateProviderLocationRequest() 1678 if (getLastLocationUnsafe(userId, PERMISSION_FINE, false, Long.MAX_VALUE) == null) { 2530 case PERMISSION_FINE: 2543 case PERMISSION_FINE: 2575 ipw.println(getLastLocationUnsafe(userId, PERMISSION_FINE, false, Long.MAX_VALUE)); 2626 case PERMISSION_FINE:
|