Searched refs:dataLabel (Results 1 – 7 of 7) sorted by relevance
38 val dataLabel: DataLabel? = DataLabel.getDataLabel(null) in getDataLabel_nullBundle_nullDataLabel() constant40 assertThat(dataLabel).isNull() in getDataLabel_nullBundle_nullDataLabel()45 val dataLabel: DataLabel? = DataLabel.getDataLabel(PersistableBundle.EMPTY) in getDataLabel_emptyBundle_nullDataLabel() constant47 assertThat(dataLabel).isNull() in getDataLabel_emptyBundle_nullDataLabel()52 val dataLabel: DataLabel? = in getDataLabel_invalidBundle_nullDataLabel() constant55 assertThat(dataLabel).isNull() in getDataLabel_invalidBundle_nullDataLabel()60 val dataLabel: DataLabel? = in getDataLabel_nullDataCollectedBundle_dataCollectedEmpty() constant63 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 …]
90 assertThat(safetyLabel?.dataLabel).isNotNull() in getSafetyLabelFromMetadata_validBundle_hasDataShared()
35 private SafetyLabel(@NonNull DataLabel dataLabel) { in SafetyLabel() argument36 this.mDataLabel = dataLabel; in SafetyLabel()65 DataLabel dataLabel = DataLabel.getDataLabel(safetyLabelBundle); in getSafetyLabelFromMetadata() local66 if (dataLabel == null) { in getSafetyLabelFromMetadata()69 return new SafetyLabel(dataLabel); in getSafetyLabelFromMetadata()
407 val dataLabel = parseDataLabel() in <lambda>() constant412 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>()
78 val dataLabel: DataLabel in <lambda>() constant in com.android.permissioncontroller.safetylabel.AppsSafetyLabelHistory.SafetyLabel94 DataLabel.extractLocationSharingDataLabel(appMetadataSafetyLabel.dataLabel) in <lambda>()
92 dataLabel.dataShared.containsKey(category) in SafetyLabel()95 dataLabel.dataShared[category]?.containsAdvertisingPurpose ?: false in SafetyLabel()
45 val dataCategory: DataCategory? = safetyLabel.dataLabel.dataShared[category] in <lambda>()