Home
last modified time | relevance | path

Searched refs:isCollectionOptional (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Permission/SafetyLabel/java/com/android/permission/safetylabel/
DDataType.java48 @Nullable Boolean isCollectionOptional, in DataType() argument
51 this.mIsCollectionOptional = isCollectionOptional; in DataType()
112 Boolean isCollectionOptional = null; in getDataType() local
115 isCollectionOptional = in getDataType()
125 return new DataType(purposeSet, isCollectionOptional, ephemeral); in getDataType()
/packages/modules/Permission/SafetyLabel/tests/java/com/android/permission/safetylabel/
DDataTypeTest.kt171 assertThat(type.isCollectionOptional).isTrue() in getDataTypeMap_dataCollected_validCategory_validBundle_validateSingleExpectedType()
187 assertThat(type.isCollectionOptional).isNull() in getDataTypeMap_dataShared_validCategory_validBundle_validateSingleExpectedType()
209 assertThat(dataType?.isCollectionOptional).isTrue() in getDataType_dataCollected_validDataType()
222 assertThat(dataType?.isCollectionOptional).isNull() in getDataType_dataShared_validDataType()
277 assertThat(dataType?.isCollectionOptional).isNull() in getDataType_dataCollected_validDataType_noUserControl_noEphemeral()