Home
last modified time | relevance | path

Searched refs:interrupt (Results 1 – 25 of 59) sorted by relevance

123

/frameworks/base/docs/html/training/multiple-threads/
Drun-code.jd76 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/
DResettableTimeout.java74 mThread.interrupt(); in go()
88 mThread.interrupt(); in cancel()
/frameworks/base/core/java/android/os/
DSystemClock.java127 Thread.currentThread().interrupt(); in sleep()
/frameworks/base/core/java/android/content/
DAbstractThreadedSyncAdapter.java322 syncThread.interrupt(); in onSyncCanceled()
336 thread.interrupt(); in onSyncCanceled()
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
DAwaitableCompletionListener.java43 Thread.currentThread().interrupt(); in onCompletion()
DAwaitableErrorListener.java51 Thread.currentThread().interrupt(); in addAnObjectToTheQueue()
/frameworks/base/tools/layoutlib/bridge/src/android/view/accessibility/
DAccessibilityManager.java97 public void interrupt() { in interrupt() method in AccessibilityManager
/frameworks/base/core/java/android/view/accessibility/
DIAccessibilityManager.aidl46 void interrupt(int userId); in interrupt() method
DAccessibilityManager.java284 public void interrupt() { in interrupt() method in AccessibilityManager
289 mService.interrupt(mUserId); in interrupt()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DAccessibilityManagerTest.java100 mockServiceInterface.interrupt(UserHandle.USER_OWNER); in testInterrupt()
106 manager.interrupt(); in testInterrupt()
/frameworks/base/opengl/java/android/opengl/
DGLSurfaceView.java1613 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/
DCacheDispatcher.java76 interrupt(); in quit()
DNetworkDispatcher.java70 interrupt(); in quit()
/frameworks/base/core/java/android/speech/tts/
DAudioPlaybackHandler.java89 mHandlerThread.interrupt(); in quit()
/frameworks/av/include/media/stagefright/foundation/
DANetworkSession.h126 void interrupt();
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DCanvasTextureViewActivity.java117 interrupt(); in stopRendering()
/frameworks/base/core/java/android/view/
DGLES20RenderLayer.java109 ((GLES20Canvas) currentCanvas).interrupt(); in start()
/frameworks/av/media/libstagefright/foundation/
DANetworkSession.cpp843 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/
DBaseStatusBar.java1056 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/
DAudioTrack.cpp152 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/
DViewServer.java125 mThread.interrupt(); in stop()
/frameworks/base/core/java/com/android/internal/os/
DTransferPipe.java145 mThread.interrupt(); in go()
/frameworks/av/include/private/media/
DAudioTrackShared.h237 void interrupt();
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DMediaDecoder.java181 mDecoderThread.interrupt(); in stop()
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
DVariableSpeed.java162 Thread.currentThread().interrupt(); in waitForLatch()

123