Home
last modified time | relevance | path

Searched refs:wasInterrupted (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DOldAndroidMonitorTest.java113 private boolean wasInterrupted; field in OldAndroidMonitorTest.Waiter
118 wasInterrupted = false; in Waiter()
130 wasInterrupted = true; in run()
135 public boolean wasInterrupted() { in wasInterrupted() method in OldAndroidMonitorTest.Waiter
137 return wasInterrupted; in wasInterrupted()
170 assertTrue(waiter.wasInterrupted()); in testInterrupt()
DOldThreadTest.java102 boolean wasInterrupted = false; field in OldThreadTest
199 wasInterrupted = true; in test_sleepJ()
220 assertTrue(wasInterrupted); in test_sleepJ()
246 wasInterrupted = true; in test_sleepJI()
267 assertTrue(wasInterrupted); in test_sleepJI()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DFileIOInterruptTest.java133 assertFalse(streamReader.wasInterrupted); in testStreamRead_exceptionOnCloseWhenBlocked()
175 assertFalse(streamWriter.wasInterrupted); in testStreamWrite_exceptionOnCloseWhenBlocked()
277 assertFalse(channelReader.wasInterrupted); in testChannelRead_exceptionOnCloseWhenBlocked()
308 assertTrue(channelReader.wasInterrupted); in testChannelRead_exceptionOnInterrupt()
418 assertFalse(channelWriter.wasInterrupted); in testChannelWrite_exceptionOnCloseWhenBlocked()
449 assertTrue(channelWriter.wasInterrupted); in testChannelWrite_exceptionOnInterrupt()
460 volatile boolean wasInterrupted; field in FileIOInterruptTest.StreamReader
476 wasInterrupted = Thread.interrupted(); in run()
494 volatile boolean wasInterrupted; field in FileIOInterruptTest.StreamWriter
513 wasInterrupted = Thread.interrupted(); in run()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DPhaser.java755 if (node.wasInterrupted) in awaitAdvanceInterruptibly()
793 if (node.wasInterrupted) in awaitAdvanceInterruptibly()
1048 node.wasInterrupted = interrupted; in internalAwaitAdvance()
1064 node.wasInterrupted = true; in internalAwaitAdvance()
1072 if (node.wasInterrupted && !node.interruptible) in internalAwaitAdvance()
1089 boolean wasInterrupted; field in Phaser.QNode
1114 wasInterrupted = true; in isReleasable()
1115 if (wasInterrupted && interruptible) { in isReleasable()
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DStampedLock.java1062 boolean wasInterrupted = false; in acquireWrite()
1077 if (wasInterrupted) in acquireWrite()
1125 wasInterrupted = true; in acquireWrite()
1142 boolean wasInterrupted = false; in acquireRead()
1151 if (wasInterrupted) in acquireRead()
1204 if (wasInterrupted) in acquireRead()
1219 if (wasInterrupted) in acquireRead()
1234 wasInterrupted = true; in acquireRead()
1262 if (wasInterrupted) in acquireRead()
1310 wasInterrupted = true; in acquireRead()