/frameworks/base/docs/html/training/multiple-threads/ |
D | run-code.jd | 76 To stop a task, you need to interrupt the task's thread. To prepare to do this, you need to 94 To interrupt a thread, call {@link java.lang.Thread#interrupt Thread.interrupt()}. Notice that 97 interrupt it, by placing the access in a <code>synchronized</code> block. For example: 119 // if the Thread exists, post an interrupt to it 121 thread.interrupt(); 130 In most cases, {@link java.lang.Thread#interrupt Thread.interrupt()} stops the thread 131 immediately. However, it only stops threads that are waiting, and will not interrupt CPU or 133 any pending interrupt requests before attempting an operation :
|
/frameworks/base/core/java/com/android/server/ |
D | ResettableTimeout.java | 74 mThread.interrupt(); in go() 88 mThread.interrupt(); in cancel()
|
/frameworks/base/core/java/android/os/ |
D | SystemClock.java | 127 Thread.currentThread().interrupt(); in sleep()
|
/frameworks/base/core/java/android/content/ |
D | AbstractThreadedSyncAdapter.java | 322 syncThread.interrupt(); in onSyncCanceled() 336 thread.interrupt(); in onSyncCanceled()
|
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/ |
D | AwaitableCompletionListener.java | 43 Thread.currentThread().interrupt(); in onCompletion()
|
D | AwaitableErrorListener.java | 51 Thread.currentThread().interrupt(); in addAnObjectToTheQueue()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/accessibility/ |
D | AccessibilityManager.java | 97 public void interrupt() { in interrupt() method in AccessibilityManager
|
/frameworks/base/core/java/android/view/accessibility/ |
D | IAccessibilityManager.aidl | 46 void interrupt(int userId); in interrupt() method
|
D | AccessibilityManager.java | 284 public void interrupt() { in interrupt() method in AccessibilityManager 289 mService.interrupt(mUserId); in interrupt()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | AccessibilityManagerTest.java | 100 mockServiceInterface.interrupt(UserHandle.USER_OWNER); in testInterrupt() 106 manager.interrupt(); in testInterrupt()
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLSurfaceView.java | 1613 Thread.currentThread().interrupt(); in surfaceCreated() 1630 Thread.currentThread().interrupt(); in surfaceDestroyed() 1650 Thread.currentThread().interrupt(); in onPause() 1672 Thread.currentThread().interrupt(); in onResume() 1696 Thread.currentThread().interrupt(); in onWindowResize() 1712 Thread.currentThread().interrupt(); in requestExitAndWait()
|
/frameworks/volley/src/com/android/volley/ |
D | CacheDispatcher.java | 76 interrupt(); in quit()
|
D | NetworkDispatcher.java | 70 interrupt(); in quit()
|
/frameworks/base/core/java/android/speech/tts/ |
D | AudioPlaybackHandler.java | 89 mHandlerThread.interrupt(); in quit()
|
/frameworks/av/include/media/stagefright/foundation/ |
D | ANetworkSession.h | 126 void interrupt();
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | CanvasTextureViewActivity.java | 117 interrupt(); in stopRendering()
|
/frameworks/base/core/java/android/view/ |
D | GLES20RenderLayer.java | 109 ((GLES20Canvas) currentCanvas).interrupt(); in start()
|
/frameworks/av/media/libstagefright/foundation/ |
D | ANetworkSession.cpp | 843 interrupt(); in stop() 942 interrupt(); in destroySession() 1153 interrupt(); in createClientOrServer() 1220 interrupt(); in sendRequest() 1238 void ANetworkSession::interrupt() { in interrupt() function in android::ANetworkSession
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | BaseStatusBar.java | 1056 boolean interrupt = (isFullscreen || (isHighPriority && isNoisy)) 1062 interrupt = interrupt && !mDreamManager.isDreaming(); 1066 if (DEBUG) Log.d(TAG, "interrupt: " + interrupt); 1067 return interrupt;
|
/frameworks/av/media/libmedia/ |
D | AudioTrack.cpp | 152 mProxy->interrupt(); in ~AudioTrack() 411 mProxy->interrupt(); in start() 462 mProxy->interrupt(); in stop() 517 mProxy->interrupt(); in flush_l() 533 mProxy->interrupt(); in pause()
|
/frameworks/base/services/java/com/android/server/wm/ |
D | ViewServer.java | 125 mThread.interrupt(); in stop()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | TransferPipe.java | 145 mThread.interrupt(); in go()
|
/frameworks/av/include/private/media/ |
D | AudioTrackShared.h | 237 void interrupt();
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
D | MediaDecoder.java | 181 mDecoderThread.interrupt(); in stop()
|
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
D | VariableSpeed.java | 162 Thread.currentThread().interrupt(); in waitForLatch()
|