HomeSort by relevance Sort by last modified time
    Searched refs:interrupted (Results 1 - 25 of 148) sorted by null

1 2 3 4 5 6

  /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 278 boolean interrupted = false;
280 interrupted = Thread.interrupted();
281 if (interrupted) break;
305 if (interrupted) {
306 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;
  /development/samples/training/threadsample/src/com/example/android/threadsample/
PhotoDownloadRunnable.java 132 // interrupted
133 if (Thread.interrupted()) {
161 // hasn't been interrupted
162 if (Thread.interrupted()) {
169 if (Thread.interrupted()) {
238 if (Thread.interrupted()) {
325 if (Thread.interrupted()) {
332 if (Thread.interrupted()) {
392 Thread.interrupted();
PhotoDecodeRunnable.java 153 // been interrupted
154 if (Thread.interrupted()) {
198 if (Thread.interrupted()) {
241 if (Thread.interrupted()) {
283 Thread.interrupted();
  /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/libdvm/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 578 * Convenience method to park and then check if interrupted
580 * @return {@code true} if interrupted
584 return Thread.interrupted();
602 * @return {@code true} if interrupted while waiting
607 boolean interrupted = false;
614 return interrupted;
618 interrupted = true;
682 if (Thread.interrupted())
699 boolean interrupted = false;
707 if (interrupted)
    [all...]
AbstractQueuedSynchronizer.java     [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) {
  /libcore/luni/src/test/java/libcore/java/io/
InterruptedStreamTest.java 50 // Clear the interrupted bit to make sure an earlier test did
52 Thread.interrupted();
61 Thread.interrupted(); // clear interrupted bit
209 // validate and clear interrupted bit before join
210 assertTrue(Thread.interrupted());
  /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 63 Thread.interrupted(); // consume the interrupt signal
  /libcore/luni/src/main/java/java/util/concurrent/
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...]
Exchanger.java 331 * @return the other thread's item; or null if interrupted; or
388 if (Thread.interrupted())
424 * was enabled or the thread was interrupted before completion; or
502 * the current thread is {@linkplain Thread#interrupt interrupted}),
521 * <li>has its interrupted status set on entry to this method; or
522 * <li>is {@linkplain Thread#interrupt interrupted} while waiting
526 * interrupted status is cleared.
531 * interrupted while waiting
539 ((Thread.interrupted() || // disambiguates null return
547 * the current thread is {@linkplain Thread#interrupt interrupted} o
    [all...]
CyclicBarrier.java 91 * {@link InterruptedException} if they too were interrupted at about
176 if (Thread.interrupted()) {
197 // loop until tripped, broken, interrupted, or timed out
210 // been interrupted, so this interrupt is deemed to
292 * <li>has its interrupted status set on entry to this method; or
293 * <li>is {@linkplain Thread#interrupt interrupted} while waiting
296 * interrupted status is cleared.
303 * <p>If any thread is {@linkplain Thread#interrupt interrupted} while waiting,
319 * @throws InterruptedException if the current thread was interrupted
322 * interrupted or timed out while the current thread wa
    [all...]
  /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...]
  /art/test/050-sync-test/src/
Main.java 161 // Expecting this; interrupted should be false.
163 " interrupted, flag=" + Thread.interrupted());
170 System.out.println("NOT INTERRUPTED");
175 System.out.println("PESKY INTERRUPTED?");
  /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();

Completed in 637 milliseconds

1 2 3 4 5 6