Home
last modified time | relevance | path

Searched refs:setUpTransport (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/robotests/backup/src/com/android/server/backup/restore/
DActiveRestoreSessionTest.java165 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 …]
/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/
DPerformInitializeTaskTest.java103 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 …]
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DTransportTestUtils.java87 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
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java309 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 KeyValueBackupTaskTest
2581 TransportTestUtils.setUpTransport(mTransportManager, transport); in setUpTransport()
2588 TransportMock transportMock = setUpTransport(transport); in setUpInitializedTransport()
/frameworks/native/libs/binder/tests/
DbinderRpcTest.cpp1688 bool setUpTransport() { in setUpTransport() function in android::RpcTransportTestUtils::Client
1711 if (!setUpTransport()) { in run()
1951 ASSERT_TRUE(client.setUpTransport()); in TEST_P()
2003 ASSERT_TRUE(client.setUpTransport()); in TEST_P()