Home
last modified time | relevance | path

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

123

/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DSystemServiceTestsBase.java55 return runWithScissors(handler, () -> { }, timeout); in waitHandlerIdle()
58 boolean runWithScissors(Handler handler, Runnable r, long timeout) { in runWithScissors() method in SystemServiceTestsBase
59 return mLockRule.runWithScissors(handler, r, timeout); in runWithScissors()
H A DWindowManagerGlobalLockRule.java65 boolean runWithScissors(Handler handler, Runnable r, long timeout) { in runWithScissors() method in WindowManagerGlobalLockRule
66 return waitForLocked(() -> handler.runWithScissors(r, timeout)); in runWithScissors()
H A DPendingRemoteAnimationRegistryTest.java57 AnimationThread.getHandler().runWithScissors(() -> { in setUp()
H A DSurfaceAnimationRunnerTest.java215 handler.runWithScissors(() -> { }, 0 /* timeout */); in waitHandlerIdle()
/aosp14/frameworks/base/core/java/com/android/internal/jank/
H A DInteractionMonitorDebugOverlay.java87 mHandler.runWithScissors(() -> mViewRoot.removeWindowCallbacks(this), in dispose()
106 mHandler.runWithScissors(() -> viewRoot.addWindowCallbacks(this), in attachViewRootIfNeeded()
144 mHandler.runWithScissors(() -> { in forceRedraw()
H A DInteractionJankMonitor.java583 getTracker(session.getCuj()).getHandler().runWithScissors(() -> { in handleCujEvents()
649 final boolean success = config.getHandler().runWithScissors( in begin()
730 final boolean success = tracker.getHandler().runWithScissors( in end()
781 final boolean success = tracker.getHandler().runWithScissors( in cancel()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
H A DSingleKeyGestureTests.java250 newHandler.runWithScissors(() -> { in testShortPress_Pressure()
272 newHandler.runWithScissors(() -> { in testMultiPress_Pressure()
278 newHandler.runWithScissors(() -> { in testMultiPress_Pressure()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DServiceThreadRule.java46 mThread.getThreadHandler().runWithScissors(mThread::quit, 0 /* timeout */); in apply()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DAnimationThread.java72 getHandler().runWithScissors(() -> sInstance.quit(), 0 /* timeout */); in dispose()
H A DDisplayThread.java75 getHandler().runWithScissors(() -> sInstance.quit(), 0 /* timeout */); in dispose()
H A DUiThread.java85 getHandler().runWithScissors(sInstance::quit, 0 /* timeout */); in dispose()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DSurfaceAnimationThread.java72 getHandler().runWithScissors(() -> sInstance.quit(), 0 /* timeout */); in dispose()
H A DWindowAnimator.java93 service.mAnimationHandler.runWithScissors( in WindowAnimator()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
H A DTraceUtilsTest.kt86 .runWithScissors(
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DViewRootSurfaceCallbackTest.java64 thread.getThreadHandler().runWithScissors(() -> { in testCallingTidOfSurfaceCallback()
H A DWindowMetricsTest.java71 Handler.getMain().runWithScissors(() -> { in testAddViewAndRemoveView_GetMetrics_DoNotCrash()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDpmTestBase.java102 dpms.mHandler.runWithScissors(() -> { }, 0 /*now*/); in flushTasks()
103 dpms.mBackgroundHandler.runWithScissors(() -> { }, 0 /*now*/); in flushTasks()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/mediator/
H A DScreenOnCoordinatorTest.kt138 handler.runWithScissors({}, /* timeout= */ 0)
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/hint/
H A DHintManagerServiceTest.java274 FgThread.getHandler().runWithScissors(() -> { }, 500); in testSendHint()
336 FgThread.getHandler().runWithScissors(() -> { }, 500); in testSetThreads()
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
H A DDisplayManagerServiceTest.java352 displayManager.getDisplayHandler().runWithScissors(() -> {}, 0 /* now */);
427 displayManager.getDisplayHandler().runWithScissors(() -> {}, 0 /* now */);
479 displayManager.getDisplayHandler().runWithScissors(() -> {}, 0 /* now */);
514 displayManager.getDisplayHandler().runWithScissors(() -> {}, /* now= */ 0);
552 displayManager.getDisplayHandler().runWithScissors(() -> {}, /* now= */ 0);
587 displayManager.getDisplayHandler().runWithScissors(() -> {}, /* now= */ 0);
866 displayManager.getDisplayHandler().runWithScissors(() -> {}, 0 /* now */);
1124 displayManager.getDisplayHandler().runWithScissors(() -> {}, 0 /* now */);
1379 displayManager.getDisplayHandler().runWithScissors(() -> {}, 0 /* now */);
1411 displayManager.getDisplayHandler().runWithScissors(() -> {}, 0 /* now */);
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSystemUIInitializer.java157 boolean built = shellHandler.runWithScissors(() -> { in setupWmComponent()
/aosp14/frameworks/base/core/tests/coretests/src/android/hardware/display/
H A DDisplayManagerGlobalTest.java166 mHandler.runWithScissors(() -> { }, 0); in waitForHandler()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/location/
H A DHandlerThreadingDomainTest.java211 mTestHandler.runWithScissors(runDelayedTestRunnable, TimeUnit.SECONDS.toMillis(60)); in singleRunnableQueue_runDelayed()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DPinnerServiceTest.java140 pinnerServiceHandler.runWithScissors(() -> { in waitForPinnerService()
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DDumpUtils.java66 if (handler.runWithScissors(new Runnable() { in dumpAsync()

123