Home
last modified time | relevance | path

Searched refs:EXTRA_LOG_EVENT_ID (Results 1 – 6 of 6) sorted by relevance

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
H A DTarBackupReaderTest.java19 import static android.app.backup.BackupManagerMonitor.EXTRA_LOG_EVENT_ID;
255 assertThat(bundleCaptor.getValue().get(EXTRA_LOG_EVENT_ID)).isEqualTo( in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndHasApk_returnsAcceptIfApk()
282 assertThat(eventBundles.get(0).get(EXTRA_LOG_EVENT_ID)).isEqualTo( in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndDoesNotHaveApk_returnsAcceptIfApkLogsCannotRestore()
284 assertThat(eventBundles.get(1).get(EXTRA_LOG_EVENT_ID)).isEqualTo( in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndDoesNotHaveApk_returnsAcceptIfApkLogsCannotRestore()
306 assertThat(bundleCaptor.getValue().get(EXTRA_LOG_EVENT_ID)).isEqualTo( in chooseRestorePolicy_packageDoesNotExistAndDoesNotAllowApks_returnsIgnore()
331 assertThat(bundleCaptor.getValue().get(EXTRA_LOG_EVENT_ID)).isEqualTo( in chooseRestorePolicy_doesNotAllowsBackup_returnsIgnore()
358 assertThat(bundleCaptor.getValue().get(EXTRA_LOG_EVENT_ID)).isEqualTo( in chooseRestorePolicy_systemAppWithNoAgent_returnsIgnore()
393 assertThat(bundleCaptor.getValue().get(EXTRA_LOG_EVENT_ID)).isEqualTo( in chooseRestorePolicy_nonSystemAppSignaturesDoNotMatch_returnsIgnore()
432 assertThat(bundleCaptor.getValue().get(EXTRA_LOG_EVENT_ID)).isEqualTo( in chooseRestorePolicy_systemAppWithBackupAgentAndRestoreAnyVersion_returnsAccept()
470 assertThat(bundleCaptor.getValue().get(EXTRA_LOG_EVENT_ID)).isEqualTo( in chooseRestorePolicy_restoreAnyVersion_returnsAccept()
[all …]
H A DBackupManagerMonitorUtilsTest.java20 import static android.app.backup.BackupManagerMonitor.EXTRA_LOG_EVENT_ID;
87 assertThat(eventBundle.getInt(EXTRA_LOG_EVENT_ID)).isEqualTo(1); in monitorEvent_packageAndExtrasAreNull_fillsBundleCorrectly()
108 assertThat(eventBundle.getInt(EXTRA_LOG_EVENT_ID)).isEqualTo(1); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectly()
135 assertThat(eventBundle.getInt(EXTRA_LOG_EVENT_ID)).isEqualTo(1); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectlyLong()
/aosp12/frameworks/base/core/java/android/app/backup/
H A DBackupManagerMonitor.java52 public static final String EXTRA_LOG_EVENT_ID = "android.app.backup.extra.LOG_EVENT_ID"; field in BackupManagerMonitor
/aosp12/frameworks/base/services/backup/java/com/android/server/backup/utils/
H A DBackupManagerMonitorUtils.java58 bundle.putInt(BackupManagerMonitor.EXTRA_LOG_EVENT_ID, id); in monitorEvent()
/aosp12/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
H A DBmgr.java1036 int id = event.getInt(BackupManagerMonitor.EXTRA_LOG_EVENT_ID); in onEvent()
1052 remainingKeys.remove(BackupManagerMonitor.EXTRA_LOG_EVENT_ID); in onEvent()
/aosp12/frameworks/base/core/api/
H A Dsystem-current.txt1075 field public static final String EXTRA_LOG_EVENT_ID = "android.app.backup.extra.LOG_EVENT_ID";