Searched refs:safetyLabel (Results 1 – 10 of 10) sorted by relevance
41 val safetyLabel = SafetyLabel.getSafetyLabelFromMetadata(null) in getSafetyLabelFromMetadata_nullMetadataBundle_nullSafetyLabel() constant43 assertThat(safetyLabel).isNull() in getSafetyLabelFromMetadata_nullMetadataBundle_nullSafetyLabel()48 val safetyLabel = in getSafetyLabelFromMetadata_emptyMetadataBundle_nullSafetyLabel() constant51 assertThat(safetyLabel).isNull() in getSafetyLabelFromMetadata_emptyMetadataBundle_nullSafetyLabel()56 val safetyLabel = in getSafetyLabelFromMetadata_emptyVersionedMetadataBundle_nullSafetyLabel() constant59 assertThat(safetyLabel).isNull() in getSafetyLabelFromMetadata_emptyVersionedMetadataBundle_nullSafetyLabel()64 val safetyLabel = in getSafetyLabelFromMetadata_invalidMetadataBundle_nullSafetyLabel() constant67 assertThat(safetyLabel).isNull() in getSafetyLabelFromMetadata_invalidMetadataBundle_nullSafetyLabel()72 val safetyLabel = in getSafetyLabelFromMetadata_invalidSafetyLabelBundle_dataSharedEmpty() constant76 assertThat(safetyLabel).isNull() in getSafetyLabelFromMetadata_invalidSafetyLabelBundle_dataSharedEmpty()[all …]
128 fun recordSafetyLabel(safetyLabel: SafetyLabel, file: File) { in <lambda>()132 val appInfo = safetyLabel.appInfo in <lambda>()139 add(AppSafetyLabelHistory(appInfo, listOf(safetyLabel))) in <lambda>()146 else it.addSafetyLabelIfChanged(safetyLabel) in <lambda>()536 private fun XmlSerializer.serializeSafetyLabel(safetyLabel: SafetyLabel) { in <lambda>()538 attribute(null, ATTRIBUTE_RECEIVED_AT, safetyLabel.receivedAt.toEpochMilli().toString()) in <lambda>()539 serializeDataLabel(safetyLabel.dataLabel) in <lambda>()569 safetyLabel: SafetyLabel in <lambda>()572 return if (latestSafetyLabel?.dataLabel == safetyLabel.dataLabel) this in <lambda>()573 else this.withSafetyLabel(safetyLabel, getMaxSafetyLabelsToPersist()) in <lambda>()[all …]
55 fun withSafetyLabel(safetyLabel: SafetyLabel, maxToPersist: Int): AppSafetyLabelHistory = in <lambda>()60 .apply { add(safetyLabel) } in <lambda>()
164 val safetyLabel: AppMetadataSafetyLabel = in writeSafetyLabel() constant173 safetyLabel in writeSafetyLabel()
108 val safetyLabel: SafetyLabel? = getSafetyLabel(userContext, packageName) in loadDataAndPostValue() constant109 if (safetyLabel != null) { in loadDataAndPostValue()110 SafetyLabelInfo(safetyLabel, lightInstallSourceInfo) in loadDataAndPostValue()
38 safetyLabel: SafetyLabel, in <lambda>()45 val dataCategory: DataCategory? = safetyLabel.dataLabel.dataShared[category] in <lambda>()
391 val safetyLabel = safetyLabelInfoLiveData?.value?.safetyLabel in <lambda>() constant398 safetyLabel, in <lambda>()453 safetyLabel: SafetyLabel?, in <lambda>()456 if (safetyLabel == null || permissionGroupName == null) { in <lambda>()461 SafetyLabelUtils.getSafetyLabelSharingPurposesForGroup(safetyLabel, permissionGroupName) in <lambda>()1014 safetyLabelInfoLiveData?.value?.safetyLabel, in <lambda>()
210 val safetyLabel = safetyLabelInfoLiveData?.value?.safetyLabel in <lambda>() constant211 if (safetyLabel == null) { in <lambda>()218 safetyLabel, in <lambda>()
29 val safetyLabel: SafetyLabel?, constant in com.android.permissioncontroller.permission.model.livedatatypes.v34.SafetyLabelInfo
116 if (safetyLabelInfo?.safetyLabel == null) { in <lambda>()131 safetyLabelInfo.safetyLabel, in <lambda>()