Home
last modified time | relevance | path

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

1234

/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DSensorBlockedBannerTest.kt20 import android.Manifest.permission_group.LOCATION as LOCATION_PERMISSION_GROUP
46 const val LOCATION = -1 constant
59 LOCATION to LOCATION_PERMISSION_GROUP
66 LOCATION to "blocked_location_title"
120 runSensorTest(LOCATION) in testLocationCardDisplayed()
149 if (sensor == LOCATION) { in setSensor()
176 return if (sensor == LOCATION) { in isSensorPrivacyEnabled()
/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()
93 LOCATION, MEDIA, MICROPHONE, NFC, PROJECTION, TRUSTED_DEVICE_DETECTION, in testApplyPowerPolicy_oneTime()
110 new int[]{BLUETOOTH, CELLULAR, ETHERNET, LOCATION, MICROPHONE, NFC, PROJECTION, in testApplyPowerPolicy_multipleTimes()
134 new int[]{INPUT, MEDIA, AUDIO, BLUETOOTH, CELLULAR, ETHERNET, LOCATION, MICROPHONE, in testApplyPowerPolicy_withCustomComponents()
149 new int[]{DISPLAY, INPUT, MEDIA, BLUETOOTH, CELLULAR, ETHERNET, LOCATION, in testApplyPowerPolicy_withCustomComponents()
DPolicyReaderUnitTest.java26 import static android.car.hardware.power.PowerComponent.LOCATION;
83 VOICE_INTERACTION, VISUAL_INTERACTION, TRUSTED_DEVICE_DETECTION, LOCATION,
87 LOCATION, MICROPHONE, CPU},
101 VOICE_INTERACTION, VISUAL_INTERACTION, LOCATION, MICROPHONE});
106 VISUAL_INTERACTION, TRUSTED_DEVICE_DETECTION, LOCATION, MICROPHONE});
110 new int[]{AUDIO, BLUETOOTH, WIFI, LOCATION, MICROPHONE, CPU});
116 VISUAL_INTERACTION, TRUSTED_DEVICE_DETECTION, LOCATION, MICROPHONE,
123 VOICE_INTERACTION, VISUAL_INTERACTION, TRUSTED_DEVICE_DETECTION, LOCATION,
129 VOICE_INTERACTION, VISUAL_INTERACTION, TRUSTED_DEVICE_DETECTION, LOCATION,
134 LOCATION, MICROPHONE, CPU, CUSTOM_COMPONENT_1000,
/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/util/
DUtilsTest.kt25 import android.Manifest.permission_group.LOCATION
164 LOCATION, in getPermissionGroupDescriptionString_validPermissionGroup()
182 val result = Utils.getPermissionLastAccessSummaryTimestamp(null, context, LOCATION) in getPermissionLastAccessSummaryTimestamp_lastAccessSummaryTimestampIsNull()
194 LOCATION in getPermissionLastAccessSummaryTimestamp_sensorDataPermission_lastAccessSummaryTimestampIsToday()
207 LOCATION in getPermissionLastAccessSummaryTimestamp_sensorDataPermission_lastAccessSummaryTimestampIsYesterday()
220 LOCATION in getPermissionLastAccessSummaryTimestamp_sensorDataPermission_lastAccessSummaryTimestampIsLast7Days()
/packages/services/Car/cpp/powerpolicy/server/tests/
DPolicyManagerTest.cpp128 PowerComponent::LOCATION,
146 PowerComponent::LOCATION,
158 PowerComponent::TRUSTED_DEVICE_DETECTION, PowerComponent::LOCATION,
168 PowerComponent::INPUT, PowerComponent::LOCATION,
185 PowerComponent::TRUSTED_DEVICE_DETECTION, PowerComponent::LOCATION,
194 PowerComponent::INPUT, PowerComponent::LOCATION,
206 PowerComponent::INPUT, PowerComponent::LOCATION,
245 PowerComponent::TRUSTED_DEVICE_DETECTION, PowerComponent::LOCATION,
256 PowerComponent::TRUSTED_DEVICE_DETECTION, PowerComponent::LOCATION,
267 PowerComponent::LOCATION, PowerComponent::MICROPHONE});
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DPermissionMapping.kt39 mapOf(Manifest.permission_group.LOCATION to listOf(DataCategoryConstants.CATEGORY_LOCATION))
44 Manifest.permission_group.LOCATION,
121 Manifest.permission_group.LOCATION
123 Manifest.permission_group.LOCATION
125 Manifest.permission_group.LOCATION
190 ONE_TIME_PERMISSION_GROUPS.add(Manifest.permission_group.LOCATION)
DUtils.java24 import static android.Manifest.permission_group.LOCATION;
269 PERM_GROUP_REQUEST_RES.put(LOCATION, R.string.permgrouprequest_location); in PERM_GROUP_REQUEST_RES.put() argument
288 PERM_GROUP_REQUEST_DEVICE_AWARE_RES.put(LOCATION, in PERM_GROUP_REQUEST_DEVICE_AWARE_RES.put() argument
318 PERM_GROUP_REQUEST_DETAIL_RES.put(LOCATION, R.string.permgrouprequestdetail_location); in PERM_GROUP_REQUEST_DETAIL_RES.put() argument
324 .put(LOCATION, R.string.permgroupbackgroundrequest_location); in put() argument
334 .put(LOCATION, R.string.permgroupbackgroundrequest_device_aware_location); in put() argument
344 .put(LOCATION, R.string.permgroupbackgroundrequestdetail_location); in put() argument
353 PERM_GROUP_UPGRADE_REQUEST_RES.put(LOCATION, R.string.permgroupupgraderequest_location); in PERM_GROUP_UPGRADE_REQUEST_RES.put() argument
359 PERM_GROUP_UPGRADE_REQUEST_DEVICE_AWARE_RES.put(LOCATION, in PERM_GROUP_UPGRADE_REQUEST_DEVICE_AWARE_RES.put() argument
370 .put(LOCATION, R.string.permgroupupgraderequestdetail_location); in put() argument
[all …]
/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/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/
DLocationInfotainmentAppsPreferenceController.java73 getContext(), Manifest.permission_group.LOCATION, userHandle, in loadInfotainmentAppsWithLocationPermission()
86 Manifest.permission_group.LOCATION, showSummary); in loadInfotainmentAppsWithLocationPermission()
DLocationStateListenerBasePreferenceController.java19 import static android.car.hardware.power.PowerComponent.LOCATION;
168 setPowerPolicyListener(new PowerPolicyListener(getContext(), LOCATION, in addDefaultPowerPolicyListener()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DPrivacyControlsFragment.java70 findPreference(Pref.LOCATION.getKey()) in setPreferences()
73 mViewModel.handlePrefClick(this, Pref.LOCATION, null); in setPreferences()
DInteractionLogger.kt20 import android.Manifest.permission_group.LOCATION as PERMISSION_GROUP_LOCATION
407 LOCATION(PermissionControllerStatsLog.SAFETY_CENTER_INTERACTION_REPORTED__SENSOR__LOCATION); in fromUserId()
437 PERMISSION_GROUP_LOCATION -> LOCATION in fromUserId()
DPrivacySubpageFragment.kt169 val locationEntry: Preference? = findPreference(Pref.LOCATION.key) in <lambda>()
171 privacyControlsViewModel.handlePrefClick(this, Pref.LOCATION, null) in <lambda>()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncRedirects.java55 if (redirectType == AsyncRegistration.RedirectType.LOCATION) { in getRedirectsByType()
72 for (Uri locationRedirectUri : urisByType.get(AsyncRegistration.RedirectType.LOCATION)) { in configure()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/v31/
DPermissionUsageControlPreferenceUtils.kt41 Manifest.permission_group.LOCATION,
107 Manifest.permission_group.LOCATION -> { in logSensorDataTimelineViewed()
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/
DFakeRefactoredCarPowerPolicyDaemon.java132 PowerComponent.LOCATION, PowerComponent.MICROPHONE}); in createInitialOnPowerPolicy()
142 PowerComponent.TRUSTED_DEVICE_DETECTION, PowerComponent.LOCATION, in createAllOnPowerPolicy()
156 PowerComponent.VISUAL_INTERACTION, PowerComponent.LOCATION, in createNoUserPowerPolicy()
164 PowerComponent.LOCATION, PowerComponent.MICROPHONE, PowerComponent.CPU}); in createSuspendPrepPowerPolicy()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/http/
DFakeURLStreamHandler.java52 private static final String LOCATION = "Location"; field in FakeURLStreamHandler
133 case LOCATION: in getHeaderField()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/
DSafetyCenterQsViewModel.kt21 import android.Manifest.permission_group.LOCATION
155 LOCATION -> { in toggleSensor()
194 LOCATION to SensorState(true, locationEnabled, locationEnforcedAdmin) in onUpdate()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DLightAppPermGroup.kt124 (permGroupName != Manifest.permission_group.LOCATION && in <lambda>()
127 (permGroupName == Manifest.permission_group.LOCATION && in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/v34/
DAppDataSharingUpdatesViewModel.kt53 SinglePermGroupPackagesUiInfoLiveData[Manifest.permission_group.LOCATION] in <lambda>()
95 putExtra(EXTRA_PERMISSION_GROUP_NAME, Manifest.permission_group.LOCATION) in <lambda>()
/packages/services/Car/car-lib/src/android/car/hardware/power/
DPowerComponentUtil.java178 return PowerComponent.LOCATION; in toPowerComponent()
226 case PowerComponent.LOCATION: in powerComponentToString()
DPowerComponent.java81 int LOCATION = 14; field
/packages/apps/Settings/src/com/android/settings/location/
DRecentLocationAccessPreferenceController.java16 import static android.Manifest.permission_group.LOCATION;
71 intent.putExtra(Intent.EXTRA_PERMISSION_GROUP_NAME, LOCATION); in onPreferenceClick()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/v34/
DPermissionRationaleActivity.java19 import static android.Manifest.permission_group.LOCATION;
429 if (LOCATION.equals(permissionGroupName)) { in getTitleResIdForPermissionGroup()
440 if (LOCATION.equals(permissionGroupName)) { in getPurposeTitleResIdForPermissionGroup()
459 Preconditions.checkArgument(LOCATION.equals(permissionGroupName), in getSettingsMessageResIdForPermissionGroup()

1234