Home
last modified time | relevance | path

Searched refs:CATEGORY_LOCATION (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Permission/SafetyLabel/tests/java/com/android/permission/safetylabel/
DDataTypeTest.kt21 import com.android.permission.safetylabel.DataCategoryConstants.CATEGORY_LOCATION
76 createTypeMapPersistableBundle(CATEGORY_LOCATION), in getDataTypeMap_invalidCategory_validBundle_emptyMap()
87 DataType.getDataTypeMap(null, DataLabelConstants.DATA_USAGE_SHARED, CATEGORY_LOCATION) in getDataTypeMap_validCategory_nullPersistableBundle_emptyMap()
97 PersistableBundle.EMPTY, DataLabelConstants.DATA_USAGE_SHARED, CATEGORY_LOCATION) in getDataTypeMap_validCategory_emptyPersistableBundle_emptyMap()
109 CATEGORY_LOCATION) in getDataTypeMap_validCategory_invalidBundle_emptyMap()
117 val typeMapPersistableBundle = createTypeMapPersistableBundle(CATEGORY_LOCATION) in getDataTypeMap_validCategory_validBundle_hasAllExpectedTypes()
121 typeMapPersistableBundle, DataLabelConstants.DATA_USAGE_SHARED, CATEGORY_LOCATION) in getDataTypeMap_validCategory_validBundle_hasAllExpectedTypes()
126 DataTypeConstants.getValidDataTypesForCategory(CATEGORY_LOCATION)) in getDataTypeMap_validCategory_validBundle_hasAllExpectedTypes()
131 val typeMapPersistableBundle = createTypeMapPersistableBundle(CATEGORY_LOCATION) in getDataTypeMap_validCategory_validBundleWithAddedInvalidType_hasOnlyExpectedTypes()
137 typeMapPersistableBundle, DataLabelConstants.DATA_USAGE_SHARED, CATEGORY_LOCATION) in getDataTypeMap_validCategory_validBundleWithAddedInvalidType_hasOnlyExpectedTypes()
[all …]
DDataCategoryTest.kt21 import com.android.permission.safetylabel.DataCategoryConstants.CATEGORY_LOCATION
194 null, DataLabelConstants.DATA_USAGE_SHARED, CATEGORY_LOCATION) in getDataCategory_nullBundle_nullDataCategory()
203 PersistableBundle.EMPTY, DataLabelConstants.DATA_USAGE_SHARED, CATEGORY_LOCATION) in getDataCategory_emptyBundle_nullDataCategory()
214 CATEGORY_LOCATION) in getDataCategory_invalidBundle_nullDataCategory()
236 CATEGORY_LOCATION) in getDataCategory_validBundle_validCategoryAndExpectedTypes()
242 DataTypeConstants.getValidDataTypesForCategory(CATEGORY_LOCATION)) in getDataCategory_validBundle_validCategoryAndExpectedTypes()
253 dataTypeMapBundle, DataLabelConstants.DATA_USAGE_SHARED, CATEGORY_LOCATION) in getDataCategory_validBundleWithAddedInvalidType_validCategoryAndOnlyExpectedTypes()
259 DataTypeConstants.getValidDataTypesForCategory(CATEGORY_LOCATION)) in getDataCategory_validBundleWithAddedInvalidType_validCategoryAndOnlyExpectedTypes()
DSafetyLabelTestPersistableBundles.kt23 import com.android.permission.safetylabel.DataCategoryConstants.CATEGORY_LOCATION in <lambda>()
290 putPersistableBundle(INVALID_KEY, createTypeMapPersistableBundle(CATEGORY_LOCATION)) in <lambda>()
309 putPersistableBundle(INVALID_KEY, createTypeMapPersistableBundle(CATEGORY_LOCATION)) in <lambda>()
/packages/modules/Permission/SafetyLabel/java/com/android/permission/safetylabel/
DDataCategoryConstants.java42 CATEGORY_LOCATION,
59 public static final String CATEGORY_LOCATION = "location"; field in DataCategoryConstants
80 CATEGORY_LOCATION,
DDataTypeConstants.java393 DataCategoryConstants.CATEGORY_LOCATION, VALID_TYPES_LOCATION); in VALID_TYPES_FOR_CATEGORY_MAP.put() argument
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/v34/
DAppDataSharingUpdate.kt21 import com.android.permission.safetylabel.DataCategoryConstants.CATEGORY_LOCATION
51 val updates = getUpdatesForCategories(listOf(CATEGORY_LOCATION)) in buildUpdateIfSignificantChange()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/v34/
DAppDataSharingUpdatesViewModel.kt34 import com.android.permission.safetylabel.DataCategoryConstants.CATEGORY_LOCATION in <lambda>()
113 appDataSharingUpdate.categorySharingUpdates[CATEGORY_LOCATION] in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetylabel/
DAppsSafetyLabelHistory.kt115 .filter { it.key == DataCategoryConstants.CATEGORY_LOCATION } in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/v34/
DSafetyLabelChangesJobService.kt45 import com.android.permission.safetylabel.DataCategoryConstants.CATEGORY_LOCATION in <lambda>()
499 appDataSharingUpdate.categorySharingUpdates[CATEGORY_LOCATION] in <lambda>()
531 categorySharingUpdates[CATEGORY_LOCATION] != null in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DPermissionMapping.kt39 mapOf(Manifest.permission_group.LOCATION to listOf(DataCategoryConstants.CATEGORY_LOCATION))