Searched refs:runWithScissors (Results 1 – 8 of 8) sorted by relevance
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiThreadRunner.java | 79 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/ |
D | WifiThreadRunnerTest.java | 78 }).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/ |
D | CarInputRotaryServiceTest.java | 248 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/ |
D | VendorServiceControllerTest.java | 195 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/ |
D | GarageModeTest.java | 137 mHandler.runWithScissors(() -> {}, DEFAULT_TIMEOUT_MS); in waitForHandlerThreadToFinish()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserNoticeServiceTest.java | 286 .that(mHandler.runWithScissors(() -> {}, TIMEOUT_MS)).isTrue(); in waitForHandlerThreadToFinish()
|
D | CarUserServiceTest.java | 2339 assertThat(mHandler.runWithScissors(() -> {}, DEFAULT_TIMEOUT_MS)).isTrue(); in waitForHandlerThreadToFinish()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | UserHalServiceTest.java | 1553 mHandler.runWithScissors(() -> { }, /* Default timeout */ CALLBACK_TIMEOUT); in waitForHandler()
|