Searched refs:DATA_USAGE_SHARED (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Permission/SafetyLabel/tests/java/com/android/permission/safetylabel/ |
D | DataTypeTest.kt | 44 DataType.getDataTypeMap(null, DataLabelConstants.DATA_USAGE_SHARED, INVALID_KEY) in getDataTypeMap_invalidCategory_nullPersistableBundle_emptyMap() 54 PersistableBundle.EMPTY, DataLabelConstants.DATA_USAGE_SHARED, INVALID_KEY) in getDataTypeMap_invalidCategory_emptyPersistableBundle_emptyMap() 65 DataLabelConstants.DATA_USAGE_SHARED, in getDataTypeMap_invalidCategory_invalidBundle_emptyMap() 77 DataLabelConstants.DATA_USAGE_SHARED, 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() 108 DataLabelConstants.DATA_USAGE_SHARED, in getDataTypeMap_validCategory_invalidBundle_emptyMap() 121 typeMapPersistableBundle, DataLabelConstants.DATA_USAGE_SHARED, CATEGORY_LOCATION) in getDataTypeMap_validCategory_validBundle_hasAllExpectedTypes() 137 typeMapPersistableBundle, DataLabelConstants.DATA_USAGE_SHARED, CATEGORY_LOCATION) in getDataTypeMap_validCategory_validBundleWithAddedInvalidType_hasOnlyExpectedTypes() 153 typeMapPersistableBundle, DataLabelConstants.DATA_USAGE_SHARED, CATEGORY_LOCATION) in getDataTypeMap_validCategory_validType_invalidData_emptyMap() [all …]
|
D | DataCategoryTest.kt | 93 DataCategory.getDataCategoryMap(null, DataLabelConstants.DATA_USAGE_SHARED) in getDataCategoryMap_dataUsageShared_nullPersistableBundle_emptyMap() 103 PersistableBundle.EMPTY, DataLabelConstants.DATA_USAGE_SHARED) in getDataCategoryMap_dataUsageShared_emptyPersistableBundle_emptyMap() 113 createInvalidDataLabelPersistableBundle(), DataLabelConstants.DATA_USAGE_SHARED) in getDataCategoryMap_dataUsageShared_invalidBundle_emptyMap() 123 createDataLabelPersistableBundle(), DataLabelConstants.DATA_USAGE_SHARED) in getDataCategoryMap_dataUsageShared_validBundle_hasAllValidCategories() 135 DataCategory.getDataCategoryMap(dataLabelBundle, DataLabelConstants.DATA_USAGE_SHARED) in getDataCategoryMap_dataUsageShared_additionalInvalidCategory_hasOnlyValidCategories() 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() 213 DataLabelConstants.DATA_USAGE_SHARED, in getDataCategory_invalidBundle_nullDataCategory() 224 DataLabelConstants.DATA_USAGE_SHARED, in getDataCategory_validCategoriesAndInvalidType_nullDataCategory() 235 DataLabelConstants.DATA_USAGE_SHARED, in getDataCategory_validBundle_validCategoryAndExpectedTypes() [all …]
|
D | SafetyLabelTestPersistableBundles.kt | 204 DataLabelConstants.DATA_USAGE_SHARED, createCategoryMapPersistableBundle()) in <lambda>() 226 return createDataLabelPersistableBundle().apply { remove(DataLabelConstants.DATA_USAGE_SHARED) } in <lambda>() 240 remove(DataLabelConstants.DATA_USAGE_SHARED) in <lambda>() 241 putPersistableBundle(DataLabelConstants.DATA_USAGE_SHARED, PersistableBundle.EMPTY) in <lambda>() 257 remove(DataLabelConstants.DATA_USAGE_SHARED) in <lambda>() 259 DataLabelConstants.DATA_USAGE_SHARED, createInvalidCategoryMapPersistableBundle()) in <lambda>() 267 DataLabelConstants.DATA_USAGE_SHARED, in <lambda>()
|
/packages/modules/Permission/SafetyLabel/java/com/android/permission/safetylabel/ |
D | DataLabelConstants.java | 37 DATA_USAGE_SHARED, 41 public static final String DATA_USAGE_SHARED = "data_shared"; field in DataLabelConstants
|
D | DataLabel.java | 20 import static com.android.permission.safetylabel.DataLabelConstants.DATA_USAGE_SHARED; 62 DataCategory.getDataCategoryMap(dataLabelBundle, DATA_USAGE_SHARED); in getDataLabel()
|