Home
last modified time | relevance | path

Searched refs:getFeatures (Results 1 – 21 of 21) sorted by relevance

/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DAppSearchSessionCtsTestBase.java196 assumeFalse(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_SET_DESCRIPTION)); in testSetSchema_schemaDescription_notSupported()
225 assumeFalse(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_SET_DESCRIPTION)); in testSetSchema_propertyDescription_notSupported()
254 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_SET_DESCRIPTION)); in testSetSchema_updateSchemaDescription()
313 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_SET_DESCRIPTION)); in testSetSchema_updatePropertyDescription()
586 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SET_SCHEMA_CIRCULAR_REFERENCES)); in testSetSchemaWithValidCycle_allowCircularReferences()
677 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SET_SCHEMA_CIRCULAR_REFERENCES)); in testSetSchemaWithInvalidCycle_circularReferencesSupported()
726 assumeFalse(mDb1.getFeatures().isFeatureSupported(Features.SET_SCHEMA_CIRCULAR_REFERENCES)); in testSetSchemaWithValidCycle_circularReferencesNotSupported()
775 int maxProperties = mDb1.getFeatures().getMaxIndexedProperties(); in testSetSchema_maxProperties()
815 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SET_SCHEMA_CIRCULAR_REFERENCES)); in testSetSchema_maxProperties_nestedSchemas()
817 int maxProperties = mDb1.getFeatures().getMaxIndexedProperties(); in testSetSchema_maxProperties_nestedSchemas()
[all …]
DGlobalSearchSessionCtsTestBase.java142 .getFeatures() in testGlobalGetById()
197 .getFeatures() in testGlobalGetById_nonExistentPackage()
907 .getFeatures() in testAddObserver_notSupported()
929 .getFeatures() in testAddObserver()
988 .getFeatures() in testRegisterObserver_MultiType()
1123 .getFeatures() in testRegisterObserver_removeById()
1268 .getFeatures() in testRegisterObserver_removeByQuery()
1396 .getFeatures() in testRegisterObserver_sameCallback_differentSpecs()
1466 .getFeatures() in testRemoveObserver()
1616 .getFeatures() in testGlobalGetSchema()
[all …]
/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/external/
DEnterpriseGlobalSearchSessionShim.java113 Features getFeatures(); in getFeatures() method
DGlobalSearchSessionShim.java128 Features getFeatures(); in getFeatures() method
DAppSearchSessionShim.java452 Features getFeatures(); in getFeatures() method
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaRoute2ProviderServiceTest.java195 if (!features.equals(routes.get(0).getFeatures())) { in testNotifyRoutesInvokesMediaRouter2DeprecatedRouteCallback()
213 assertThat(route0.getFeatures()).isEqualTo(features); in testNotifyRoutesInvokesMediaRouter2DeprecatedRouteCallback()
218 assertThat(route1.getFeatures()).isEqualTo(features); in testNotifyRoutesInvokesMediaRouter2DeprecatedRouteCallback()
225 if (!features.equals(routes.get(0).getFeatures())) { in testNotifyRoutesInvokesMediaRouter2DeprecatedRouteCallback()
236 if (!features.equals(routes.get(0).getFeatures())) { in testNotifyRoutesInvokesMediaRouter2DeprecatedRouteCallback()
254 assertThat(route0.getFeatures()).isEqualTo(features); in testNotifyRoutesInvokesMediaRouter2DeprecatedRouteCallback()
259 assertThat(route1.getFeatures()).isEqualTo(features); in testNotifyRoutesInvokesMediaRouter2DeprecatedRouteCallback()
378 assertThat(matchingRoute.getFeatures()).isEqualTo(testRoute.getFeatures()); in assertContainsExpectedRoutes()
DMediaRoute2InfoTest.java136 assertThat(routeInfo.getFeatures()) in testBuilderAndGettersOfMediaRoute2Info()
174 assertThat(routeInfo.getFeatures()).isEqualTo(routeTypes); in testBuilderaddFeatures()
187 assertThat(routeInfo.getFeatures()).containsExactly(TEST_ROUTE_TYPE_1); in testBuilderclearFeatures()
DSystemMediaRouter2Test.java295 if (route.getFeatures().contains(FEATURE_SPECIAL)) { in testGetAllRoutes()
313 if (route.getFeatures().contains(FEATURE_SPECIAL)) { in testGetRoutes()
1608 if (route.getFeatures().contains(feature)) { in waitAndGetRoutes()
DMediaRouter2Test.java230 assertThat(route.getFeatures().contains(FEATURE_LIVE_AUDIO)).isTrue(); in testGetRoutesAfterCreation()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaFormatTest.java425 Set<String> featureSet = format.getFeatures(); in testFeatureKeySetContainsAndRemove()
614 assertEquals(0, format.getFeatures().size()); in testMediaFormatConstructors()
624 assertEquals(0, format.getFeatures().size()); in testMediaFormatConstructors()
632 assertEquals(0, format.getFeatures().size()); in testMediaFormatConstructors()
646 assertEquals(1, format.getFeatures().size()); in testMediaFormatConstructors()
653 assertEquals(1, other.getFeatures().size()); in testMediaFormatConstructors()
/cts/hostsidetests/media/app/MediaRouteProviderApps/src/android/media/router/cts/
DBaseFakeRouteProviderService.java44 .filter(r -> !r.getFeatures().contains(FEATURE_ACTIVE_SCAN_ONLY)) in BaseFakeRouteProviderService()
/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/
DEnterpriseGlobalSearchSessionShimImpl.java127 public Features getFeatures() {
DGlobalSearchSessionShimImpl.java145 public Features getFeatures() { in getFeatures() method in GlobalSearchSessionShimImpl
DAppSearchSessionShimImpl.java215 public Features getFeatures() { in getFeatures() method in AppSearchSessionShimImpl
/cts/hostsidetests/media/app/MediaRouterWithBTPermissionsApp/src/android/media/router/cts/bluetoothpermissionsapp/
DMediaRouter2DeviceTest.java255 .anyMatch(r -> r.getFeatures().contains(FEATURE_SAMPLE))) { in requestScan_withOffScreenScan_triggersScanning()
289 .anyMatch(r -> r.getFeatures().contains(FEATURE_SAMPLE))) { in requestScan_withOnScreenScan_triggersScanning()
328 .anyMatch(r -> r.getFeatures().contains(FEATURE_SAMPLE))) { in requestScan_withOnScreenScan_withScreenOff_doesNotScan()
371 .anyMatch(r -> r.getFeatures().contains(FEATURE_SAMPLE))) { in screenOffScan_onLocalRouter_allowedWithMediaContentControl()
415 .anyMatch(r -> r.getFeatures().contains(FEATURE_SAMPLE))) { in screenOffScan_onProxyRouter_allowedWithMediaContentControl()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java141 String features = getFeatures(); in onStart()
265 private String getFeatures() { in getFeatures() method in DeviceInfoInstrument
/cts/hostsidetests/media/app/ProxyMediaRouterWithMediaContentControlApp/src/android/media/router/cts/proxymediacontentcontrolapp/
DMediaRouter2DeviceTest.java129 r -> r.getFeatures().contains(FEATURE_ACTIVE_SCAN_ONLY))) { in requestScan_withScreenOnScanning_triggersScanning()
/cts/tests/tests/media/muxer/src/android/media/muxer/cts/
DNativeMuxerTest.java352 Set<String> features = f1.getFeatures(); in compareFormats()
/cts/tests/tests/accounts/src/android/accounts/cts/
DMockAccountAuthenticator.java111 public String[] getFeatures() { in getFeatures() method in MockAccountAuthenticator
/cts/hostsidetests/media/app/ProxyMediaRouterMediaRoutingControl/src/android/media/router/cts/proxyroutingapp/
DMediaRouter2DeviceTest.java214 .anyMatch(r -> r.getFeatures().contains(FEATURE_SAMPLE))) { in requestScan_withScreenOff_triggersScanning()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt23582 method @NonNull public java.util.Set<java.lang.String> getFeatures();
24353 method @NonNull public java.util.List<java.lang.String> getFeatures();
42091 method @Deprecated public java.util.Set<java.lang.String> getFeatures(java.util.Locale);
42216 method public java.util.Set<java.lang.String> getFeatures();
54079 method protected final int getFeatures();