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

1 2

  /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 66 volatile boolean interrupted = false; field in class:AbstractInterruptibleChannel
127 interrupted = true;
164 if (interrupted) {
165 interrupted = false;
  /dalvik/vm/native/
java_lang_VMThread.c 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/util/concurrent/locks/
AbstractQueuedLongSynchronizer.java 579 * Convenience method to park and then check if interrupted
581 * @return {@code true} if interrupted
585 return Thread.interrupted();
603 * @return {@code true} if interrupted while waiting
608 boolean interrupted = false;
615 return interrupted;
619 interrupted = true;
683 if (Thread.interrupted())
700 boolean interrupted = false;
708 if (interrupted)
    [all...]
AbstractQueuedSynchronizer.java 803 * Convenience method to park and then check if interrupted
805 * @return {@code true} if interrupted
809 return Thread.interrupted();
    [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...]
  /libcore/luni/src/main/java/java/lang/
VMThread.java 34 static native boolean interrupted(); method in class:VMThread
Thread.java 821 * @see Thread#interrupted
848 public static boolean interrupted() { method in class:Thread
849 return VMThread.interrupted();
886 * @see Thread#interrupted
    [all...]
  /libcore/luni/src/main/java/java/util/concurrent/
Exchanger.java 308 * @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 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...]
SynchronousQueue.java 154 * by checking Thread.interrupted.
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
OldThreadGroupTest.java 150 fail("Should not be interrupted");
170 fail("Should not be interrupted");
257 private static boolean interrupted = false; field in class:OldThreadGroupTest
271 assertFalse("Incorrect state of thread", interrupted);
273 assertFalse("Incorrect state of thread", interrupted);
279 assertTrue("Incorrect state of thread", interrupted);
332 interrupted = true;
  /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?");
  /packages/apps/VoiceDialer/src/com/android/voicedialer/
PhoneTypeChoiceRecognizerEngine.java 97 if (Thread.interrupted()) throw new InterruptedException();
CommandRecognizerEngine.java 197 if (Thread.interrupted()) throw new InterruptedException();
240 if (Thread.interrupted()) throw new InterruptedException();
249 if (Thread.interrupted()) throw new InterruptedException();
323 if (Thread.interrupted()) throw new InterruptedException();
    [all...]
RecognizerEngine.java 171 if (Thread.interrupted()) throw new InterruptedException();
200 if (Config.LOGD) Log.d(TAG, "start interrupted " + e);
  /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
  /external/strace/
strace.c 97 static volatile sig_atomic_t interrupted; variable
100 static volatile int interrupted; variable
102 static int interrupted; variable
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
OldDatagramSocketTest.java 56 boolean interrupted; field in class:OldDatagramSocketTest
    [all...]
  /dalvik/vm/
Sync.c 113 * threads may be getting interrupted or notified at any given time.
716 * Otherwise, we set the "interrupted" flag.
809 * Handle the case where the thread was interrupted before we called
812 if (self->interrupted) {
836 if (self->interrupted) {
840 self->interrupted = false;
866 * We were interrupted while waiting, or somebody interrupted an
869 * The doc sayeth: "The interrupted status of the current thread is
872 self->interrupted = false
    [all...]
Thread.h 183 /* mutex to guard the interrupted and the waitMonitor members */
191 /* thread "interrupted" status; stays raised until queried or thrown */
193 bool interrupted; member in struct:Thread
463 * is interrupted.
  /packages/apps/Gallery3D/src/com/cooliris/cache/
CacheService.java 484 if (Thread.interrupted()) {
538 if (Thread.interrupted()) {
    [all...]
  /frameworks/base/services/java/com/android/server/
ViewServer.java 307 while (!Thread.interrupted()) {
  /frameworks/base/tests/CoreTests/android/core/
MonitorTest.java 44 throw new RuntimeException("good Object.wait() interrupted",
59 throw new RuntimeException("bad Object.wait() interrupted", ex);
77 throw new RuntimeException("bad Object.wait() interrupted", ex);
96 throw new RuntimeException("bad Object.wait() interrupted", ex);
134 throw new RuntimeException("Test sleep interrupted.", ex);
150 throw new RuntimeException("Test wait interrupted.", ex);
167 throw new RuntimeException("Test join interrupted.", ex);
193 // We're going to get interrupted while we spin.
195 if (interrupted()) {
196 // System.out.println("Waiter done spinning; interrupted.")
    [all...]

Completed in 561 milliseconds

1 2