/external/guava/guava/src/com/google/common/util/concurrent/ |
Uninterruptibles.java | 33 * In all cases, if a thread is interrupted during such a call, the call 51 boolean interrupted = false; 58 interrupted = true; 62 if (interrupted) { 75 boolean interrupted = false; 85 interrupted = true; 90 if (interrupted) { 100 boolean interrupted = false; 107 interrupted = true; 111 if (interrupted) { [all...] |
/frameworks/base/core/java/android/os/ |
SystemClock.java | 69 * be interrupted with {@link Thread#interrupt Thread.interrupt()}, and 76 * preserve the interrupted state of the thread. 112 boolean interrupted = false; 118 interrupted = true; 123 if (interrupted) { 126 // call to Thread.sleep() or Object.wait() will be interrupted.
|
RecoverySystem.java | 273 boolean interrupted = false; 275 interrupted = Thread.interrupted(); 276 if (interrupted) break; 300 if (interrupted) { 301 throw new SignatureException("verification was interrupted");
|
/libcore/luni/src/main/java/java/nio/channels/spi/ |
AbstractInterruptibleChannel.java | 40 volatile boolean interrupted = false; field in class:AbstractInterruptibleChannel 45 interrupted = true; 111 if (interrupted) { 112 interrupted = false;
|
/dalvik/vm/native/ |
java_lang_VMThread.cpp | 119 * static boolean interrupted() 121 * Determine if the current thread has been interrupted. Clears the flag. 127 bool interrupted; local 131 interrupted = self->interrupted; 132 self->interrupted = false; 133 RETURN_BOOLEAN(interrupted); 139 * Determine if the specified thread has been interrupted. Does not clear 147 bool interrupted; local 152 interrupted = thread->interrupted [all...] |
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
InterruptionUtil.java | 101 Thread.interrupted(); 119 boolean interrupted = false; 130 interrupted = true; 135 if (interrupted) {
|
/external/guava/guava-tests/test/com/google/common/testing/ |
GcFinalizationTest.java | 123 Thread.interrupted(); 139 Thread.interrupted(); 155 Thread.interrupted(); 174 Thread.interrupted();
|
/libcore/luni/src/main/java/java/lang/ |
VMThread.java | 30 static native boolean interrupted(); method in class:VMThread
|
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
AbstractQueuedLongSynchronizer.java | 576 * Convenience method to park and then check if interrupted 578 * @return {@code true} if interrupted 582 return Thread.interrupted(); 600 * @return {@code true} if interrupted while waiting 605 boolean interrupted = false; 612 return interrupted; 616 interrupted = true; 680 if (Thread.interrupted()) 697 boolean interrupted = false; 705 if (interrupted) [all...] |
AbstractQueuedSynchronizer.java | 805 * Convenience method to park and then check if interrupted [all...] |
/external/guava/guava/src/com/google/common/collect/ |
Queues.java | 201 * @throws InterruptedException if interrupted while waiting 231 * but with a different behavior in case it is interrupted while waiting. In that case, the 247 boolean interrupted = false; 260 interrupted = true; // note interruption and retry 271 if (interrupted) {
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/ |
test_runner2.py | 103 Return: A tuple (interrupted, keyboard_interrupted, thread_timings, 105 interrupted is whether the run was interrupted 121 interrupted = False 134 return (keyboard_interrupted, interrupted, thread_timings, 180 _log.info("Interrupted, exiting") 186 interrupted = True 195 return (interrupted, keyboard_interrupted, thread_timings,
|
/libcore/luni/src/main/java/java/util/concurrent/ |
Exchanger.java | 307 * @return the other thread's item, or CANCEL if interrupted or timed out 428 * in public exchange method to abort if interrupted on entry. 448 * filled in by another thread. Fails if interrupted before 483 * thread. Fails if timed out or interrupted before hole filled. 560 * the current thread is {@linkplain Thread#interrupt interrupted}), 579 * <li>has its interrupted status set on entry to this method; or 580 * <li>is {@linkplain Thread#interrupt interrupted} while waiting 584 * interrupted status is cleared. 589 * interrupted while waiting 592 if (!Thread.interrupted()) { [all...] |
Phaser.java | 65 * waiting thread is interrupted. Interruptible and timeout 708 * value, throwing {@code InterruptedException} if interrupted 719 * @throws InterruptedException if thread interrupted while waiting 740 * InterruptedException} if interrupted while waiting, or 754 * @throws InterruptedException if thread interrupted while waiting [all...] |
CyclicBarrier.java | 90 * {@link InterruptedException} if they too were interrupted at about 175 if (Thread.interrupted()) { 196 // loop until tripped, broken, interrupted, or timed out 209 // been interrupted, so this interrupt is deemed to 291 * <li>has its interrupted status set on entry to this method; or 292 * <li>is {@linkplain Thread#interrupt interrupted} while waiting 295 * interrupted status is cleared. 302 * <p>If any thread is {@linkplain Thread#interrupt interrupted} while waiting, 318 * @throws InterruptedException if the current thread was interrupted 321 * interrupted or timed out while the current thread wa [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
OldThreadGroupTest.java | 245 private static boolean interrupted = false; field in class:OldThreadGroupTest 259 assertFalse("Incorrect state of thread", interrupted); 261 assertFalse("Incorrect state of thread", interrupted); 267 assertTrue("Incorrect state of thread", interrupted); 321 interrupted = true;
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
ThreadTest.java | 484 boolean interrupted = false; 493 interrupted = true; 495 assertTrue("Failed to Interrupt thread1", interrupted); 497 interrupted = false; 508 interrupted = true; 510 assertTrue("Failed to Interrupt thread2", interrupted); 515 * @tests java.lang.Thread#interrupted() 518 assertFalse("Interrupted returned true for non-interrupted thread", Thread 519 .interrupted()); [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
InterruptedStreamTest.java | 50 Thread.interrupted(); // clear interrupted bit 60 Thread.interrupted(); // clear interrupted bit
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DownloadUtils.java | 63 Thread.interrupted(); // consume the interrupt signal
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
ServerSocketTest.java | 46 boolean interrupted; field in class:ServerSocketTest 189 interrupted = false; 197 interrupted = true; 217 if (interrupted) { 218 fail("accept interrupted"); 225 interrupted = false; 232 interrupted = true; 234 assertTrue("accept not interrupted", interrupted); [all...] |
/dalvik/tests/050-sync-test/src/ |
Main.java | 147 // Expecting this; interrupted should be false. 149 " interrupted, flag=" + Thread.interrupted()); 156 System.out.println("NOT INTERRUPTED"); 161 System.out.println("PESKY INTERRUPTED?");
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
CanvasTextureViewActivity.java | 89 while (mRunning && !Thread.interrupted()) { 111 // Interrupted
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
PhoneTypeChoiceRecognizerEngine.java | 96 if (Thread.interrupted()) throw new InterruptedException();
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/i686-linux/bits/ |
error_constants.h | 75 interrupted = EINTR, member in class:errc
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/i686-linux/bits/ |
error_constants.h | 77 interrupted = EINTR, member in class:errc
|