Home
last modified time | relevance | path

Searched refs:PERMISSION_FINE (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/
DAppOpsHelperTest.java27 import static com.android.server.location.CallerIdentity.PERMISSION_FINE;
109 PERMISSION_FINE); in testCheckLocationAccess()
134 PERMISSION_FINE); in testNoteLocationAccess()
164 PERMISSION_FINE); in testStartLocationMonitoring()
180 PERMISSION_FINE); in testStartHighPowerLocationMonitoring()
198 PERMISSION_FINE); in testStopLocationMonitoring()
207 PERMISSION_FINE); in testStopHighPowerLocationMonitoring()
216 PERMISSION_FINE); in testNoteMockLocationAccess()
/frameworks/base/services/core/java/com/android/server/location/
DCallerIdentity.java45 public static final int PERMISSION_FINE = 2; field in CallerIdentity
47 @IntDef({PERMISSION_NONE, PERMISSION_COARSE, PERMISSION_FINE})
58 case PERMISSION_FINE: in asPermission()
72 case PERMISSION_FINE: in asAppOp()
157 return PERMISSION_FINE; in getBinderPermissionLevel()
207 PERMISSION_FINE, "permissionLevel"); in CallerIdentity()
DLocationManagerService.java30 import static com.android.server.location.CallerIdentity.PERMISSION_FINE;
750 case PERMISSION_FINE: in getLastLocation()
1848 if (identity.permissionLevel < PERMISSION_FINE) { in createSanitizedRequest()
2113 PERMISSION_FINE); in getGnssTimeMillis()
2472 case PERMISSION_FINE: in handleLocationChangedLocked()