Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/robotests/backup/src/com/android/server/backup/transport/
H A DTransportClientTest.java20 import static com.android.server.backup.testing.TestUtils.assertEventLogged;
282 assertEventLogged(EventLogTags.BACKUP_TRANSPORT_LIFECYCLE, mTransportString, 1); in testConnectAsync_beforeFrameworkCall_logsBoundTransitionEvent()
293 assertEventLogged(EventLogTags.BACKUP_TRANSPORT_LIFECYCLE, mTransportString, 1); in testConnectAsync_afterOnServiceConnected_logsBoundAndConnectedTransitionEvents()
294 assertEventLogged(EventLogTags.BACKUP_TRANSPORT_CONNECTION, mTransportString, 1); in testConnectAsync_afterOnServiceConnected_logsBoundAndConnectedTransitionEvents()
305 assertEventLogged(EventLogTags.BACKUP_TRANSPORT_LIFECYCLE, mTransportString, 1); in testConnectAsync_afterOnBindingDied_logsBoundAndUnboundTransitionEvents()
306 assertEventLogged(EventLogTags.BACKUP_TRANSPORT_LIFECYCLE, mTransportString, 0); in testConnectAsync_afterOnBindingDied_logsBoundAndUnboundTransitionEvents()
378 assertEventLogged(EventLogTags.BACKUP_TRANSPORT_CONNECTION, mTransportString, 0); in testUnbind_whenConnected_logsDisconnectedAndUnboundTransitionEvents()
379 assertEventLogged(EventLogTags.BACKUP_TRANSPORT_LIFECYCLE, mTransportString, 0); in testUnbind_whenConnected_logsDisconnectedAndUnboundTransitionEvents()
392 assertEventLogged(EventLogTags.BACKUP_TRANSPORT_CONNECTION, mTransportString, 0); in testOnServiceDisconnected_whenConnected_logsDisconnectedAndUnboundTransitionEvents()
393 assertEventLogged(EventLogTags.BACKUP_TRANSPORT_LIFECYCLE, mTransportString, 0); in testOnServiceDisconnected_whenConnected_logsDisconnectedAndUnboundTransitionEvents()
[all …]
/aosp12/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
H A DKeyValueBackupTaskTest.java34 import static com.android.server.backup.testing.TestUtils.assertEventLogged;
384 assertEventLogged(EventLogTags.BACKUP_START, mTransport.transportName); in testRunTask_whenOnePackage_logsBackupStartEvent()
544 assertEventLogged(EventLogTags.BACKUP_INITIALIZE); in testRunTask_whenOnePackageAndNoPmState_initializesTransportAndResetsState()
580 assertEventLogged(EventLogTags.BACKUP_TRANSPORT_FAILURE, "(initialize)"); in testRunTask_whenTransportReturnsErrorForInitialization()
926 assertEventLogged( in testRunTask_whenLocalAgentOnBackupThrows_reportsCorrectly()
1234 assertEventLogged(EventLogTags.BACKUP_PACKAGE, PACKAGE_1.packageName, 0L); in testRunTask_whenAgentDoesNotWriteData_logsEvents()
1446 assertEventLogged( in testRunTask_whenFinishBackupSucceeds_logsBackupPackageEvent()
1518 assertEventLogged( in testRunTask_whenTransportRejectsPackage_logsAgentFailureEvent()
1640 assertEventLogged(EventLogTags.BACKUP_QUOTA_EXCEEDED, PACKAGE_1.packageName); in testRunTask_whenTransportReturnsQuotaExceeded_notifiesAndLogs()
1989 assertEventLogged( in testRunTask_whenTransportGetBackupQuotaThrowsForPm()
[all …]
/aosp12/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
H A DTestUtils.java137 public static void assertEventLogged(int tag, Object... values) { in assertEventLogged() method in TestUtils
/aosp12/frameworks/base/services/robotests/backup/src/com/android/server/backup/restore/
H A DActiveRestoreSessionTest.java22 import static com.android.server.backup.testing.TestUtils.assertEventLogged;
236 assertEventLogged(EventLogTags.RESTORE_TRANSPORT_FAILURE); in testGetAvailableRestoreSets_forNullRestoreSets()