Searched refs:assertEventLogged (Results 1 – 4 of 4) sorted by relevance
/aosp14/frameworks/base/services/robotests/backup/src/com/android/server/backup/transport/ |
H A D | TransportConnectionTest.java | 20 import static com.android.server.backup.testing.TestUtils.assertEventLogged; 289 assertEventLogged(EventLogTags.BACKUP_TRANSPORT_LIFECYCLE, mTransportString, 1); in testConnectAsync_beforeFrameworkCall_logsBoundTransitionEvent() 300 assertEventLogged(EventLogTags.BACKUP_TRANSPORT_LIFECYCLE, mTransportString, 1); in testConnectAsync_afterOnServiceConnected_logsBoundAndConnectedTransitionEvents() 301 assertEventLogged(EventLogTags.BACKUP_TRANSPORT_CONNECTION, mTransportString, 1); in testConnectAsync_afterOnServiceConnected_logsBoundAndConnectedTransitionEvents() 312 assertEventLogged(EventLogTags.BACKUP_TRANSPORT_LIFECYCLE, mTransportString, 1); in testConnectAsync_afterOnBindingDied_logsBoundAndUnboundTransitionEvents() 313 assertEventLogged(EventLogTags.BACKUP_TRANSPORT_LIFECYCLE, mTransportString, 0); in testConnectAsync_afterOnBindingDied_logsBoundAndUnboundTransitionEvents() 386 assertEventLogged(EventLogTags.BACKUP_TRANSPORT_CONNECTION, mTransportString, 0); in testUnbind_whenConnected_logsDisconnectedAndUnboundTransitionEvents() 387 assertEventLogged(EventLogTags.BACKUP_TRANSPORT_LIFECYCLE, mTransportString, 0); in testUnbind_whenConnected_logsDisconnectedAndUnboundTransitionEvents() 400 assertEventLogged(EventLogTags.BACKUP_TRANSPORT_CONNECTION, mTransportString, 0); in testOnServiceDisconnected_whenConnected_logsDisconnectedAndUnboundTransitionEvents() 401 assertEventLogged(EventLogTags.BACKUP_TRANSPORT_LIFECYCLE, mTransportString, 0); in testOnServiceDisconnected_whenConnected_logsDisconnectedAndUnboundTransitionEvents() [all …]
|
/aosp14/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/ |
H A D | TestUtils.java | 137 public static void assertEventLogged(int tag, Object... values) { in assertEventLogged() method in TestUtils
|
/aosp14/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
H A D | KeyValueBackupTaskTest.java | 34 import static com.android.server.backup.testing.TestUtils.assertEventLogged; 395 assertEventLogged(EventLogTags.BACKUP_START, mTransport.transportName); in testRunTask_whenOnePackage_logsBackupStartEvent() 555 assertEventLogged(EventLogTags.BACKUP_INITIALIZE); in testRunTask_whenOnePackageAndNoPmState_initializesTransportAndResetsState() 591 assertEventLogged(EventLogTags.BACKUP_TRANSPORT_FAILURE, "(initialize)"); in testRunTask_whenTransportReturnsErrorForInitialization() 937 assertEventLogged( in testRunTask_whenLocalAgentOnBackupThrows_reportsCorrectly() 1245 assertEventLogged(EventLogTags.BACKUP_PACKAGE, PACKAGE_1.packageName, 0L); in testRunTask_whenAgentDoesNotWriteData_logsEvents() 1457 assertEventLogged( in testRunTask_whenFinishBackupSucceeds_logsBackupPackageEvent() 1559 assertEventLogged( in testRunTask_whenTransportRejectsPackage_logsAgentFailureEvent() 1681 assertEventLogged(EventLogTags.BACKUP_QUOTA_EXCEEDED, PACKAGE_1.packageName); in testRunTask_whenTransportReturnsQuotaExceeded_notifiesAndLogs() 2030 assertEventLogged( in testRunTask_whenTransportGetBackupQuotaThrowsForPm() [all …]
|
/aosp14/frameworks/base/services/robotests/backup/src/com/android/server/backup/restore/ |
H A D | ActiveRestoreSessionTest.java | 22 import static com.android.server.backup.testing.TestUtils.assertEventLogged; 242 assertEventLogged(EventLogTags.RESTORE_TRANSPORT_FAILURE); in testGetAvailableRestoreSets_forNullRestoreSets()
|