Searched refs:recordSafetyLabel (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetylabel/ |
D | AppsSafetyLabelHistoryPersistenceTest.kt | 181 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/ |
D | SafetyLabelChangedBroadcastReceiver.kt | 177 AppsSafetyLabelHistoryPersistence.recordSafetyLabel(safetyLabelForPersistence, historyFile) in writeSafetyLabel()
|
D | AppsSafetyLabelHistoryPersistence.kt | 128 fun recordSafetyLabel(safetyLabel: SafetyLabel, file: File) { in <lambda>() method
|