Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DIdleHandlerTest.java41 public void addIdleHandler() { in addIdleHandler() method in IdleHandlerTest.BaseTestHandler
42 Looper.myQueue().addIdleHandler(new IdleHandler() { in addIdleHandler()
66 addIdleHandler(); in testOneShotFirst()
104 addIdleHandler(); in testOneShotLater()
137 addIdleHandler(); in testRepeatedFirst()
175 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/tests/ActivityManagerPerfTests/test-app/src/com/android/frameworks/perftests/amteststestapp/
DStartProcessService.java35 Looper.getMainLooper().getQueue().addIdleHandler(() -> { in onBind()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DEditTextTypeActivity.java70 Looper.myQueue().addIdleHandler(handler); in onCreate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSysuiTestCase.java186 h.getLooper().getQueue().addIdleHandler(idler); in waitForIdleSync()
/frameworks/base/core/java/android/app/
DInstrumentation.java405 mMessageQueue.addIdleHandler(new Idler(recipient)); in waitForIdle()
417 mMessageQueue.addIdleHandler(idler); in waitForIdleSync()
1301 mMessageQueue.addIdleHandler(new ActivityGoing(aw)); in prePerformCreate()
DActivityThread.java2648 Looper.myQueue().addIdleHandler(mGcIdler); in scheduleGcIdler()
2664 Looper.myQueue().addIdleHandler(mPurgeIdler); in schedulePurgeIdler()
4898 Looper.myQueue().addIdleHandler(new Idler()); in handleResumeActivity()
/frameworks/base/core/java/android/os/
DMessageQueue.java124 public void addIdleHandler(@NonNull IdleHandler handler) { in addIdleHandler() method in MessageQueue
DStrictMode.java2070 mq.addIdleHandler(sProcessIdleHandler); in setVmPolicy()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java438 getLooper().getQueue().addIdleHandler(this); in onLooperPrepared()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DCachedAppOptimizerTest.java1041 mCachedAppOptimizerUnderTest.mCompactionHandler.getLooper().getQueue().addIdleHandler(idle); in waitForHandler()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java1086 queue.addIdleHandler(() -> { in waitForIdleHandler()
DBrightnessTrackerTest.java970 mHandler.getLooper().getQueue().addIdleHandler(idle); in waitForHandler()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java5563 void addIdleHandler(IdleHandler handler) {
5564 mHandler.getLooper().getQueue().addIdleHandler(handler);
/frameworks/base/boot/
Dboot-image-profile.txt12893 HSPLandroid/os/MessageQueue;->addIdleHandler(Landroid/os/MessageQueue$IdleHandler;)V+]Ljava/util/Ar…
/frameworks/base/core/api/
Dcurrent.txt31341 method public void addIdleHandler(@NonNull android.os.MessageQueue.IdleHandler);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt21906 method public void addIdleHandler(android.os.MessageQueue.IdleHandler);
/frameworks/base/config/
Dboot-image-profile.txt12885 HSPLandroid/os/MessageQueue;->addIdleHandler(Landroid/os/MessageQueue$IdleHandler;)V+]Ljava/util/Ar…