Home
last modified time | relevance | path

Searched refs:controllers (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaRouter2Test.java209 final List<RoutingController> controllers = new ArrayList<>(); in testTransferToSuccess() local
219 controllers.add(newController); in testTransferToSuccess()
241 releaseControllers(controllers); in testTransferToSuccess()
258 final List<RoutingController> controllers = new ArrayList<>(); in testTransferToFailure() local
265 controllers.add(newController); in testTransferToFailure()
288 releaseControllers(controllers); in testTransferToFailure()
402 final List<RoutingController> controllers = new ArrayList<>(); in testSetOnGetControllerHintsListener() local
419 controllers.add(newController); in testSetOnGetControllerHintsListener()
445 releaseControllers(controllers); in testSetOnGetControllerHintsListener()
463 List<RoutingController> controllers = new ArrayList<>(); in testSetSessionVolume() local
[all …]
DSystemMediaRouter2Test.java414 final List<RoutingController> controllers = new ArrayList<>(); in testTransferTo_succeeds_onTransferCalled() local
424 controllers.add(newController); in testTransferTo_succeeds_onTransferCalled()
448 releaseControllers(controllers); in testTransferTo_succeeds_onTransferCalled()
461 final List<RoutingController> controllers = new ArrayList<>(); in testTransferTo_fails_onTransferFailureCalled() local
468 controllers.add(newController); in testTransferTo_fails_onTransferFailureCalled()
487 releaseControllers(controllers); in testTransferTo_fails_onTransferFailureCalled()
583 final List<RoutingController> controllers = new ArrayList<>(); in testTransfer_succeeds_onTransferCalled() local
593 controllers.add(newController); in testTransfer_succeeds_onTransferCalled()
617 releaseControllers(controllers); in testTransfer_succeeds_onTransferCalled()
631 final List<RoutingController> controllers = new ArrayList<>(); in testStop() local
[all …]
DMediaRoute2ProviderServiceTest.java381 List<RoutingController> controllers = new ArrayList<>(); in testSessionRelatedCallbacks() local
389 controllers.add(newController); in testSessionRelatedCallbacks()
431 assertFalse(controllers.isEmpty()); in testSessionRelatedCallbacks()
433 RoutingController controller = controllers.get(0); in testSessionRelatedCallbacks()
493 List<RoutingController> controllers = new ArrayList<>(); in testNotifySessionReleased() local
501 controllers.add(newController); in testNotifySessionReleased()
524 assertFalse(controllers.isEmpty()); in testNotifySessionReleased()
DMediaSession2Test.java247 List<MediaSession2.ControllerInfo> controllers = session.getConnectedControllers(); in testGetConnectedControllers_newController() local
249 for (MediaSession2.ControllerInfo controllerInfo : controllers) { in testGetConnectedControllers_newController()
275 List<MediaSession2.ControllerInfo> controllers = session.getConnectedControllers(); in testGetConnectedControllers_closedController() local
276 for (MediaSession2.ControllerInfo controllerInfo : controllers) { in testGetConnectedControllers_closedController()
DMediaSessionManagerTest.java88 List<MediaController> controllers = mSessionManager.getActiveSessions(null); in testGetActiveSessions() local
196 public void onActiveSessionsChanged(List<MediaController> controllers) { in testAddOnActiveSessionsListener()
/cts/hostsidetests/media/app/MediaSessionTest/src/android/media/session/cts/
DMediaSessionManagerTest.java65 List<MediaController> controllers = mMediaSessionManager.getActiveSessions(mComponentName); in testGetActiveSessions_noMediaSessionFromMediaSessionTestHelper() local
66 for (MediaController controller : controllers) { in testGetActiveSessions_noMediaSessionFromMediaSessionTestHelper()
80 List<MediaController> controllers = mMediaSessionManager.getActiveSessions(mComponentName); in testGetActiveSessions_hasMediaSessionFromMediaSessionTestHelper() local
81 for (MediaController controller : controllers) { in testGetActiveSessions_hasMediaSessionFromMediaSessionTestHelper()
99 List<MediaController> controllers = mMediaSessionManager.getActiveSessions(mComponentName); in testGetActiveSessions_noMediaSession() local
100 assertTrue(controllers.isEmpty()); in testGetActiveSessions_noMediaSession()
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySavingTestBase.java108 for (StateControllerProto controllerProto : proto.controllers) { in waitUntilJobForceAppStandby()
/cts/apps/CameraITS/tests/
Dits_base_test.py22 from mobly.controllers import android_device