Searched refs:FEATURE_SAMPLE (Results 1 – 9 of 9) sorted by relevance
20 import static android.media.cts.MediaRouterTestConstants.FEATURE_SAMPLE;52 .addFeature(FEATURE_SAMPLE) in createPublicRoute()61 .addFeature(FEATURE_SAMPLE) in createRestrictedRoute()70 .addFeature(FEATURE_SAMPLE) in createPrivateRoute()
82 public static final String FEATURE_SAMPLE = "android.media.bettertogether.cts.FEATURE_SAMPLE"; field in StubMediaRoute2ProviderService91 FEATURES_ALL.add(FEATURE_SAMPLE);114 .addFeature(FEATURE_SAMPLE) in initializeRoutes()117 .addFeature(FEATURE_SAMPLE) in initializeRoutes()121 .addFeature(FEATURE_SAMPLE) in initializeRoutes()125 .addFeature(FEATURE_SAMPLE) in initializeRoutes()129 .addFeature(FEATURE_SAMPLE) in initializeRoutes()136 .addFeature(FEATURE_SAMPLE) in initializeRoutes()149 .addFeature(FEATURE_SAMPLE) in initializeRoutes()153 .addFeature(FEATURE_SAMPLE) in initializeRoutes()[all …]
25 import static android.media.bettertogether.cts.StubMediaRoute2ProviderService.FEATURE_SAMPLE;140 FEATURES_ALL.add(FEATURE_SAMPLE);148 EXTRA_ROUTE_NAME).addFeature(FEATURE_SAMPLE).build();376 waitAndGetRoutes(FEATURE_SAMPLE); in testRouteCallbackOnRoutesRemoved()402 new RouteDiscoveryPreference.Builder(Collections.singletonList(FEATURE_SAMPLE), in removeRoute_callsOnRoutesUpdated()405 waitAndGetRoutes(FEATURE_SAMPLE); in removeRoute_callsOnRoutesUpdated()510 waitAndGetRoutes(FEATURE_SAMPLE); in testRouteCallbackOnRoutesChanged()548 waitAndGetRoutes(FEATURE_SAMPLE); in setRouteVolume_withSpecialRoute_rejectsRequest()591 waitAndGetRoutes(FEATURE_SAMPLE); in volumeChange_callsOnRoutesUpdated()749 Map<String, MediaRoute2Info> routes = waitAndGetRoutes(FEATURE_SAMPLE); in testTransferTo_succeeds_onTransferCalled()[all …]
25 import static android.media.bettertogether.cts.StubMediaRoute2ProviderService.FEATURE_SAMPLE;262 Map<String, MediaRoute2Info> routes = waitAndGetRoutes(List.of(FEATURE_SAMPLE)); in getType_forSystemRouteFromNonSystemProvider_returnsTypeUnknown()294 sampleRouteFeature.add(FEATURE_SAMPLE); in testTransferToSuccess()346 sampleRouteType.add(FEATURE_SAMPLE); in testTransferToFailure()395 sampleRouteType.add(FEATURE_SAMPLE); in testTransferToTwice()490 sampleRouteFeature.add(FEATURE_SAMPLE); in testSetOnGetControllerHintsListener()556 sampleRouteFeature.add(FEATURE_SAMPLE); in testSetSessionVolume()633 sampleRouteFeature.add(FEATURE_SAMPLE); in testVolumeAdjustmentEventsReachOnlyExistingActiveRemoteSession()753 sampleRouteType.add(FEATURE_SAMPLE); in testTransferCallbackIsNotCalledAfterUnregistered()806 sampleRouteType.add(FEATURE_SAMPLE); in testRoutingControllerSelectAndDeselectRoute()[all …]
20 import static android.media.bettertogether.cts.StubMediaRoute2ProviderService.FEATURE_SAMPLE;404 List<String> featuresSample = Collections.singletonList(FEATURE_SAMPLE); in testSessionRelatedCallbacks()583 List<String> featuresSample = Collections.singletonList(FEATURE_SAMPLE); in testNotifySessionReleased()662 List<String> featuresSample = Collections.singletonList(FEATURE_SAMPLE); in testOnDiscoveryPreferenceChanged()669 if (features.contains(FEATURE_SAMPLE) && features.contains(FEATURE_SPECIAL) in testOnDiscoveryPreferenceChanged()673 if (latch.getCount() == 0 && !features.contains(FEATURE_SAMPLE) in testOnDiscoveryPreferenceChanged()
21 import static android.media.cts.MediaRouterTestConstants.FEATURE_SAMPLE;172 List.of(FEATURE_SAMPLE), /* activeScan= */ true) in deduplicationIds_propagateAcrossApps()215 List.of(FEATURE_SAMPLE), /* activeScan= */ true) in deviceType_propagatesAcrossApps()255 .anyMatch(r -> r.getFeatures().contains(FEATURE_SAMPLE))) { in requestScan_withOffScreenScan_triggersScanning()263 List.of(FEATURE_SAMPLE), /* activeScan= */ false) in requestScan_withOffScreenScan_triggersScanning()289 .anyMatch(r -> r.getFeatures().contains(FEATURE_SAMPLE))) { in requestScan_withOnScreenScan_triggersScanning()297 List.of(FEATURE_SAMPLE), /* activeScan= */ false) in requestScan_withOnScreenScan_triggersScanning()328 .anyMatch(r -> r.getFeatures().contains(FEATURE_SAMPLE))) { in requestScan_withOnScreenScan_withScreenOff_doesNotScan()336 List.of(FEATURE_SAMPLE), /* activeScan= */ false) in requestScan_withOnScreenScan_withScreenOff_doesNotScan()371 .anyMatch(r -> r.getFeatures().contains(FEATURE_SAMPLE))) { in screenOffScan_onLocalRouter_allowedWithMediaContentControl()[all …]
110 public static final String FEATURE_SAMPLE = "android.media.cts.FEATURE_SAMPLE"; field in MediaRouterTestConstants
21 import static android.media.cts.MediaRouterTestConstants.FEATURE_SAMPLE;203 new RouteDiscoveryPreference.Builder(List.of(FEATURE_SAMPLE), false).build()); in requestScan_withScreenOff_triggersScanning()214 .anyMatch(r -> r.getFeatures().contains(FEATURE_SAMPLE))) { in requestScan_withScreenOff_triggersScanning()249 new RouteDiscoveryPreference.Builder(List.of(FEATURE_SAMPLE), false).build()); in cancelScanRequest_screenOffScanning_unbindsSelfScanProvider()297 new RouteDiscoveryPreference.Builder(List.of(FEATURE_SAMPLE), false).build()); in cancelScanRequest_multipleTypes_unbindsSelfScanProvider()
20 import static android.media.cts.MediaRouterTestConstants.FEATURE_SAMPLE;171 new RouteDiscoveryPreference.Builder(List.of(FEATURE_SAMPLE), false).build()); in cancelScanRequest_screenOnScanning_unbindsSelfScanProvider()