Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/
DTarBackupReaderTest.java19 import static android.app.backup.BackupManagerMonitor.EXTRA_LOG_EVENT_ID;
265 assertThat(bundleCaptor.getValue().get(EXTRA_LOG_EVENT_ID)).isEqualTo( in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndHasApk_returnsAcceptIfApk()
292 assertThat(eventBundles.get(0).get(EXTRA_LOG_EVENT_ID)).isEqualTo( in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndDoesNotHaveApk_returnsAcceptIfApkLogsCannotRestore()
294 assertThat(eventBundles.get(1).get(EXTRA_LOG_EVENT_ID)).isEqualTo( in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndDoesNotHaveApk_returnsAcceptIfApkLogsCannotRestore()
316 assertThat(bundleCaptor.getValue().get(EXTRA_LOG_EVENT_ID)).isEqualTo( in chooseRestorePolicy_packageDoesNotExistAndDoesNotAllowApks_returnsIgnore()
341 assertThat(bundleCaptor.getValue().get(EXTRA_LOG_EVENT_ID)).isEqualTo( in chooseRestorePolicy_doesNotAllowsBackup_returnsIgnore()
368 assertThat(bundleCaptor.getValue().get(EXTRA_LOG_EVENT_ID)).isEqualTo( in chooseRestorePolicy_systemAppWithNoAgent_returnsIgnore()
403 assertThat(bundleCaptor.getValue().get(EXTRA_LOG_EVENT_ID)).isEqualTo( in chooseRestorePolicy_nonSystemAppSignaturesDoNotMatch_returnsIgnore()
442 assertThat(bundleCaptor.getValue().get(EXTRA_LOG_EVENT_ID)).isEqualTo( in chooseRestorePolicy_systemAppWithBackupAgentAndRestoreAnyVersion_returnsAccept()
480 assertThat(bundleCaptor.getValue().get(EXTRA_LOG_EVENT_ID)).isEqualTo( in chooseRestorePolicy_restoreAnyVersion_returnsAccept()
[all …]
DBackupManagerMonitorEventSenderTest.java20 import static android.app.backup.BackupManagerMonitor.EXTRA_LOG_EVENT_ID;
128 assertThat(eventBundle.getInt(EXTRA_LOG_EVENT_ID)).isEqualTo(1); in monitorEvent_packageAndExtrasAreNull_fillsBundleCorrectly()
149 assertThat(eventBundle.getInt(EXTRA_LOG_EVENT_ID)).isEqualTo(1); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectly()
177 assertThat(eventBundle.getInt(EXTRA_LOG_EVENT_ID)).isEqualTo(1); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectlyLong()
306 assertThat(eventBundle.getInt(EXTRA_LOG_EVENT_ID)) in assertCorrectBundleSentToMonitor()
DBackupManagerMonitorDumpsysUtilsTest.java74 event.putInt(BackupManagerMonitor.EXTRA_LOG_EVENT_ID, 1); in parseBackupManagerMonitorEventForDumpsys_missingCategory_noLogsWrittenToFile()
261 event.putInt(BackupManagerMonitor.EXTRA_LOG_EVENT_ID, 1); in createRestoreBMMEvent()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupManagerMonitorDumpsysUtils.java112 if (!eventBundle.containsKey(BackupManagerMonitor.EXTRA_LOG_EVENT_ID) in parseBackupManagerMonitorRestoreEventForDumpsys()
134 int eventId = eventBundle.getInt(BackupManagerMonitor.EXTRA_LOG_EVENT_ID); in parseBackupManagerMonitorRestoreEventForDumpsys()
212 if (eventBundle.getInt(BackupManagerMonitor.EXTRA_LOG_EVENT_ID) == in addExtrasIfAvailable()
230 if (eventBundle.getInt(BackupManagerMonitor.EXTRA_LOG_EVENT_ID) in addExtrasIfAvailable()
DBackupManagerMonitorEventSender.java96 bundle.putInt(BackupManagerMonitor.EXTRA_LOG_EVENT_ID, id); in monitorEvent()
/frameworks/base/core/java/android/app/backup/
DBackupManagerMonitor.java54 public static final String EXTRA_LOG_EVENT_ID = "android.app.backup.extra.LOG_EVENT_ID"; field in BackupManagerMonitor
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
DBmgr.java1085 int id = event.getInt(BackupManagerMonitor.EXTRA_LOG_EVENT_ID); in onEvent()
1132 remainingKeys.remove(BackupManagerMonitor.EXTRA_LOG_EVENT_ID); in onEvent()
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java917 if (event.getInt(BackupManagerMonitor.EXTRA_LOG_EVENT_ID) in onEvent()
/frameworks/base/core/api/
Dsystem-current.txt1785 field public static final String EXTRA_LOG_EVENT_ID = "android.app.backup.extra.LOG_EVENT_ID";