Home
last modified time | relevance | path

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

/packages/modules/Permission/SafetyLabel/java/com/android/permission/safetylabel/
DSafetyLabel.java58 long safetyLabelsVersion = safetyLabelBundle.getLong(KEY_VERSION, 0L); in getSafetyLabelFromMetadata() local
59 if (safetyLabelsVersion <= 0) { in getSafetyLabelFromMetadata()
61 "The safety labels have an invalid version %d", safetyLabelsVersion)); in getSafetyLabelFromMetadata()
/packages/modules/Permission/SafetyLabel/tests/java/com/android/permission/safetylabel/
DSafetyLabelTest.kt84 val safetyLabelsVersion = safetyLabelBundle?.getLong(KEY_VERSION) in getSafetyLabelFromMetadata_validBundle_hasDataShared() constant
88 assertThat(safetyLabelsVersion).isEqualTo(SAFETY_LABELS_VERSION) in getSafetyLabelFromMetadata_validBundle_hasDataShared()
DSafetyLabelTestPersistableBundles.kt67 safetyLabelsVersion: Long = SAFETY_LABELS_VERSION in <lambda>()
71 createSafetyLabelPersistableBundle(safetyLabelsVersion)) in <lambda>()