Searched refs:runOnMain (Results 1 – 6 of 6) sorted by relevance
90 runOnMain(carLauncherViewModel::onCleared); in testViewModelOnCleared_clearsRemoteCarTaskView()99 runOnMain(() -> carLauncherViewModel.getRemoteCarTaskView().observeForever( in createCarLauncherViewModel()108 runOnMain(() -> ActivityCompat.recreate(mActivity)); in triggerActivityRecreation()112 private void runOnMain(Runnable runnable) { in runOnMain() method in CarLauncherViewModelTest
486 runOnMain(() -> { in testCreateCar_Context_InvokeFromMain() method518 runOnMain(() -> { in testCreateCar_Context_WaitForever_Lclistener_CarServiceRegisteredLater() method560 runOnMain(() -> { in testCreateCar_Context_WaitForever_Lclistener_CarServiceAlreadyRegistered() method649 runOnMain(() -> { in testCreateCar_Context_DoNotWait_InvokeFromMain_CarServiceRegistered() method707 runOnMain(() -> { in testCreateCar_Context_DoNotWait_InvokeFromMain_CarServiceRegisteredLater() method725 runOnMain(() -> { in testCreateCar_Context_WithTimeout_InvokeFromMain_CarServiceRegisteredLater() method759 runOnMain(() -> { in testCreateCar_Context_WaitForever_InvokeFromMain_CarServiceRegisteredLater() method772 private void runOnMain(Runnable runnable) throws InterruptedException { in runOnMain() method in CarUnitTest783 runOnMain(() -> {}); in finishTasksOnMain() method
248 CarServiceUtils.runOnMain(() -> { in testDelayedConnection()
33 import static com.android.car.CarServiceUtils.runOnMain;671 runOnMain(() -> { in postRegisterToDaemonMessage() method
308 public static void runOnMain(Runnable action) { in runOnMain() method in CarServiceUtils
234 CarServiceUtils.runOnMain(this::startMetricsCollection); in init()