Searched refs:routeId (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | StubMediaRoute2ProviderService.java | 225 public void onSetRouteVolume(long requestId, String routeId, int volume) { in onSetRouteVolume() argument 226 MediaRoute2Info route = mRoutes.get(routeId); in onSetRouteVolume() 237 mRoutes.put(routeId, new MediaRoute2Info.Builder(route) in onSetRouteVolume() 257 public void onCreateSession(long requestId, String packageName, String routeId, in onCreateSession() argument 261 proxy.onCreateSession(requestId, packageName, routeId, sessionHints); in onCreateSession() 265 MediaRoute2Info route = mRoutes.get(routeId); in onCreateSession() 266 if (route == null || TextUtils.equals(ROUTE_ID3_SESSION_CREATION_FAILED, routeId)) { in onCreateSession() 270 maybeDeselectRoute(routeId, requestId); in onCreateSession() 275 mRoutes.put(routeId, new MediaRoute2Info.Builder(route) in onCreateSession() 278 mRouteIdToSessionId.put(routeId, sessionId); in onCreateSession() [all …]
|
D | MediaRoute2ProviderServiceTest.java | 422 public void onCreateSession(long requestId, String packageName, String routeId, in testSessionRelatedCallbacks() 425 assertThat(routeId).isEqualTo(ROUTE_ID1); in testSessionRelatedCallbacks() 441 public void onSelectRoute(long requestId, String sessionId, String routeId) { in testSessionRelatedCallbacks() 443 assertThat(routeId).isEqualTo(ROUTE_ID4_TO_SELECT_AND_DESELECT); in testSessionRelatedCallbacks() 456 public void onDeselectRoute(long requestId, String sessionId, String routeId) { in testSessionRelatedCallbacks() 458 assertThat(routeId).isEqualTo(ROUTE_ID4_TO_SELECT_AND_DESELECT); in testSessionRelatedCallbacks() 471 public void onTransferToRoute(long requestId, String sessionId, String routeId) { in testSessionRelatedCallbacks() 473 assertThat(routeId).isEqualTo(ROUTE_ID5_TO_TRANSFER_TO); in testSessionRelatedCallbacks() 591 public void onCreateSession(long requestId, String packageName, String routeId, in testNotifySessionReleased() 594 assertThat(routeId).isEqualTo(ROUTE_ID1); in testNotifySessionReleased()
|
/cts/hostsidetests/media/app/MediaRouteProviderApps/src/android/media/router/cts/ |
D | BaseFakeRouteProviderService.java | 89 public void onSetRouteVolume(long requestId, String routeId, int volume) {} in onSetRouteVolume() argument 96 long requestId, String packageName, String routeId, Bundle sessionHints) {} in onCreateSession() argument 102 public void onSelectRoute(long requestId, String sessionId, String routeId) {} in onSelectRoute() argument 105 public void onDeselectRoute(long requestId, String sessionId, String routeId) {} in onDeselectRoute() argument 108 public void onTransferToRoute(long requestId, String sessionId, String routeId) {} in onTransferToRoute() argument
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioLoopbackLatencyActivity.java | 193 TestSpec(int routeId, double requiredConfidence) { in TestSpec() argument 194 mRouteId = routeId; in TestSpec() 582 for (int routeId = TESTROUTE_DEVICE; routeId <= TESTROUTE_USB; routeId++) { in enableStartButtons() 583 mStartButtons[routeId].setEnabled(mTestSpecs[routeId].mRouteConnected); in enableStartButtons() 586 for (int routeId = TESTROUTE_DEVICE; routeId <= TESTROUTE_USB; routeId++) { in enableStartButtons() 587 mStartButtons[routeId].setEnabled(false); in enableStartButtons()
|