/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskPositioningControllerTests.java | 85 assertTrue(mWm.mH.runWithScissors(() -> { }, TIMEOUT_MS)); in testStartAndFinishPositioning() 108 assertTrue(mWm.mH.runWithScissors(() -> { }, TIMEOUT_MS)); in testFinishPositioningWhenAppRequested() 127 assertTrue(mWm.mH.runWithScissors(() -> { }, TIMEOUT_MS)); in testHandleTapOutsideTask() 136 assertTrue(mWm.mH.runWithScissors(() -> { }, TIMEOUT_MS)); in testHandleTapOutsideTask()
|
D | UnknownAppVisibilityControllerTest.java | 51 mWm.mH.runWithScissors(() -> { }, 0); in testFlow() 67 mWm.mH.runWithScissors(() -> { }, 0); in testMultiple()
|
D | ScreenDecorWindowTests.java | 200 Handler.getMain().runWithScissors(() -> { in createWindow() 221 Handler.getMain().runWithScissors(() -> { in updateWindow() 235 Handler.getMain().runWithScissors(() -> mWm.removeView(v), 0); in removeWindow()
|
D | PendingRemoteAnimationRegistryTest.java | 54 mService.mH.runWithScissors(() -> { in setUp()
|
D | RemoteAnimationControllerTest.java | 83 mWm.mH.runWithScissors(() -> mHandler = new TestHandler(null, mClock), 0); in setUp()
|
D | ActivityTestsBase.java | 591 mHandlerThread.getThreadHandler().runWithScissors(mHandlerThread::quit, in tearDown()
|
D | ActivityRecordTests.java | 578 mService.mH.runWithScissors(() -> { }, TimeUnit.SECONDS.toMillis(3)); in testSizeCompatMode_ResetNonVisibleActivity()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | DisplayManagerServiceTest.java | 146 displayManager.getDisplayHandler().runWithScissors(() -> {}, 0 /* now */); in testCreateVirtualDisplay_sentToInputManager() 210 displayManager.getDisplayHandler().runWithScissors(() -> {}, 0 /* now */); in testPhysicalViewports() 252 displayManager.getDisplayHandler().runWithScissors(() -> {}, 0 /* now */); in testCreateVirtualDisplayRotatesWithContent() 278 handler.runWithScissors(() -> {}, 0 /* now */); in testStartVirtualDisplayWithDefDisplay_NoDefaultDisplay() 418 handler.runWithScissors(() -> {}, 0 /* now */); in registerDefaultDisplays()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewRootSurfaceCallbackTest.java | 64 thread.getThreadHandler().runWithScissors(() -> { in testCallingTidOfSurfaceCallback()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | AsyncSensorManagerTest.java | 107 assertTrue(mHandler.runWithScissors(() -> {}, 0)); in waitUntilRequestsCompleted()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarFragmentTest.java | 187 Handler.getMain().runWithScissors(() -> { }, 500); in testSetImeWindowStatusWhenImeSwitchOnDisplay() 198 Handler.getMain().runWithScissors(() -> { }, 500); in testSetImeWindowStatusWhenImeSwitchOnDisplay()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 644 .runWithScissors(() -> { in startScan() 946 mWifiInjector.getClientModeImplHandler().runWithScissors(() -> { in getWifiApEnabledState() 1581 boolean success = mWifiInjector.getClientModeImplHandler().runWithScissors(() -> { in getWifiApConfiguration() 2245 boolean success = mWifiInjector.getClientModeImplHandler().runWithScissors(() -> { in getScanResults() 2739 mWifiInjector.getClientModeImplHandler().runWithScissors(() -> { in dump() 2769 mWifiInjector.getClientModeImplHandler().runWithScissors(() -> { in dump() 2779 mWifiInjector.getClientModeImplHandler().runWithScissors(() -> { in dump() 2816 boolean runWithScissorsSuccess = mWifiInjector.getClientModeImplHandler().runWithScissors( in acquireWifiLock() 2841 boolean runWithScissorsSuccess = mWifiInjector.getClientModeImplHandler().runWithScissors( in updateWifiLockWorkSource() 2857 boolean runWithScissorsSuccess = mWifiInjector.getClientModeImplHandler().runWithScissors( in releaseWifiLock() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | DumpUtils.java | 65 if (handler.runWithScissors(new Runnable() { in dumpAsync()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SurfaceAnimationRunner.java | 85 SurfaceAnimationThread.getHandler().runWithScissors(() -> mChoreographer = getSfInstance(), in SurfaceAnimationRunner()
|
D | WindowAnimator.java | 92 AnimationThread.getHandler().runWithScissors( in WindowAnimator()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | TileLifecycleManagerTest.java | 234 assertTrue(mHandler.runWithScissors(()->{}, TEST_FAIL_TIMEOUT)); in testKillProcess()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | BaseLockSettingsServiceTests.java | 239 mService.mHandler.runWithScissors(() -> { }, 0 /*now*/); // Flush runnables on handler in flushHandlerTasks()
|
/frameworks/base/core/java/android/os/ |
D | Handler.java | 568 public final boolean runWithScissors(@NonNull Runnable r, long timeout) { in runWithScissors() method in Handler
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetTracker.java | 463 mHandler.runWithScissors(r, 2000L /* timeout */); in postAndWaitForRunnable()
|
/frameworks/base/core/java/android/view/ |
D | WindowManagerGlobal.java | 668 root.mHandler.runWithScissors(() -> root.setWindowStopped(stopped), 0); in setStoppedState()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssVisibilityControl.java | 123 if (mHandler.runWithScissors(() -> handleGpsEnabledChanged(isEnabled), in onGpsEnabledChanged()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiServiceImplTest.java | 518 .runWithScissors(any(), anyLong()); in testWifiScoreReportDump() 1153 .runWithScissors(any(), anyLong()); in testStartScanFailureInRunWithScissors() 1380 .runWithScissors(any(), anyLong()); in testGetScanResultsFailureInRunWithScissors() 3780 .runWithScissors(any(), anyLong()); in testAddNetworkSuggestions() 3807 .runWithScissors(any(), anyLong()); in testRemoveNetworkSuggestions() 3860 .runWithScissors(any(), anyLong()); in testGetFactoryMacAddressesPostFail()
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustManagerService.java | 1103 mHandler.runWithScissors(() -> {}, 0); 1172 mHandler.runWithScissors(new Runnable() {
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessTracker.java | 745 mBgHandler.runWithScissors(() -> dumpLocal(pw), 1000); in dump()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaRouterService.java | 820 if (!mHandler.runWithScissors(new Runnable() { in dump()
|