/libcore/support/src/test/java/libcore/javax/net/ssl/ |
H A D | FakeSSLSession.java | 91 public Object getValue(String name) { argument 107 public void putValue(String name, Object value) { argument 111 public void removeValue(String name) { argument
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
H A D | X509KeyManagerImpl.java | 88 public X509KeyManagerImpl(String name) { argument 89 keyType = name;
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_TestWebData.java | 88 Support_TestWebData(int length, int lastModified, String name, String type, boolean isDir, long expDate) { argument 91 testName = name; 148 // Test identification name
|
/libcore/xml/src/main/java/org/xmlpull/v1/ |
H A D | XmlSerializer.java | 38 * Set feature identified by name (recommended to be URI for uniqueness). 48 void setFeature(String name, argument 54 * Return the current value of the feature with given name. 57 * @param name The name of feature to be retrieved. 61 boolean getFeature(String name); argument 66 * (the property name is recommended to be URI for uniqueness). 76 void setProperty(String name, argument 83 * The property name is any fully-qualified URI. I 86 * @param name Th 89 getProperty(String name) argument 209 startTag(String namespace, String name) argument 219 attribute(String namespace, String name, String value) argument 230 endTag(String namespace, String name) argument [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
H A D | OpenSSLSessionImpl.java | 276 * The peer's host name used in this SSL session is returned. It is the host 277 * name of the client for the server; and that of the server for the client. 278 * It is not a reliable way to get a fully qualified host name: it is mainly 281 * @return the host name of the peer, or null if no information is 308 String name = NativeCrypto.SSL_SESSION_cipher(sslSessionNativePointer); 309 cipherSuite = NativeCrypto.OPENSSL_TO_STANDARD_CIPHER_SUITES.get(name); 311 cipherSuite = name; 318 * Returns the standard version name of the SSL protocol used in all 366 * Returns the object which is bound to the the input parameter name. 367 * This name i 375 getValue(String name) argument 405 putValue(String name, Object value) argument 431 removeValue(String name) argument [all...] |
H A D | SSLSessionImpl.java | 167 return (protocol == null) ? "NONE" : protocol.name; 174 public Object getValue(String name) { argument 175 if (name == null) { 176 throw new IllegalArgumentException("name == null"); 178 return values.get(name); 198 public void putValue(String name, Object value) { argument 199 if (name == null || value == null) { 200 throw new IllegalArgumentException("name == null || value == null"); 202 Object old = values.put(name, value); 204 ((SSLSessionBindingListener) value).valueBound(new SSLSessionBindingEvent(this, name)); 212 removeValue(String name) argument [all...] |
H A D | TrustedCertificateStore.java | 50 * function of the CA's subject name. For example, the system CA for 69 * but not intended to mask a CA with a matching name or public key 318 * TrustManagerImpl} to locate a CA certificate with the same name 320 * match on the name and public key and not the entire certificate 321 * since a CA may be reissued with the same name and PublicKey but 478 private String hash(X500Principal name) { argument 479 int hash = NativeCrypto.X509_NAME_hash_old(name);
|
/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | DexPathList.java | 216 String name = file.getName(); 218 if (name.endsWith(DEX_SUFFIX)) { 225 } else if (name.endsWith(APK_SUFFIX) || name.endsWith(JAR_SUFFIX) 226 || name.endsWith(ZIP_SUFFIX)) { 312 * @param name of class to find 317 public Class findClass(String name, List<Throwable> suppressed) { argument 322 Class clazz = dex.loadClassBinaryName(name, definingContext, suppressed); 342 public URL findResource(String name) { argument 344 URL url = element.findResource(name); 358 findResources(String name) argument 445 findResource(String name) argument [all...] |
/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | DOMTestCase.java | 658 * @param name 659 * Expected name, for example, "staff". If null, name is 661 * @param name 662 * Expected name, for example, "staff". If null, name is 676 String name, 740 if (file != null || name != null) { 750 if (name != null) { 756 assertEquals(assertID, name, actualNam 670 assertURIEquals( String assertID, String scheme, String path, String host, String file, String name, String query, String fragment, Boolean isAbsolute, String actual) argument [all...] |
H A D | XercesHTML2DocumentBuilderFactory.java | 189 public String getType(String name) { argument 190 return currentAttributes.getType(name); 193 public String getValue(String name) { argument 194 return currentAttributes.getValue(name);
|
H A D | XercesHTMLDocumentBuilderFactory.java | 189 public String getType(String name) { argument 190 return currentAttributes.getType(name); 193 public String getValue(String name) { argument 194 return currentAttributes.getValue(name);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/ |
H A D | MatcherTest.java | 40 public MatcherTest(String name) { argument 41 super(name);
|
/libcore/json/src/main/java/org/json/ |
H A D | JSONObject.java | 28 * A modifiable set of name/value mappings. Names are unique, non-null strings. 45 * <li><a name="lossy">When the requested type is a long, other {@link Number} types will 60 * fails with a {@code JSONException} if the requested name has no value 63 * returns a system- or user-supplied default if the requested name has no 69 * JSONObject#NULL}. In particular, calling {@code put(name, null)} removes the 70 * named entry from the object but {@code put(name, JSONObject.NULL)} stores an 84 * A sentinel value used to explicitly define a name with no value. Unlike 110 * Creates a {@code JSONObject} with no name/value mappings. 117 * Creates a new {@code JSONObject} by copying all name/value mappings from 142 * Creates a new {@code JSONObject} with name/valu 203 put(String name, boolean value) argument 216 put(String name, double value) argument 227 put(String name, int value) argument 238 put(String name, long value) argument 254 put(String name, Object value) argument 271 putOpt(String name, Object value) argument 290 accumulate(String name, Object value) argument 313 checkName(String name) argument 326 remove(String name) argument 334 isNull(String name) argument 343 has(String name) argument 352 get(String name) argument 364 opt(String name) argument 375 getBoolean(String name) argument 388 optBoolean(String name) argument 396 optBoolean(String name, boolean fallback) argument 409 getDouble(String name) argument 422 optDouble(String name) argument 430 optDouble(String name, double fallback) argument 443 getInt(String name) argument 456 optInt(String name) argument 464 optInt(String name, int fallback) argument 478 getLong(String name) argument 492 optLong(String name) argument 502 optLong(String name, long fallback) argument 514 getString(String name) argument 527 optString(String name) argument 535 optString(String name, String fallback) argument 548 getJSONArray(String name) argument 561 optJSONArray(String name) argument 573 getJSONObject(String name) argument 586 optJSONObject(String name) argument [all...] |
/libcore/libart/src/main/java/java/lang/ |
H A D | ThreadGroup.java | 34 // VM needs this field name for debugging. 35 private String name; field in class:ThreadGroup 41 // VM needs this field name for debugging. 72 * Constructs a new {@code ThreadGroup} with the given name. The new {@code ThreadGroup} 75 * @param name the name 78 public ThreadGroup(String name) { argument 79 this(Thread.currentThread().getThreadGroup(), name); 83 * Constructs a new {@code ThreadGroup} with the given name, as a child of the 87 * @param name th 92 ThreadGroup(ThreadGroup parent, String name) argument [all...] |
/libcore/libdvm/src/main/java/java/lang/ |
H A D | ThreadGroup.java | 34 // VM needs this field name for debugging. 35 private String name; field in class:ThreadGroup 41 // VM needs this field name for debugging. 72 * Constructs a new {@code ThreadGroup} with the given name. The new {@code ThreadGroup} 75 * @param name the name 78 public ThreadGroup(String name) { argument 79 this(Thread.currentThread().getThreadGroup(), name); 83 * Constructs a new {@code ThreadGroup} with the given name, as a child of the 87 * @param name th 92 ThreadGroup(ThreadGroup parent, String name) argument [all...] |
/libcore/libdvm/src/main/java/java/lang/reflect/ |
H A D | Method.java | 51 * Orders methods by their name, parameters and return type. 57 int comparison = a.name.compareTo(b.name); 87 private String name; field in class:Method 115 private Method(Class<?> declaring, Class<?>[] paramTypes, Class<?>[] exceptTypes, Class<?> returnType, String name, int slot, int methodDexIndex) { argument 117 this.name = name; 183 // append method name 383 name.equals(rhs.name) [all...] |
/libcore/luni/src/main/java/java/lang/ |
H A D | Runtime.java | 182 * the name of the program to execute. 198 * the name of the program to execute. 217 * the name of the program to execute. 313 * accepts the name of the library to load. 338 * Loads and links the library with the specified name. The mapping of the 339 * specified library name to the full path for loading the library is 343 * the name of the library to load. 393 private String doLoad(String name, ClassLoader loader) { argument 421 return nativeLoad(name, loader, ldLibraryPath);
|
H A D | SecurityManager.java | 128 @Deprecated protected int classDepth(String name) { return -1; } argument 133 @Deprecated protected boolean inClass(String name) { return false; } argument
|
/libcore/luni/src/main/java/java/net/ |
H A D | NetworkInterface.java | 36 * interface is defined by its address and a platform dependent name. The class 43 private final String name; field in class:NetworkInterface 52 private NetworkInterface(String name, int interfaceIndex, argument 54 this.name = name; 76 * Returns the name of this network interface (such as "eth0" or "lo"). 79 return name; 90 * Returns a human-readable name for this network interface. On Android, this is the same 94 return name; 99 * if no interface has this name [all...] |
/libcore/luni/src/main/java/java/sql/ |
H A D | Connection.java | 214 * Gets this {@code Connection} object's current catalog name. 216 * @return the catalog name. {@code null} if there is no catalog 217 * name. 670 * Sets the catalog name for this connection. This is used to select a 675 * the catalog name to use. 722 * @param name 723 * the name to use for the new {@code Savepoint}. 728 public Savepoint setSavepoint(String name) throws SQLException; argument 796 * Sets the client info property {@code name} to {@code value}. A value of null clears the 801 public void setClientInfo(String name, Strin argument 817 getClientInfo(String name) argument [all...] |
H A D | Statement.java | 547 * Sets the SQL cursor name. This name is used by subsequent statement 552 * With the cursor name set, it can then be used in SQL positioned 557 * @param name 558 * the Cursor name as a string, 562 public void setCursorName(String name) throws SQLException; argument
|
/libcore/luni/src/main/java/java/util/ |
H A D | Properties.java | 55 * <a name="character_encoding"><h3>Character Encoding</h3></a> 147 * Searches for the property with the specified name. If the property is not 151 * @param name 152 * the name of the property to find. 155 public String getProperty(String name) { argument 156 Object result = super.get(name); 159 property = defaults.getProperty(name); 165 * Searches for the property with the specified name. If the property is not 170 * @param name 171 * the name o 176 getProperty(String name, String defaultValue) argument 510 setProperty(String name, String value) argument [all...] |
H A D | Timer.java | 186 * @param name thread's name 189 TimerImpl(String name, boolean isDaemon) { argument 190 this.setName(name); 359 * @param name the name of the {@code Timer}. 361 * @throws NullPointerException is {@code name} is {@code null} 363 public Timer(String name, boolean isDaemon) { argument 364 if (name == null) { 365 throw new NullPointerException("name 377 Timer(String name) argument [all...] |
/libcore/luni/src/main/java/java/util/jar/ |
H A D | Attributes.java | 34 * The {@code Attributes} as name/value pairs. Maps the attribute names (as 42 * The name part of the name/value pairs constituting an attribute as 47 * name = alphanum *headerchar 59 /** The main class's name (for stand-alone applications). */ 117 * The {@code Extension-Name} attribute which defines the unique name of 146 private final String name; field in class:Attributes.Name 148 public Name(String name) { argument 149 // encoded name + "\r\n" must be <= 72 bytes; ASCII-only so byte count equals char count 150 if (name 402 getValue(Attributes.Name name) argument 414 getValue(String name) argument 424 putValue(String name, String value) argument [all...] |
H A D | JarVerifier.java | 87 private String name; field in class:JarVerifier.VerifierEntry 95 VerifierEntry(String name, MessageDigest digest, byte[] hash, argument 97 this.name = name; 133 throw invalidDigest(JarFile.MANIFEST_NAME, name, jarName); 135 verifiedEntries.put(name, certificates); 140 private SecurityException invalidDigest(String signatureFile, String name, String jarName) { argument 141 throw new SecurityException(signatureFile + " has invalid digest for " + name + 152 * @param name 153 * the name o 155 JarVerifier(String name) argument 171 initEntry(String name) argument 234 addMetaEntry(String name, byte[] buf) argument 421 getCertificates(String name) argument [all...] |