Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/location/
DCallerIdentity.java44 public static final int PERMISSION_COARSE = 1; field in CallerIdentity
47 @IntDef({PERMISSION_NONE, PERMISSION_COARSE, PERMISSION_FINE})
56 case PERMISSION_COARSE: in asPermission()
70 case PERMISSION_COARSE: in asAppOp()
152 return permissionLevel >= PERMISSION_COARSE; in checkLocationPermission()
160 return PERMISSION_COARSE; in getBinderPermissionLevel()
DLocationManagerService.java29 import static com.android.server.location.CallerIdentity.PERMISSION_COARSE;
748 case PERMISSION_COARSE: in getLastLocation()
2469 case PERMISSION_COARSE: in handleLocationChangedLocked()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/
DAppOpsHelperTest.java26 import static com.android.server.location.CallerIdentity.PERMISSION_COARSE;
120 PERMISSION_COARSE); in testCheckLocationAccess()
148 PERMISSION_COARSE); in testNoteLocationAccess()