Searched defs:name (Results 251 - 275 of 502) sorted by relevance

<<11121314151617181920>>

/libcore/luni/src/test/java/libcore/java/util/logging/
H A DOldLogManagerTest.java84 * test for method public Logger getLogger(String name)
88 * case 3: test bad name
110 // case 3: test bad name
111 assertNull("LogManager should not have logger with unforeseen name", mockManager
112 .getLogger("bad name"));
118 String name = enumar.nextElement();
120 assertEquals("name logger should be equal to foreseen name", FOO, name);
126 * test for method public Logger getLogger(String name)
216 MockLogger(String name, String rbName) argument
[all...]
H A DOldLoggerTest.java107 * Test constructor with empty name.
214 public MockLogger(String name, String resourceBundleName) { argument
215 super(name, resourceBundleName);
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
H A DHttpURLConnectionTest.java51 public MockServer(String name) throws IOException { argument
52 super(name);
84 public MockProxyServer(String name) throws Exception { argument
85 super(name);
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DIdentityScope2Test.java45 public IdentityScopeSubclass(String name, PublicKey pk) { argument
46 super(name);
59 public IdentityScopeSubclass(String name) { argument
60 super(name);
64 public IdentityScopeSubclass(String name, IdentityScope scope) argument
66 super(name, scope);
74 public Identity getIdentity(String name) { argument
78 if (current.getName().equals(name))
147 String[] str = {"test", "", "!@#$%^&*()", "identity name"};
233 Identity id = new IdentitySubclass("principal name");
[all...]
H A DProvider2Test.java28 TestProvider(String name, double version, String info) { argument
29 super(name, version, info);
81 assertEquals("the name of the provider is not stored properly",
157 public MockProvider(String name, double version, String info) { argument
158 super(name, version, info);
/libcore/luni/src/test/java/tests/org/w3c/dom/
H A DDOMTestCase.java103 String host, String file, String name, String query,
164 if (file != null || name != null) {
174 if (name != null) {
180 assertEquals(assertID, name, actualName);
102 assertURIEquals(String assertID, String scheme, String path, String host, String file, String name, String query, String fragment, Boolean isAbsolute, String actual) argument
/libcore/ojluni/src/main/java/java/beans/
H A DPropertyChangeSupport.java41 * or for a property specified by name.
192 * @param propertyName The name of the property to listen on.
217 * @param propertyName The name of the property that was listened on.
236 * @param propertyName The name of the property being listened to
250 * all properties or a property with the specified name.
257 * @param propertyName the programmatic name of the property that was changed
270 * all properties or a property with the specified name.
277 * @param propertyName the programmatic name of the property that was changed
290 * all properties or a property with the specified name.
297 * @param propertyName the programmatic name o
533 newProxy(String name, PropertyChangeListener listener) argument
[all...]
/libcore/ojluni/src/main/java/java/io/
H A DFileInputStream.java78 * the file named by the path name <code>name</code>
85 * is called with the <code>name</code> argument
92 * @param name the system-dependent file name.
102 public FileInputStream(String name) throws FileNotFoundException { argument
103 this(name != null ? new File(name) : null);
134 String name = (file != null ? file.getPath() : null);
137 security.checkRead(name);
192 open0(String name) argument
199 open(String name) argument
[all...]
/libcore/ojluni/src/main/java/java/lang/invoke/
H A DMethodHandleInfo.java37 * <h1><a name="directmh"></a>Direct Method Handles</h1>
49 * A symbolic reference consists of a class, name string, and type.
79 * <h1><a name="refkinds"></a>Reference kinds</h1>
84 * <tr><th>reference kind</th><th>descriptive name</th><th>scope</th><th>member</th><th>behavior</th></tr>
157 * Returns the name of the cracked method handle's underlying member.
159 * else it is a simple method name or field name.
160 * @return the simple name of the underlying member
183 // NOTE: class/name/type and reference kind constitute a symbolic reference
238 * Returns the descriptive name o
282 toString(int kind, Class<?> defc, String name, MethodType type) argument
[all...]
/libcore/ojluni/src/main/java/java/lang/reflect/
H A DParameter.java38 * including its name and modifiers. It also provides an alternate
45 private final String name; field in class:Parameter
58 * @param name The name of the parameter.
63 Parameter(String name, argument
67 this.name = name;
100 * Returns true if the parameter has a name; returns false otherwise.
101 * Whether a parameter has a name is determined by compiler options
104 * @return true if and only if the parameter has a name
[all...]
/libcore/ojluni/src/main/java/java/net/
H A DNetworkInterface.java49 * This class represents a Network Interface made up of a name,
59 private String name; field in class:NetworkInterface
81 * Returns an NetworkInterface object with index set to 0 and name to null.
89 NetworkInterface(String name, int index, InetAddress[] addrs) { argument
90 this.name = name;
96 * Get the name of this network interface.
98 * @return the name of this network interface
101 return name;
224 * and interfaces with the same name ca
265 getByName(String name) argument
[all...]
H A DPlainSocketImpl.java78 protected <T> void setOption(SocketOption<T> name, T value) throws IOException { argument
79 if (!name.equals(ExtendedSocketOptions.SO_FLOW_SLA)) {
80 super.setOption(name, value);
85 checkSetOptionPermission(name);
91 protected <T> T getOption(SocketOption<T> name) throws IOException { argument
92 if (!name.equals(ExtendedSocketOptions.SO_FLOW_SLA)) {
93 return super.getOption(name);
98 checkGetOptionPermission(name);
H A DURLClassLoader.java222 * @param name
223 * The resource name
230 public InputStream getResourceAsStream(String name) { argument
231 URL url = getResource(name);
345 * Finds and loads the class with the specified name from the URL search
349 * @param name the name of the class
353 * @exception NullPointerException if {@code name} is {@code null}.
355 protected Class<?> findClass(final String name) argument
363 String path = name
442 defineClass(String name, Resource res) argument
483 definePackage(String name, Manifest man, URL url) argument
537 isSealed(String name, Manifest man) argument
559 findResource(final String name) argument
582 findResources(final String name) argument
799 loadClass(String name, boolean resolve) argument
[all...]
/libcore/ojluni/src/main/java/java/nio/channels/
H A DAsynchronousSocketChannel.java218 public abstract <T> AsynchronousSocketChannel setOption(SocketOption<T> name, T value) argument
H A DChannels.java66 private static void checkNotNull(Object o, String name) { argument
68 throw new NullPointerException("\"" + name + "\" is null!");
527 * The name of the charset to be used
596 * The name of the charset to be used
H A DDatagramChannel.java226 public abstract <T> DatagramChannel setOption(SocketOption<T> name, T value) argument
H A DFileChannel.java121 * <a name="open-mode"></a> <p> At various points this class specifies that an
134 * <a name="append-mode"></a><p> A file channel that is open for writing may be in
810 private final String name; field in class:FileChannel.MapMode
812 private MapMode(String name) { argument
813 this.name = name;
822 return name;
H A DSocketChannel.java250 public abstract <T> SocketChannel setOption(SocketOption<T> name, T value) argument
/libcore/ojluni/src/main/java/java/security/
H A DIdentity.java38 * <p>All Identity objects have a name and a public key. Names are
40 * specified to have a particular scope, then the name and public
67 * The name for this identity.
71 private String name; field in class:Identity
109 * Constructs an identity with the specified name and scope.
111 * @param name the identity name.
115 * with the same name in the scope.
117 public Identity(String name, IdentityScope scope) throws argument
119 this(name);
131 Identity(String name) argument
[all...]
/libcore/ojluni/src/main/java/java/security/cert/
H A DX509CRLSelector.java95 * Sets the issuerNames criterion. The issuer distinguished name in the
97 * distinguished names. If {@code null}, any issuer distinguished name
140 * Sets the issuerNames criterion. The issuer distinguished name in the
142 * distinguished names. If {@code null}, any issuer distinguished name
151 * {@code Collection} of names. Each name is a {@code String}
152 * or a byte array representing a distinguished name (in
162 * If a name is specified as a byte array, it should contain a single DER
163 * encoded distinguished name, as defined in X.501. The ASN.1 notation for
210 * Adds a name to the issuerNames criterion. The issuer distinguished
211 * name i
246 addIssuerName(String name) argument
274 addIssuerName(byte[] name) argument
289 addIssuerNameInternal(Object name, X500Principal principal) argument
[all...]
/libcore/ojluni/src/main/java/java/time/temporal/
H A DChronoUnit.java41 * * Neither the name of JSR-310 nor the names of its contributors
192 private final String name; field in class:ChronoUnit
195 private ChronoUnit(String name, Duration estimatedDuration) { argument
196 this.name = name;
278 return name;
H A DIsoFields.java41 * * Neither the name of JSR-310 nor the names of its contributors
421 // Android-changed: Use ICU name values.
655 private final String name; field in class:IsoFields.Unit
658 private Unit(String name, Duration estimatedDuration) { argument
659 this.name = name;
722 return name;
H A DJulianFields.java46 * * Neither the name of JSR-310 nor the names of its contributors
103 * The field has "JulianDay" as 'name', and 'DAYS' as 'baseUnit'.
221 private final transient String name; field in class:JulianFields.Field
227 private Field(String name, TemporalUnit baseUnit, TemporalUnit rangeUnit, long offset) { argument
228 this.name = name;
284 throw new DateTimeException("Invalid value: " + name + " " + newValue);
305 return name;
/libcore/ojluni/src/main/java/java/util/
H A DTimer.java150 * Creates a new timer whose associated thread has the specified name.
154 * @param name the name of the associated thread
155 * @throws NullPointerException if {@code name} is null
158 public Timer(String name) { argument
159 thread.setName(name);
164 * Creates a new timer whose associated thread has the specified name,
168 * @param name the name of the associated thread
170 * @throws NullPointerException if {@code name} i
173 Timer(String name, boolean isDaemon) argument
[all...]
/libcore/ojluni/src/main/java/java/util/zip/
H A DZipInputStream.java91 * used to decode the ZIP entry name (ignored if the
298 // get the entry name and create the ZipEntry first
341 * entry name.
343 * @param name the ZIP file entry name
346 protected ZipEntry createZipEntry(String name) { argument
347 return new ZipEntry(name);

Completed in 1567 milliseconds

<<11121314151617181920>>