Home
last modified time | relevance | path

Searched refs:dataLabel (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Permission/SafetyLabel/tests/java/com/android/permission/safetylabel/
DDataLabelTest.kt38 val dataLabel: DataLabel? = DataLabel.getDataLabel(null) in getDataLabel_nullBundle_nullDataLabel() constant
40 assertThat(dataLabel).isNull() in getDataLabel_nullBundle_nullDataLabel()
45 val dataLabel: DataLabel? = DataLabel.getDataLabel(PersistableBundle.EMPTY) in getDataLabel_emptyBundle_nullDataLabel() constant
47 assertThat(dataLabel).isNull() in getDataLabel_emptyBundle_nullDataLabel()
52 val dataLabel: DataLabel? = in getDataLabel_invalidBundle_nullDataLabel() constant
55 assertThat(dataLabel).isNull() in getDataLabel_invalidBundle_nullDataLabel()
60 val dataLabel: DataLabel? = in getDataLabel_nullDataCollectedBundle_dataCollectedEmpty() constant
63 assertThat(dataLabel).isNotNull() in getDataLabel_nullDataCollectedBundle_dataCollectedEmpty()
64 assertThat(dataLabel?.dataCollected).isEmpty() in getDataLabel_nullDataCollectedBundle_dataCollectedEmpty()
65 assertThat(dataLabel?.dataShared).isNotEmpty() in getDataLabel_nullDataCollectedBundle_dataCollectedEmpty()
[all …]
DSafetyLabelTest.kt90 assertThat(safetyLabel?.dataLabel).isNotNull() in getSafetyLabelFromMetadata_validBundle_hasDataShared()
/packages/modules/Permission/SafetyLabel/java/com/android/permission/safetylabel/
DSafetyLabel.java35 private SafetyLabel(@NonNull DataLabel dataLabel) { in SafetyLabel() argument
36 this.mDataLabel = dataLabel; in SafetyLabel()
65 DataLabel dataLabel = DataLabel.getDataLabel(safetyLabelBundle); in getSafetyLabelFromMetadata() local
66 if (dataLabel == null) { in getSafetyLabelFromMetadata()
69 return new SafetyLabel(dataLabel); in getSafetyLabelFromMetadata()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetylabel/
DAppsSafetyLabelHistoryPersistence.kt407 val dataLabel = parseDataLabel() in <lambda>() constant
412 return SafetyLabel(appInfo, receivedAt, dataLabel) in <lambda>()
539 serializeDataLabel(safetyLabel.dataLabel) in <lambda>()
543 private fun XmlSerializer.serializeDataLabel(dataLabel: DataLabel) { in <lambda>()
545 serializeDataSharedMap(dataLabel.dataShared) in <lambda>()
572 return if (latestSafetyLabel?.dataLabel == safetyLabel.dataLabel) this in <lambda>()
583 if (latestSafetyLabel?.dataLabel != safetyLabel.dataLabel) { in <lambda>()
DAppsSafetyLabelHistory.kt78 val dataLabel: DataLabel in <lambda>() constant in com.android.permissioncontroller.safetylabel.AppsSafetyLabelHistory.SafetyLabel
94 DataLabel.extractLocationSharingDataLabel(appMetadataSafetyLabel.dataLabel) in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/v34/
DAppDataSharingUpdate.kt92 dataLabel.dataShared.containsKey(category) in SafetyLabel()
95 dataLabel.dataShared[category]?.containsAdvertisingPurpose ?: false in SafetyLabel()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/v34/
DSafetyLabelUtils.kt45 val dataCategory: DataCategory? = safetyLabel.dataLabel.dataShared[category] in <lambda>()