Home
last modified time | relevance | path

Searched refs:LOCATION_CATEGORY (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetylabel/
DTestSafetyLabels.kt31 const val LOCATION_CATEGORY = "location" constant
45 DataLabel(mapOf(LOCATION_CATEGORY to DataCategory(true)))
53 DataLabel(mapOf(LOCATION_CATEGORY to DataCategory(false)))
61 DataLabel(mapOf(LOCATION_CATEGORY to DataCategory(false)))
71 LOCATION_CATEGORY to DataCategory(true),
94 DataLabel(mapOf(LOCATION_CATEGORY to DataCategory(true)))
DAppsSafetyLabelHistoryTest.kt32 import com.android.permissioncontroller.tests.mocking.safetylabel.TestSafetyLabels.LOCATION_CATEGORY
150 DataLabel(mapOf(LOCATION_CATEGORY to DataCategory(false))) in extractLocationSharingSafetyLabel_locationSharingNoAds_returnsSafetyLabelForPersistence()
173 DataLabel(mapOf(LOCATION_CATEGORY to DataCategory(true))) in extractLocationSharingSafetyLabel_locationSharingAds_returnsSafetyLabelForPersistence()
214 DataLabel(mapOf(LOCATION_CATEGORY to DataCategory(true))) in extractLocationSharingSafetyLabel_locationFinance_returnsLocationSafetyLabel()
225 private const val LOCATION_CATEGORY = "location" constant
257 putPersistableBundle(LOCATION_CATEGORY, locationBundle) in createDataSharedWithLocationNoAds()
273 putPersistableBundle(LOCATION_CATEGORY, locationBundle) in createDataSharedWithLocationWithAds()
315 putPersistableBundle(LOCATION_CATEGORY, locationBundle) in createDataSharedWithLocationAndFinanceWithAds()
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DAppMetadata.kt39 PersistableBundle().apply { putPersistableBundle(LOCATION_CATEGORY, locationBundle) } in createDefaultAppMetadata()
154 PersistableBundle().apply { putPersistableBundle(LOCATION_CATEGORY, locationBundle) } in createAppMetadataWithLocationSharingNoAds()
175 PersistableBundle().apply { putPersistableBundle(LOCATION_CATEGORY, locationBundle) } in createAppMetadataWithLocationSharingAds()
203 private const val LOCATION_CATEGORY = "location" constant
/packages/modules/Permission/tests/cts/permissionmultiuser/src/android/permissionmultiuser/cts/
DAppDataSharingUpdatesTest.kt232 private const val LOCATION_CATEGORY = "location" in <lambda>() constant
375 putPersistableBundle(LOCATION_CATEGORY, locationBundle) in <lambda>()