/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SystemServiceTestsBase.java | 59 return runWithScissors(handler, () -> { }, timeout); in waitHandlerIdle() 62 boolean runWithScissors(Handler handler, Runnable r, long timeout) { in runWithScissors() method in SystemServiceTestsBase 63 return mLockRule.runWithScissors(handler, r, timeout); in runWithScissors()
|
D | WindowManagerGlobalLockRule.java | 65 boolean runWithScissors(Handler handler, Runnable r, long timeout) { in runWithScissors() method in WindowManagerGlobalLockRule 66 return waitForLocked(() -> handler.runWithScissors(r, timeout)); in runWithScissors()
|
D | ScreenDecorWindowTests.java | 215 Handler.getMain().runWithScissors(() -> { in createWindow() 237 Handler.getMain().runWithScissors(() -> { in updateWindow() 251 Handler.getMain().runWithScissors(() -> mWm.removeView(v), 0); in removeWindow()
|
D | PendingRemoteAnimationRegistryTest.java | 55 AnimationThread.getHandler().runWithScissors(() -> { in setUp()
|
D | RemoteAnimationControllerTest.java | 91 runWithScissors(mWm.mH, () -> mHandler = new TestHandler(null, mClock), 0); in setUp()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiThreadRunner.java | 74 boolean runWithScissorsSuccess = runWithScissors(mHandler, in call() 95 runWithScissors(mHandler, runnable, RUN_WITH_SCISSORS_TIMEOUT_MILLIS); in run() 155 private static boolean runWithScissors(@NonNull Handler handler, @NonNull Runnable r, in runWithScissors() method in WifiThreadRunner
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | DisplayManagerServiceTest.java | 158 displayManager.getDisplayHandler().runWithScissors(() -> {}, 0 /* now */); in testCreateVirtualDisplay_sentToInputManager() 222 displayManager.getDisplayHandler().runWithScissors(() -> {}, 0 /* now */); in testPhysicalViewports() 266 displayManager.getDisplayHandler().runWithScissors(() -> {}, 0 /* now */); in testCreateVirtualDisplayRotatesWithContent() 292 handler.runWithScissors(() -> {}, 0 /* now */); in testStartVirtualDisplayWithDefDisplay_NoDefaultDisplay() 463 displayManager.getDisplayHandler().runWithScissors(() -> {}, 0 /* now */); in testCreateVirtualDisplay_displayIdToMirror() 502 displayManager.getDisplayHandler().runWithScissors(() -> {}, 0 /* now */); in testCreateVirtualDisplay_setSurface() 513 handler.runWithScissors(() -> {}, 0 /* now */); in registerDefaultDisplays()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiThreadRunnerTest.java | 78 }).when(mHandler).runWithScissors(any(), anyLong()); in callSuccess_returnExpectedValue() 103 }).when(mHandler).runWithScissors(any(), anyLong()); in runSuccess()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ServiceThreadRule.java | 46 mThread.getThreadHandler().runWithScissors(mThread::quit, 0 /* timeout */); in apply()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AnimationThread.java | 72 getHandler().runWithScissors(() -> sInstance.quit(), 0 /* timeout */); in dispose()
|
D | DisplayThread.java | 75 getHandler().runWithScissors(() -> sInstance.quit(), 0 /* timeout */); in dispose()
|
D | UiThread.java | 85 getHandler().runWithScissors(sInstance::quit, 0 /* timeout */); in dispose()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SurfaceAnimationThread.java | 72 getHandler().runWithScissors(() -> sInstance.quit(), 0 /* timeout */); in dispose()
|
D | SurfaceAnimationRunner.java | 95 mSurfaceAnimationHandler.runWithScissors(() -> mChoreographer = getSfInstance(), in SurfaceAnimationRunner()
|
D | WindowAnimator.java | 101 service.mAnimationHandler.runWithScissors( in WindowAnimator()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewRootSurfaceCallbackTest.java | 64 thread.getThreadHandler().runWithScissors(() -> { in testCallingTidOfSurfaceCallback()
|
D | WindowMetricsTest.java | 73 Handler.getMain().runWithScissors(() -> { in testAddViewAndRemoveView_GetMetrics_DoNotCrash()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestBase.java | 95 dpms.mHandler.runWithScissors(() -> { }, 0 /*now*/); in flushTasks() 96 dpms.mBackgroundHandler.runWithScissors(() -> { }, 0 /*now*/); in flushTasks()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | DumpUtils.java | 65 if (handler.runWithScissors(new Runnable() { in dumpAsync()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | TileLifecycleManagerTest.java | 239 assertTrue(mHandler.runWithScissors(()->{}, TEST_FAIL_TIMEOUT)); in testKillProcess()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | PinnerServiceTest.java | 140 pinnerServiceHandler.runWithScissors(() -> { in waitForPinnerService()
|
/frameworks/base/core/java/android/os/ |
D | Handler.java | 592 public final boolean runWithScissors(@NonNull Runnable r, long timeout) { in runWithScissors() method in Handler
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | BaseLockSettingsServiceTests.java | 303 mService.mHandler.runWithScissors(() -> { }, 0 /*now*/); // Flush runnables on handler in flushHandlerTasks()
|
/frameworks/base/core/java/android/view/ |
D | WindowManagerGlobal.java | 693 root.mHandler.runWithScissors(() -> root.setWindowStopped(stopped), 0); in setStoppedState()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssVisibilityControl.java | 126 if (mHandler.runWithScissors(() -> handleGpsEnabledChanged(isEnabled), in onGpsEnabledChanged()
|