Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 70) sorted by relevance

123

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DIdentityScope2Test.java103 public void addIdentity(Identity id) throws KeyManagementException { in addIdentity() argument
104 if (identities.containsKey(id)) in addIdentity()
107 if (getIdentity(id.getPublicKey()) != null) in addIdentity()
110 identities.put(id, id); in addIdentity()
113 public void removeIdentity(Identity id) throws KeyManagementException { in removeIdentity() argument
114 if (!identities.containsKey(id)) in removeIdentity()
117 identities.remove(id); in removeIdentity()
214 Identity id = new IdentitySubclass("id1"); in test_addIdentityLjava_security_Identity() local
215 id.setPublicKey(pubKey); in test_addIdentityLjava_security_Identity()
216 sub.addIdentity(id); in test_addIdentityLjava_security_Identity()
[all …]
/libcore/luni/src/test/java/tests/support/
DDatabaseCreator.java341 for (int id = 0; id < numberOfRecords; id++) { in fillTestTable1()
342 String value = DatabaseCreator.defaultString + id; in fillTestTable1()
344 + " (id, field1, field2, field3) VALUES(" + id + ", '" in fillTestTable1()
345 + value + "', " + id + ", " + id + ")"; in fillTestTable1()
353 for (int id = startID; id <= endID; id++) { in fillTestTable2()
354 double value = id + DatabaseCreator.defaultDouble; in fillTestTable2()
358 + " VALUES (" + id + ", '" + DatabaseCreator.defaultString in fillTestTable2()
359 + id + "'," + " '" + DatabaseCreator.defaultCharacter + id in fillTestTable2()
371 for (int id = 0; id < numberOfRecords; id++) { in fillTestTable2()
372 double value = id + DatabaseCreator.defaultDouble; in fillTestTable2()
[all …]
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/
DASN1Implicit.java86 if (type.checkTag(type.id)) { in ASN1Implicit()
113 return id == identifier; in checkTag()
117 return id == identifier || constrId == identifier; in checkTag()
128 "[" + in.tagOffset + "]. Expected tag: " + Integer.toHexString(id) + ", " + in decode()
133 if (id == in.tag) { in decode()
134 in.tag = type.id; in decode()
157 out.encodeTag(id); in encodeASN()
DASN1Primitive.java47 return this.id == identifier; in checkTag()
54 out.encodeTag(id); in encodeASN()
DASN1Type.java40 public final int id; field in ASN1Type
79 this.id = tagClass + tagNumber; in ASN1Type()
84 this.constrId = this.id + PC_CONSTRUCTED; in ASN1Type()
208 + Integer.toHexString(0xff & this.id) + ")"; in toString()
DASN1Oid.java88 for (int id = 1, i = 0; id < oid.length; id++, i++) { in getDecodedObject()
96 oid[id] = oidElement; in getDecodedObject()
/libcore/luni/src/test/java/tests/java/sql/
DMultiThreadAccessTest.java232 int id = 1; in test_MultipleUpdatesInOneTables() local
236 + " WHERE id=" + id; in test_MultipleUpdatesInOneTables()
240 assertTrue("There is no records with id = " + id, result.next()); in test_MultipleUpdatesInOneTables()
247 threadPool.runTask(createTask7(id, field)); in test_MultipleUpdatesInOneTables()
252 double expectedVal = id + numThreads; in test_MultipleUpdatesInOneTables()
254 assertTrue("There is no records with id = " + id, result.next()); in test_MultipleUpdatesInOneTables()
310 int id = result.getInt("finteger");
312 DatabaseCreator.defaultString + id, result
315 DatabaseCreator.defaultCharacter + id,
318 DatabaseCreator.defaultDouble + id, result
[all …]
DSelectFunctionalityTest.java147 int id = result.getInt("finteger"); in test_SelectSimple() local
149 DatabaseCreator.defaultString + id, result in test_SelectSimple()
152 DatabaseCreator.defaultCharacter + id, result in test_SelectSimple()
163 .valueOf(id + 0.1).floatValue(), result.getFloat("ffloat")); in test_SelectSimple()
165 .valueOf(id + 0.1).doubleValue(), result.getDouble("freal")); in test_SelectSimple()
167 .valueOf(id + 0.1).doubleValue(), result in test_SelectSimple()
216 int id = result.getInt("finteger"); in test_SelectPrepared() local
218 DatabaseCreator.defaultString + id, result in test_SelectPrepared()
221 DatabaseCreator.defaultCharacter + id, result in test_SelectPrepared()
228 assertEquals("expected value doesn't equal actual", id, result in test_SelectPrepared()
[all …]
/libcore/luni/src/main/java/java/util/
DTimeZone.java281 public static synchronized TimeZone getTimeZone(String id) { in getTimeZone() argument
282 TimeZone zone = ZoneInfoDB.getTimeZone(id); in getTimeZone()
286 if (zone == null && id.length() > 3 && id.startsWith("GMT")) { in getTimeZone()
287 zone = getCustomTimeZone(id); in getTimeZone()
298 private static TimeZone getCustomTimeZone(String id) { in getCustomTimeZone() argument
299 char sign = id.charAt(3); in getCustomTimeZone()
304 String formattedName = formatTimeZoneName(id, 4); in getCustomTimeZone()
406 public void setID(String id) { in setID() argument
407 if (id == null) { in setID()
410 ID = id; in setID()
/libcore/luni/src/main/java/javax/xml/datatype/
DDatatypeConstants.java172 private final int id; field in DatatypeConstants.Field
179 private Field(final String str, final int id) { in Field() argument
181 this.id = id; in Field()
199 return id; in getId()
/libcore/luni/src/main/java/org/apache/harmony/security/x501/
DAttributes.java55 ASN1OpenType.Id id = new ASN1OpenType.Id(); in getASN1() local
56 ASN1OpenType any = new ASN1OpenType(id, set); in getASN1()
58 return new ASN1Sequence(new ASN1Type[] { id, new ASN1SetOf(any) }); in getASN1()
/libcore/luni/src/main/java/libcore/icu/
DTimeZones.java35 public static String getDisplayName(String id, boolean daylight, int style, Locale locale) { in getDisplayName() argument
39 String result = lookupDisplayName(CachedTimeZones.names, id, daylight, style); in getDisplayName()
44 return getDisplayNameImpl(id, daylight, style, locale.toString()); in getDisplayName()
47 …public static String lookupDisplayName(String[][] zoneStrings, String id, boolean daylight, int st… in lookupDisplayName() argument
49 if (row[0].equals(id)) { in lookupDisplayName()
166 …private static native String getDisplayNameImpl(String id, boolean isDST, int style, String locale… in getDisplayNameImpl() argument
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
DSSLSessionImpl.java103 byte[] id; field in SSLSessionImpl
178 id = new byte[0]; in SSLSessionImpl()
183 id = new byte[32]; in SSLSessionImpl()
184 sr.nextBytes(id); in SSLSessionImpl()
186 id[28] = (byte) ((time & 0xFF000000) >>> 24); in SSLSessionImpl()
187 id[29] = (byte) ((time & 0x00FF0000) >>> 16); in SSLSessionImpl()
188 id[30] = (byte) ((time & 0x0000FF00) >>> 8); in SSLSessionImpl()
189 id[31] = (byte) ((time & 0x000000FF)); in SSLSessionImpl()
217 return id; in getId()
DAbstractSessionContext.java101 byte[] id = next.getId(); in getIds()
103 return id; in getIds()
273 byte[] id = session.getId(); in putSession()
274 if (id.length == 0) { in putSession()
277 ByteArray key = new ByteArray(id); in putSession()
DSSLServerSessionCache.java42 public byte[] getSessionData(byte[] id); in getSessionData() argument
/libcore/luni/src/main/java/java/lang/
DProcessManager.java249 final int id; field in ProcessManager.ProcessImpl
263 ProcessImpl(int id, FileDescriptor in, FileDescriptor out, in ProcessImpl() argument
265 this.id = id; in ProcessImpl()
274 kill(this.id); in destroy()
277 "Failed to destroy process " + id + ".", e); in destroy()
322 return "Process[id=" + id + "]"; in toString()
333 this.processId = referent.id; in ProcessReference()
/libcore/luni/src/main/java/org/apache/xml/dtm/ref/sax2dtm/
DSAX2RTFDTM.java182 for (int id=makeNodeIdentity(nodeHandle); id!=NULL; id=_parent(id)) { in getDocumentRoot()
183 if (_type(id)==DTM.DOCUMENT_NODE) { in getDocumentRoot()
184 return makeNodeHandle(id); in getDocumentRoot()
/libcore/dom/src/test/java/org/w3c/domts/
DDOMErrorMonitor.java57 public void assertLowerSeverity(DOMTestCase testCase, String id, int severity) { in assertLowerSeverity() argument
62 testCase.fail(id + error.getMessage()); in assertLowerSeverity()
/libcore/luni/src/main/java/org/apache/harmony/luni/internal/util/
DZoneInfoDB.java185 private static TimeZone makeTimeZone(String id) throws IOException { in makeTimeZone() argument
187 int index = Arrays.binarySearch(ids, id); in makeTimeZone()
232 return new ZoneInfo(id, transitions, type, gmtOffsets, isDsts, in makeTimeZone()
266 public static TimeZone getTimeZone(String id) { in getTimeZone() argument
267 if (id == null) { in getTimeZone()
271 return makeTimeZone(id); in getTimeZone()
/libcore/luni/src/main/native/
DTimeZones.cpp61 const UnicodeString* id = ids->snext(status); in TimeZones_forCountryCode() local
66 ScopedLocalRef<jstring> idString(env, env->NewString(id->getBuffer(), id->length())); in TimeZones_forCountryCode()
106 …ScopedLocalRef<jstring> id(env, reinterpret_cast<jstring>(env->GetObjectArrayElement(zoneIds, i))); in TimeZones_getZoneStringsImpl() local
107 UniquePtr<TimeZone> tz(timeZoneFromId(env, id.get())); in TimeZones_getZoneStringsImpl()
/libcore/luni/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DFileClientSessionCacheTest.java38 final int id = i; in testMaxSize() local
43 cache.putSessionData(new FakeSession(id + "." + i), in testMaxSize()
/libcore/expectations/
Dicebox.txt7 http://code.google.com/p/android/issues/detail?id=7395",
15 http://code.google.com/p/android/issues/detail?id=7395",
23 http://code.google.com/p/android/issues/detail?id=7395",
31 http://code.google.com/p/android/issues/detail?id=7395",
39 http://code.google.com/p/android/issues/detail?id=7395",
47 http://code.google.com/p/android/issues/detail?id=7395",
55 http://code.google.com/p/android/issues/detail?id=7395",
63 http://code.google.com/p/android/issues/detail?id=7395",
71 http://code.google.com/p/android/issues/detail?id=7395",
96 http://code.google.com/p/android/issues/detail?id=8592",
[all …]
/libcore/junit/src/test/java/junit/runner/
DVersion.java11 public static String id() { in id() method in Version
/libcore/luni/src/test/java/com/google/coretests/
DVersion.java27 public static String id() { in id() method in Version
/libcore/luni/src/main/java/java/util/spi/
DTimeZoneNameProvider.java50 public abstract String getDisplayName(String id, boolean daylight, int style, Locale locale); in getDisplayName() argument

123