Home
last modified time | relevance | path

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

/libcore/dom/src/test/java/org/w3c/domts/level2/core/
DisSupported12.java73 java.util.List features = new java.util.ArrayList(); in runTest() local
74 features.add("Core"); in runTest()
75 features.add("XML"); in runTest()
76 features.add("HTML"); in runTest()
77 features.add("Views"); in runTest()
78 features.add("StyleSheets"); in runTest()
79 features.add("CSS"); in runTest()
80 features.add("CSS2"); in runTest()
81 features.add("Events"); in runTest()
82 features.add("UIEvents"); in runTest()
[all …]
/libcore/luni/src/test/java/tests/org/w3c/dom/
DIsSupported.java140 List<String> features = new ArrayList<String>(); in testIsSupported12() local
141 features.add("Core"); in testIsSupported12()
142 features.add("XML"); in testIsSupported12()
143 features.add("HTML"); in testIsSupported12()
144 features.add("Views"); in testIsSupported12()
145 features.add("StyleSheets"); in testIsSupported12()
146 features.add("CSS"); in testIsSupported12()
147 features.add("CSS2"); in testIsSupported12()
148 features.add("Events"); in testIsSupported12()
149 features.add("UIEvents"); in testIsSupported12()
[all …]
/libcore/luni/src/test/java17language/
DAndroid.bp15 // Android tests related to Java 17 language features.
28 name: "core-java-17-language-features-repackaged-for-test",
31 srcs: [":core-java-17-language-features-source"],
45 // compiled from Java 17 language features.
53 name: "core-java-17-language-features-test-src",
59 name: "core-gen-test-repackaged-java-17-language-features",
62 ":core-java-17-language-features-test-src",
65 …e-java-17-test-for-jarjar-sed-script) $(location :core-java-17-language-features-test-src) > $(out…
74 ":core-gen-test-repackaged-java-17-language-features",
79 "core-java-17-language-features-repackaged-for-test",
/libcore/luni/src/test/java11language/
DAndroid.bp15 // Android tests related to Java 11 language features.
28 name: "core-java-11-language-features-repackaged-for-test",
31 srcs: [":core-java-11-language-features-source"],
45 // compiled from Java 11 language features.
53 name: "core-java-11-language-features-test-src",
59 name: "core-gen-test-repackaged-java-11-language-features",
62 ":core-java-11-language-features-test-src",
65 …e-java-11-test-for-jarjar-sed-script) $(location :core-java-11-language-features-test-src) > $(out…
74 ":core-gen-test-repackaged-java-11-language-features",
79 "core-java-11-language-features-repackaged-for-test",
/libcore/luni/src/test/java9language/
DAndroid.bp15 // Android tests related to Java 9 language features.
28 name: "core-java-9-language-features-repackaged-for-test",
31 srcs: [":core-java-9-language-features-source"],
45 // compiled from Java 9 language features.
53 name: "core-java-9-language-features-test-src",
59 name: "core-gen-test-repackaged-java-9-language-features",
62 ":core-java-9-language-features-test-src",
65 …re-rewrite-test-for-jarjar-sed-script) $(location :core-java-9-language-features-test-src) > $(out…
74 ":core-gen-test-repackaged-java-9-language-features",
79 "core-java-9-language-features-repackaged-for-test",
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DSAXParserFactoryImpl.java39 private Map<String, Boolean> features = new HashMap<String, Boolean>(); field in SAXParserFactoryImpl
51 return Boolean.TRUE.equals(features.get(name)); in getFeature()
80 return new SAXParserImpl(features); in newSAXParser()
97 features.put(name, Boolean.TRUE); in setFeature()
100 features.put(name, Boolean.FALSE); in setFeature()
/libcore/xml/src/main/java/org/xmlpull/v1/
DXmlPullParserFactory.java30 protected HashMap<String, Boolean> features = new HashMap<String, Boolean>(); field in XmlPullParserFactory
55 features.put(name, state); in setFeature()
68 Boolean value = features.get(name); in getFeature()
81 features.put (XmlPullParser.FEATURE_PROCESS_NAMESPACES, awareness); in setNamespaceAware()
105 features.put(XmlPullParser.FEATURE_VALIDATION, validating); in setValidating()
128 for (Map.Entry<String, Boolean> entry : features.entrySet()) { in newPullParser()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
DMockFilter.java39 private Set<String> features = new HashSet<String>(); field in MockFilter
51 return features.contains(name); in getFeature()
63 features.add(name); in setFeature()
65 features.remove(name); in setFeature()
DMockReader.java51 private Set<String> features = new HashSet<String>(); field in MockReader
79 return features.contains(name); in getFeature()
113 features.add(name); in setFeature()
115 features.remove(name); in setFeature()
/libcore/luni/src/main/java/org/w3c/dom/
DDOMImplementationSource.java43 public DOMImplementation getDOMImplementation(String features); in getDOMImplementation() argument
56 public DOMImplementationList getDOMImplementationList(String features); in getDOMImplementationList() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DSAXParserFactoryTest.java203 String[] features = { in test_setFeatureLjava_lang_StringZ() local
206 for (int i = 0; i < features.length; i++) { in test_setFeatureLjava_lang_StringZ()
208 spf.setFeature(features[i], true); in test_setFeatureLjava_lang_StringZ()
209 assertTrue(spf.getFeature(features[i])); in test_setFeatureLjava_lang_StringZ()
210 spf.setFeature(features[i], false); in test_setFeatureLjava_lang_StringZ()
211 assertFalse(spf.getFeature(features[i])); in test_setFeatureLjava_lang_StringZ()
DDocumentBuilderFactoryTest.java501 String[] features = { "http://xml.org/sax/features/namespaces", in test_getSetFeatureLjava_lang_String() local
504 for (int i = 0; i < features.length; i++) { in test_getSetFeatureLjava_lang_String()
505 dbf.setFeature(features[i], true); in test_getSetFeatureLjava_lang_String()
506 assertTrue(dbf.getFeature(features[i])); in test_getSetFeatureLjava_lang_String()
513 for (int i = 0; i < features.length; i++) { in test_getSetFeatureLjava_lang_String()
514 dbf.setFeature(features[i], false); in test_getSetFeatureLjava_lang_String()
515 assertFalse(dbf.getFeature(features[i])); in test_getSetFeatureLjava_lang_String()
522 for (int i = 0; i < features.length; i++) { in test_getSetFeatureLjava_lang_String()
/libcore/luni/src/test/java/libcore/javax/xml/validation/
DValidatorTest.java73 String[] features = {"", "hello", "feature"}; in setFeature() local
75 for (String feature : features) { in setFeature()
DValidatorHandlerTest.java73 String[] features = {"", "hello", "feature"}; in setFeature() local
75 for (String feature : features) { in setFeature()
/libcore/luni/src/test/java9compatibility/
DAndroid.bp15 // Android tests related to compatibility with pre-Java 11 language features.
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DParserAdapterTest.java111 String[] features = new String[] { NAMESPACES, NAMESPACE_PREFIXES, in testGetSetFeature() local
114 for (String s: features) { in testGetSetFeature()
/libcore/
DJavaLibrary.bp675 // checks Java 9 language features are handled properly by JarJar.
677 name: "core-java-9-language-features-source",
683 // checks Java 11 language features are handled properly by JarJar.
685 name: "core-java-11-language-features-source",
691 // checks Java 17 language features are handled properly by JarJar.
693 name: "core-java-17-language-features-source",
/libcore/ojluni/src/main/java/sun/net/ftp/impl/
DFtpClient.java1549 ArrayList<String> features = new ArrayList<String>(); in getFeatures() local
1557 features.add(s.substring(1, s.length() - 1)); in getFeatures()
1559 return features; in getFeatures()
/libcore/support/src/test/java/tests/resources/x509/
Ddefault.cnf18 # 3. All advertising materials mentioning features or use of this
/libcore/expectations/
Dknownfailures.txt167 description: "Ticket 91 : relies on not supported features: getCatalog, keys",
/libcore/api/
Dcurrent.txt21905 …field public static final String FEATURE_PROCESS_DOCDECL = "http://xmlpull.org/v1/doc/features.htm…
21906 …ic final String FEATURE_PROCESS_NAMESPACES = "http://xmlpull.org/v1/doc/features.html#process-name…
21907 …String FEATURE_REPORT_NAMESPACE_ATTRIBUTES = "http://xmlpull.org/v1/doc/features.html#report-names…
21908 …field public static final String FEATURE_VALIDATION = "http://xmlpull.org/v1/doc/features.html#val…
21943 field protected java.util.HashMap<java.lang.String,java.lang.Boolean> features;
22015 …final String APACHE_DYNAMIC_VALIDATION_FEATURE = "http://apache.org/xml/features/validation/dynami…
22016 … final String APACHE_SCHEMA_VALIDATION_FEATURE = "http://apache.org/xml/features/validation/schema…
22019 … field protected static final String NAMESPACES_FEATURE = "http://xml.org/sax/features/namespaces";
22020 …field protected static final String NAMESPACE_PREFIXES_FEATURE = "http://xml.org/sax/features/name…
22021 … field protected static final String VALIDATION_FEATURE = "http://xml.org/sax/features/validation";