Home
last modified time | relevance | path

Searched refs:appsSafetyLabelHistory (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetylabel/
DAppsSafetyLabelHistoryPersistenceTest.kt88 val appsSafetyLabelHistory = in read_afterDeleted_returnsNull() constant
92 AppsSafetyLabelHistoryPersistence.write(dataFile, appsSafetyLabelHistory) in read_afterDeleted_returnsNull()
95 assertThat(AppsSafetyLabelHistoryPersistence.read(dataFile).appsSafetyLabelHistory) in read_afterDeleted_returnsNull()
101 val appsSafetyLabelHistory = in read_afterWrite_noHistory_returnsIdenticalAppsSafetyLabelHistory() constant
105 AppsSafetyLabelHistoryPersistence.write(dataFile, appsSafetyLabelHistory) in read_afterWrite_noHistory_returnsIdenticalAppsSafetyLabelHistory()
107 assertThat(AppsSafetyLabelHistoryPersistence.read(dataFile).appsSafetyLabelHistory) in read_afterWrite_noHistory_returnsIdenticalAppsSafetyLabelHistory()
108 .isEqualTo(appsSafetyLabelHistory) in read_afterWrite_noHistory_returnsIdenticalAppsSafetyLabelHistory()
113 val appsSafetyLabelHistory = in read_afterWrite_noSharing_returnsIdenticalAppsSafetyLabelHistory() constant
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/safetylabel/
DAppsSafetyLabelHistoryPersistence.kt103 return AppsSafetyLabelHistoryFileContent(appsSafetyLabelHistory = null, INITIAL_VERSION) in <lambda>()
110 read(file).appsSafetyLabelHistory?.appSafetyLabelHistories ?: return emptyMap() in <lambda>()
131 read(file).appsSafetyLabelHistory ?: AppsSafetyLabelHistory(listOf()) in <lambda>()
164 read(file).appsSafetyLabelHistory ?: AppsSafetyLabelHistory(listOf()) in <lambda>()
207 read(file).appsSafetyLabelHistory ?: AppsSafetyLabelHistory(listOf()) in <lambda>()
224 read(file).appsSafetyLabelHistory ?: AppsSafetyLabelHistory(listOf()) in <lambda>()
254 fun write(file: File, appsSafetyLabelHistory: AppsSafetyLabelHistory) { in <lambda>()
255 write(file, AppsSafetyLabelHistoryFileContent(appsSafetyLabelHistory, CURRENT_VERSION)) in <lambda>()
293 read(file).appsSafetyLabelHistory ?: AppsSafetyLabelHistory(listOf()) in <lambda>()
327 val appsSafetyLabelHistory = parseAppsSafetyLabelHistory() in <lambda>() constant
[all …]