Searched refs:controller2 (Results 1 – 5 of 5) sorted by relevance
218 MediaController2 controller2 = createConnectedController(mToken); in testOnGetSession_returnsDifferentSessions() local221 assertThat(controller2.getConnectedToken()).isNotEqualTo(mToken); in testOnGetSession_returnsDifferentSessions()223 assertThat(controller1.getConnectedToken()).isNotEqualTo(controller2.getConnectedToken()); in testOnGetSession_returnsDifferentSessions()226 assertThat(controller2.getConnectedToken()).isEqualTo(tokens.get(1)); in testOnGetSession_returnsDifferentSessions()274 MediaController2 controller2 = createConnectedController(mToken); in testAllControllersDisconnected_oneSession() local280 controller2.close(); in testAllControllersDisconnected_oneSession()301 MediaController2 controller2 = createConnectedController(mToken); in testAllControllersDisconnected_multipleSessions() local307 controller2.close(); in testAllControllersDisconnected_multipleSessions()
463 RoutingController controller2 = createdControllers.get(1); in testTransferToTwice() local465 assertThat(controller1.getId()).isNotEqualTo(controller2.getId()); in testTransferToTwice()468 assertThat(createRouteMap(controller2.getSelectedRoutes()).containsKey( in testTransferToTwice()473 assertThat(mRouter2.getControllers().contains(controller2)).isTrue(); in testTransferToTwice()
1023 RoutingController controller2 = createdControllers.get(1); in testTransferToTwice() local1025 assertThat(controller2.getId()).isNotEqualTo(controller1.getId()); in testTransferToTwice()1028 assertThat(createRouteMap(controller2.getSelectedRoutes()).containsKey( in testTransferToTwice()
339 MediaController2 controller2 = in testBroadcastSessionCommand() local
551 MagnificationController controller2 = service.getMagnificationController(); in testSetWindowModeConfig_connectionReset_expectedResult() local563 () -> controller2.setMagnificationConfig(newConfig, /* animate= */ false)); in testSetWindowModeConfig_connectionReset_expectedResult()565 waitUntilMagnificationConfig(controller2, newConfig); in testSetWindowModeConfig_connectionReset_expectedResult()568 () -> controller2.resetCurrentMagnification(false)); in testSetWindowModeConfig_connectionReset_expectedResult()955 final MagnificationController controller2 = service.getMagnificationController(); in testMagnificationServiceShutsDownWhileMagnifying_fullscreen_shouldReturnTo1x() local957 1.0f, controller2.getScale(), 0f); in testMagnificationServiceShutsDownWhileMagnifying_fullscreen_shouldReturnTo1x()958 assertFalse(controller2.getMagnificationConfig().isActivated()); in testMagnificationServiceShutsDownWhileMagnifying_fullscreen_shouldReturnTo1x()987 final MagnificationController controller2 = service.getMagnificationController(); in testMagnificationServiceShutsDownWhileMagnifying_windowMode_shouldReturnTo1x() local989 1.0f, controller2.getMagnificationConfig().getScale(), 0f); in testMagnificationServiceShutsDownWhileMagnifying_windowMode_shouldReturnTo1x()990 assertFalse(controller2.getMagnificationConfig().isActivated()); in testMagnificationServiceShutsDownWhileMagnifying_windowMode_shouldReturnTo1x()