Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/location/
DAppLocationPermissionPreferenceController.java3 import static android.Manifest.permission.ACCESS_COARSE_LOCATION;
109 Arrays.asList(ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION), 0, in updateState()
117 Arrays.asList(ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION), in updateState()
DTopLevelLocationPreferenceController.java3 import static android.Manifest.permission.ACCESS_COARSE_LOCATION;
98 Arrays.asList(ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION), in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/location/
DAppLocationPermissionPreferenceController.java4 import static android.Manifest.permission.ACCESS_COARSE_LOCATION;
79 Arrays.asList(ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION), 0, in updateState()
DTopLevelLocationPreferenceController.java3 import static android.Manifest.permission.ACCESS_COARSE_LOCATION;
74 Arrays.asList(ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION), 0, in updateState()
/packages/apps/Camera2/src/com/android/camera/app/
DFirstRunDialog.java213 if (mContext.checkSelfPermission(Manifest.permission.ACCESS_COARSE_LOCATION) in checkLocationPermission()
217 new String[] {Manifest.permission.ACCESS_COARSE_LOCATION}, in checkLocationPermission()
/packages/apps/Camera2/src/com/android/camera/
DPermissionsActivity.java120 && (checkSelfPermission(Manifest.permission.ACCESS_COARSE_LOCATION) in checkPermissions()
155 … permissionsToRequest[permissionsRequestIndex] = Manifest.permission.ACCESS_COARSE_LOCATION; in buildPermissionsRequest()
DCameraActivity.java1942 (checkSelfPermission(Manifest.permission.ACCESS_COARSE_LOCATION) in checkPermissions()
/packages/apps/Dialer/java/com/android/dialer/util/
DPermissionsUtil.java19 import static android.Manifest.permission.ACCESS_COARSE_LOCATION;
80 Collections.unmodifiableList(Arrays.asList(ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION));
/packages/apps/Settings/src/com/android/settings/enterprise/
DAdminGrantedLocationPermissionsPreferenceController.java27 super(context, async, new String[] {Manifest.permission.ACCESS_COARSE_LOCATION, in AdminGrantedLocationPermissionsPreferenceController()
DApplicationListFragment.java88 super(new String[] {Manifest.permission.ACCESS_COARSE_LOCATION, in AdminGrantedPermissionLocation()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/
DAdminGrantedLocationPermissionsPreferenceController.java27 super(context, async, new String[] {Manifest.permission.ACCESS_COARSE_LOCATION, in AdminGrantedLocationPermissionsPreferenceController()
DApplicationListFragment.java88 super(new String[] {Manifest.permission.ACCESS_COARSE_LOCATION, in AdminGrantedPermissionLocation()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DAdminGrantedLocationPermissionsPreferenceControllerTest.java30 new String[] {Manifest.permission.ACCESS_COARSE_LOCATION, in AdminGrantedLocationPermissionsPreferenceControllerTest()
/packages/apps/Camera2/src/com/android/camera/settings/
DCameraSettingsActivity.java364 if (context.checkSelfPermission(Manifest.permission.ACCESS_COARSE_LOCATION) in onSharedPreferenceChanged()
366 requestPermissions(new String[] {Manifest.permission.ACCESS_COARSE_LOCATION}, in onSharedPreferenceChanged()
/packages/apps/TV/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/setup/
DSampleDvbTunerSetupActivity.java138 android.Manifest.permission.ACCESS_COARSE_LOCATION) in executeAction()
374 || checkSelfPermission(android.Manifest.permission.ACCESS_COARSE_LOCATION) in restartFetchLineupTask()
/packages/apps/TV/tuner/SampleNetworkTuner/src/com/android/tv/tuner/sample/network/setup/
DSampleNetworkTunerSetupActivity.java139 android.Manifest.permission.ACCESS_COARSE_LOCATION) in executeAction()
374 || checkSelfPermission(android.Manifest.permission.ACCESS_COARSE_LOCATION) in restartFetchLineupTask()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java401 android.Manifest.permission.ACCESS_COARSE_LOCATION) in checkCallerHasCoarseLocation()
435 android.Manifest.permission.ACCESS_COARSE_LOCATION) in checkCallerHasCoarseOrFineLocation()
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DLocationFragment.java133 new String[] {android.Manifest.permission.ACCESS_COARSE_LOCATION}, in onGuidedActionClicked()
DBaseTunerSetupActivity.java175 android.Manifest.permission.ACCESS_COARSE_LOCATION) in executeAction()
/packages/services/Telephony/tests/src/com/android/phone/
DLocationAccessPolicyTest.java189 when(mContext.checkPermission(eq(Manifest.permission.ACCESS_COARSE_LOCATION), in setupScenario()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/
DSensorsTestFragment.java62 Manifest.permission.ACCESS_COARSE_LOCATION,
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastHandler.java691 && !hasPermission(Manifest.permission.ACCESS_COARSE_LOCATION)) return false; in isLocationServiceAvailable()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/
DUtils.java149 PLATFORM_PERMISSIONS.put(Manifest.permission.ACCESS_COARSE_LOCATION, LOCATION); in PLATFORM_PERMISSIONS.put() argument
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java2226 permission = android.Manifest.permission.ACCESS_COARSE_LOCATION; in startDiscovery()