Searched refs:setUpTransport (Results 1 – 5 of 5) sorted by relevance
165 setUpTransport(mTransport); in testGetAvailableRestoreSets_withoutPermission()176 setUpTransport(mTransport); in testGetAvailableRestoreSets_forNullObserver()187 setUpTransport(mTransport.unregistered()); in testGetAvailableRestoreSets_whenTransportNotRegistered()198 TransportMock transportMock = setUpTransport(mTransport); in testGetAvailableRestoreSets()217 TransportMock transportMock = setUpTransport(mTransport); in testGetAvailableRestoreSets_forEmptyRestoreSets()233 TransportMock transportMock = setUpTransport(mTransport); in testGetAvailableRestoreSets_forNullRestoreSets()253 TransportMock transportMock = setUpTransport(mTransport); in testRestoreAll()276 setUpTransport(mTransport); in testRestoreAll_whenNoRestoreSets()287 setUpTransport(mTransport); in testRestoreAll_whenSinglePackageSession()299 setUpTransport(mTransport); in testRestoreAll_whenSessionEnded()[all …]
103 setUpTransport(mTransport); in testRun_callsTransportCorrectly()115 setUpTransport(mTransport); in testRun_callsBackupManagerCorrectly()129 setUpTransport(mTransport); in testRun_callsObserverAndListenerCorrectly()142 setUpTransport(mTransport); in testRun_whenInitializeDeviceFails()157 setUpTransport(mTransport); in testRun_whenInitializeDeviceFails_callsObserverAndListenerCorrectly()170 setUpTransport(mTransport); in testRun_whenInitializeDeviceFails_schedulesAlarm()181 setUpTransport(mTransport); in testRun_whenFinishBackupFails()195 setUpTransport(mTransport); in testRun_whenFinishBackupFails_callsObserverAndListenerCorrectly()208 setUpTransport(mTransport); in testRun_whenFinishBackupFails_logs()221 setUpTransport(mTransport); in testRun_whenInitializeDeviceFails_logs()[all …]
87 TransportMock transportMock = setUpTransport(transportManager, transport); in setUpCurrentTransport()110 .map(transport -> uncheck(() -> setUpTransport(transportManager, transport))) in setUpTransports()114 public static TransportMock setUpTransport( in setUpTransport() method in TransportTestUtils
309 TransportMock transportMock = setUpTransport(mTransport); in testRunTask_whenQueueEmpty_doesNotProduceData()541 TransportMock transportMock = setUpTransport(mTransport); in testRunTask_whenOnePackageAndNoPmState_initializesTransportAndResetsState()561 TransportMock transportMock = setUpTransport(mTransport); in testRunTask_whenOnePackageAndWithPmState_doesNotInitializeTransportOrResetState()576 TransportMock transportMock = setUpTransport(mTransport); in testRunTask_whenTransportReturnsErrorForInitialization()596 TransportMock transportMock = setUpTransport(mTransport); in testRunTask_whenTransportThrowsDuringInitialization()2579 private TransportMock setUpTransport(TransportData transport) throws Exception { in setUpTransport() method in KeyValueBackupTaskTest2581 TransportTestUtils.setUpTransport(mTransportManager, transport); in setUpTransport()2588 TransportMock transportMock = setUpTransport(transport); in setUpInitializedTransport()
1688 bool setUpTransport() { in setUpTransport() function in android::RpcTransportTestUtils::Client1711 if (!setUpTransport()) { in run()1951 ASSERT_TRUE(client.setUpTransport()); in TEST_P()2003 ASSERT_TRUE(client.setUpTransport()); in TEST_P()