Searched defs:quit (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/core/java/android/os/
H A DHandlerThread.java110 * Any attempt to post messages to the queue after the looper is asked to quit will fail.
118 * @return True if the looper looper has been asked to quit or false if the
123 public boolean quit() { method in class:HandlerThread
126 looper.quit();
139 * Any attempt to post messages to the queue after the looper is asked to quit will fail.
144 * Otherwise the looper is asked to quit and true is returned.
147 * @return True if the looper looper has been asked to quit or false if the
H A DLooper.java87 * {@link #quit()}.
127 * {@link #quit()} to end the loop.
257 * Any attempt to post messages to the queue after the looper is asked to quit will fail.
267 public void quit() { method in class:Looper
268 mQueue.quit(false);
279 * Any attempt to post messages to the queue after the looper is asked to quit will fail.
284 mQueue.quit(true);
H A DMessageQueue.java44 // True if the message queue can be quit.
310 // Return here if the message loop has already quit and been disposed.
311 // This can happen if the application tries to restart a looper after quit
361 // Process the quit message now that all pending messages have been handled.
415 void quit(boolean safe) { method in class:MessageQueue
417 throw new IllegalStateException("Main thread not allowed to quit.");
/frameworks/base/core/tests/coretests/src/android/os/
H A DHandlerTester.java36 quit();
75 quit();
81 private void quit() { method in class:HandlerTester
82 mLooper.quit();
H A DTestHandlerThread.java51 mLooper.quit();
68 quit();
76 quit();
98 private void quit() { method in class:TestHandlerThread
/frameworks/base/media/jni/soundpool/
H A DSoundPoolThread.cpp49 void SoundPoolThread::quit() { function in class:android::SoundPoolThread
58 ALOGV("return from quit");
72 quit();
H A DSoundPool.cpp86 mDecodeThread->quit();
87 quit();
173 void SoundPool::quit() function in class:android::SoundPool
179 ALOGV("return from quit");
/frameworks/base/core/java/android/speech/tts/
H A DAudioPlaybackHandler.java86 public void quit() { method in class:AudioPlaybackHandler
H A DTextToSpeechService.java152 mSynthHandler.quit();
154 mAudioPlaybackHandler.quit();
526 public void quit() { method in class:TextToSpeechService.SynthHandler
528 getLooper().quit();
584 Log.w(TAG, "SynthThread has quit");
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
H A DBatteryWaster.java137 mThread.quit();
184 public void quit() { method in class:BatteryWaster.SpinThread
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DGLThreadManager.java172 public void quit() { method in class:GLThreadManager
233 * to {@link #setConfigurationAndWait(java.util.Collection)}, after {@link #quit()}, or
H A DRequestThreadManager.java951 mGLThreadManager.quit();
1017 public void quit() { method in class:RequestThreadManager
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseCursorTest.java266 boolean quit = false; field in class:DatabaseCursorTest.TestObserver
282 quit = true;
283 Looper.myLooper().quit();
/frameworks/base/media/tests/SoundPoolTest/src/com/android/
H A DSoundPoolTest.java383 public void quit() { method in class:SoundPoolTest.TestThread
391 if (DEBUG) Log.d(LOG_TAG, "quit");
404 mThread.quit();
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
H A DTransport.java93 mThread.quit();
378 public void quit() { method in class:Transport.ReaderThread
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
H A DDisplaySourceService.java145 mVirtualDisplayThread.quit();
223 public void quit() { method in class:DisplaySourceService.VirtualDisplayThread
/frameworks/native/libs/vr/libvrflinger/
H A Dhardware_composer.cpp199 const bool quit = post_thread_state_ & PostThreadState::Quit; local
201 if (quit) {
/frameworks/native/libs/vr/libbroadcastring/
H A Dbroadcast_ring_test.cc677 std::unique_ptr<std::thread> CopyTask(std::atomic<bool>* quit, void* in_base, argument
681 new std::thread([quit, in_base, in_size, out_base, out_size]() {
693 while (!std::atomic_load_explicit(quit, std::memory_order_relaxed)) {
712 std::atomic<bool> quit(false);
714 &quit, out_mmap.mmap(), out_mmap.size, in_mmap.mmap(), in_mmap.size);
726 std::atomic_store_explicit(&quit, true, std::memory_order_relaxed);
739 std::atomic<bool> quit(false);
741 &quit, out_mmap.mmap(), out_mmap.size, in_mmap.mmap(), in_mmap.size);
766 std::atomic_store_explicit(&quit, true, std::memory_order_relaxed);
779 std::atomic<bool> quit(fals
808 CheckFillTask(std::atomic<bool>* quit, void* in_base, size_t in_size) argument
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java88 * <p>If it is desirable to completely stop the state machine call <code>quit</code> or
683 /** true if StateMachine has quit */
778 * State entered when a valid quit message is handled.
902 * see if the last transition was to quit or halt.
923 * Cleanup all the static variables and the looper after the SM has been quit.
927 // If we made the thread then quit looper which stops the thread.
928 getLooper().quit();
1255 /** @see StateMachine#quit() */
1256 private final void quit() { method in class:StateMachine.SmHandler
1257 if (mDbg) mSm.log("quit
2010 public final void quit() { method in class:StateMachine
[all...]

Completed in 7976 milliseconds