Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetylabel/
DAppsSafetyLabelHistoryPersistenceTest.kt181 AppsSafetyLabelHistoryPersistence.recordSafetyLabel(SAFETY_LABEL_PKG_1_V1, dataFile) in recordSafetyLabel_noAppsHistory_addsAppsHistory()
206 AppsSafetyLabelHistoryPersistence.recordSafetyLabel(SAFETY_LABEL_PKG_2_V1, dataFile) in recordSafetyLabel_noAppHistory_addsAppHistory()
239 AppsSafetyLabelHistoryPersistence.recordSafetyLabel(SAFETY_LABEL_PKG_2_V3, dataFile) in recordSafetyLabel_existingAppHistory_addsToHistory()
265 AppsSafetyLabelHistoryPersistence.recordSafetyLabel(SAFETY_LABEL_PKG_2_V1, dataFile) in recordSafetyLabel_whenMaximumSafetyLabelsAlreadyStoredForApp_dropsOldSafetyLabels()
266 AppsSafetyLabelHistoryPersistence.recordSafetyLabel(SAFETY_LABEL_PKG_2_V2, dataFile) in recordSafetyLabel_whenMaximumSafetyLabelsAlreadyStoredForApp_dropsOldSafetyLabels()
268 AppsSafetyLabelHistoryPersistence.recordSafetyLabel(SAFETY_LABEL_PKG_2_V3, dataFile) in recordSafetyLabel_whenMaximumSafetyLabelsAlreadyStoredForApp_dropsOldSafetyLabels()
297 AppsSafetyLabelHistoryPersistence.recordSafetyLabel(SAFETY_LABEL_PKG_1_V3, dataFile) in recordSafetyLabel_noChangeToLastLabel_doesNothing()
598 AppsSafetyLabelHistoryPersistence.recordSafetyLabel(SAFETY_LABEL_PKG_1_V1, dataFile) in registerListener_receivesUpdates()
613 AppsSafetyLabelHistoryPersistence.recordSafetyLabel(SAFETY_LABEL_PKG_1_V1, dataFile) in unregisterListener_doesNotReceiveUpdates()
617 AppsSafetyLabelHistoryPersistence.recordSafetyLabel(SAFETY_LABEL_PKG_1_V2, dataFile) in unregisterListener_doesNotReceiveUpdates()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetylabel/
DSafetyLabelChangedBroadcastReceiver.kt177 AppsSafetyLabelHistoryPersistence.recordSafetyLabel(safetyLabelForPersistence, historyFile) in writeSafetyLabel()
DAppsSafetyLabelHistoryPersistence.kt128 fun recordSafetyLabel(safetyLabel: SafetyLabel, file: File) { in <lambda>() method