Home
last modified time | relevance | path

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

/packages/modules/Permission/SafetyLabel/tests/java/com/android/permission/safetylabel/
DDataTypeTest.kt33 …rt com.android.permission.safetylabel.SafetyLabelTestPersistableBundles.createTypePersistableBundle
133 typeMapPersistableBundle.putPersistableBundle(INVALID_KEY, createTypePersistableBundle()) in getDataTypeMap_validCategory_validBundleWithAddedInvalidType_hasOnlyExpectedTypes()
204 createTypePersistableBundle(), DataLabelConstants.DATA_USAGE_COLLECTED) in getDataType_dataCollected_validDataType()
217 createTypePersistableBundle(), DataLabelConstants.DATA_USAGE_SHARED) in getDataType_dataShared_validDataType()
228 val typePersistableBundle = createTypePersistableBundle() in getDataType_validDataTypeWithAddedInvalidPurpose_onlyValidPurposes()
244 val typePersistableBundle = createTypePersistableBundle() in getDataType_dataTypeWithInvalidPurpose_nullDataType()
257 val typePersistableBundle = createTypePersistableBundle() in getDataType_noPurpose_nullDataType()
268 val bundle = createTypePersistableBundle() in getDataType_dataCollected_validDataType_noUserControl_noEphemeral()
DSafetyLabelTestPersistableBundles.kt317 putPersistableBundle(type, createTypePersistableBundle()) in <lambda>()
325 putPersistableBundle(INVALID_KEY, createTypePersistableBundle()) in <lambda>()
341 fun createTypePersistableBundle(): PersistableBundle { in <lambda>() method
DDataCategoryTest.kt30 …rt com.android.permission.safetylabel.SafetyLabelTestPersistableBundles.createTypePersistableBundle
249 dataTypeMapBundle.putPersistableBundle(INVALID_KEY, createTypePersistableBundle()) in getDataCategory_validBundleWithAddedInvalidType_validCategoryAndOnlyExpectedTypes()