Home
last modified time | relevance | path

Searched refs:ACCESS_COARSE_LOCATION (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/location/java/android/location/
DLocationManager.java19 import static android.Manifest.permission.ACCESS_COARSE_LOCATION;
550 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
582 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
615 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
643 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
750 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
780 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
811 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
837 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
861 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
[all …]
/frameworks/base/core/java/com/android/internal/util/
DLocationPermissionChecker.java185 permissionType = Manifest.permission.ACCESS_COARSE_LOCATION; in checkCallersLocationPermission()
/frameworks/base/services/core/java/com/android/server/vr/
DVrManagerService.java1066 if (!isPermissionUserUpdated(Manifest.permission.ACCESS_COARSE_LOCATION, pkg, userId)) { in grantCoarseLocationPermissionIfNeeded()
1069 Manifest.permission.ACCESS_COARSE_LOCATION, new UserHandle(userId)); in grantCoarseLocationPermissionIfNeeded()
1080 if (!isPermissionUserUpdated(Manifest.permission.ACCESS_COARSE_LOCATION, pkg, userId)) { in revokeCoarseLocationPermissionIfNeeded()
1083 Manifest.permission.ACCESS_COARSE_LOCATION, new UserHandle(userId)); in revokeCoarseLocationPermissionIfNeeded()
/frameworks/base/telephony/common/android/telephony/
DLocationAccessPolicy.java279 context, query, Manifest.permission.ACCESS_COARSE_LOCATION); in checkLocationPermission()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DLocationPermissionCheckerTest.java73 Manifest.permission.ACCESS_COARSE_LOCATION;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java162 permissionType = Manifest.permission.ACCESS_COARSE_LOCATION; in checkCallersLocationPermission()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScorerAppManagerTest.java597 when(mMockPm.checkPermission(permission.ACCESS_COARSE_LOCATION, packageName)) in mockLocationPermissionGranted()
604 when(mMockPm.checkPermission(permission.ACCESS_COARSE_LOCATION, packageName)) in mockLocationPermissionDenied()
/frameworks/base/services/core/java/com/android/server/
DNetworkScorerAppManager.java217 && pm.checkPermission(permission.ACCESS_COARSE_LOCATION, packageName) in canAccessLocation()
DLocationManagerService.java1872 return android.Manifest.permission.ACCESS_COARSE_LOCATION; in getResolutionPermission()
1882 } else if (mContext.checkPermission(android.Manifest.permission.ACCESS_COARSE_LOCATION, in getAllowedResolutionLevel()
/frameworks/base/core/java/android/hardware/location/
DGeofenceHardwareImpl.java924 } else if (mContext.checkPermission(android.Manifest.permission.ACCESS_COARSE_LOCATION, in getAllowedResolutionLevel()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DWifiPermissionsUtilTest.java98 Manifest.permission.ACCESS_COARSE_LOCATION;
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java149 ALWAYS_LOCATION_PERMISSIONS.add(Manifest.permission.ACCESS_COARSE_LOCATION);
DPermissionManagerService.java157 FULLER_PERMISSION_MAP.put(Manifest.permission.ACCESS_COARSE_LOCATION, in FULLER_PERMISSION_MAP.put() argument
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java2197 @RequiresPermission(android.Manifest.permission.ACCESS_COARSE_LOCATION)
7672 Manifest.permission.ACCESS_COARSE_LOCATION
10210 Manifest.permission.ACCESS_COARSE_LOCATION
/frameworks/base/api/
Dremoved.txt615 …method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_COARSE_LOCATION) public …
Dtest-current.txt1119 …method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Mani…
1120 …method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Mani…
Dcurrent.txt13 …field public static final String ACCESS_COARSE_LOCATION = "android.permission.ACCESS_COARSE_LOCATI…
23227 …method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Mani…
23237 …method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, an…
23251 …method @RequiresPermission(anyOf={"android.permission.ACCESS_COARSE_LOCATION", "android.permission…
23253 …method @RequiresPermission(anyOf={"android.permission.ACCESS_COARSE_LOCATION", "android.permission…
23255 …method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Mani…
23256 …method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Mani…
23257 …method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Mani…
23258 …method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Mani…
23259 …method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Mani…
[all …]
Dsystem-current.txt3653 …method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Mani…
3654 …method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Mani…
/frameworks/base/non-updatable-api/
Dremoved.txt615 …method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_COARSE_LOCATION) public …
Dcurrent.txt13 …field public static final String ACCESS_COARSE_LOCATION = "android.permission.ACCESS_COARSE_LOCATI…
23227 …method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Mani…
23237 …method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, an…
23251 …method @RequiresPermission(anyOf={"android.permission.ACCESS_COARSE_LOCATION", "android.permission…
23253 …method @RequiresPermission(anyOf={"android.permission.ACCESS_COARSE_LOCATION", "android.permission…
23255 …method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Mani…
23256 …method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Mani…
23257 …method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Mani…
23258 …method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Mani…
23259 …method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Mani…
[all …]
Dsystem-current.txt3653 …method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Mani…
3654 …method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Mani…
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto3078 // ACTION: An app requested the permission ACCESS_COARSE_LOCATION
3083 // ACTION: An app was granted the permission ACCESS_COARSE_LOCATION
3088 // ACTION: An app requested the permission ACCESS_COARSE_LOCATION and the request was denied
3093 // ACTION: The permission ACCESS_COARSE_LOCATION was revoked for an app
/frameworks/base/core/java/android/app/
DAppOpsManager.java1518 android.Manifest.permission.ACCESS_COARSE_LOCATION,
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java6877 Manifest.permission.ACCESS_COARSE_LOCATION); in testMaybeSanitizeLocationInfoForCallerWithCoarseLocationPreQ()
6907 Manifest.permission.ACCESS_COARSE_LOCATION); in testMaybeSanitizeLocationInfoForCallerWithCoarseLocationAfterQ()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt10 …field public static final java.lang.String ACCESS_COARSE_LOCATION = "android.permission.ACCESS_COA…