Searched refs:id (Results 1 - 25 of 52) sorted by relevance

123

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DIdentityScope2Test.java98 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/main/java/libcore/icu/
H A DTransliterator.java26 * Creates a new Transliterator for the given id.
28 public Transliterator(String id) { argument
29 peer = create(id);
53 private static native long create(String id); argument
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/
H A DASN1Primitive.java45 return this.id == identifier;
49 out.encodeTag(id);
H A DASN1Implicit.java76 if (type.checkTag(type.id)) {
94 return id == identifier;
98 return id == identifier || constrId == identifier;
106 "[" + in.tagOffset + "]. Expected tag: " + Integer.toHexString(id) + ", " +
111 if (id == in.tag) {
112 in.tag = type.id;
129 out.encodeTag(id);
H A DASN1Type.java37 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) + ")";
H A DASN1Oid.java80 for (int id = 1, i = 0; id < oid.length; id++, i++) {
88 oid[id] = oidElement;
H A DASN1StringType.java81 return this.id == identifier || this.constrId == identifier;
103 out.encodeTag(id);
/libcore/luni/src/test/java/libcore/java/util/
H A DOldLinkedHashMapTest.java36 String id = (String) iterator.next();
37 map.get(id);
52 id = (String) iterator.next();
53 mapClone.get(id);
H A DTimeZoneTest.java28 // http://code.google.com/p/android/issues/detail?id=877
34 // http://code.google.com/p/android/issues/detail?id=8016
40 // http://code.google.com/p/android/issues/detail?id=11542
58 // http://code.google.com/p/android/issues/detail?id=14395
111 for (String id : ids) {
112 TimeZone tz = TimeZone.getTimeZone(id);
123 // http://code.google.com/p/android/issues/detail?id=16608
133 // http://code.google.com/p/android/issues/detail?id=11918
140 // http://code.google.com/p/android/issues/detail?id=24036
149 // http://b.corp.google.com/issue?id
[all...]
/libcore/luni/src/main/java/javax/xml/datatype/
H A DDatatypeConstants.java167 * <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/tests/support/
H A DDatabaseCreator.java63 + " (id INTEGER NOT NULL," + " field1 CHAR(100) DEFAULT NULL,"
66 + " PRIMARY KEY (id) FOREIGN KEY (fkey) REFERENCES "
101 + PARENT_TABLE + "(id INTEGER NOT NULL, "
102 + "name CHAR(200), PRIMARY KEY(id))";
105 + FKSTRICT_TABLE + "(id INTEGER NOT NULL," + "name_id INTEGER,"
106 + "value CHAR(200), PRIMARY KEY(id), "
108 + PARENT_TABLE + " (id) " + "ON DELETE RESTRICT "
112 + FKCASCADE_TABLE + "(id INTEGER NOT NULL," + "name_id INTEGER,"
113 + "value CHAR(200), PRIMARY KEY(id), "
115 + PARENT_TABLE + " (id) "
[all...]
/libcore/luni/src/test/java/tests/java/sql/
H A DMultiThreadAccessTest.java161 + " 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 DSelectFunctionalityTest.java136 int id = result.getInt("finteger");
138 DatabaseCreator.defaultString + id, result
141 DatabaseCreator.defaultCharacter + id, result
146 // .valueOf(id + 0.1), result.getBigDecimal("fdecimal"));
148 // .valueOf(id + 0.1), result.getBigDecimal("fnumeric"));
149 // assertEquals("expected value doesn't equal actual", id, result
152 .valueOf(id + 0.1).floatValue(), result.getFloat("ffloat"));
154 .valueOf(id + 0.1).doubleValue(), result.getDouble("freal"));
156 .valueOf(id + 0.1).doubleValue(), result
199 int id
[all...]
/libcore/luni/src/main/java/java/util/
H A DTimeZone.java85 private static TimeZone getCustomTimeZone(String id) { argument
86 Matcher m = CUSTOM_ZONE_ID_PATTERN.matcher(id);
106 char sign = id.charAt(3);
373 * Returns a {@code TimeZone} corresponding to the given {@code id}, or {@code GMT}
391 public static synchronized TimeZone getTimeZone(String id) { argument
392 if (id == null) {
393 throw new NullPointerException("id == null");
397 if (id.length() == 3) {
398 if (id.equals("GMT")) {
401 if (id
459 setID(String id) argument
[all...]
/libcore/luni/src/main/native/
H A Dlibcore_icu_TimeZoneNames.cpp33 static bool isUtc(const icu::UnicodeString& id) { argument
44 return id == kEtcUct || id == kEtcUtc || id == kEtcUniversal || id == kEtcZulu ||
45 id == kUct || id == kUtc || id == kUniversal || id == kZulu;
H A Dlibcore_icu_Transliterator.cpp31 ScopedJavaUnicodeString id(env, javaId);
32 if (!id.valid()) {
36 icu::Transliterator* t = icu::Transliterator::createInstance(id.unicodeString(), UTRANS_FORWARD, status);
/libcore/dalvik/src/main/java/dalvik/system/profiler/
H A DBinaryHprofWriter.java33 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/dom/src/test/java/org/w3c/domts/
H A DDOMErrorMonitor.java57 public void assertLowerSeverity(DOMTestCase testCase, String id, int severity) { argument
62 testCase.fail(id + error.getMessage());
/libcore/luni/src/test/java/libcore/icu/
H A DTransliteratorTest.java21 for (String id : Transliterator.getAvailableIDs()) {
22 System.err.println(id);
23 Transliterator t = new Transliterator(id);
H A DTimeZoneNamesTest.java31 for (String id : ids) {
32 assertTrue(allIds.contains(id));
/libcore/luni/src/main/java/libcore/util/
H A DZoneInfoDB.java79 protected ZoneInfo create(String id) {
81 int index = Arrays.binarySearch(ids, id);
89 return ZoneInfo.makeTimeZone(id, it);
160 // The database reserves 40 bytes for each id.
247 public ZoneInfo makeTimeZone(String id) throws IOException { argument
248 ZoneInfo zoneInfo = cache.get(id);
253 public boolean hasTimeZone(String id) throws IOException { argument
254 return cache.get(id) != null;
/libcore/luni/src/test/resources/
H A Dblob.c2 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldAndroidMonitorTest.java314 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/tzdata/update_test_app/src/libcore/tzdata/update_test_app/installupdatetestapp/
H A DMainActivity.java61 Button triggerInstallButton = (Button) findViewById(R.id.trigger_install_button);
64 actionEditText = (EditText) findViewById(R.id.action);
65 versionEditText = (EditText) findViewById(R.id.version);
66 contentPathEditText = (EditText) findViewById(R.id.content_path);
67 requiredHashEditText = (EditText) findViewById(R.id.required_hash);
68 logView = (TextView) findViewById(R.id.log);
/libcore/luni/src/main/java/java/text/
H A DDateFormatSymbols.java327 String id = zone[0];
329 zone[1] = TimeZone.getTimeZone(id).getDisplayName(false, TimeZone.LONG, locale);
332 zone[2] = TimeZone.getTimeZone(id).getDisplayName(false, TimeZone.SHORT, locale);
335 zone[3] = TimeZone.getTimeZone(id).getDisplayName(true, TimeZone.LONG, locale);
338 zone[4] = TimeZone.getTimeZone(id).getDisplayName(true, TimeZone.SHORT, locale);

Completed in 641 milliseconds

123