Home
last modified time | relevance | path

Searched refs:mClient (Results 1 – 7 of 7) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/util/sl4a/
DSl4aEventDispatcherTest.java40 private Sl4aClient mClient; field in Sl4aEventDispatcherTest
44 mClient = Mockito.mock(Sl4aClient.class); in setUp()
45 mEventDispatcher = new Sl4aEventDispatcher(mClient, FAKE_TIMEOUT_MS); in setUp()
62 .when(mClient).rpcCall("eventWait", FAKE_TIMEOUT_MS); in testPollEvents()
73 .when(mClient).rpcCall("eventWait", FAKE_TIMEOUT_MS); in testPollEvents_shutdown()
85 .when(mClient).rpcCall("eventWait", FAKE_TIMEOUT_MS); in testPopEvent()
112 .when(mClient).rpcCall("eventWait", FAKE_TIMEOUT_MS); in testPopAllEvents()
136 .when(mClient).rpcCall("eventWait", FAKE_TIMEOUT_MS); in testClearEvents()
141 .when(mClient).rpcCall("eventWait", FAKE_TIMEOUT_MS); in testClearEvents()
168 .when(mClient).rpcCall("eventWait", FAKE_TIMEOUT_MS); in testWaitForEvent()
[all …]
DSl4aClientTest.java39 private Sl4aClient mClient = null; field in Sl4aClientTest
49 mClient = new Sl4aClient(mMockDevice, mDeviceServer.getPort(), mDeviceServer.getPort()) { in setUp()
81 Assert.assertTrue(mClient.isSl4ARunning()); in testIsSl4ARunning()
95 Assert.assertFalse(mClient.isSl4ARunning()); in testIsSl4ARunning_notRunning()
115 mClient.startSl4A(); in testStartSl4A_notRunning()
156 mClient.startSl4A(); in testStartSl4A()
158 mClient.close(); in testStartSl4A()
173 mClient.startSl4A(); in testRpcCall_booleanResponse()
174 Object rep = mClient.rpcCall("getBoolean", false); in testRpcCall_booleanResponse()
177 mClient.close(); in testRpcCall_booleanResponse()
/tools/tradefederation/core/tests/src/com/android/tradefed/clearcut/
DClearcutClientTest.java34 private ClearcutClient mClient; field in ClearcutClientTest
38 mClient = in setUp()
49 mClient.stop(); in tearDown()
56 mClient.setCachedUuidFile(testFile); in testGetGroupingKey()
57 String grouping = mClient.getGroupingKey(); in testGetGroupingKey()
70 mClient.setCachedUuidFile(testFile); in testGetGroupingKey_exists()
71 String grouping = mClient.getGroupingKey(); in testGetGroupingKey_exists()
/tools/tradefederation/core/clearcut_client/com/android/tradefed/clearcut/
DTerminateClearcutClient.java21 private final ClearcutClient mClient; field in TerminateClearcutClient
24 mClient = client; in TerminateClearcutClient()
30 mClient.stop(); in run()
/tools/tradefederation/core/src/com/android/tradefed/util/sl4a/
DSl4aEventDispatcher.java36 private Sl4aClient mClient; field in Sl4aEventDispatcher
49 mClient = client; in Sl4aEventDispatcher()
70 Object response = mClient.rpcCall("eventWait", mTimeout); in internalPolling()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DBluetoothUtilsTest.java38 private Sl4aClient mClient; field in BluetoothUtilsTest
48 mClient = in setUp()
56 mSpyClient = Mockito.spy(mClient); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java170 private ClearcutClient mClient = null; field in CommandScheduler
1004 if (mClient != null) { in run()
1005 mClient.stop(); in run()
2260 mClient = client; in setClearcutClient()