Searched refs:dataLabelBundle (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Permission/SafetyLabel/java/com/android/permission/safetylabel/ |
D | DataLabel.java | 54 PersistableBundle dataLabelBundle = safetyLabelBundle.getPersistableBundle(KEY_DATA_LABEL); in getDataLabel() local 55 if (dataLabelBundle == null) { in getDataLabel() 60 DataCategory.getDataCategoryMap(dataLabelBundle, DATA_USAGE_COLLECTED); in getDataLabel() 62 DataCategory.getDataCategoryMap(dataLabelBundle, DATA_USAGE_SHARED); in getDataLabel()
|
D | DataCategory.java | 50 @Nullable PersistableBundle dataLabelBundle, @DataUsage @NonNull String dataUsage) { in getDataCategoryMap() 51 if (dataLabelBundle == null) { in getDataCategoryMap() 55 PersistableBundle dataCategoryMapBundle = dataLabelBundle.getPersistableBundle(dataUsage); in getDataCategoryMap()
|
/packages/modules/Permission/SafetyLabel/tests/java/com/android/permission/safetylabel/ |
D | DataCategoryTest.kt | 80 val dataLabelBundle = createDataLabelPersistableBundleWithAdditonalInvalidCategory() in getDataCategoryMap_dataUsageCollected_additionalInvalidCategory_hasOnlyValidCategories() constant 84 dataLabelBundle, DataLabelConstants.DATA_USAGE_COLLECTED) in getDataCategoryMap_dataUsageCollected_additionalInvalidCategory_hasOnlyValidCategories() 132 val dataLabelBundle = createDataLabelPersistableBundleWithAdditonalInvalidCategory() in getDataCategoryMap_dataUsageShared_additionalInvalidCategory_hasOnlyValidCategories() constant 135 DataCategory.getDataCategoryMap(dataLabelBundle, DataLabelConstants.DATA_USAGE_SHARED) in getDataCategoryMap_dataUsageShared_additionalInvalidCategory_hasOnlyValidCategories() 181 val dataLabelBundle = createDataLabelPersistableBundleWithAdditonalInvalidCategory() in getDataCategoryMap_dataUsageInvalid_validBundleWithAdditionalInvalidCategory_null() constant 184 DataCategory.getDataCategoryMap(dataLabelBundle, "invalid_datausage_key") in getDataCategoryMap_dataUsageInvalid_validBundleWithAdditionalInvalidCategory_null()
|
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/ |
D | AppMetadata.kt | 41 val dataLabelBundle = in createDefaultAppMetadata() constant 47 putPersistableBundle(KEY_DATA_LABELS, dataLabelBundle) in createDefaultAppMetadata() 183 val dataLabelBundle = in createMetadataWithDataShared() constant 189 putPersistableBundle(KEY_DATA_LABELS, dataLabelBundle) in createMetadataWithDataShared()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetylabel/ |
D | AppsSafetyLabelHistoryTest.kt | 320 val dataLabelBundle = in createMetadataWithDataShared() constant 328 putPersistableBundle(DATA_LABEL_KEY, dataLabelBundle) in createMetadataWithDataShared()
|
/packages/modules/Permission/tests/cts/permissionmultiuser/src/android/permissionmultiuser/cts/ |
D | AppDataSharingUpdatesTest.kt | 388 val dataLabelBundle = in <lambda>() constant 396 putPersistableBundle(KEY_DATA_LABELS, dataLabelBundle) in <lambda>()
|