Searched refs:controllerCallback (Results 1 – 2 of 2) sorted by relevance
264 Controller2Callback controllerCallback = new Controller2Callback(); in testGetConnectedToken() local267 .setControllerCallback(sHandlerExecutor, controllerCallback) in testGetConnectedToken()269 assertTrue(controllerCallback.awaitOnConnected(WAIT_TIME_MS)); in testGetConnectedToken()270 assertEquals(controller, controllerCallback.mController); in testGetConnectedToken()278 assertTrue(controllerCallback.awaitOnDisconnected(WAIT_TIME_MS)); in testGetConnectedToken()279 assertNull(controllerCallback.mController.getConnectedToken()); in testGetConnectedToken()285 Controller2Callback controllerCallback = new Controller2Callback(); in testCallback_onConnected_onDisconnected() local288 .setControllerCallback(sHandlerExecutor, controllerCallback) in testCallback_onConnected_onDisconnected()290 assertTrue(controllerCallback.awaitOnConnected(WAIT_TIME_MS)); in testCallback_onConnected_onDisconnected()291 assertEquals(controller, controllerCallback.mController); in testCallback_onConnected_onDisconnected()[all …]
378 Controller2Callback controllerCallback = new Controller2Callback(); in testCallback_onConnect_onDisconnect() local385 .setControllerCallback(sHandlerExecutor, controllerCallback) in testCallback_onConnect_onDisconnect()387 assertTrue(controllerCallback.awaitOnConnected(WAIT_TIME_MS)); in testCallback_onConnect_onDisconnect()402 assertTrue(controllerCallback.awaitOnDisconnected(WAIT_TIME_MS)); in testCallback_onConnect_onDisconnect()415 Controller2Callback controllerCallback = new Controller2Callback(); in testCallback_onPostConnect_connected() local418 .setControllerCallback(sHandlerExecutor, controllerCallback) in testCallback_onPostConnect_connected()420 assertTrue(controllerCallback.awaitOnConnected(WAIT_TIME_MS)); in testCallback_onPostConnect_connected()456 Controller2Callback controllerCallback = new Controller2Callback(); in testCallback_onSessionCommand() local459 .setControllerCallback(sHandlerExecutor, controllerCallback) in testCallback_onSessionCommand()462 assertTrue(controllerCallback.awaitOnConnected(WAIT_TIME_MS)); in testCallback_onSessionCommand()[all …]