Home
last modified time | relevance | path

Searched refs:AppSafetyLabelDiff (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetylabel/
DAppsSafetyLabelHistoryPersistenceTest.kt28 import com.android.permissioncontroller.safetylabel.AppsSafetyLabelHistory.AppSafetyLabelDiff
353 val safetyLabelDiffs: List<AppSafetyLabelDiff> = in getAppSafetyLabelDiffs_whenNoHistory_returnsEmpty()
356 assertThat(safetyLabelDiffs).isEqualTo(listOf<AppSafetyLabelDiff>()) in getAppSafetyLabelDiffs_whenNoHistory_returnsEmpty()
369 val safetyLabelDiffs: List<AppSafetyLabelDiff> = in getAppSafetyLabelDiffs_whenNoSafetyLabelChangesSinceStartTime_returnsEmpty()
372 assertThat(safetyLabelDiffs).isEqualTo(listOf<AppSafetyLabelDiff>()) in getAppSafetyLabelDiffs_whenNoSafetyLabelChangesSinceStartTime_returnsEmpty()
388 val safetyLabelDiffs: List<AppSafetyLabelDiff> = in getAppSafetyLabelDiffs_whenNoSafetyLabelsSinceStartTime_returnsEmpty()
391 assertThat(safetyLabelDiffs).isEqualTo(listOf<AppSafetyLabelDiff>()) in getAppSafetyLabelDiffs_whenNoSafetyLabelsSinceStartTime_returnsEmpty()
407 val safetyLabelDiffs: List<AppSafetyLabelDiff> = in getAppSafetyLabelDiffs_whenNoSafetyLabelsBeforeStartTime_returnsMoreRecentDiffs()
411 .isEqualTo(listOf(AppSafetyLabelDiff(SAFETY_LABEL_PKG_2_V2, SAFETY_LABEL_PKG_2_V3))) in getAppSafetyLabelDiffs_whenNoSafetyLabelsBeforeStartTime_returnsMoreRecentDiffs()
437 AppSafetyLabelDiff(SAFETY_LABEL_PKG_1_V1, SAFETY_LABEL_PKG_1_V2), in getAppSafetyLabelDiffs_returnsAvailableDiffs()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/v34/
DAppDataSharingUpdate.kt25 import com.android.permissioncontroller.safetylabel.AppsSafetyLabelHistory.AppSafetyLabelDiff
48 fun AppSafetyLabelDiff.buildUpdateIfSignificantChange(): AppDataSharingUpdate? { in buildUpdateIfSignificantChange() method
57 private fun AppSafetyLabelDiff.getUpdatesForCategories( in AppSafetyLabelDiff() method
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetylabel/
DAppsSafetyLabelHistoryPersistence.kt27 import com.android.permissioncontroller.safetylabel.AppsSafetyLabelHistory.AppSafetyLabelDiff in <lambda>()
291 fun getAppSafetyLabelDiffs(startTime: Instant, file: File): List<AppSafetyLabelDiff> { in <lambda>()
305 else AppSafetyLabelDiff(before, after) in <lambda>()
DAppsSafetyLabelHistory.kt146 data class AppSafetyLabelDiff( in <lambda>() class in com.android.permissioncontroller.safetylabel.AppsSafetyLabelHistory