Home
last modified time | relevance | path

Searched refs:mConnection (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/device/connection/
DAdbSshConnectionTest.java75 private AdbSshConnection mConnection; field in AdbSshConnectionTest
112 mConnection = in setUp()
134 mConnection.powerwashGce(null, null); in testPowerwashNoAvdInfo()
189 mConnection.initializeConnection(); in testPowerwashGce()
190 mConnection.powerwashGce(instanceUser, null); in testPowerwashGce()
265 mConnection.initializeConnection(); in testPowerwashOxygenGce()
266 mConnection.powerwashGce(instanceUser, null); in testPowerwashOxygenGce()
282 mConnection = in testPowerwashMultiInstance()
336 mConnection.initializeConnection(); in testPowerwashMultiInstance()
337 mConnection.powerwashGce(instanceUser, 2); in testPowerwashMultiInstance()
[all …]
DAdbTcpConnectionTest.java48 private AdbTcpConnection mConnection; field in AdbTcpConnectionTest
59 mConnection = in setUp()
87 assertTrue(mConnection.adbTcpConnect("localhost", "1234")); in testAdbConnect()
103 assertFalse(mConnection.adbTcpConnect("localhost", "1234")); in testAdbConnect_fails()
130 assertFalse(mConnection.adbTcpConnect("localhost", "1234")); in testAdbConnect_fails_confirmation()
152 assertTrue(mConnection.adbTcpDisconnect("localhost", "1234")); in testAdbDisconnect()
167 assertFalse(mConnection.adbTcpDisconnect("localhost", "1234")); in testAdbDisconnect_fails()
172 assertEquals("localhost", mConnection.getHostName(MOCK_DEVICE_SERIAL)); in testCheckSerial()
173 assertEquals("1234", mConnection.getPortNum(MOCK_DEVICE_SERIAL)); in testCheckSerial()
179 mConnection.getHostName("wrongserial"); in testCheckSerial_invalid()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java262 private AbstractConnection mConnection; field in NativeDevice
5308 mConnection = DefaultConnection.createConnection(builder); in initializeConnection()
5309 CLog.d("Using connection: %s (%s)", mConnection, getIDevice()); in initializeConnection()
5310 mConnection.initializeConnection(); in initializeConnection()
6131 if (mConnection == null) { in getConnection()
6132 mConnection = in getConnection()
6136 return mConnection; in getConnection()