Searched defs:name (Results 51 - 75 of 500) sorted by relevance

1234567891011>>

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
H A DSSLSocketFactoryTest.java32 protected int startServer(String name) { argument
36 fail(name + ": " + e);
/libcore/libart/src/main/java/java/lang/
H A DVMClassLoader.java65 static URL getResource(String name) { argument
67 URL url = urlHandler.getEntryUrlOrNull(name);
78 static List<URL> getResources(String name) { argument
81 URL url = urlHandler.getEntryUrlOrNull(name);
90 native static Class findLoadedClass(ClassLoader cl, String name); argument
/libcore/luni/src/main/java/android/system/
H A DUnixSocketAddress.java59 public static UnixSocketAddress createAbstract(String name) { argument
60 byte[] nameBytes = name.getBytes(StandardCharsets.UTF_8);
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
H A DDocumentBuilderFactoryImpl.java38 public Object getAttribute(String name) throws IllegalArgumentException { argument
39 throw new IllegalArgumentException(name);
43 public boolean getFeature(String name) throws ParserConfigurationException { argument
44 if (name == null) {
45 throw new NullPointerException("name == null");
48 if (NAMESPACES.equals(name)) {
50 } else if (VALIDATION.equals(name)) {
53 throw new ParserConfigurationException(name);
84 public void setAttribute(String name, Object value) argument
86 throw new IllegalArgumentException(name);
90 setFeature(String name, boolean value) argument
[all...]
/libcore/luni/src/main/java/org/w3c/dom/
H A DNameList.java17 * collection of parallel pairs of name and namespace values (which could be
26 * Returns the <code>index</code>th name item in the collection.
28 * @return The name at the <code>index</code>th position in the
29 * <code>NameList</code>, or <code>null</code> if there is no name for
38 * <code>NameList</code>, or <code>null</code> if there is no name for
44 * The number of pairs (name and namespaceURI) in the list. The range of
50 * Test if a name is part of this <code>NameList</code>.
51 * @param str The name to look for.
52 * @return <code>true</code> if the name has been found,
58 * Test if the pair namespaceURI/name i
65 containsNS(String namespaceURI, String name) argument
[all...]
/libcore/luni/src/test/java/libcore/dalvik/system/
H A DPathClassLoaderTest.java59 private File makeTempFile(File directory, String name) throws IOException { argument
61 File result = new File(directory, name);
68 private static File extractResourceJar(String name) throws Exception { argument
71 File jar = File.createTempFile(name, ".jar");
/libcore/luni/src/test/java/libcore/java/nio/charset/
H A DCharsetTest.java26 assertEquals("UTF-8", cs.name());
28 // Make sure that caching correctly handles nonstandard name.
34 private final String name; field in class:CharsetTest.CheckerThread
37 CheckerThread(String name) { argument
38 this.name = name;
44 Charset cs = Charset.forName(name);
45 if (!name.equals(cs.name())) {
/libcore/luni/src/test/java/libcore/java/security/
H A DPrincipalTest.java51 private final String name; field in class:PrincipalTest.PrincipalWithEqualityByName
53 PrincipalWithEqualityByName(String name) { argument
54 this.name = name;
59 return name;
64 return name.hashCode();
72 return this.name.equals(((PrincipalWithEqualityByName) other).getName());
/libcore/luni/src/test/java/libcore/java/text/
H A DOldAttributedCharacterIteratorAttributeTest.java36 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/libcore/java/util/logging/
H A DOldLevelTest.java29 assertNull("level's localization resource bundle name is not null", l
52 public MockLevel(String name, int value) { argument
53 super(name, value);
56 public MockLevel(String name, int value, String resourceBundleName) { argument
57 super(name, value, resourceBundleName);
/libcore/luni/src/test/java/libcore/java/util/prefs/
H A DOldFilePreferencesImplTest.java78 private void assertContains(String[] childNames, String name) { argument
80 if (childName == name) {
84 fail("No child with name " + name + " was found. It was expected to exist.");
87 private void assertNotContains(String[] childNames, String name) { argument
89 if (childName == name) {
90 fail("Child with name " + name + " was found. This was unexpected.");
/libcore/luni/src/test/java/libcore/java/util/zip/
H A DZipOutputStreamTest.java61 public static byte[] zip(String name, byte[] bytes) throws IOException { argument
65 ZipEntry entry = new ZipEntry(name);
98 out.putNextEntry(new ZipEntry("name"));
114 ZipEntry entryWithoutExplicitTime = new ZipEntry("name");
129 assertEquals("name", entry.getName());
/libcore/luni/src/test/java/libcore/javax/crypto/
H A DMacTest.java33 public MockProvider(String name) { argument
34 super(name, 1.0, "Mock provider used for testing");
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
H A DCipherPBEThread.java30 CipherPBEThread(String name, int[] keys, String[] modes, String[] paddings) { argument
31 super(name, keys, modes, paddings);
H A DCipherRSAThread.java26 CipherRSAThread(String name, int[] keys, String[] modes, String[] paddings) { argument
27 super(name, keys, modes, paddings);
H A DCipherSymmetricKeyThread.java28 CipherSymmetricKeyThread(String name, int[] keys, String[] modes, String[] paddings) { argument
29 super(name, keys, modes, paddings);
H A DCipherWrapThread.java26 CipherWrapThread(String name, int[] keys, String[] modes, String[] paddings) { argument
27 super(name, keys, modes, paddings);
/libcore/luni/src/test/java/tests/security/
H A DSecureRandomTest.java33 protected SecureRandomTest(String name) { argument
34 this.algorithmName = name;
/libcore/ojluni/src/main/java/java/nio/channels/
H A DNetworkChannel.java111 * @param name
130 <T> NetworkChannel setOption(SocketOption<T> name, T value) throws IOException; argument
137 * @param name
152 <T> T getOption(SocketOption<T> name) throws IOException; argument
H A DServerSocketChannel.java209 public abstract <T> ServerSocketChannel setOption(SocketOption<T> name, T value) argument
/libcore/ojluni/src/main/java/java/nio/file/
H A DFileStore.java55 * Returns the name of this file store. The format of the name is highly
56 * implementation specific. It will typically be the name of the storage
62 * @return the name of this file store
64 public abstract String name(); method in class:FileStore
154 * BasicFileAttributeView}, identified by the name "{@code basic}" will
160 * @param name
161 * the {@link FileAttributeView#name name} of file attribute view
166 public abstract boolean supportsFileAttributeView(String name); argument
[all...]
H A DStandardWatchEventKinds.java84 private final String name; field in class:StandardWatchEventKinds.StdWatchEventKind
86 StdWatchEventKind(String name, Class<T> type) { argument
87 this.name = name;
90 @Override public String name() { return name; } method in class:StandardWatchEventKinds.StdWatchEventKind
92 @Override public String toString() { return name; }
H A DWatchEvent.java57 * Returns the name of the event kind.
59 * @return the name of the event kind
61 String name(); method in interface:WatchEvent.Kind
83 * Returns the name of the modifier.
85 * @return the name of the modifier
87 String name(); method in interface:WatchEvent.Modifier
/libcore/ojluni/src/main/java/java/nio/file/attribute/
H A DBasicFileAttributeView.java103 * Returns the name of the attribute view. Attribute views of this type
104 * have the name {@code "basic"}.
107 String name(); method in interface:BasicFileAttributeView
H A DDosFileAttributeView.java87 * Returns the name of the attribute view. Attribute views of this type
88 * have the name {@code "dos"}.
91 String name(); method in interface:DosFileAttributeView

Completed in 684 milliseconds

1234567891011>>