Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/location/
DLocationPermissions.java19 import static android.Manifest.permission.ACCESS_COARSE_LOCATION;
65 return ACCESS_COARSE_LOCATION; in asPermission()
119 throw new SecurityException("uid " + uid + " does not have " + ACCESS_COARSE_LOCATION in enforceLocationPermission()
191 if (context.checkPermission(ACCESS_COARSE_LOCATION, pid, uid) == PERMISSION_GRANTED) { in getPermissionLevel()
/frameworks/base/location/java/android/location/
DLocationManager.java19 import static android.Manifest.permission.ACCESS_COARSE_LOCATION;
857 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
881 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
908 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
941 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
975 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
1020 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
1067 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
1104 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
1139 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
[all …]
/frameworks/base/telephony/java/android/telephony/
DServiceState.java782 android.Manifest.permission.ACCESS_COARSE_LOCATION
801 android.Manifest.permission.ACCESS_COARSE_LOCATION
823 android.Manifest.permission.ACCESS_COARSE_LOCATION
842 android.Manifest.permission.ACCESS_COARSE_LOCATION
863 android.Manifest.permission.ACCESS_COARSE_LOCATION
888 android.Manifest.permission.ACCESS_COARSE_LOCATION
917 android.Manifest.permission.ACCESS_COARSE_LOCATION
936 android.Manifest.permission.ACCESS_COARSE_LOCATION
956 android.Manifest.permission.ACCESS_COARSE_LOCATION
1828 android.Manifest.permission.ACCESS_COARSE_LOCATION
[all …]
DTelephonyManager.java2645 @RequiresPermission(android.Manifest.permission.ACCESS_COARSE_LOCATION)
6733 .contains(Manifest.permission.ACCESS_COARSE_LOCATION); in listen()
9512 Manifest.permission.ACCESS_COARSE_LOCATION
13077 Manifest.permission.ACCESS_COARSE_LOCATION
13113 Manifest.permission.ACCESS_COARSE_LOCATION
13190 Manifest.permission.ACCESS_COARSE_LOCATION
17590 getRenouncedPermissions().contains(Manifest.permission.ACCESS_COARSE_LOCATION); in getLocationData()
/frameworks/base/location/api/
Dcurrent.txt528 …method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Mani…
537 …method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Mani…
538 …method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Mani…
544 …method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, an…
566 …method @RequiresPermission(anyOf={"android.permission.ACCESS_COARSE_LOCATION", "android.permission…
568 …method @RequiresPermission(anyOf={"android.permission.ACCESS_COARSE_LOCATION", "android.permission…
572 …method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Mani…
573 …method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Mani…
574 …method @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Mani…
575 …eprecated @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.M…
[all …]
Dsystem-current.txt442 …eprecated @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.M…
445 …method @Nullable @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, an…
456 …eprecated @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.M…
457 …eprecated @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.M…
458 …eprecated @RequiresPermission(anyOf={android.Manifest.permission.ACCESS_COARSE_LOCATION, android.M…
/frameworks/base/telephony/common/android/telephony/
DLocationAccessPolicy.java247 case Manifest.permission.ACCESS_COARSE_LOCATION: in getAppOpsString()
338 context, query, Manifest.permission.ACCESS_COARSE_LOCATION); in checkLocationPermission()
/frameworks/base/core/java/android/content/pm/
DServiceInfo.java229 Manifest.permission.ACCESS_COARSE_LOCATION,
/frameworks/base/services/core/java/com/android/server/vr/
DVrManagerService.java1074 if (!isPermissionUserUpdated(Manifest.permission.ACCESS_COARSE_LOCATION, pkg, userId)) { in grantCoarseLocationPermissionIfNeeded()
1077 Manifest.permission.ACCESS_COARSE_LOCATION, new UserHandle(userId)); in grantCoarseLocationPermissionIfNeeded()
1088 if (!isPermissionUserUpdated(Manifest.permission.ACCESS_COARSE_LOCATION, pkg, userId)) { in revokeCoarseLocationPermissionIfNeeded()
1091 Manifest.permission.ACCESS_COARSE_LOCATION, new UserHandle(userId)); in revokeCoarseLocationPermissionIfNeeded()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DAppIdPermissionUpgrade.kt116 getPermissionFlags(appId, userId, Manifest.permission.ACCESS_COARSE_LOCATION) in <lambda>()
DPermissionService.kt2827 this[Manifest.permission.ACCESS_COARSE_LOCATION] = in <lambda>()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DRecentAppOpsAccessesTest.java107 Manifest.permission.ACCESS_COARSE_LOCATION, in setUp()
/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.java215 permission.ACCESS_COARSE_LOCATION, PermissionChecker.PID_UNKNOWN, uid, packageName) in canAccessLocation()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssNetworkConnectivityHandler.java578 android.Manifest.permission.ACCESS_COARSE_LOCATION,
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java162 ALWAYS_LOCATION_PERMISSIONS.add(Manifest.permission.ACCESS_COARSE_LOCATION);
169 FOREGROUND_LOCATION_PERMISSIONS.add(Manifest.permission.ACCESS_COARSE_LOCATION);
174 COARSE_BACKGROUND_LOCATION_PERMISSIONS.add(Manifest.permission.ACCESS_COARSE_LOCATION);
DPermissionManagerServiceImpl.java234 FULLER_PERMISSION_MAP.put(Manifest.permission.ACCESS_COARSE_LOCATION, in FULLER_PERMISSION_MAP.put() argument
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/
DLocationProviderManagerTest.java19 import static android.Manifest.permission.ACCESS_COARSE_LOCATION;
1185 .revokePermission(IDENTITY.getPackageName(), ACCESS_COARSE_LOCATION); in testProviderRequest_IgnoreLocationSettings_LocationBypass() local
1212 .revokePermission(IDENTITY.getPackageName(), ACCESS_COARSE_LOCATION); in testProviderRequest_IgnoreLocationSettings_LocationBypass_EmergencyCall() local
/frameworks/base/core/java/android/hardware/location/
DGeofenceHardwareImpl.java925 } else if (mContext.checkPermission(android.Manifest.permission.ACCESS_COARSE_LOCATION, in getAllowedResolutionLevel()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyRegistryTest.java951 checkBarringInfoWithLocationPermission(Manifest.permission.ACCESS_COARSE_LOCATION); in testBarringInfoChangedLocationCoarsePermission()
1046 Manifest.permission.ACCESS_COARSE_LOCATION); in testRegistrationFailedEventWithLocationCoarsePermission()
DNetworkScanRequestTrackerTest.java911 when(mContext.checkPermission(eq(Manifest.permission.ACCESS_COARSE_LOCATION), in setHasLocationPermissions()
/frameworks/base/core/java/android/app/
DForegroundServiceTypePolicy.java370 new RegularPermission(Manifest.permission.ACCESS_COARSE_LOCATION),
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBackgroundRestrictionTest.java20 import static android.Manifest.permission.ACCESS_COARSE_LOCATION;
385 ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION, CAMERA, RECORD_AUDIO, in initController()
2208 ACCESS_COARSE_LOCATION, OP_NONE, null, null, listener, stats, uids, in testBgCurrentDrainMonitorExemptions()
/frameworks/base/core/api/
Dremoved.txt404 …method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_COARSE_LOCATION) public …
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto3087 // ACTION: An app requested the permission ACCESS_COARSE_LOCATION
3092 // ACTION: An app was granted the permission ACCESS_COARSE_LOCATION
3097 // ACTION: An app requested the permission ACCESS_COARSE_LOCATION and the request was denied
3102 // ACTION: The permission ACCESS_COARSE_LOCATION was revoked for an app

12