Home
last modified time | relevance | path

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

12

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DUtils.java24 import static android.Manifest.permission_group.LOCATION;
125 Manifest.permission_group.LOCATION,
247 PLATFORM_PERMISSIONS.put(Manifest.permission.ACCESS_FINE_LOCATION, LOCATION); in PLATFORM_PERMISSIONS.put() argument
248 PLATFORM_PERMISSIONS.put(Manifest.permission.ACCESS_COARSE_LOCATION, LOCATION); in PLATFORM_PERMISSIONS.put() argument
249 PLATFORM_PERMISSIONS.put(Manifest.permission.ACCESS_BACKGROUND_LOCATION, LOCATION); in PLATFORM_PERMISSIONS.put() argument
301 ONE_TIME_PERMISSION_GROUPS.add(LOCATION);
307 PERM_GROUP_REQUEST_RES.put(LOCATION, R.string.permgrouprequest_location); in PERM_GROUP_REQUEST_RES.put() argument
321 PERM_GROUP_REQUEST_DETAIL_RES.put(LOCATION, R.string.permgrouprequestdetail_location); in PERM_GROUP_REQUEST_DETAIL_RES.put() argument
327 .put(LOCATION, R.string.permgroupbackgroundrequest_location); in put() argument
335 .put(LOCATION, R.string.permgroupbackgroundrequestdetail_location); in put() argument
[all …]
DLocationUtils.java45 public static final String LOCATION_PERMISSION = Manifest.permission_group.LOCATION;
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DPowerComponentHandlerUnitTest.java26 import static android.car.hardware.power.PowerComponent.LOCATION;
80 new int[]{AUDIO, BLUETOOTH, CELLULAR, CPU, DISPLAY, ETHERNET, INPUT, LOCATION, in testGetAccumulatedPolicy_firstTime()
92 new int[]{AUDIO, BLUETOOTH, CELLULAR, CPU, DISPLAY, ETHERNET, INPUT, LOCATION, in testApplyPowerPolicy_oneTime()
110 new int[]{BLUETOOTH, CELLULAR, ETHERNET, LOCATION, MICROPHONE, NFC, PROJECTION, in testApplyPowerPolicy_multipleTimes()
DPolicyReaderUnitTest.java26 import static android.car.hardware.power.PowerComponent.LOCATION;
73 VOICE_INTERACTION, VISUAL_INTERACTION, TRUSTED_DEVICE_DETECTION, LOCATION,
77 LOCATION, MICROPHONE, CPU},
91 VOICE_INTERACTION, VISUAL_INTERACTION, LOCATION, MICROPHONE});
96 VISUAL_INTERACTION, TRUSTED_DEVICE_DETECTION, LOCATION, MICROPHONE});
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallComposerLocationProvider.java52 private static final int LOCATION = 1; field in CallComposerLocationProvider
78 sURIMatcher.addURI(CallLog.Locations.AUTHORITY, "", LOCATION); in sURIMatcher.addURI() argument
124 case LOCATION: in getType()
149 case LOCATION: in delete()
/packages/services/Car/cpp/powerpolicy/server/tests/
DPolicyManagerTest.cpp88 PowerComponent::TRUSTED_DEVICE_DETECTION, PowerComponent::LOCATION,
96 PowerComponent::INPUT, PowerComponent::LOCATION,
123 PowerComponent::LOCATION, PowerComponent::MICROPHONE});
132 PowerComponent::TRUSTED_DEVICE_DETECTION, PowerComponent::LOCATION,
DPowerComponentHandlerTest.cpp102 PowerComponent::TRUSTED_DEVICE_DETECTION, PowerComponent::LOCATION, in TEST_F()
/packages/apps/Contacts/src/com/android/contacts/util/
DPermissionsUtil.java41 public static final String LOCATION = permission.ACCESS_FINE_LOCATION; field in PermissionsUtil
52 return hasPermission(context, LOCATION); in hasLocationPermissions()
/packages/apps/Car/Settings/src/com/android/car/settings/location/
DLocationStateSwitchPreferenceController.java19 import static android.car.hardware.power.PowerComponent.LOCATION;
68 mPowerPolicyListener = new PowerPolicyListener(context, LOCATION, in LocationStateSwitchPreferenceController()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DLightAppPermGroup.kt124 val isOneTime = (permGroupName != Manifest.permission_group.LOCATION && in <lambda>()
126 (permGroupName == Manifest.permission_group.LOCATION && in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionUsageV2ControlPreference.java47 Manifest.permission_group.LOCATION,
100 if (groupName.equals(Manifest.permission_group.LOCATION)) { in logSensorDataTimelineViewed()
/packages/services/Car/car-lib/src/android/car/hardware/power/
DPowerComponentUtil.java174 return PowerComponent.LOCATION; in toPowerComponent()
216 case PowerComponent.LOCATION: in powerComponentToString()
DPowerComponent.java67 */int LOCATION = 14; field
/packages/apps/Settings/src/com/android/settings/location/
DRecentLocationAccessPreferenceController.java16 import static android.Manifest.permission_group.LOCATION;
65 intent.putExtra(Intent.EXTRA_PERMISSION_GROUP_NAME, LOCATION); in onPreferenceClick()
DLocationPersonalSettings.java35 return SettingsEnums.LOCATION; in getMetricsCategory()
DLocationSlice.java91 SettingsEnums.LOCATION) in getIntent()
DLocationSettings.java69 return SettingsEnums.LOCATION; in getMetricsCategory()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DCarPowerManagerUnitTest.java26 import static android.car.hardware.power.PowerComponent.LOCATION;
253 new int[]{BLUETOOTH, CELLULAR, ETHERNET, LOCATION, MICROPHONE, NFC, PROJECTION, in testGetCurrentPowerPolicy()
314 .setComponents(PowerComponent.LOCATION).build(); in testAddPowerPolicyListener()
335 .setComponents(PowerComponent.LOCATION).build(); in testAddPowerPolicyListener_Twice_WithDifferentFilters()
DPowerComponentUtilUnitTest.java65 .setComponents(PowerComponent.LOCATION, PowerComponent.NFC).build(); in testHasComponents()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/
DPermissionUsageGraphicPreference.java159 getUsageCount(Manifest.permission_group.LOCATION), in onBindViewHolder()
163 Manifest.permission_group.LOCATION) : 0 in onBindViewHolder()
/packages/services/Car/cpp/powerpolicy/server/src/
DPolicyManager.cpp99 PowerComponent::LOCATION,
114 PowerComponent::LOCATION,
124 PowerComponent::LOCATION,
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DUnusedAppsFragment.kt295 groupNames.contains(permission_group.LOCATION) -> permission_group.LOCATION in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DRuntimePermissionsUpgradeController.kt211 permission_group.LOCATION, myUserHandle()]) in <lambda>()
263 permission_group.LOCATION -> { in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DReviewOngoingUsageViewModel.kt21 import android.Manifest.permission_group.LOCATION in <lambda>()
107 listOf(CAMERA, LOCATION, MICROPHONE) in <lambda>()
DGrantPermissionsViewModel.kt22 import android.Manifest.permission_group.LOCATION in <lambda>()
420 if (groupState.group.permGroupName == LOCATION && isLocationAccuracyEnabled()) { in <lambda>()
665 if (group.permGroupName == LOCATION && in <lambda>()

12