Home
last modified time | relevance | path

Searched refs:addIdleHandler (Results 1 – 18 of 18) 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/core/java/android/hardware/camera2/legacy/
DRequestHandlerThread.java104 queue.addIdleHandler(mIdleHandler); in waitUntilIdle()
/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.java124 h.getLooper().getQueue().addIdleHandler(idler); in waitForIdleSync()
/frameworks/base/core/java/android/app/
DInstrumentation.java387 mMessageQueue.addIdleHandler(new Idler(recipient)); in waitForIdle()
399 mMessageQueue.addIdleHandler(idler); in waitForIdleSync()
1278 mMessageQueue.addIdleHandler(new ActivityGoing(aw)); in prePerformCreate()
DActivityThread.java2450 Looper.myQueue().addIdleHandler(mGcIdler); in scheduleGcIdler()
2466 Looper.myQueue().addIdleHandler(mPurgeIdler); in schedulePurgeIdler()
4393 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.java1954 mq.addIdleHandler(sProcessIdleHandler); in setVmPolicy()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java855 mHandler.getLooper().getQueue().addIdleHandler(idle); in waitForHandler()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java438 getLooper().getQueue().addIdleHandler(this); in onLooperPrepared()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java5033 void addIdleHandler(IdleHandler handler) { in addIdleHandler() method
5034 mHandler.getLooper().getQueue().addIdleHandler(handler); in addIdleHandler()
/frameworks/base/config/
Dboot-image-profile.txt11785 HSPLandroid/os/MessageQueue;->addIdleHandler(Landroid/os/MessageQueue$IdleHandler;)V
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt21906 method public void addIdleHandler(android.os.MessageQueue.IdleHandler);
/frameworks/base/non-updatable-api/
Dcurrent.txt34980 method public void addIdleHandler(@NonNull android.os.MessageQueue.IdleHandler);
/frameworks/base/api/
Dcurrent.txt35124 method public void addIdleHandler(@NonNull android.os.MessageQueue.IdleHandler);