Searched refs:getConnection (Results 1 – 13 of 13) sorted by relevance
63 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()
155 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()
103 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()
342 ((DefaultConnection) getConnection()).getInitialDeviceNumOffset())); in replaceStubDevice()350 ((DefaultConnection) getConnection()).getInitialSerial(), in restoreStubDevice()351 ((DefaultConnection) getConnection()).getInitialDeviceNumOffset())); in restoreStubDevice()442 ((DefaultConnection) getConnection()) in acloudCreate()
2747 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
1318 getConnection().notifyAdbRebootCalled(); in doAdbReboot()
1168 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()
809 AbstractConnection connection = mDevice.getConnection(); in run()1040 AbstractConnection connection = device.getConnection(); in moduleIsolation()
100 AbstractConnection connection = mTestInformation.getDevice().getConnection(); in execute()
95 AbstractConnection connection = mTestInformation.getDevice().getConnection(); in execute()
1700 public AbstractConnection getConnection(); in getConnection() method
1034 Mockito.when(avdDevice.getConnection()).thenReturn(avdConnection); in testIntraModuleRun_resetFailed_preparerFailure()1083 Mockito.when(device.getConnection()).thenReturn(avdConnection); in testIntraModuleRun_resetFailed_powerwashFailure()
169 GceAvdInfo gceInfo = ((AdbSshConnection) device.getConnection()).getAvdInfo(); in runTests()