Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskPositioningControllerTests.java85 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()
DUnknownAppVisibilityControllerTest.java51 mWm.mH.runWithScissors(() -> { }, 0); in testFlow()
67 mWm.mH.runWithScissors(() -> { }, 0); in testMultiple()
DScreenDecorWindowTests.java200 Handler.getMain().runWithScissors(() -> { in createWindow()
221 Handler.getMain().runWithScissors(() -> { in updateWindow()
235 Handler.getMain().runWithScissors(() -> mWm.removeView(v), 0); in removeWindow()
DPendingRemoteAnimationRegistryTest.java54 mService.mH.runWithScissors(() -> { in setUp()
DRemoteAnimationControllerTest.java83 mWm.mH.runWithScissors(() -> mHandler = new TestHandler(null, mClock), 0); in setUp()
DActivityTestsBase.java591 mHandlerThread.getThreadHandler().runWithScissors(mHandlerThread::quit, in tearDown()
DActivityRecordTests.java578 mService.mH.runWithScissors(() -> { }, TimeUnit.SECONDS.toMillis(3)); in testSizeCompatMode_ResetNonVisibleActivity()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java146 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/
DViewRootSurfaceCallbackTest.java64 thread.getThreadHandler().runWithScissors(() -> { in testCallingTidOfSurfaceCallback()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DAsyncSensorManagerTest.java107 assertTrue(mHandler.runWithScissors(() -> {}, 0)); in waitUntilRequestsCompleted()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarFragmentTest.java187 Handler.getMain().runWithScissors(() -> { }, 500); in testSetImeWindowStatusWhenImeSwitchOnDisplay()
198 Handler.getMain().runWithScissors(() -> { }, 500); in testSetImeWindowStatusWhenImeSwitchOnDisplay()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java644 .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/
DDumpUtils.java65 if (handler.runWithScissors(new Runnable() { in dumpAsync()
/frameworks/base/services/core/java/com/android/server/wm/
DSurfaceAnimationRunner.java85 SurfaceAnimationThread.getHandler().runWithScissors(() -> mChoreographer = getSfInstance(), in SurfaceAnimationRunner()
DWindowAnimator.java92 AnimationThread.getHandler().runWithScissors( in WindowAnimator()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileLifecycleManagerTest.java234 assertTrue(mHandler.runWithScissors(()->{}, TEST_FAIL_TIMEOUT)); in testKillProcess()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java239 mService.mHandler.runWithScissors(() -> { }, 0 /*now*/); // Flush runnables on handler in flushHandlerTasks()
/frameworks/base/core/java/android/os/
DHandler.java568 public final boolean runWithScissors(@NonNull Runnable r, long timeout) { in runWithScissors() method in Handler
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetTracker.java463 mHandler.runWithScissors(r, 2000L /* timeout */); in postAndWaitForRunnable()
/frameworks/base/core/java/android/view/
DWindowManagerGlobal.java668 root.mHandler.runWithScissors(() -> root.setWindowStopped(stopped), 0); in setStoppedState()
/frameworks/base/services/core/java/com/android/server/location/
DGnssVisibilityControl.java123 if (mHandler.runWithScissors(() -> handleGpsEnabledChanged(isEnabled), in onGpsEnabledChanged()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java518 .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/
DTrustManagerService.java1103 mHandler.runWithScissors(() -> {}, 0);
1172 mHandler.runWithScissors(new Runnable() {
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java745 mBgHandler.runWithScissors(() -> dumpLocal(pw), 1000); in dump()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java820 if (!mHandler.runWithScissors(new Runnable() { in dump()

12