Searched defs:name (Results 201 - 225 of 266) sorted by relevance

1234567891011

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DProviderTest.java51 * Implementation note: The algorithm name ASH-1 might seem a bit strange,
93 if (!p.getProperty("Provider.id name").equals(
95 fail("Incorrect \"Provider.id name\" value");
120 Provider p = new MyProvider("Provider name", 123.456, "Provider info");
121 assertEquals("Provider name", p.getName());
187 if (key.equals("Provider.id name") && val.equals("MyProvider")) {
227 assertTrue(s1.contains("Provider.id name"));
326 assertEquals("null", myProvider.getProperty("Provider.id name"));
338 MyProvider(String name, double version, String info) { argument
339 super(name, versio
[all...]
H A DSecureRandom2Test.java396 MyProvider(String name, double version, String info) { argument
397 super(name, version, info);
H A DSignatureTest.java624 protected MyProvider(String name, double version, String info, String signame, String className) { argument
625 super(name, version, info);
/libcore/luni/src/test/java/tests/api/javax/net/ssl/
H A DSSLSocketTest.java426 * single self-generated key. The subject name is "Test Server".
456 * single self-generated key. The subject name is "Test Server".
484 protected int startServer(String name) { argument
/libcore/luni/src/test/java/tests/api/javax/xml/parsers/
H A DDocumentBuilderFactoryTest.java956 public Object getAttribute(String name) { argument
960 public boolean getFeature(String name) { argument
968 public void setAttribute(String name, Object value) { argument
971 public void setFeature(String name, boolean value) { argument
H A DSAXParserTest.java67 public Object getProperty(String name) throws SAXNotRecognizedException, argument
105 public void setProperty(String name, Object value) throws argument
133 private InputStream getResource(String name) { argument
134 return this.getClass().getResourceAsStream(name);
900 // No name case
/libcore/luni/src/test/java/tests/api/org/xml/sax/support/
H A DMockHandler.java53 public void endElement(String name) throws SAXException { argument
54 logger.add("endElement", name);
57 public void endElement(String uri, String localName, String name) throws SAXException { argument
58 logger.add("endElement", uri, localName, name);
77 public void notationDecl(String name, String publicId, String systemId) throws SAXException { argument
78 logger.add("notationDecl", name, publicId, systemId);
89 public void skippedEntity(String name) throws SAXException { argument
90 logger.add("skippedEntity", name);
97 public void startElement(String name, AttributeList atts) throws SAXException { argument
98 logger.add("startElement", name, att
101 startElement(String uri, String localName, String name, Attributes atts) argument
110 unparsedEntityDecl(String name, String publicId, String systemId, String notationName) argument
131 endEntity(String name) argument
139 startDTD(String name, String publicId, String systemId) argument
143 startEntity(String name) argument
[all...]
/libcore/luni/src/test/java/tests/security/cert/
H A DCertPathBuilder1Test.java231 assertEquals("Incorrect provider name", certPB.getProvider().getName(), defaultProviderName);
294 assertEquals("Incorrect provider name", certPB.getProvider(), defaultProvider);
462 MyProvider(String name, double version, String info) { argument
463 super(name, version, info);
/libcore/support/src/test/java/tests/http/
H A DMockWebServer.java242 String name = "MockWebServer-" + raw.getRemoteSocketAddress();
243 executor.execute(namedRunnable(name, new Runnable() {
490 private static Runnable namedRunnable(final String name, final Runnable runnable) { argument
494 Thread.currentThread().setName(name);
/libcore/xml/src/main/java/org/kxml2/io/
H A DKXmlSerializer.java47 //nsp/prefix/name
168 public void entityRef(String name) throws IOException { argument
171 writer.write(name);
175 public boolean getFeature(String name) { argument
180 name))
248 public Object getProperty(String name) { argument
257 public void setFeature(String name, boolean value) { argument
259 .equals(name)) {
266 public void setProperty(String name, Object value) { argument
309 // elementStack = new String[12]; //nsp/prefix/name
366 startTag(String namespace, String name) argument
419 attribute( String namespace, String name, String value) argument
481 endTag(String namespace, String name) argument
[all...]
/libcore/xml/src/main/java/org/xmlpull/v1/sax2/
H A DDriver.java169 public boolean getFeature(String name) argument
172 if(NAMESPACES_FEATURE.equals(name)) {
174 } else if(NAMESPACE_PREFIXES_FEATURE.equals(name)) {
176 } else if(VALIDATION_FEATURE.equals(name)) {
178 // } else if(APACHE_SCHEMA_VALIDATION_FEATURE.equals(name)) {
180 // } else if(APACHE_DYNAMIC_VALIDATION_FEATURE.equals(name)) {
183 return pp.getFeature(name);
184 //throw new SAXNotRecognizedException("unrecognized feature "+name);
188 public void setFeature (String name, boolean value) argument
192 if(NAMESPACES_FEATURE.equals(name)) {
218 getProperty(String name) argument
231 setProperty(String name, Object value) argument
[all...]
/libcore/libart/src/main/java/java/lang/
H A DClassLoader.java141 * Finds the URL of the resource with the specified name. The system class
147 * the name of the resource to find.
155 * Returns an enumeration of URLs for the resource with the specified name.
162 * the name of the resource to find.
171 * Returns a stream for the resource with the specified name. The system
178 * the name of the resource to find.
246 * the expected name of the new class, may be {@code null} if not
275 * the expected name of the new class, may be {@code null} if not
295 * if {@code className} is not equal to the name of the class
304 * Defines a new class with the specified name, byt
324 defineClass(String name, ByteBuffer b, ProtectionDomain protectionDomain) argument
594 getPackage(String name) argument
640 definePackage(String name, String specTitle, String specVersion, String specVendor, String implTitle, String implVersion, String implVendor, URL sealBase) argument
780 findClass(String name) argument
785 findResource(String name) argument
813 getPackage(String name) argument
[all...]
/libcore/libdvm/src/main/java/java/lang/
H A DClassLoader.java129 * Finds the URL of the resource with the specified name. The system class
135 * the name of the resource to find.
143 * Returns an enumeration of URLs for the resource with the specified name.
150 * the name of the resource to find.
159 * Returns a stream for the resource with the specified name. The system
166 * the name of the resource to find.
234 * the expected name of the new class, may be {@code null} if not
263 * the expected name of the new class, may be {@code null} if not
283 * if {@code className} is not equal to the name of the class
292 * Defines a new class with the specified name, byt
312 defineClass(String name, ByteBuffer b, ProtectionDomain protectionDomain) argument
576 getPackage(String name) argument
622 definePackage(String name, String specTitle, String specVersion, String specVendor, String implTitle, String implVersion, String implVendor, URL sealBase) argument
760 findClass(String name) argument
765 findResource(String name) argument
793 getPackage(String name) argument
[all...]
/libcore/luni/src/main/java/java/awt/font/
H A DTextAttribute.java30 * <li>key name;</li>
43 * Instantiates a new TextAttribute with the specified name.
45 * @param name the name of TextAttribute.
47 protected TextAttribute(String name) { argument
48 super(name);
/libcore/luni/src/main/java/java/lang/
H A DSystem.java203 * Returns the value of the environment variable with the given name, or null if no such
206 public static String getenv(String name) { argument
207 if (name == null) {
208 throw new NullPointerException("name == null");
210 return Libcore.os.getenv(name);
289 p.put("java.specification.name", "Dalvik Core Library");
295 p.put("java.vm.name", "Dalvik");
296 p.put("java.vm.specification.name", "Dalvik Virtual Machine Specification");
306 p.put("java.runtime.name", "Android Runtime");
317 p.put("user.name", passw
419 getProperty(String name, String defaultValue) argument
430 setProperty(String name, String value) argument
444 clearProperty(String name) argument
449 checkPropertyName(String name) argument
[all...]
/libcore/luni/src/main/java/java/net/
H A DHttpCookie.java83 * @param domainPattern a host name (like {@code android.com} or {@code
84 * localhost}), or a pattern to match subdomains of a domain name (like
87 * @param host the host name or IP address from an HTTP request.
98 * From the spec: "both host names are IP addresses and their host name strings match
99 * exactly; or both host names are FQDN strings and their host name strings match exactly"
122 * non-empty name string, B has the form .B', and B' is a HDN string.
200 * the cookie name contains illegal characters, or reserved
251 String name = readAttributeName(false);
252 if (name == null) {
261 "Expected '=' after " + name
315 setAttribute(HttpCookie cookie, String name, String value) argument
429 private final String name; field in class:HttpCookie
445 HttpCookie(String name, String value) argument
720 appendAttribute(StringBuilder builder, String name, String value) argument
[all...]
H A DURLClassLoader.java140 ArrayList<URL> get(String name) { argument
141 return map.get(name);
154 void findResources(String name, ArrayList<URL> resources) { argument
155 URL res = findResource(name);
161 Class<?> findClass(String packageName, String name, String origName) { argument
162 URL resURL = targetURL(url, name);
199 URL findResource(String name) { argument
200 URL resURL = targetURL(url, name);
224 URL targetURL(URL base, String name) { argument
228 URI.PATH_ENCODER.appendEncoded(fileBuilder, name);
267 findResources(String name, ArrayList<URL> resources) argument
292 findClass(String packageName, String name, String origName) argument
367 findResourceInOwn(String name) argument
376 findResource(String name) argument
475 findClass(String packageName, String name, String origName) argument
497 findResource(String name) argument
582 findResources(final String name) argument
792 findResource(final String name) argument
[all...]
/libcore/luni/src/main/java/java/security/
H A DProvider.java45 private String name; field in class:Provider
81 // last name
93 * Constructs a new instance of {@code Provider} with its name, version and
96 * @param name
97 * the name of the provider.
103 protected Provider(String name, double version, String info) { argument
104 this.name = name;
112 * Returns the name of this provider.
114 * @return the name o
894 putAttribute(String name, String value) argument
950 getAttribute(String name) argument
[all...]
/libcore/luni/src/main/java/java/security/cert/
H A DX509CertSelector.java195 * the distinguished issuer name in ASN.1 DER encoded format, or
218 * @return the distinguished issuer name in ASN.1 DER encoded format, or
239 * the subject distinguished name or {@code null} to not check
249 * @return the subject distinguished name, or null if the subject is not to
262 * the subject distinguished name in RFC 2253 format or {@code
284 * @return the subject distinguished name in RFC 2253 format, or {@code
298 * the subject distinguished name in ASN.1 DER format, or {@code
318 * @return the subject distinguished name in ASN.1 DER format, or {@code
651 * each name to be included in the criterion. The name i
689 addSubjectAlternativeName(int tag, String name) argument
712 addSubjectAlternativeName(int tag, byte[] name) argument
901 addPathToName(int type, String name) argument
957 addPathToName(int type, byte[] name) argument
[all...]
/libcore/luni/src/main/java/java/util/
H A DResourceBundle.java103 public Object handleGetObject(String name) { argument
129 * the name of the {@code ResourceBundle}.
147 * the name of the {@code ResourceBundle}.
165 * The passed base name and {@code Locale} are used to create resource bundle names.
166 * The first name is created by concatenating the base name with the result
167 * of {@link Locale#toString()}. From this name all parent bundle names are
191 * replacing dots in the base name with a slash and by appending
197 * For compatibility with older code, the bundle name isn't required to be
198 * a fully qualified class name
[all...]
H A DSimpleTimeZone.java85 * @param name
89 public SimpleTimeZone(int offset, final String name) { argument
90 setID(name);
130 * @param name
163 public SimpleTimeZone(int offset, String name, int startMonth, argument
166 this(offset, name, startMonth, startDay, startDayOfWeek, startTime,
177 * @param name
212 public SimpleTimeZone(int offset, String name, int startMonth, argument
215 this(offset, name);
242 * @param name
279 SimpleTimeZone(int offset, String name, int startMonth, int startDay, int startDayOfWeek, int startTime, int startTimeMode, int endMonth, int endDay, int endDayOfWeek, int endTime, int endTimeMode, int daylightSavings) argument
[all...]
/libcore/luni/src/main/java/java/util/logging/
H A DLogger.java50 * name is given when a log method is called. If {@code getUseParentHandlers()}
79 record.setLoggerName(source.name);
86 * The name of the global logger. Before using this, see the discussion of how to use
109 /** The name of this logger. */
110 private volatile String name; field in class:Logger
138 /** The loaded resource bundle according to the specified name. */
162 /** the tag used for optimized logging. Derived from the logger name. */
238 * Constructs a {@code Logger} object with the supplied name and resource
239 * bundle name; {@code notifiyParentHandlers} is set to {@code true}.
243 * @param name
252 Logger(String name, String resourceBundleName) argument
361 getLogger(String name) argument
381 getLogger(String name, String resourceBundleName) argument
[all...]
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DDocumentImpl.java323 public AttrImpl createAttribute(String name) { argument
324 return new AttrImpl(this, name);
351 public EntityReferenceImpl createEntityReference(String name) { argument
352 return new EntityReferenceImpl(this, name);
389 public NodeList getElementsByTagName(String name) { argument
391 getElementsByTagName(result, name);
H A DNodeImpl.java222 * and qualified name.
226 * @param qualifiedName a possibly-prefixed name like "img" or "html:img".
273 * Sets {@code node} to be not namespace-aware and assigns its name.
277 static void setName(NodeImpl node, String name) { argument
278 int prefixSeparator = name.lastIndexOf(":");
280 String prefix = name.substring(0, prefixSeparator);
281 String localName = name.substring(prefixSeparator + 1);
283 throw new DOMException(DOMException.INVALID_CHARACTER_ERR, name);
285 } else if (!DocumentImpl.isXMLIdentifier(name)) {
286 throw new DOMException(DOMException.INVALID_CHARACTER_ERR, name);
[all...]
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DParserAdapter.java168 * @param name The feature name, as a complete URI.
176 public void setFeature (String name, boolean value)
179 if (name.equals(NAMESPACES)) {
180 checkNotParsing("feature", name);
185 } else if (name.equals(NAMESPACE_PREFIXES)) {
186 checkNotParsing("feature", name);
191 } else if (name.equals(XMLNS_URIs)) {
192 checkNotParsing("feature", name);
195 throw new SAXNotRecognizedException("Feature: " + name);
174 setFeature(String name, boolean value) argument
212 getFeature(String name) argument
240 setProperty(String name, Object value) argument
260 getProperty(String name) argument
796 checkNotParsing(String type, String name) argument
[all...]

Completed in 324 milliseconds

1234567891011