Home
last modified time | relevance | path

Searched refs:addIdleHandler (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DIdleHandlerTest.java42 public void addIdleHandler() { in addIdleHandler() method in IdleHandlerTest.BaseTestHandler
43 Looper.myQueue().addIdleHandler(new IdleHandler() { in addIdleHandler()
67 addIdleHandler(); in testOneShotFirst()
105 addIdleHandler(); in testOneShotLater()
138 addIdleHandler(); in testRepeatedFirst()
176 addIdleHandler(); in testRepeatedLater()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DTestedScreen.java73 Looper.myLooper().myQueue().addIdleHandler(new Idler()); in onResume()
76 Looper.myLooper().myQueue().addIdleHandler(new Idler()); in onResume()
DTestedActivity.java45 Looper.myLooper().myQueue().addIdleHandler(new Idler()); in onResume()
/frameworks/base/core/java/android/app/
DInstrumentation.java310 mMessageQueue.addIdleHandler(new Idler(recipient)); in waitForIdle()
322 mMessageQueue.addIdleHandler(idler); in waitForIdleSync()
1043 mMessageQueue.addIdleHandler(new ActivityGoing(aw)); in callActivityOnCreate()
DActivityThread.java1715 Looper.myQueue().addIdleHandler(mGcIdler); in scheduleGcIdler()
2558 Looper.myQueue().addIdleHandler(new Idler()); in handleResumeActivity()
/frameworks/base/core/java/android/os/
DMessageQueue.java75 public final void addIdleHandler(IdleHandler handler) { in addIdleHandler() method in MessageQueue
DStrictMode.java1435 mq.addIdleHandler(sProcessIdleHandler); in setVmPolicy()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java225 getLooper().getQueue().addIdleHandler(this); in onLooperPrepared()
/frameworks/base/api/
Dcurrent.txt14820 method public final void addIdleHandler(android.os.MessageQueue.IdleHandler);
D14.txt14820 method public final void addIdleHandler(android.os.MessageQueue.IdleHandler);