Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DIdleHandlerTest.java48 public void addIdleHandler() { in addIdleHandler() method in IdleHandlerTest.BaseTestHandler
49 Looper.myQueue().addIdleHandler(new IdleHandler() { in addIdleHandler()
74 addIdleHandler(); in testOneShotFirst()
113 addIdleHandler(); in testOneShotLater()
147 addIdleHandler(); in testRepeatedFirst()
186 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/services/core/java/com/android/server/am/
DBroadcastLoopers.java79 queue.addIdleHandler(() -> { in waitForIdle()
DAppBatteryTracker.java827 mBgHandler.getLooper().getQueue().addIdleHandler(() -> { in dump()
/frameworks/base/apct-tests/perftests/contentcapture/src/android/view/contentcapture/
DCustomTestActivity.java77 Looper.myQueue().addIdleHandler(() -> { in onCreate()
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
DInTaskTransitionTest.java113 Looper.myLooper().getQueue().addIdleHandler(() -> { in onCreate()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/
DSysuiTestCase.java293 h.getLooper().getQueue().addIdleHandler(idler);
/frameworks/base/core/java/android/app/
DInstrumentation.java436 mMessageQueue.addIdleHandler(new Idler(recipient)); in waitForIdle()
448 mMessageQueue.addIdleHandler(idler); in waitForIdleSync()
1498 mMessageQueue.addIdleHandler(new ActivityGoing(aw)); in prePerformCreate()
DActivityThread.java3128 Looper.myQueue().addIdleHandler(mGcIdler); in scheduleGcIdler()
3144 Looper.myQueue().addIdleHandler(mPurgeIdler); in schedulePurgeIdler()
5455 Looper.myQueue().addIdleHandler(new Idler()); in handleResumeActivity()
/frameworks/base/core/java/android/os/
DMessageQueue.java132 public void addIdleHandler(@NonNull IdleHandler handler) { in addIdleHandler() method in MessageQueue
DStrictMode.java2098 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.java993 mCachedAppOptimizerUnderTest.mCompactionHandler.getLooper().getQueue().addIdleHandler(idle); in waitForHandler()
DBackgroundRestrictionTest.java2735 queue.addIdleHandler(() -> {
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DBrightnessTrackerTest.java1055 mHandler.getLooper().getQueue().addIdleHandler(idle); in waitForHandler()
DDisplayManagerServiceTest.java3441 queue.addIdleHandler(() -> {
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/rollback/
DRollbackPackageHealthObserverTest.java1030 queue.addIdleHandler(() -> { in waitForIdleHandler()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java6422 void addIdleHandler(IdleHandler handler) {
6423 mHandler.getLooper().getQueue().addIdleHandler(handler);
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt12244 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/config/
Dboot-image-profile.txt12247 HSPLandroid/os/MessageQueue;->addIdleHandler(Landroid/os/MessageQueue$IdleHandler;)V
/frameworks/base/core/api/
Dcurrent.txt33301 method public void addIdleHandler(@NonNull android.os.MessageQueue.IdleHandler);