Searched refs:route (Results 1 – 10 of 10) sorted by relevance
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | StubMediaRoute2ProviderService.java | 226 MediaRoute2Info route = mRoutes.get(routeId); in onSetRouteVolume() local 227 if (route == null) { in onSetRouteVolume() 231 if (TextUtils.equals(route.getOriginalId(), ROUTE_ID6_REJECT_SET_VOLUME)) { in onSetRouteVolume() 236 volume = Math.max(0, Math.min(volume, route.getVolumeMax())); in onSetRouteVolume() 237 mRoutes.put(routeId, new MediaRoute2Info.Builder(route) in onSetRouteVolume() 265 MediaRoute2Info route = mRoutes.get(routeId); in onCreateSession() local 266 if (route == null || TextUtils.equals(ROUTE_ID3_SESSION_CREATION_FAILED, routeId)) { in onCreateSession() 275 mRoutes.put(routeId, new MediaRoute2Info.Builder(route) in onCreateSession() 325 MediaRoute2Info route = mRoutes.get(routeId); in onReleaseSession() local 326 if (route != null) { in onReleaseSession() [all …]
|
D | SystemMediaRouter2Test.java | 294 for (MediaRoute2Info route : mSystemRouter2ForCts.getAllRoutes()) { in testGetAllRoutes() 295 if (route.getFeatures().contains(FEATURE_SPECIAL)) { in testGetAllRoutes() 312 for (MediaRoute2Info route : mSystemRouter2ForCts.getRoutes()) { in testGetRoutes() 313 if (route.getFeatures().contains(FEATURE_SPECIAL)) { in testGetRoutes() 330 for (MediaRoute2Info route : routes) { in testRouteCallbackOnRoutesAdded() 331 if (route.getOriginalId().equals(EXTRA_ROUTE.getOriginalId()) in testRouteCallbackOnRoutesAdded() 332 && route.getName().equals(EXTRA_ROUTE.getName())) { in testRouteCallbackOnRoutesAdded() 355 for (MediaRoute2Info route : routes) { in addRoute_callsOnRoutesUpdated() 356 if (route.getOriginalId().equals(EXTRA_ROUTE.getOriginalId()) in addRoute_callsOnRoutesUpdated() 357 && route.getName().equals(EXTRA_ROUTE.getName())) { in addRoute_callsOnRoutesUpdated() [all …]
|
D | MediaRouter2Test.java | 229 for (MediaRoute2Info route : initialRoutes) { in testGetRoutesAfterCreation() 230 assertThat(route.getFeatures().contains(FEATURE_LIVE_AUDIO)).isTrue(); in testGetRoutesAfterCreation() 251 .filter(route -> !route.isSystemRoute()) in testGetRoutes() 263 MediaRoute2Info route = routes.get(ROUTE_ID8_SYSTEM_TYPE); in getType_forSystemRouteFromNonSystemProvider_returnsTypeUnknown() local 264 assertThat(route).isNotNull(); in getType_forSystemRouteFromNonSystemProvider_returnsTypeUnknown() 265 assertThat(route.getType()).isEqualTo(MediaRoute2Info.TYPE_UNKNOWN); in getType_forSystemRouteFromNonSystemProvider_returnsTypeUnknown() 297 MediaRoute2Info route = routes.get(ROUTE_ID1); in testTransferToSuccess() local 298 assertThat(route).isNotNull(); in testTransferToSuccess() 328 mRouter2.transferTo(route); in testTransferToSuccess() 349 MediaRoute2Info route = routes.get(ROUTE_ID3_SESSION_CREATION_FAILED); in testTransferToFailure() local [all …]
|
D | MediaRouterTest.java | 163 RouteInfo route = mMediaRouter.getDefaultRoute(); in testDefaultRouteInfo() local 165 assertThat(route.getCategory()).isNotNull(); in testDefaultRouteInfo() 166 assertThat(route.getName()).isNotNull(); in testDefaultRouteInfo() 167 assertThat(route.getName(mContext)).isNotNull(); in testDefaultRouteInfo() 168 assertThat(route.isEnabled()).isTrue(); in testDefaultRouteInfo() 169 assertThat(route.isConnecting()).isFalse(); in testDefaultRouteInfo() 170 assertThat(route.getDeviceType()).isEqualTo(RouteInfo.DEVICE_TYPE_UNKNOWN); in testDefaultRouteInfo() 171 assertThat(route.getPlaybackType()).isEqualTo(RouteInfo.PLAYBACK_TYPE_LOCAL); in testDefaultRouteInfo() 172 assertThat(route.getDescription()).isNull(); in testDefaultRouteInfo() 173 assertThat(route.getStatus()).isNull(); in testDefaultRouteInfo() [all …]
|
D | MediaRoute2ProviderServiceTest.java | 411 mRouter2.setOnGetControllerHintsListener(route -> sessionHints); in testSessionRelatedCallbacks() 707 for (MediaRoute2Info route : routes) { in waitAndGetRoutes() 708 if (!route.isSystemRoute()) { in waitAndGetRoutes() 728 for (MediaRoute2Info route : routes) { in createRouteMap() 729 routeMap.put(route.getOriginalId(), route); in createRouteMap() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioLoopbackLatencyActivity.java | 767 for (int route = 0; route < NUM_TEST_ROUTES; route++) { in recordAllRoutes() 768 if (mTestSpecs[route].isMeasurementValid()) { in recordAllRoutes() 770 mTestSpecs[route].addToJson(jsonObject); in recordAllRoutes() 785 for (int route = 0; route < NUM_TEST_ROUTES; route++) { in recordTestResults() 786 if (mTestSpecs[route].isMeasurementValid()) { in recordTestResults() 787 if (mTestSpecs[route].mMeanLatencyMS < minLatency) { in recordTestResults() 788 bestRoute = route; in recordTestResults() 789 minLatency = mTestSpecs[route].mMeanLatencyMS; in recordTestResults()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | BaseTelecomTestWithMockServices.java | 1614 void assertAudioRoute(final InCallService incallService, final int route) { 1619 return route; 1629 "Phone's audio route should be: " + route 1633 void assertNotAudioRoute(final InCallService incallService, final int route) { 1644 return route != state.getRoute(); 1648 "Phone's audio route should not be: " + route 1652 void assertAudioRoute(final MockConnection connection, final int route) { 1657 return route; 1667 "Connection's audio route should be: " + route
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0333/ |
D | local_poc.h | 212 __u8 route; member
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioFocusTest.java | 1313 final AudioDeviceInfo route; in getRoutedToDeviceAndReset() local 1315 route = mRoutedToDevice; in getRoutedToDeviceAndReset() 1319 return route; in getRoutedToDeviceAndReset()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 24368 field public static final String FEATURE_LIVE_AUDIO = "android.media.route.feature.LIVE_AUDIO"; 24369 field public static final String FEATURE_LIVE_VIDEO = "android.media.route.feature.LIVE_VIDEO"; 24370 …field public static final String FEATURE_REMOTE_AUDIO_PLAYBACK = "android.media.route.feature.REMO… 24371 …field public static final String FEATURE_REMOTE_PLAYBACK = "android.media.route.feature.REMOTE_PLA… 24372 …field public static final String FEATURE_REMOTE_VIDEO_PLAYBACK = "android.media.route.feature.REMO…
|