Home
last modified time | relevance | path

Searched refs:addIdleHandler (Results 1 – 14 of 14) 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.java311 mMessageQueue.addIdleHandler(new Idler(recipient)); in waitForIdle()
323 mMessageQueue.addIdleHandler(idler); in waitForIdleSync()
1073 mMessageQueue.addIdleHandler(new ActivityGoing(aw)); in callActivityOnCreate()
DActivityThread.java1819 Looper.myQueue().addIdleHandler(mGcIdler); in scheduleGcIdler()
2691 Looper.myQueue().addIdleHandler(new Idler()); in handleResumeActivity()
/frameworks/base/core/java/android/os/
DMessageQueue.java81 public final void addIdleHandler(IdleHandler handler) { in addIdleHandler() method in MessageQueue
DStrictMode.java1468 mq.addIdleHandler(sProcessIdleHandler); in setVmPolicy()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java238 getLooper().getQueue().addIdleHandler(this); in onLooperPrepared()
/frameworks/base/services/java/com/android/server/net/
DNetworkPolicyManagerService.java2000 public void addIdleHandler(IdleHandler handler) { in addIdleHandler() method
2001 mHandler.getLooper().getQueue().addIdleHandler(handler); in addIdleHandler()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java1010 mService.addIdleHandler(future); in expectIdle()
/frameworks/base/api/
D14.txt14820 method public final void addIdleHandler(android.os.MessageQueue.IdleHandler);
D15.txt14865 method public final void addIdleHandler(android.os.MessageQueue.IdleHandler);
Dcurrent.txt15781 method public final void addIdleHandler(android.os.MessageQueue.IdleHandler);
D16.txt15781 method public final void addIdleHandler(android.os.MessageQueue.IdleHandler);