Home
last modified time | relevance | path

Searched refs:getConnection (Results 1 – 13 of 13) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DRemoteAndroidVirtualDevice.java63 if (getConnection() instanceof AdbSshConnection) { in getTombstones()
64 return ((AdbSshConnection) getConnection()).getTombstones(); in getTombstones()
74 if (descriptor != null && getConnection() instanceof DefaultConnection) { in getDeviceDescriptor()
75 String initialSerial = ((DefaultConnection) getConnection()).getInitialSerial(); in getDeviceDescriptor()
96 if (getConnection() instanceof AdbSshConnection) { in getAvdInfo()
98 return ((AdbSshConnection) getConnection()).getAvdInfo(); in getAvdInfo()
DGceSshTunnelMonitor.java155 AbstractConnection conn = mDevice.getConnection(); in closeConnection()
277 if (mDevice.getConnection() instanceof AdbTcpConnection) { in run()
278 ((AdbTcpConnection) mDevice.getConnection()).setAdbLogFile(mAdbConnectionLogs); in run()
296 AbstractConnection conn = mDevice.getConnection(); in run()
399 if (mDevice.getConnection() instanceof AdbTcpConnection) { in logSshTunnelLogs()
400 ((AdbTcpConnection) mDevice.getConnection()).setAdbLogFile(null); in logSshTunnelLogs()
/tools/tradefederation/core/src/com/android/tradefed/device/
DRemoteAndroidDevice.java103 if (getConnection() instanceof DefaultConnection) { in getDeviceDescriptor()
104 String initialSerial = ((DefaultConnection) getConnection()).getInitialSerial(); in getDeviceDescriptor()
105 String initialIp = ((DefaultConnection) getConnection()).getInitialIp(); in getDeviceDescriptor()
107 ((DefaultConnection) getConnection()).getInitialDeviceNumOffset(); in getDeviceDescriptor()
DLocalAndroidVirtualDevice.java342 ((DefaultConnection) getConnection()).getInitialDeviceNumOffset())); in replaceStubDevice()
350 ((DefaultConnection) getConnection()).getInitialSerial(), in restoreStubDevice()
351 ((DefaultConnection) getConnection()).getInitialDeviceNumOffset())); in restoreStubDevice()
442 ((DefaultConnection) getConnection()) in acloudCreate()
DNativeDevice.java2747 getConnection().reconnectForRecovery(getSerialNumber()); in recoverDevice()
3463 getConnection().reconnect(getSerialNumber()); in postBootSetup()
3960 getConnection().reconnect(getSerialNumber()); in postAdbReboot()
3972 getConnection().notifyAdbRebootCalled(); in doAdbReboot()
4110 getConnection().reconnect(getSerialNumber()); in postAdbRootAction()
4121 getConnection().reconnect(getSerialNumber()); in postAdbUnrootAction()
5333 getConnection().tearDownConnection(); in postInvocationTearDown()
6130 public AbstractConnection getConnection() { in getConnection() method in NativeDevice
DTestDevice.java1318 getConnection().notifyAdbRebootCalled(); in doAdbReboot()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java1168 if (device.getConnection() instanceof AdbTcpConnection) { in checkEndModuleDevice()
1170 ((AdbTcpConnection) device.getConnection()) in checkEndModuleDevice()
1174 device.getConnection().recoverVirtualDevice(device, snapshotId, e); in checkEndModuleDevice()
1196 if (device.getConnection() instanceof AdbTcpConnection) { in recoverDevice()
1198 ((AdbTcpConnection) device.getConnection()) in recoverDevice()
1202 device.getConnection().recoverVirtualDevice(device, snapshotId, e); in recoverDevice()
DITestSuite.java809 AbstractConnection connection = mDevice.getConnection(); in run()
1040 AbstractConnection connection = device.getConnection(); in moduleIsolation()
/tools/tradefederation/core/src/com/android/tradefed/device/internal/
DDeviceResetFeature.java100 AbstractConnection connection = mTestInformation.getDevice().getConnection(); in execute()
DDeviceSnapshotFeature.java95 AbstractConnection connection = mTestInformation.getDevice().getConnection(); in execute()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java1700 public AbstractConnection getConnection(); in getConnection() method
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapperTest.java1034 Mockito.when(avdDevice.getConnection()).thenReturn(avdConnection); in testIntraModuleRun_resetFailed_preparerFailure()
1083 Mockito.when(device.getConnection()).thenReturn(avdConnection); in testIntraModuleRun_resetFailed_powerwashFailure()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DRemoteInvocationExecution.java169 GceAvdInfo gceInfo = ((AdbSshConnection) device.getConnection()).getAvdInfo(); in runTests()