Home
last modified time | relevance | path

Searched full:controllers (Results 1 – 14 of 14) 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()
362 // Created controllers should have proper info in testTransferToTwice()
373 // Transferred controllers shouldn't be obtainable. in testTransferToTwice()
377 // Should be able to release transferred controllers. in testTransferToTwice()
402 final List<RoutingController> controllers = new ArrayList<>(); in testSetOnGetControllerHintsListener() 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()
553 // Created controllers should have proper info in testTransferToTwice()
564 // Should be able to release transferred controllers. in testTransferToTwice()
583 final List<RoutingController> controllers = new ArrayList<>(); in testTransfer_succeeds_onTransferCalled() local
593 controllers.add(newController); in testTransfer_succeeds_onTransferCalled()
[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()
323 // 1. Create two controllers with each latch. in testBroadcastSessionCommand()
359 // 2. Wait until all the controllers are connected. in testBroadcastSessionCommand()
DMediaSession2ServiceTest.java201 * can return different sessions for different controllers.
279 // Service should be closed only when all controllers are closed. in testAllControllersDisconnected_oneSession()
306 // Service should be closed only when all controllers are closed. in testAllControllersDisconnected_multipleSessions()
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/apps/CameraITS/
Dconfig.yml21 Controllers:
37 Controllers:
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySavingTestBase.java108 for (StateControllerProto controllerProto : proto.controllers) { in waitUntilJobForceAppStandby()
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/
DConstraintTest.java46 … new Intent("com.android.server.task.controllers.BatteryController.ACTION_CHARGING_STABLE");
/cts/apps/CameraITS/tests/
Dits_base_test.py22 from mobly.controllers import android_device
Dtutorial.py58 Controllers:
/cts/apps/CameraITS/tools/
Drun_all_tests.py277 The config file contains TestBeds dictionary which contains Controllers and
289 android_device_contents = datadict.get('Controllers')
/cts/tests/tests/permission/src/android/permission/cts/
DLocationAccessCheckTest.java488 * Reset the permission controllers state before each test
568 * Reset the permission controllers state.