Searched defs:name (Results 226 - 250 of 266) sorted by relevance

1234567891011

/libcore/luni/src/test/java/libcore/java/util/prefs/
H A DOldAbstractPreferencesTest.java702 assertTrue(node.parent().name().compareTo("First node") == 0);
836 assertTrue(first.name().compareTo("First node") == 0);
837 assertFalse(first.name().compareTo("Second node") == 0);
838 assertTrue(second.name().compareTo("sub node") == 0);
1068 protected MockAbstractPreferences(AbstractPreferences parent, String name) { argument
1069 super(parent, name);
1073 protected AbstractPreferences childSpi(String name) { argument
1114 assertNotNull(new MockAbstractPreferences(pref, "node name"));
1116 new MockAbstractPreferences(pref, "node/name");
H A DOldPreferencesTest.java78 p.name();
310 assertEquals("mock", child.name());
314 StringBuilder name = new StringBuilder(Preferences.MAX_NAME_LENGTH);
316 name.append('a');
318 String longName = name.toString();
1024 public String name() { method in class:OldPreferencesTest.MockPreferences
1029 public Preferences node(String name) { argument
1034 public boolean nodeExists(String name) throws BackingStoreException { argument
/libcore/luni/src/test/java/libcore/xml/
H A DNormalizeTest.java138 for (String name : infosetImpliesFalse) {
139 if (domConfiguration.canSetParameter(name, true)) {
140 domConfiguration.setParameter(name, true);
143 for (String name : infosetImpliesTrue) {
144 if (domConfiguration.canSetParameter(name, false)) {
145 domConfiguration.setParameter(name, false);
153 for (String name : infosetImpliesFalse) {
154 assertEquals(false, domConfiguration.getParameter(name));
156 for (String name : infosetImpliesTrue) {
157 assertEquals(true, domConfiguration.getParameter(name));
300 assertUnsupported(String name, Object value) argument
319 assertSupported(String name, Object value) argument
[all...]
H A DExpatSaxParserTest.java354 public void skippedEntity(String name) throws SAXException { argument
372 assertEquals("foo", handler.name);
410 String name; field in class:ExpatSaxParserTest.TestDtdHandler
426 public void startDTD(String name, String publicId, String systemId) { argument
427 this.name = name;
443 public void notationDecl(String name, String publicId, String systemId) { argument
444 this.ndName = name;
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DSignature2Test.java506 MyProvider(String name, double version, String info) { argument
507 super(name, version, info);
/libcore/luni/src/test/java/tests/api/java/io/
H A DObjectInputStreamTest.java578 public String name = "name"; field in class:ObjectInputStreamTest.A
/libcore/xml/src/main/java/org/xmlpull/v1/
H A DXmlPullParser.java177 * The name of start tag is available from getName(), its namespace and prefix are
199 * The name of start tag is available from getName(), its
252 * only. The entity name is available by calling getName(). If available,
418 * @exception IllegalArgumentException If string with the feature name is null
420 void setFeature(String name, argument
428 * @param name The name of feature to be retrieved.
430 * @exception IllegalArgumentException if string the feature name is null
433 boolean getFeature(String name); argument
438 * The property name i
443 setProperty(String name, Object value) argument
456 getProperty(String name) argument
900 getAttributeValue(String namespace, String name) argument
1048 require(int type, String namespace, String name) argument
[all...]
/libcore/libart/src/main/java/java/lang/
H A DThread.java131 volatile String name; field in class:Thread
192 * newly generated name. The new {@code Thread} will belong to the same
204 * newly generated name. The new {@code Thread} will belong to the same
219 * Constructs a new {@code Thread} with a {@code Runnable} object and name
227 * the name for the {@code Thread} being created
242 * name provided. The new {@code Thread} will belong to the same {@code
246 * the name for the {@code Thread} being created
262 * newly generated name. The new {@code Thread} will belong to the {@code
282 * name and belonging to the {@code ThreadGroup} passed as parameter.
290 * the name fo
360 Thread(ThreadGroup group, String name, int priority, boolean daemon) argument
[all...]
H A DClass.java77 * 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...]
/libcore/libdvm/src/main/java/java/lang/
H A DClass.java76 * hierarchy. The name associated with these {@code Class} instances is simply
77 * the fully qualified class name of the class or interface that it represents.
78 * In addition to this human-readable name, each class is also associated by a
80 * class name and a semicolon (";"). The signature is what the runtime system
108 * dimensions). In this case, the name associated with the {@code Class}
112 * {@code Class} representing an array type is the same as its name. Examples
140 * Lazily computed name of this class; always prefer calling getName().
142 private transient String name; field in class:Class
198 * given name. The name shoul
452 getConstructorOrMethod(String name, boolean searchSuperTypes, boolean publicOnly, Class<?>[] parameterTypes) argument
477 getPublicConstructorOrMethodRecursive(String name, Class<?>[] parameterTypes) argument
590 getDeclaredField(String name) argument
623 getDeclaredField(Class<?> c, String name) argument
638 getDeclaredMethod(String name, Class<?>... parameterTypes) argument
668 getDeclaredConstructorOrMethod(Class c, String name, Class[] args) argument
718 getField(String name) argument
729 getPublicFieldRecursive(String name) argument
856 getMethod(String name, Class<?>... parameterTypes) argument
[all...]
H A DThread.java131 volatile String name; field in class:Thread
187 * newly generated name. The new {@code Thread} will belong to the same
199 * newly generated name. The new {@code Thread} will belong to the same
214 * Constructs a new {@code Thread} with a {@code Runnable} object and name
222 * the name for the {@code Thread} being created
237 * name provided. The new {@code Thread} will belong to the same {@code
241 * the name for the {@code Thread} being created
257 * newly generated name. The new {@code Thread} will belong to the {@code
277 * name and belonging to the {@code ThreadGroup} passed as parameter.
285 * the name fo
355 Thread(ThreadGroup group, String name, int priority, boolean daemon) argument
[all...]
/libcore/libdvm/src/main/java/java/lang/reflect/
H A DField.java48 * Orders fields by their name and declaring class.
55 int comparison = a.name.compareTo(b.name);
72 private String name; field in class:Field
94 private Field(Class<?> declaringClass, Class<?> type, String name, int slot, int fieldDexIndex) { argument
97 this.name = name;
167 // append full field name
226 * {@code Field} with the same declaring class, type and name as this field.
482 * Returns the name o
[all...]
/libcore/luni/src/main/java/java/io/
H A DFile.java41 * also, despite the name {@code File}, be a directory or other non-regular
114 * Constructs a new file using the specified directory and name.
118 * @param name
119 * the file's name.
121 * if {@code name} is {@code null}.
123 public File(File dir, String name) { argument
124 this(dir == null ? null : dir.getPath(), name);
138 * Constructs a new File using the specified directory path and file name,
143 * @param name
144 * the file's name
148 File(String dirPath, String name) argument
[all...]
H A DObjectOutputStream.java127 * Puts the value of the boolean field identified by {@code name} to the
130 * @param name
131 * the name of the field to serialize.
135 public abstract void put(String name, boolean value); argument
138 * Puts the value of the character field identified by {@code name} to
141 * @param name
142 * the name of the field to serialize.
146 public abstract void put(String name, char value); argument
149 * Puts the value of the byte field identified by {@code name} to the
152 * @param name
157 put(String name, byte value) argument
168 put(String name, short value) argument
179 put(String name, int value) argument
190 put(String name, long value) argument
201 put(String name, float value) argument
212 put(String name, double value) argument
223 put(String name, Object value) argument
[all...]
H A DObjectInputStream.java137 * Indicates if the field identified by {@code name} is defaulted. This
140 * @param name
141 * the name of the field to check.
145 * if {@code name} does not identify a serializable field.
150 public abstract boolean defaulted(String name) throws IOException, argument
154 * Gets the value of the boolean field identified by {@code name} from
157 * @param name
158 * the name of the field to get.
162 * @return the value of the field identified by {@code name}.
167 * if the type of the field identified by {@code name} i
170 get(String name, boolean defaultValue) argument
190 get(String name, char defaultValue) argument
210 get(String name, byte defaultValue) argument
230 get(String name, short defaultValue) argument
250 get(String name, int defaultValue) argument
270 get(String name, long defaultValue) argument
290 get(String name, float defaultValue) argument
310 get(String name, double defaultValue) argument
330 get(String name, Object defaultValue) argument
[all...]
/libcore/luni/src/main/java/java/util/prefs/
H A DAbstractPreferences.java114 //this node's name
133 * parent node and node name.
138 * @param name
139 * the name of the new node or an empty string to indicate that
142 * if the name contains a slash character or is empty if {@code
145 protected AbstractPreferences(AbstractPreferences parent, String name) { argument
146 if ((parent == null ^ name.length() == 0) || name.indexOf("/") >= 0) {
154 nodeName = name;
175 * Returns the child node with the specified name o
189 getChild(String name) argument
259 childSpi(String name) argument
272 putSpi(String name, String value) argument
520 public String name() { method in class:AbstractPreferences
525 node(String name) argument
550 validateName(String name) argument
579 getNodeFromBackend(boolean createNew, AbstractPreferences currentNode, String name) argument
598 nodeExists(String name) argument
819 EventDispatcher(String name) argument
[all...]
/libcore/luni/src/main/java/javax/sql/
H A DRowSet.java100 * properties to be set: URL, database name, user name, password,
129 * RowSet}. The database name can be used to find a {@link DataSource}
133 * @return the name of the database.
317 * the name for parameter
334 * the name for parameter
367 * the name for parameter
417 * the name for parameter
433 * the name for parameter
501 * the name fo
827 setDataSourceName(String name) argument
[all...]
/libcore/luni/src/main/java/org/apache/harmony/xml/
H A DExpatParser.java124 * @param localName local name of element or "" if namespace processing is
126 * @param qName qualified name or "" if namespace processing is enabled
203 /*package*/ void startDtd(String name, String publicId, String systemId) argument
207 lexicalHandler.startDTD(name, publicId, systemId);
226 /*package*/ void notationDecl(String name, String publicId, String systemId) throws SAXException { argument
229 dtdHandler.notationDecl(name, publicId, systemId);
233 /*package*/ void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException { argument
236 dtdHandler.unparsedEntityDecl(name, publicId, systemId, notationName);
/libcore/luni/src/main/native/
H A Dlibcore_icu_NativeConverter.cpp92 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/luni/src/test/java/libcore/java/net/
H A DOldSocketTest.java1486 String platform = System.getProperty("os.name");
1704 String platform = System.getProperty("os.name");
2176 protected int startServer(String name) { argument
2180 fail(name + ": " + e);
/libcore/luni/src/test/java/libcore/java/security/cert/
H A DX509CertificateTest.java123 private final X509Certificate getCertificate(CertificateFactory f, String name) argument
125 final InputStream is = Support_Resources.getStream(name);
126 assertNotNull("File does not exist: " + name, is);
137 private final Collection<? extends X509Certificate> getCertificates(CertificateFactory f, String name) argument
139 final InputStream is = Support_Resources.getStream(name);
140 assertNotNull("File does not exist: " + name, is);
216 private byte[] getResourceAsBytes(String name) throws Exception { argument
217 final InputStream ris = Support_Resources.getStream(name);
/libcore/luni/src/test/java/tests/api/javax/xml/parsers/
H A DSAXParserTestSupport.java267 public void notationDecl(String name, String publicId, argument
269 /* data_notationDecl.append(name + ParsingSupport.SEPARATOR_STRING +
296 public void skippedEntity(String name) { argument
297 data_skippedEntity.append(name);
330 public void unparsedEntityDecl(String name, String publicId, argument
332 // data_unparsedEntityDecl.append(name
438 public void notationDecl(String name, String publicId, argument
482 public void unparsedEntityDecl(String name, String publicId, argument
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DTestCertUtils.java588 public TestProvider(String name, double version, String info) { argument
589 super(name, version, info);
786 String name = datasNames[j];
788 buf.append(name).append('=').append(val).append(",");
790 String name = datasNames[j];
792 buf.append(name).append('=').append(val);
794 name = buf.toString();
796 if (!(rootName.equals(name) || al.contains(name))) {
798 al.add(name);
[all...]
/libcore/crypto/src/test/java/org/conscrypt/
H A DNativeCryptoTest.java2047 X500Principal name = new X500Principal("CN=localhost");
2048 assertEquals(-1372642656, NativeCrypto.X509_NAME_hash(name)); // SHA1
2049 assertEquals(-1626170662, NativeCrypto.X509_NAME_hash_old(name)); // MD5
2438 private void check_EC_GROUP(int type, String name, String pStr, String aStr, String bStr, argument
2442 group1 = NativeCrypto.EC_GROUP_new_by_curve_name(name);
2444 assertEquals(NativeCrypto.OBJ_txt2nid_longName(name),
/libcore/dex/src/main/java/com/android/dex/
H A DDex.java198 public Section appendSection(int maxByteCount, String name) { argument
207 Section result = new Section(name, sectionData);
333 * Look up a field id name index from a field index. Cheaper than:
395 * Look up a method id name index from a method index. Cheaper than:
514 private final String name; field in class:Dex.Section
518 private Section(String name, ByteBuffer data) { argument
519 this.name = name;
843 throw new DexException("Section limit " + data.limit() + " exceeded by " + name);
851 throw new DexException("Section limit " + data.limit() + " exceeded by " + name);
[all...]

Completed in 1051 milliseconds

1234567891011