Home
last modified time | relevance | path

Searched refs:AppsSafetyLabelHistoryPersistence (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetylabel/
DAppsSafetyLabelHistoryPersistenceTest.kt30 import com.android.permissioncontroller.safetylabel.AppsSafetyLabelHistoryPersistence
31 import com.android.permissioncontroller.safetylabel.AppsSafetyLabelHistoryPersistence.AppsSafetyLab…
32 import com.android.permissioncontroller.safetylabel.AppsSafetyLabelHistoryPersistence.ChangeListener
92 AppsSafetyLabelHistoryPersistence.write(dataFile, appsSafetyLabelHistory) in read_afterDeleted_returnsNull()
93 AppsSafetyLabelHistoryPersistence.clear(dataFile) in read_afterDeleted_returnsNull()
95 assertThat(AppsSafetyLabelHistoryPersistence.read(dataFile).appsSafetyLabelHistory) in read_afterDeleted_returnsNull()
105 AppsSafetyLabelHistoryPersistence.write(dataFile, appsSafetyLabelHistory) in read_afterWrite_noHistory_returnsIdenticalAppsSafetyLabelHistory()
107 assertThat(AppsSafetyLabelHistoryPersistence.read(dataFile).appsSafetyLabelHistory) in read_afterWrite_noHistory_returnsIdenticalAppsSafetyLabelHistory()
119 AppsSafetyLabelHistoryPersistence.write(dataFile, appsSafetyLabelHistory) in read_afterWrite_noSharing_returnsIdenticalAppsSafetyLabelHistory()
121 assertThat(AppsSafetyLabelHistoryPersistence.read(dataFile).appsSafetyLabelHistory) in read_afterWrite_noSharing_returnsIdenticalAppsSafetyLabelHistory()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/v34/
DAppDataSharingUpdatesLiveData.kt26 import com.android.permissioncontroller.safetylabel.AppsSafetyLabelHistoryPersistence
36 AppsSafetyLabelHistoryPersistence.ChangeListener {
46 AppsSafetyLabelHistoryPersistence.getSafetyLabelHistoryFile(app.applicationContext) in loadDataAndPostValue()
49 AppsSafetyLabelHistoryPersistence.getAppSafetyLabelDiffs( in loadDataAndPostValue()
61 AppsSafetyLabelHistoryPersistence.addListener(this) in onActive()
66 AppsSafetyLabelHistoryPersistence.removeListener(this) in onInactive()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/v34/
DSafetyLabelChangesJobService.kt74 import com.android.permissioncontroller.safetylabel.AppsSafetyLabelHistoryPersistence in <lambda>()
252 val historyFile = AppsSafetyLabelHistoryPersistence.getSafetyLabelHistoryFile(context) in <lambda>()
254 AppsSafetyLabelHistoryPersistence.getSafetyLabelsLastUpdatedTimes(historyFile) in <lambda>()
284 AppsSafetyLabelHistoryPersistence.recordSafetyLabels(safetyLabelsToRecord, historyFile) in <lambda>()
395 val historyFile = AppsSafetyLabelHistoryPersistence.getSafetyLabelHistoryFile(context) in <lambda>()
397 AppsSafetyLabelHistoryPersistence.getSafetyLabelsLastUpdatedTimes(historyFile) in <lambda>()
414 AppsSafetyLabelHistoryPersistence.deleteSafetyLabelsForApps(appInfosToDelete, historyFile) in <lambda>()
422 AppsSafetyLabelHistoryPersistence.deleteSafetyLabelsOlderThan( in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetylabel/
DSafetyLabelChangedBroadcastReceiver.kt175 val historyFile = AppsSafetyLabelHistoryPersistence.getSafetyLabelHistoryFile(context) in writeSafetyLabel()
177 AppsSafetyLabelHistoryPersistence.recordSafetyLabel(safetyLabelForPersistence, historyFile) in writeSafetyLabel()
DAppsSafetyLabelHistoryPersistence.kt44 object AppsSafetyLabelHistoryPersistence { in <lambda>() object