/libcore/luni/src/test/java/libcore/java/util/logging/ |
H A D | OldLogManagerTest.java | 84 * 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 D | OldLoggerTest.java | 107 * 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 D | HttpURLConnectionTest.java | 51 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 D | IdentityScope2Test.java | 45 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 D | Provider2Test.java | 28 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 D | DOMTestCase.java | 103 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 D | PropertyChangeSupport.java | 41 * 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 D | FileInputStream.java | 78 * 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 D | MethodHandleInfo.java | 37 * <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 D | Parameter.java | 38 * 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 D | NetworkInterface.java | 49 * 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 D | PlainSocketImpl.java | 78 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 D | URLClassLoader.java | 222 * @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 D | AsynchronousSocketChannel.java | 218 public abstract <T> AsynchronousSocketChannel setOption(SocketOption<T> name, T value) argument
|
H A D | Channels.java | 66 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 D | DatagramChannel.java | 226 public abstract <T> DatagramChannel setOption(SocketOption<T> name, T value) argument
|
H A D | FileChannel.java | 121 * <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 D | SocketChannel.java | 250 public abstract <T> SocketChannel setOption(SocketOption<T> name, T value) argument
|
/libcore/ojluni/src/main/java/java/security/ |
H A D | Identity.java | 38 * <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 D | X509CRLSelector.java | 95 * 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 D | ChronoUnit.java | 41 * * 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 D | IsoFields.java | 41 * * 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 D | JulianFields.java | 46 * * 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 D | Timer.java | 150 * 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 D | ZipInputStream.java | 91 * 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);
|