/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationPermissions.java | 19 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/ |
D | LocationManager.java | 19 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/ |
D | ServiceState.java | 782 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 …]
|
D | TelephonyManager.java | 2645 @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/ |
D | current.txt | 528 …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 …]
|
D | system-current.txt | 442 …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/ |
D | LocationAccessPolicy.java | 247 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/ |
D | ServiceInfo.java | 229 Manifest.permission.ACCESS_COARSE_LOCATION,
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | VrManagerService.java | 1074 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/ |
D | AppIdPermissionUpgrade.kt | 116 getPermissionFlags(appId, userId, Manifest.permission.ACCESS_COARSE_LOCATION) in <lambda>()
|
D | PermissionService.kt | 2827 this[Manifest.permission.ACCESS_COARSE_LOCATION] = in <lambda>()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
D | RecentAppOpsAccessesTest.java | 107 Manifest.permission.ACCESS_COARSE_LOCATION, in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkScorerAppManagerTest.java | 597 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/ |
D | NetworkScorerAppManager.java | 215 permission.ACCESS_COARSE_LOCATION, PermissionChecker.PID_UNKNOWN, uid, packageName) in canAccessLocation()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssNetworkConnectivityHandler.java | 578 android.Manifest.permission.ACCESS_COARSE_LOCATION,
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | DefaultPermissionGrantPolicy.java | 162 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);
|
D | PermissionManagerServiceImpl.java | 234 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/ |
D | LocationProviderManagerTest.java | 19 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/ |
D | GeofenceHardwareImpl.java | 925 } else if (mContext.checkPermission(android.Manifest.permission.ACCESS_COARSE_LOCATION, in getAllowedResolutionLevel()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TelephonyRegistryTest.java | 951 checkBarringInfoWithLocationPermission(Manifest.permission.ACCESS_COARSE_LOCATION); in testBarringInfoChangedLocationCoarsePermission() 1046 Manifest.permission.ACCESS_COARSE_LOCATION); in testRegistrationFailedEventWithLocationCoarsePermission()
|
D | NetworkScanRequestTrackerTest.java | 911 when(mContext.checkPermission(eq(Manifest.permission.ACCESS_COARSE_LOCATION), in setHasLocationPermissions()
|
/frameworks/base/core/java/android/app/ |
D | ForegroundServiceTypePolicy.java | 370 new RegularPermission(Manifest.permission.ACCESS_COARSE_LOCATION),
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | BackgroundRestrictionTest.java | 20 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/ |
D | removed.txt | 404 …method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_COARSE_LOCATION) public …
|
/frameworks/base/proto/src/metrics_constants/ |
D | metrics_constants.proto | 3087 // 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
|