/frameworks/base/core/java/android/os/ |
SystemClock.java | 68 * be interrupted with {@link Thread#interrupt Thread.interrupt()}, and 75 * preserve the interrupted state of the thread. 111 boolean interrupted = false; 117 interrupted = true; 122 if (interrupted) { 125 // call to Thread.sleep() or Object.wait() will be interrupted.
|
RecoverySystem.java | 268 boolean interrupted = false; 270 interrupted = Thread.interrupted(); 271 if (interrupted) break; 295 if (interrupted) { 296 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...] |
/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 | 577 * Convenience method to park and then check if interrupted 579 * @return {@code true} if interrupted 583 return Thread.interrupted(); 601 * @return {@code true} if interrupted while waiting 606 boolean interrupted = false; 613 return interrupted; 617 interrupted = true; 681 if (Thread.interrupted()) 698 boolean interrupted = false; 706 if (interrupted) [all...] |
AbstractQueuedSynchronizer.java | [all...] |
/external/guava/src/com/google/common/util/concurrent/ |
Futures.java | 47 * interrupted during an attempt to {@code get()} from the returned future, it 70 boolean interrupted = false; 79 interrupted = true; 84 if (interrupted) { 91 boolean interrupted = false; 97 interrupted = true; 101 if (interrupted) { 510 * <p>If the delegate future is interrupted or throws an unexpected unchecked 552 // This thread was interrupted. This should never happen, so we 554 throw new IllegalStateException("Adapter thread interrupted!", e) [all...] |
/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 | 306 * @return the other thread's item, or CANCEL if interrupted or timed out 427 * in public exchange method to abort if interrupted on entry. 447 * filled in by another thread. Fails if interrupted before 482 * thread. Fails if timed out or interrupted before hole filled. 559 * the current thread is {@linkplain Thread#interrupt interrupted}), 578 * <li>has its interrupted status set on entry to this method; or 579 * <li>is {@linkplain Thread#interrupt interrupted} while waiting 583 * interrupted status is cleared. 588 * interrupted while waiting 591 if (!Thread.interrupted()) { [all...] |
CyclicBarrier.java | 88 * {@link InterruptedException} if they too were interrupted at about 173 if (Thread.interrupted()) { 194 // loop until tripped, broken, interrupted, or timed out 207 // been interrupted, so this interrupt is deemed to 289 * <li>has its interrupted status set on entry to this method; or 290 * <li>is {@linkplain Thread#interrupt interrupted} while waiting 293 * interrupted status is cleared. 300 * <p>If any thread is {@linkplain Thread#interrupt interrupted} while waiting, 316 * @throws InterruptedException if the current thread was interrupted 319 * interrupted or timed out while the current thread wa [all...] |
SynchronousQueue.java | 149 * by checking Thread.interrupted. [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...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DownloadUtils.java | 79 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 | 155 // Expecting this; interrupted should be false. 157 " interrupted, flag=" + Thread.interrupted()); 165 System.out.println("NOT INTERRUPTED"); 171 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();
|
/prebuilt/linux-x86/toolchain/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
|
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include/bits/ |
error_constants.h | 75 interrupted = EINTR, member in class:errc
|
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include/bits/ |
error_constants.h | 75 interrupted = EINTR, member in class:errc
|
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include/bits/ |
error_constants.h | 75 interrupted = EINTR, member in class:errc
|
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include/bits/ |
error_constants.h | 75 interrupted = EINTR, member in class:errc
|
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/libs/x86/include/bits/ |
error_constants.h | 75 interrupted = EINTR, member in class:errc
|