/libcore/luni/src/main/java/java/util/spi/ |
H A D | TimeZoneNameProvider.java | 40 * @param id the time zone id
46 * if {@code id == null || locale == null}
50 public abstract String getDisplayName(String id, boolean daylight, int style, Locale locale);
argument
|
/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | DOMErrorMonitor.java | 57 public void assertLowerSeverity(DOMTestCase testCase, String id, int severity) { argument 62 testCase.fail(id + error.getMessage());
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
H A D | SSLServerSessionCache.java | 38 * @param id from {@link javax.net.ssl.SSLSession#getId()} 40 * @throws NullPointerException if id is null 42 public byte[] getSessionData(byte[] id); argument
|
H A D | OpenSSLEngine.java | 41 throw new IllegalArgumentException("Unknown ENGINE id: " + engine); 59 public PrivateKey getPrivateKeyById(String id) throws InvalidKeyException { argument 60 if (id == null) { 61 throw new NullPointerException("id == null"); 64 final int keyRef = NativeCrypto.ENGINE_load_private_key(ctx, id); 72 return OpenSSLRSAPrivateKey.getInstance(new OpenSSLKey(keyRef, this, id)); 74 return new OpenSSLDSAPrivateKey(new OpenSSLKey(keyRef, this, id));
|
H A D | OpenSSLSessionImpl.java | 53 private byte[] id; field in class:OpenSSLSessionImpl 97 if (id == null) { 100 return id; 104 * Reset the id field to the current value found in the native 109 * therefore have computed no id based on the SHA of the ticket. 112 id = NativeCrypto.SSL_SESSION_session_id(sslSessionNativePointer);
|
H A D | SSLSessionImpl.java | 43 byte[] id; field in class:SSLSessionImpl 62 id = EmptyArray.BYTE; 67 id = new byte[32]; 68 secureRandom.nextBytes(id); 70 id[28] = (byte) ((time & 0xFF000000) >>> 24); 71 id[29] = (byte) ((time & 0x00FF0000) >>> 16); 72 id[30] = (byte) ((time & 0x0000FF00) >>> 8); 73 id[31] = (byte) ((time & 0x000000FF)); 96 return id;
|
H A D | NativeCrypto.java | 55 public static native int ENGINE_by_id(String id); argument
|
/libcore/luni/src/main/java/libcore/util/ |
H A D | ZoneInfoDB.java | 117 * we can binary search by id when we need time zone data. 138 // The database reserves 40 bytes for each id. 183 public static TimeZone makeTimeZone(String id) throws IOException { argument 185 int index = Arrays.binarySearch(ids, id); 229 return new ZoneInfo(id, transitions, type, gmtOffsets, isDsts);
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
H A D | ASN1Type.java | 37 public final int id; field in class:ASN1Type 73 this.id = tagClass + tagNumber; 78 this.constrId = this.id + PC_CONSTRUCTED; 168 return getClass().getName() + "(tag: 0x" + Integer.toHexString(0xff & this.id) + ")";
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
H A D | BinaryHprofWriter.java | 33 private int nextStringId = 1; // id 0 => null 144 private void writeId(int id) throws IOException { argument 145 out.writeInt(id); 164 int id = nextStringId++; 165 stringToId.put(string, id); 171 out.writeInt(id); 174 return id; 214 int id = nextClassId++; 215 classNameToId.put(className, id); 221 out.writeInt(id); [all...] |
/libcore/luni/src/main/java/libcore/icu/ |
H A D | TimeZones.java | 108 public static String getDisplayName(String[][] zoneStrings, String id, boolean daylight, int style) { argument 109 String[] needle = new String[] { id };
|
/libcore/luni/src/main/native/ |
H A D | libcore_icu_TimeZones.cpp | 52 const UnicodeString* id = ids->snext(status); local 56 ScopedLocalRef<jstring> idString(env, env->NewString(id->getBuffer(), id->length())); 79 static bool isUtc(const UnicodeString& id) { argument 90 return id == etcUct || id == etcUtc || id == etcUniversal || id == etcZulu || 91 id == uct || id [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldAndroidMonitorTest.java | 314 int id; field in class:OldAndroidMonitorTest.Worker 316 Worker(int id, Object lock) { argument 317 super("Worker(" + id + ")"); 318 this.id = id; 326 OldAndroidMonitorTest.deepWait(id, lock);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | IdentityScope2Test.java | 98 public void addIdentity(Identity id) throws KeyManagementException { argument 99 if (identities.containsKey(id)) 102 if (getIdentity(id.getPublicKey()) != null) 105 identities.put(id, id); 108 public void removeIdentity(Identity id) throws KeyManagementException { argument 109 if (!identities.containsKey(id)) 112 identities.remove(id); 185 Identity id = new IdentitySubclass("id1"); 186 id [all...] |
/libcore/luni/src/test/java/tests/java/sql/ |
H A D | MultiThreadAccessTest.java | 161 + " WHERE id="; 202 int id = 1; 206 + " WHERE id=" + id; 210 assertTrue("There is no records with id = " + id, result.next()); 212 // assertEquals("Wrong value of field " + field, BigDecimal.valueOf(id), 217 threadPool.runTask(createTask7(id, field)); 222 double expectedVal = id + numThreads; 224 assertTrue("There is no records with id 349 createTask4(final int id) argument 369 createTask5(final int id) argument 418 createTask7(final int id, final String field) argument [all...] |
H A D | DatabaseMetaDataTest.java | 59 private static int id = 1; field in class:DatabaseMetaDataTest 171 + " (id, field1) VALUES( 1234567, 'test1');"); 175 result.updateInt("id", 1234567); 339 String[] fields = {"id", "field1", "field2", "field3", "fkey"}; 849 assertEquals("Incorrect column name", "id", rs.getString("COLUMN_NAME") 1490 + " ORDER BY id + field3"; 1591 statementForward.execute("create table companies(id integer not null);"); 1615 + DatabaseCreator.TEST_TABLE1 + " ORDER BY id + field3"; 1820 + " (id, field1, field2, field3) VALUES(" + id [all...] |
H A D | DatabaseMetaDataNotSupportedTest.java | 54 private static int id = 1; field in class:DatabaseMetaDataNotSupportedTest 286 assertEquals("Incorrect column name", "id", rs.getString("COLUMN_NAME")); 300 DatabaseCreator.TEST_TABLE1, "id"); 305 String query = "GRANT REFERENCES(id) ON " + DatabaseCreator.TEST_TABLE1 310 DatabaseCreator.TEST_TABLE1, "id"); 328 assertEquals("Incorrect column name", "id", rs.getString("COLUMN_NAME") 337 query = "REVOKE REFERENCES(id) ON " + DatabaseCreator.TEST_TABLE1 570 + " SET field1='fffff' WHERE id=1";
|
/libcore/luni/src/main/java/java/net/ |
H A D | Socks4Message.java | 108 * Returns the user id for authentication. 115 * Set the user id for authentication. 117 public void setUserId(String id) { argument 118 setString(INDEX_USER_ID, MAX_USER_ID_LENGTH, id); 139 * searches for the end of the user id, then searches for the end of the 145 // Look for the end of the user id. 148 * Finds the end of the user id by searching for the null 149 * termination of the user id string.
|
/libcore/luni/src/main/java/java/util/ |
H A D | TimeZone.java | 285 * Returns a {@code TimeZone} corresponding to the given {@code id}, or {@code GMT} 303 public static synchronized TimeZone getTimeZone(String id) { argument 304 if (id == null) { 305 throw new NullPointerException("id == null"); 310 if (id.length() == 3) { 311 if (id.equals("GMT")) { 314 if (id.equals("UTC")) { 322 zone = ZoneInfoDB.makeTimeZone(id); 327 if (zone == null && id.length() > 3 && id 338 getCustomTimeZone(String id) argument 406 setID(String id) argument [all...] |
/libcore/luni/src/main/java/javax/xml/datatype/ |
H A D | DatatypeConstants.java | 167 * <p>Unique id of the field.</p> 172 private final int id; field in class:DatatypeConstants.Field 177 * @param id <code>int</code> representation of <code>Field</code> 179 private Field(final String str, final int id) { argument 181 this.id = id; 194 * <p>Get id of this Field.</p> 199 return id;
|
/libcore/luni/src/test/java/libcore/xml/ |
H A D | XsltXPathConformanceTestSuite.java | 189 * <test-case category="XSLT-Result-Tree" id="attribset_attribset01"> 209 String id = testCaseElement.getAttribute("id"); 210 String name = category + "." + id; 263 return new XsltTest(category, id, purpose, spec, principalData, 312 private final String id; field in class:XsltXPathConformanceTestSuite.XsltTest 329 XsltTest(String category, String id, String purpose, String spec, argument 334 this.id = id; 404 return category + "." + id; [all...] |
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
H A D | mySSLSession.java | 31 public mySSLSession(String host, int port, byte[] id) { argument 36 idData = id;
|
/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | VMDebug.java | 347 public static native void infopoint(int id); argument
|
/libcore/luni/src/main/java/java/lang/ |
H A D | Thread.java | 147 private long id; field in class:Thread 363 id = ++Thread.count; 367 this.name = "Thread-" + id; 416 id = ++Thread.count; 420 this.name = "Thread-" + id; 565 return id;
|
/libcore/luni/src/test/java/libcore/sqlite/ |
H A D | OldDatabaseTest.java | 223 db.exec("create table TEST5(id integer, firstname text, lastname text);", null); 289 + " set speed = 7, size= 5 where id = 2;", null); 579 db.exec("create table TEST(id integer, firstname text, lastname text)", null); 967 db.exec("create table TEST5(id integer, firstname text, lastname text)",null); 970 + "delete from TEST5 where id = 3; " 991 + "delete from TEST5 where id = 3; " 1112 private static Runnable createTask2Interrupt(final int id, argument 1118 String value = DatabaseCreator.defaultString + id; 1123 + " (id, field1, field2, field3) VALUES(" + id 1143 createTask1(final int id, final String dbName, final ErrorTracker errorTracker) argument 1162 createTask2(final int id, final String dbName, final ErrorTracker errorTracker) argument [all...] |