Searched refs:DataLabelConstants (Results 1 – 7 of 7) 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 | 41 DataCategory.getDataCategoryMap(null, DataLabelConstants.DATA_USAGE_COLLECTED) in getDataCategoryMap_dataUsageCollected_nullPersistableBundle_emptyMap() 51 PersistableBundle.EMPTY, DataLabelConstants.DATA_USAGE_COLLECTED) in getDataCategoryMap_dataUsageCollected_emptyPersistableBundle_emptyMap() 61 createInvalidDataLabelPersistableBundle(), DataLabelConstants.DATA_USAGE_COLLECTED) in getDataCategoryMap_dataUsageCollected_invalidBundle_emptyMap() 71 createDataLabelPersistableBundle(), DataLabelConstants.DATA_USAGE_COLLECTED) in getDataCategoryMap_dataUsageCollected_validBundle_hasAllValidCategories() 84 dataLabelBundle, DataLabelConstants.DATA_USAGE_COLLECTED) in getDataCategoryMap_dataUsageCollected_additionalInvalidCategory_hasOnlyValidCategories() 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() [all …]
|
D | SafetyLabelTestPersistableBundles.kt | 204 DataLabelConstants.DATA_USAGE_SHARED, createCategoryMapPersistableBundle()) in <lambda>() 206 DataLabelConstants.DATA_USAGE_COLLECTED, createCategoryMapPersistableBundle()) in <lambda>() 220 remove(DataLabelConstants.DATA_USAGE_COLLECTED) in <lambda>() 226 return createDataLabelPersistableBundle().apply { remove(DataLabelConstants.DATA_USAGE_SHARED) } in <lambda>() 232 remove(DataLabelConstants.DATA_USAGE_COLLECTED) in <lambda>() 233 putPersistableBundle(DataLabelConstants.DATA_USAGE_COLLECTED, PersistableBundle.EMPTY) in <lambda>() 240 remove(DataLabelConstants.DATA_USAGE_SHARED) in <lambda>() 241 putPersistableBundle(DataLabelConstants.DATA_USAGE_SHARED, PersistableBundle.EMPTY) in <lambda>() 248 remove(DataLabelConstants.DATA_USAGE_COLLECTED) in <lambda>() 250 DataLabelConstants.DATA_USAGE_COLLECTED, createInvalidCategoryMapPersistableBundle()) in <lambda>() [all …]
|
/packages/modules/Permission/SafetyLabel/java/com/android/permission/safetylabel/ |
D | DataLabel.java | 19 import static com.android.permission.safetylabel.DataLabelConstants.DATA_USAGE_COLLECTED; 20 import static com.android.permission.safetylabel.DataLabelConstants.DATA_USAGE_SHARED;
|
D | DataLabelConstants.java | 29 public class DataLabelConstants { class
|
D | DataCategory.java | 25 import com.android.permission.safetylabel.DataLabelConstants.DataUsage;
|
D | DataType.java | 114 if (DataLabelConstants.DATA_USAGE_COLLECTED.equals(dataUsage)) { in getDataType()
|