Home
last modified time | relevance | path

Searched refs:getCount (Results 1 – 13 of 13) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DCountDownLatchTest.java33 assertEquals(2, l.getCount()); in testGetCount()
35 assertEquals(1, l.getCount()); in testGetCount()
43 assertEquals(1, l.getCount()); in testCountDown()
45 assertEquals(0, l.getCount()); in testCountDown()
47 assertEquals(0, l.getCount()); in testCountDown()
59 assertEquals(2, l.getCount()); in testAwait()
62 assertEquals(0, l.getCount()); in testAwait()
66 assertEquals(2, l.getCount()); in testAwait()
68 assertEquals(1, l.getCount()); in testAwait()
71 assertEquals(0, l.getCount()); in testAwait()
[all …]
DThreadPoolExecutorTest.java38 return beforeCalled.getCount() == 0; in beforeCalled()
41 return afterCalled.getCount() == 0; in afterCalled()
44 return terminatedCalled.getCount() == 0; in terminatedCalled()
1380 assertEquals(0, done.getCount()); in testBeforeAfter()
DThreadPoolExecutorSubclassTest.java178 return beforeCalled.getCount() == 0; in beforeCalled()
181 return afterCalled.getCount() == 0; in afterCalled()
184 return terminatedCalled.getCount() == 0; in terminatedCalled()
1253 assertEquals(0, done.getCount()); in testBeforeAfter()
/libcore/luni/src/main/java/java/util/concurrent/
DCountDownLatch.java139 int getCount() { in getCount() method in CountDownLatch.Sync
272 public long getCount() { in getCount() method in CountDownLatch
273 return sync.getCount(); in getCount()
284 return super.toString() + "[Count = " + sync.getCount() + "]"; in toString()
/libcore/luni/src/test/java/libcore/java/sql/
DOldPreparedStatementTest.java131 assertEquals(2, getCount(rs)); in testAddBatch()
191 assertEquals(3, getCount(ps.getResultSet())); in testExecute()
498 assertEquals(1, getCount(rs)); in testSetInt()
514 assertEquals(1, getCount(rs)); in testSetInt()
553 assertEquals(1, getCount(rs)); in testSetLong()
567 assertEquals(1, getCount(rs)); in testSetLong()
609 assertEquals(1, getCount(rs)); in testSetFloat()
623 assertEquals(1, getCount(rs)); in testSetFloat()
663 assertEquals(1, getCount(rs)); in testSetDouble()
678 assertEquals(1, getCount(rs)); in testSetDouble()
[all …]
DOldConnectionTest.java411 assertEquals(3, getCount(rs)); in testSetAutoCommit()
426 assertEquals(4, getCount(rs)); in testSetAutoCommit()
430 assertEquals(0, getCount(rs1)); in testSetAutoCommit()
894 assertEquals(2, getCount(rs)); in testPrepareCall()
899 assertEquals(3, getCount(rs1)); in testPrepareCall()
1136 assertEquals(0, getCount(rs)); in testPrepareStatement()
1140 assertEquals(1, getCount(rs1)); in testPrepareStatement()
1198 assertEquals(2, getCount(rs)); in testPrepareStatement_String_int()
1202 assertEquals(1, getCount(rs1)); in testPrepareStatement_String_int()
1205 assertEquals(0, getCount(rs4)); in testPrepareStatement_String_int()
[all …]
DOldSQLTest.java92 public int getCount(ResultSet rs) { in getCount() method in OldSQLTest
/libcore/luni/src/main/java/java/util/concurrent/locks/
DReentrantReadWriteLock.java635 final int getCount() { return getState(); } in getCount() method in ReentrantReadWriteLock.Sync
1450 int c = sync.getCount(); in toString()
/libcore/luni/src/test/java/libcore/java/security/cert/
DCertificateFactoryTest.java286 assertEquals(valid.length, certStream.getCount()); in test_generateCertificate_InputStream_Offset_Correct()
303 public long getCount() { in getCount() method in CertificateFactoryTest.MeasuredInputStream
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DCopyOnWriteArrayListTest.java182 while (done.getCount() > 0) { in testAddAllIsAtomic()
/libcore/luni/src/test/java/libcore/java/lang/
DOldClassTest.java82 int getCount(); in getCount() method
136 public int getCount() { in getCount() method in OldClassTest.PublicTestClass
/libcore/luni/src/main/java/java/net/
DInetAddress.java735 while (latch.getCount() > 0) { in isReachable()
/libcore/benchmarks/libs/
Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...