Home
last modified time | relevance | path

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

1234

/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/packages/Shell/tests/src/com/android/shell/
DActionSendMultipleConsumerActivity.java100 Thread.currentThread().interrupt(); in CustomActionSendMultipleListener()
120 Thread.currentThread().interrupt(); in getExtras()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DAccessibilityManagerTest.java102 manager.interrupt(); in testInterrupt()
104 verify(mMockService).interrupt(UserHandle.USER_CURRENT); in testInterrupt()
/frameworks/base/core/java/android/content/
DAbstractThreadedSyncAdapter.java353 syncThread.interrupt(); in onSyncCanceled()
367 thread.interrupt(); in onSyncCanceled()
/frameworks/base/opengl/java/android/opengl/
DGLSurfaceView.java1653 Thread.currentThread().interrupt(); in requestRenderAndWait()
1674 Thread.currentThread().interrupt(); in surfaceCreated()
1691 Thread.currentThread().interrupt(); in surfaceDestroyed()
1711 Thread.currentThread().interrupt(); in onPause()
1733 Thread.currentThread().interrupt(); in onResume()
1767 Thread.currentThread().interrupt(); in onWindowResize()
1783 Thread.currentThread().interrupt(); in requestExitAndWait()
/frameworks/base/core/java/android/os/
DSystemClock.java132 Thread.currentThread().interrupt(); in sleep()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/
DTestContentResolver.java77 Thread.currentThread().interrupt(); in notifyChange()
/frameworks/base/core/java/android/view/accessibility/
DIAccessibilityManager.aidl46 void interrupt(int userId); in interrupt() method
DAccessibilityManager.java336 public void interrupt() { in interrupt() method in AccessibilityManager
350 service.interrupt(userId); in interrupt()
/frameworks/base/tools/layoutlib/bridge/src/android/view/accessibility/
DAccessibilityManager.java156 public void interrupt() { in interrupt() method in AccessibilityManager
/frameworks/base/core/java/android/speech/tts/
DAudioPlaybackHandler.java89 mHandlerThread.interrupt(); in quit()
/frameworks/volley/src/main/java/com/android/volley/
DCacheDispatcher.java75 interrupt(); in quit()
DNetworkDispatcher.java71 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()
DHardwareCanvasTextureViewActivity.java120 interrupt(); in stopRendering()
DHardwareCanvasSurfaceViewActivity.java157 interrupt(); in stopRendering()
/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/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMnsService.java184 mAcceptThread.interrupt(); in unregisterCallback()
DBluetoothMasClient.java487 public void interrupt() { in interrupt() method in BluetoothMasClient.SocketConnectThread
640 mConnectThread.interrupt(); in disconnect()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DSecurityLogMonitor.java105 mMonitorThread.interrupt(); in stop()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DMockLooper.java264 mAutoDispatchThread.interrupt(); in stopAutoDispatch()
/frameworks/av/media/libstagefright/
DMediaCodecSource.cpp180 bool interrupt = false; in stop() local
186interrupt = queue->mReadPendingSince && (queue->mReadPendingSince < ALooper::GetNowUs() - 1000000); in stop()
190 if (interrupt) { in stop()
/frameworks/base/services/core/java/com/android/server/wm/
DViewServer.java128 mThread.interrupt(); in stop()

1234