Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiThreadRunner.java79 boolean runWithScissorsSuccess = runWithScissors(mHandler, in call()
107 runWithScissors(mHandler, runnable, RUN_WITH_SCISSORS_TIMEOUT_MILLIS); in run()
225 private boolean runWithScissors(@NonNull Handler handler, @NonNull Runnable r, in runWithScissors() method in WifiThreadRunner
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiThreadRunnerTest.java78 }).when(mHandler).runWithScissors(any(), anyLong()); in callSuccess_returnExpectedValue()
103 }).when(mHandler).runWithScissors(any(), anyLong()); in runSuccess()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarInputRotaryServiceTest.java248 Handler.getMain().runWithScissors(r, DEFAULT_TIMEOUT_MS); in runOnMainThreadAndWaitForIdle()
250 Handler.getMain().runWithScissors(() -> { in runOnMainThreadAndWaitForIdle()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/
DVendorServiceControllerTest.java195 Handler.getMain().runWithScissors(r, DEFAULT_TIMEOUT_MS); in runOnMainThreadAndWaitForIdle()
197 Handler.getMain().runWithScissors(() -> { }, DEFAULT_TIMEOUT_MS); in runOnMainThreadAndWaitForIdle()
/packages/services/Car/tests/carservice_test/src/com/android/car/garagemode/
DGarageModeTest.java137 mHandler.runWithScissors(() -> {}, DEFAULT_TIMEOUT_MS); in waitForHandlerThreadToFinish()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserNoticeServiceTest.java286 .that(mHandler.runWithScissors(() -> {}, TIMEOUT_MS)).isTrue(); in waitForHandlerThreadToFinish()
DCarUserServiceTest.java2339 assertThat(mHandler.runWithScissors(() -> {}, DEFAULT_TIMEOUT_MS)).isTrue(); in waitForHandlerThreadToFinish()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DUserHalServiceTest.java1553 mHandler.runWithScissors(() -> { }, /* Default timeout */ CALLBACK_TIMEOUT); in waitForHandler()