Home
last modified time | relevance | path

Searched refs:getSafetyLabelFromMetadata (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Permission/SafetyLabel/tests/java/com/android/permission/safetylabel/
DSafetyLabelTest.kt41 val safetyLabel = SafetyLabel.getSafetyLabelFromMetadata(null) in getSafetyLabelFromMetadata_nullMetadataBundle_nullSafetyLabel()
49 SafetyLabel.getSafetyLabelFromMetadata(createNonVersionedEmptyMetadataPersistableBundle()) in getSafetyLabelFromMetadata_emptyMetadataBundle_nullSafetyLabel()
57 SafetyLabel.getSafetyLabelFromMetadata(createVersionedEmptyMetadataPersistableBundle()) in getSafetyLabelFromMetadata_emptyVersionedMetadataBundle_nullSafetyLabel()
65 SafetyLabel.getSafetyLabelFromMetadata(createInvalidMetadataPersistableBundle()) in getSafetyLabelFromMetadata_invalidMetadataBundle_nullSafetyLabel()
73 SafetyLabel.getSafetyLabelFromMetadata( in getSafetyLabelFromMetadata_invalidSafetyLabelBundle_dataSharedEmpty()
85 val safetyLabel = SafetyLabel.getSafetyLabelFromMetadata(bundle) in getSafetyLabelFromMetadata_validBundle_hasDataShared()
96 SafetyLabel.getSafetyLabelFromMetadata(createMetadataPersistableBundleWithoutVersion()) in getSafetyLabelFromMetadata_invalidBundle_noTopLevelBundleVersion()
103 SafetyLabel.getSafetyLabelFromMetadata(createMetadataPersistableBundleInvalidVersion()) in getSafetyLabelFromMetadata_invalidBundle_InvalidTopLevelBundleVersion()
112 val safetyLabel = SafetyLabel.getSafetyLabelFromMetadata(bundle) in getSafetyLabelFromMetadata_invalidBundle_NoSafetyLabelBundleVersion()
121 val safetyLabel = SafetyLabel.getSafetyLabelFromMetadata(bundle) in getSafetyLabelFromMetadata_invalidBundle_InvalidSafetyLabelBundleVersion()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetylabel/
DAppsSafetyLabelHistoryTest.kt119 AppMetadataSafetyLabel.getSafetyLabelFromMetadata(metadataBundle)!! in extractLocationSharingSafetyLabel_noSharing_returnsSafetyLabelForPersistence()
136 AppMetadataSafetyLabel.getSafetyLabelFromMetadata(metadataBundle)!! in extractLocationSharingSafetyLabel_locationSharingNoAds_returnsSafetyLabelForPersistence()
159 AppMetadataSafetyLabel.getSafetyLabelFromMetadata(metadataBundle)!! in extractLocationSharingSafetyLabel_locationSharingAds_returnsSafetyLabelForPersistence()
182 AppMetadataSafetyLabel.getSafetyLabelFromMetadata(metadataBundle)!! in extractLocationSharingSafetyLabel_financeCategory_returnsEmptySafetyLabel()
200 AppMetadataSafetyLabel.getSafetyLabelFromMetadata(metadataBundle)!! in extractLocationSharingSafetyLabel_locationFinance_returnsLocationSafetyLabel()
/packages/modules/Permission/SafetyLabel/java/com/android/permission/safetylabel/
DSafetyLabel.java41 public static SafetyLabel getSafetyLabelFromMetadata(@Nullable PersistableBundle bundle) { in getSafetyLabelFromMetadata() method in SafetyLabel
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/v34/
DSafetyLabelInfoLiveData.kt125 return SafetyLabel.getSafetyLabelFromMetadata( in getSafetyLabel()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetylabel/
DSafetyLabelChangedBroadcastReceiver.kt165 AppMetadataSafetyLabel.getSafetyLabelFromMetadata(appMetadataBundle) ?: return in writeSafetyLabel()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/v34/
DSafetyLabelChangesJobService.kt368 AppMetadataSafetyLabel.getSafetyLabelFromMetadata(appMetadataBundle) ?: return null in <lambda>()