/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
H A D | MyCertificateFactorySpi.java | 58 list.add("aa"); 59 list.add("bb");
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | ArrayBlockingQueueTest.java | 157 q.add(one); 159 q.add(two); 166 * remainingCapacity decreases on add, increases on remove 178 assertTrue(q.add(i)); 192 * add succeeds if not full; throws ISE if full 197 assertTrue(q.add(new Integer(i))); 201 q.add(new Integer(SIZE)); 545 q.add(one); 561 p.add(new Integer(i)); 620 q.add( [all...] |
H A D | ConcurrentSkipListSetTest.java | 50 assertTrue(q.add(new Integer(i))); 52 assertTrue(q.add(new Integer(i))); 64 q.add(one); 65 q.add(two); 66 q.add(three); 67 q.add(four); 68 q.add(five); 141 * isEmpty is true before add, false after 146 q.add(new Integer(1)); 148 q.add(ne [all...] |
H A D | TreeSetTest.java | 54 assertTrue(q.add(new Integer(i))); 56 assertTrue(q.add(new Integer(i))); 68 q.add(one); 69 q.add(two); 70 q.add(three); 71 q.add(four); 72 q.add(five); 145 * isEmpty is true before add, false after 150 q.add(new Integer(1)); 152 q.add(ne [all...] |
H A D | ConcurrentHashMap8Test.java | 83 * computeIfAbsent does not add if function returns null 171 assertTrue(a.add(i)); 181 assertTrue(a.add(elements[i])); 209 * keySet.add adds the key with the established value to the map; 216 set2.add(six); 255 * keySet.add will not add the element if it already exists in the set 259 assertFalse(full.add(one)); 264 * keySet.add adds the element when it does not exist in the set 268 assertTrue(full.add(thre [all...] |
H A D | ForkJoinPoolTest.java | 645 l.add(null); 661 l.add(latchAwaitingStringTask(latch)); 662 l.add(null); 678 l.add(new NPETask()); 695 l.add(new StringTask()); 696 l.add(new StringTask()); 734 l.add(new StringTask()); 735 l.add(null); 751 l.add(new NPETask()); 770 l.add(ne [all...] |
H A D | LinkedBlockingQueueTest.java | 146 q.add(one); 148 q.add(two); 155 * remainingCapacity decreases on add, increases on remove 167 assertTrue(q.add(i)); 181 * add succeeds if not full; throws IllegalStateException if full 186 assertTrue(q.add(new Integer(i))); 189 q.add(new Integer(SIZE)); 514 * An add following remove(x) succeeds 518 assertTrue(q.add(new Integer(1))); 519 assertTrue(q.add(ne [all...] |
H A D | PriorityQueueTest.java | 133 * isEmpty is true before add, false after 138 q.add(new Integer(1)); 140 q.add(new Integer(2)); 157 q.add(new Integer(i)); 173 * add(null) throws NPE 178 q.add(null); 205 * add of comparable succeeds 211 assertTrue(q.add(new Integer(i))); 362 q.add(new Integer(1)); 377 p.add(ne [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | NetworkInterfaceTest.java | 58 expected.add(Inet4Address.LOOPBACK); 59 expected.add(Inet6Address.getByAddress("localhost", new byte[] { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 }, null)); 155 allNames.add(nif.getName()); 158 allIndexes.add(nif.getIndex()); 217 expectedNiNames.add(split[1]); 226 Collections.list(nifs).forEach(ni -> actualNiNames.add(ni.getName()));
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | SimpleTimeZoneTest.java | 219 cal.add(Calendar.HOUR_OF_DAY, 1); 222 cal.add(Calendar.MILLISECOND, -1); 224 cal.add(Calendar.MILLISECOND, 1); 232 cal.add(Calendar.HOUR_OF_DAY, 1); 235 cal.add(Calendar.MILLISECOND, -1); 237 cal.add(Calendar.MILLISECOND, 1);
|
H A D | CalendarTest.java | 60 calendar.add(Calendar.DATE, 1); 76 calendar.add(Calendar.DATE, 1); 85 calendar.add(Calendar.DATE, 1); 94 calendar.add(Calendar.DATE, 1); 103 calendar.add(Calendar.AM_PM, 2); 112 calendar.add(Calendar.HOUR, 24); 121 calendar.add(Calendar.DATE, 1); 122 calendar.add(Calendar.DATE, 1); 123 // The RI fails this test by returning 47.0. It adjusts for DST on both of the add() calls! 132 calendar.add(Calenda 382 public void add(int field, int value) { method in class:CalendarTest.FakeCalendar [all...] |
/libcore/ojluni/src/main/java/java/net/ |
H A D | CookieManager.java | 83 * Currently, only CookieStore.add(URI, HttpCookie) and CookieStore.get(URI) 246 cookies.add(cookie); 249 cookies.add(cookie); 347 cookieJar.add(uri, cookie); 355 cookieJar.add(uri, cookie); 360 cookieJar.add(uri, cookie); 441 // The workaround here is to add a $Version="1" string in advance 463 cookieHeader.add(result.toString());
|
H A D | HttpCookie.java | 64 RESERVED_NAMES.add("comment"); // RFC 2109 RFC 2965 RFC 6265 65 RESERVED_NAMES.add("commenturl"); // RFC 2965 RFC 6265 66 RESERVED_NAMES.add("discard"); // RFC 2965 RFC 6265 67 RESERVED_NAMES.add("domain"); // Netscape RFC 2109 RFC 2965 RFC 6265 68 RESERVED_NAMES.add("expires"); // Netscape 69 RESERVED_NAMES.add("httponly"); // RFC 6265 70 RESERVED_NAMES.add("max-age"); // RFC 2109 RFC 2965 RFC 6265 71 RESERVED_NAMES.add("path"); // Netscape RFC 2109 RFC 2965 RFC 6265 72 RESERVED_NAMES.add("port"); // RFC 2965 RFC 6265 73 RESERVED_NAMES.add("secur [all...] |
/libcore/ojluni/src/main/java/java/nio/file/spi/ |
H A D | FileSystemProvider.java | 122 // add to list if the provider is not "file" and isn't a duplicate 132 list.add(provider); 173 list.add(0, defaultProvider); 424 opts.add(StandardOpenOption.CREATE); 425 opts.add(StandardOpenOption.TRUNCATE_EXISTING); 430 opts.add(opt); 433 opts.add(StandardOpenOption.WRITE);
|
/libcore/ojluni/src/main/java/java/security/cert/ |
H A D | PKIXParameters.java | 154 hashSet.add(new TrustAnchor((X509Certificate)cert, null)); 299 * @param store the {@code CertStore} to add. If {@code null}, 304 this.certStores.add(store); 550 tmpList.add((PKIXCertPathChecker)checker.clone()); 572 tmpList.add((PKIXCertPathChecker)ck.clone()); 585 * @param checker a {@code PKIXCertPathChecker} to add to the list of 590 certPathCheckers.add((PKIXCertPathChecker)checker.clone()); 676 copy.certPathCheckers.add(
|
H A D | X509CRLSelector.java | 130 issuerNames.add(p.getEncoded()); 214 * This method allows the caller to add a name to the set of issuer names 238 * This method allows the caller to add a name to the set of issuer names 255 * This method allows the caller to add a name to the set of issuer names 296 issuerNames.add(name); 297 issuerX500Principals.add(principal); 322 namesCopy.add(((byte []) nameObject).clone()); 324 namesCopy.add(nameObject); 370 x500Principals.add(new X500Name((String)nameObject).asX500Principal()); 373 x500Principals.add(ne [all...] |
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
H A D | PolicyNodeImpl.java | 218 mChildren.add(child); 237 mExpectedPolicySet.add(expectedPolicy); 315 set.add(this); 358 set.add(this); 361 set.add(this); 385 set.add(this);
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_ListTest.java | 50 list.add(50, new Integer(1000)); 51 assertTrue("ListTest - a) add with index failed--did not insert", list 54 "ListTest - b) add with index failed--did not move following elements", 57 "ListTest - c) add with index failed--affected previous elements", 79 myList.add(new Integer(500)); 80 myList.add(new Integer(501)); 81 myList.add(new Integer(502)); 189 li.add(add1); 190 assertTrue("list iterator add(), size()", list.size() == (orgSize + 1)); 191 assertEquals("list iterator add(), nextInde [all...] |
/libcore/luni/src/test/java/tests/java/sql/ |
H A D | SelectFunctionalityTest.java | 427 values.add(Integer.valueOf(3001)); 428 values.add(Integer.valueOf(3002)); 429 values.add(Integer.valueOf(3003)); 430 values.add(Integer.valueOf(3005)); 431 values.add(Integer.valueOf(3006)); 432 values.add(Integer.valueOf(3007)); 433 values.add(Integer.valueOf(3008)); 434 values.add(Integer.valueOf(3009)); 435 values.add(Integer.valueOf(3010)); 436 values.add(Intege [all...] |
/libcore/luni/src/test/java/libcore/java/nio/file/ |
H A D | FilesTest.java | 112 openOptions.add(READ); 257 expectedPathSet.add(path_dir2); 258 expectedPathSet.add(path_dir3); 259 expectedPathSet.add(path_file1); 260 expectedPathSet.add(path_file2); 263 directoryStream.forEach(k -> pathSet.add(k)); 315 expectedPathSet.add(path_java1); 316 expectedPathSet.add(path_java2); 317 expectedPathSet.add(path_java3); 321 directoryStream.forEach(k -> pathSet.add( [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
H A D | TCKChronoLocalDate.java | 264 dates.add(date.minus(1, ChronoUnit.YEARS)); 265 dates.add(date.minus(1, ChronoUnit.MONTHS)); 266 dates.add(date.minus(1, ChronoUnit.WEEKS)); 267 dates.add(date.minus(1, ChronoUnit.DAYS)); 268 dates.add(date); 269 dates.add(date.plus(1, ChronoUnit.DAYS)); 270 dates.add(date.plus(1, ChronoUnit.WEEKS)); 271 dates.add(date.plus(1, ChronoUnit.MONTHS)); 272 dates.add(date.plus(1, ChronoUnit.YEARS)); 279 otherDates.add(chrono [all...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | FileChannelImpl.java | 190 ti = threads.add(); 218 ti = threads.add(); 242 ti = threads.add(); 270 ti = threads.add(); 294 ti = threads.add(); 322 ti = threads.add(); 345 ti = threads.add(); 372 ti = threads.add(); 422 ti = threads.add(); 462 ti = threads.add(); 1197 public void add(FileLock fl) throws OverlappingFileLockException { method in class:FileChannelImpl.SimpleFileLockTable [all...] |
H A D | SimpleAsynchronousFileChannelImpl.java | 107 int ti = threads.add(); 130 int ti = threads.add(); 156 int ti = threads.add(); 184 // add to lock table 200 int ti = threads.add(); 251 // add to lock table 256 int ti = threads.add(); 316 int ti = threads.add(); 370 int ti = threads.add();
|
/libcore/ojluni/src/main/java/sun/security/jca/ |
H A D | ProviderList.java | 50 * cloning and synchronization in consumers. The add() and remove() style 91 public static ProviderList add(ProviderList providerList, Provider p) { method in class:ProviderList 106 list.add(position, new ProviderConfig(p)); 188 configList.add(config); 218 newConfigs.add(newConfig); 362 ids.add(new ServiceId(type, alg)); 417 services.add(firstService); 419 services.add(s);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | PriorityQueueTest.java | 54 iterResult.add(iter.next()); 287 list.add(new Float(11)); 288 list.add(null); 289 list.add(new Integer(10)); 303 list.add(new Float(11)); 304 list.add(new Integer(10)); 339 treeSet.add(array[i]); 391 treeSet.add(array[i]); 499 integerQueue.add(array[i]); 530 * java.util.PriorityQueue#add(Objec [all...] |