/libcore/luni/src/test/java/tests/org/w3c/dom/ |
H A D | OwnerElement.java | 81 String name; 88 name = elementNode.getNodeName(); 89 assertEquals("throw_Equals", "address", name);
|
/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/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...] |
H A D | DexFile.java | 45 * The VM will generate the name of the corresponding file in 47 * it first if system permissions allow. Don't pass in the name of 66 * The VM will generate the name of the corresponding file in 68 * it first if system permissions allow. Don't pass in the name of 155 * Gets the name of the (already opened) DEX file. 157 * @return the file name 192 * @param name 193 * the class name, which should look like "java/lang/String" 202 public Class loadClass(String name, ClassLoader loader) { argument 203 String slashName = name 214 loadClassBinaryName(String name, ClassLoader loader, List<Throwable> suppressed) argument 218 defineClass(String name, ClassLoader loader, int cookie, List<Throwable> suppressed) argument 235 defineClassNative(String name, ClassLoader loader, int cookie) argument [all...] |
/libcore/luni/src/main/java/java/lang/ |
H A D | System.java | 203 * 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/libart/src/main/java/java/lang/ |
H A D | Class.java | 77 * hierarchy. The name associated with these {@code Class} instances is simply 78 * the fully qualified class name of the class or interface that it represents. 79 * In addition to this human-readable name, each class is also associated by a 81 * class name and a semicolon (";"). The descriptor is what the runtime system 109 * dimensions). In this case, the name associated with the {@code Class} 113 * {@code Class} representing an array type is the same as its name. Examples 169 /** Lazily computed name of this class; always prefer calling getName(). */ 170 private transient String name; field in class:Class 250 * the given name. The name shoul 621 getDeclaredMethod(String name, Class<?>... parameterTypes) argument 639 getMethod(String name, Class<?>... parameterTypes) argument 643 getMethod(String name, Class<?>[] parameterTypes, boolean recursivePublicMethods) argument 666 getPublicMethodRecursive(String name, Class<?>[] parameterTypes) argument 695 getDeclaredMethodInternal(String name, Class<?>[] args) argument 877 getDeclaredField(String name) argument 931 getDeclaredFieldInternal(String name) argument 1035 getField(String name) argument 1048 getPublicFieldRecursive(String name) argument [all...] |
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/luni/src/main/java/java/net/ |
H A D | URLClassLoader.java | 140 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/libcore/reflect/ |
H A D | AnnotationMember.java | 32 * It consists of name and value, supplemented with element 90 protected final String name; field in class:AnnotationMember 99 * Creates a new element with specified name and value. 102 * @param name element name, must not be null 108 public AnnotationMember(String name, Object val) { argument 109 this.name = name; 122 * @param name element name, mus 129 AnnotationMember(String name, Object val, Class type, Method m) argument [all...] |
/libcore/xml/src/main/java/org/xmlpull/v1/ |
H A D | XmlPullParserFactory.java | 13 * The name of actual factory class will be determined based on several parameters. 15 * (no access to system properties or file system) so name of parser class factory to use 17 * must be passed explicitly. If no name of parser factory was passed (or is null) 18 * it will try to find name by searching in CLASSPATH for 84 * @param name string with URI identifying feature 88 public void setFeature(String name, boolean state) throws XmlPullParserException { argument 89 features.put(name, state); 94 * Return the current value of the feature with given name. 97 * @param name The name o 102 getFeature(String name) argument [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
H A D | NameConstraints.java | 113 GeneralName name = generalSubtree.getBase(); 114 int tag = name.getTag(); 118 permitted_names[tag].add(name); 125 GeneralName name = generalSubtree.getBase(); 126 int tag = name.getTag(); 130 excluded_names[tag].add(name); 151 * Apply the name restrictions specified by this NameConstraints 152 * instance to the subject distinguished name and subject alternative 154 * if specified name form is present in the certificate. 204 // check map: shows if permitted name o [all...] |
/libcore/xml/src/main/java/org/kxml2/io/ |
H A D | KXmlSerializer.java | 47 //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/dom/src/test/java/org/w3c/domts/level1/core/ |
H A D | documenttypegetentities.java | 67 String name; 94 name = entity.getNodeName(); 95 nameList.add(name);
|
/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/luni/src/main/java/org/xml/sax/helpers/ |
H A D | DefaultHandler.java | 110 * @param name The notation name. 118 public void notationDecl (String name, String publicId, String systemId) 132 * @param name The entity name. 136 * @param notationName The name of the associated notation. 141 public void unparsedEntityDecl (String name, String publicId, 261 * @param localName The local name (without prefix), or the 264 * @param qName The qualified name (with prefix), or the 292 * @param localName The local name (withou 116 notationDecl(String name, String publicId, String systemId) argument 139 unparsedEntityDecl(String name, String publicId, String systemId, String notationName) argument 386 skippedEntity(String name) argument [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
H A D | OldMessageFormatFieldTest.java | 32 String name = "new Message format"; 33 MyMessageFormat field = new MyMessageFormat(name); 34 assertEquals("field has wrong name", name, field.getName()); 37 assertEquals("field has wrong name", null, field.getName()); 74 fail("Expected InvalidObjectException for subclass instance with null name");
|
H A D | OldAttributedCharacterIteratorAttributeTest.java | 36 public MockAttributedCharacterIteratorAttribute(String name) { argument 37 super(name); 55 public TestAttributedCharacterIteratorAttribute(String name) { argument 56 super(name); 108 assertEquals("Incorrect attribute name", "test1", mac1.getName());
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
H A D | SSLSessionBindingEventTest.java | 43 fail("incorrect name"); 72 assertEquals("Incorrect session name", "test", event.getName()); 74 assertEquals("Incorrect session name", null, event.getName()); 198 public Object getValue(String name) { argument 226 public void putValue(String name, Object value) { argument 232 public void removeValue(String name) { argument
|
/libcore/luni/src/main/java/java/security/acl/ |
H A D | Acl.java | 54 * Sets the name of this <i>ACL</i> instance. 58 * @param name 59 * the name to be set. 64 void setName(Principal caller, String name) throws NotOwnerException; argument 67 * Returns the name of this <i>ACL</i> instance. 69 * @return the name of this <i>ACL</i> instance.
|
/libcore/luni/src/main/java/javax/security/auth/ |
H A D | PrivateCredentialPermission.java | 32 public PrivateCredentialPermission(String name, String action) { super(""); } argument
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
H A D | OldNodeChangeEventTest.java | 40 if (child.name() == "mock1") { 52 if (child.name() == "mock1") { 88 if (parent.name() == "mock") { 100 if (parent.name() == "mock") {
|
/libcore/luni/src/main/native/ |
H A D | libcore_icu_NativeConverter.cpp | 92 static const char* getICUCanonicalName(const char* name) { argument 95 if ((canonicalName = ucnv_getCanonicalName(name, "MIME", &error)) != NULL) { 97 } else if ((canonicalName = ucnv_getCanonicalName(name, "IANA", &error)) != NULL) { 99 } else if ((canonicalName = ucnv_getCanonicalName(name, "", &error)) != NULL) { 101 } else if ((canonicalName = ucnv_getAlias(name, 0, &error)) != NULL) { 104 } else if (strstr(name, "x-") == name) { 105 // Check if the converter can be opened with the name given. 107 LocalUConverterPointer cnv(ucnv_open(name + 2, &error)); 109 return name 137 const char* name = ucnv_getAlias(icuCanonicalName, i, &status); local 145 const char* name = ucnv_getStandardName(icuCanonicalName, "UTR22", &status); local 328 const char* name = ucnv_getAvailableName(i); local [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/javax/xml/xpath/ |
H A D | XPathFactory.java | 36 * <p>The default property name according to the JAXP spec.</p> 89 * where uri is the parameter to this method, then its value is read as a class name. 221 * @param name Feature name. 226 * @throws NullPointerException if <code>name</code> is <code>null</code>. 228 public abstract void setFeature(String name, boolean value) argument 242 * @param name Feature name. 248 * @throws NullPointerException if <code>name</code> is <code>null</code>. 250 public abstract boolean getFeature(String name) argument [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
H A D | AttrImpl.java | 53 AttrImpl(DocumentImpl document, String name) { argument 55 setName(this, name);
|