Home
last modified time | relevance | path

Searched refs:dataTypeMap (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Permission/SafetyLabel/tests/java/com/android/permission/safetylabel/
DDataTypeTest.kt43 val dataTypeMap = in getDataTypeMap_invalidCategory_nullPersistableBundle_emptyMap() constant
46 assertThat(dataTypeMap).isNotNull() in getDataTypeMap_invalidCategory_nullPersistableBundle_emptyMap()
47 assertThat(dataTypeMap).isEmpty() in getDataTypeMap_invalidCategory_nullPersistableBundle_emptyMap()
52 val dataTypeMap = in getDataTypeMap_invalidCategory_emptyPersistableBundle_emptyMap() constant
56 assertThat(dataTypeMap).isNotNull() in getDataTypeMap_invalidCategory_emptyPersistableBundle_emptyMap()
57 assertThat(dataTypeMap).isEmpty() in getDataTypeMap_invalidCategory_emptyPersistableBundle_emptyMap()
62 val dataTypeMap = in getDataTypeMap_invalidCategory_invalidBundle_emptyMap() constant
68 assertThat(dataTypeMap).isNotNull() in getDataTypeMap_invalidCategory_invalidBundle_emptyMap()
69 assertThat(dataTypeMap).isEmpty() in getDataTypeMap_invalidCategory_invalidBundle_emptyMap()
74 val dataTypeMap = in getDataTypeMap_invalidCategory_validBundle_emptyMap() constant
[all …]
/packages/modules/Permission/SafetyLabel/java/com/android/permission/safetylabel/
DDataCategory.java86 Map<String, DataType> dataTypeMap = in getDataCategory() local
88 if (dataTypeMap.isEmpty()) { in getDataCategory()
92 return new DataCategory(dataTypeMap); in getDataCategory()
DDataType.java69 Map<String, DataType> dataTypeMap = new HashMap<>(); in getDataTypeMap() local
76 dataTypeMap.put(type, dataType); in getDataTypeMap()
79 return Collections.unmodifiableMap(dataTypeMap); in getDataTypeMap()