Home
last modified time | relevance | path

Searched refs:getPhase (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/test/java/util/concurrent/tck/
DPhaserTest.java63 assertEquals(phase, phaser.getPhase()); in assertState()
74 assertEquals(expectedPhase, phaser.getPhase()); in assertTerminated()
95 assertEquals(0, phaser.getPhase()); in testConstructorDefaultValues()
356 assertEquals(0, phaser.getPhase() + Integer.MIN_VALUE); in testArrive3()
361 assertTrue(phaser.getPhase() < 0); in testArrive3()
673 assertEquals(1, phaser.getPhase());
692 assertEquals(i + 2, phaser.getPhase());
759 assertTrue(phaser.getPhase() < 0);
760 assertEquals(0, phaser.getPhase() + Integer.MIN_VALUE);
768 assertEquals(0, phaser.getPhase() + Integer.MIN_VALUE);
/libcore/jsr166-tests/src/test/java/jsr166/
DPhaserTest.java39 assertEquals(phase, phaser.getPhase()); in assertState()
50 assertEquals(expectedPhase, phaser.getPhase()); in assertTerminated()
71 assertEquals(0, phaser.getPhase()); in testConstructorDefaultValues()
332 assertEquals(0, phaser.getPhase() + Integer.MIN_VALUE); in testArrive3()
337 assertTrue(phaser.getPhase() < 0); in testArrive3()
649 assertEquals(1, phaser.getPhase());
668 assertEquals(i + 2, phaser.getPhase());
735 assertTrue(phaser.getPhase() < 0);
736 assertEquals(0, phaser.getPhase() + Integer.MIN_VALUE);
744 assertEquals(0, phaser.getPhase() + Integer.MIN_VALUE);
/libcore/ojluni/src/main/java/java/util/concurrent/
DPhaser.java614 return getPhase(); in bulkRegister()
833 public final int getPhase() { in getPhase() method in Phaser
1109 if (phaser.getPhase() != phase) { in isReleasable()
/libcore/api/
Dcurrent.txt14893 method public final int getPhase();