Searched refs:syncCallOnMainThread (Results 1 – 6 of 6) sorted by relevance
18 import static android.car.test.mocks.AndroidMockitoHelper.syncCallOnMainThread;30 Fragment fragment = syncCallOnMainThread(() -> in testGetFragment()
18 import static android.car.test.mocks.AndroidMockitoHelper.syncCallOnMainThread;39 mFragment = syncCallOnMainThread(() -> new EnterpriseSetDefaultAppsListFragment()); in setFragment()
18 import static android.car.test.mocks.AndroidMockitoHelper.syncCallOnMainThread;42 mFragment = syncCallOnMainThread(() -> new EnterprisePrivacySettingsFragment()); in setFragment()
30 import static android.car.test.mocks.AndroidMockitoHelper.syncCallOnMainThread;108 mRealFragment = syncCallOnMainThread(() -> new DeviceAdminAddFragment()); in createFragments()
533 public static <T> T syncCallOnMainThread(Callable<T> c) throws Exception { in syncCallOnMainThread() method in AndroidMockitoHelper534 return syncCallOnMainThread(JavaMockitoHelper.ASYNC_TIMEOUT_MS, c); in syncCallOnMainThread()542 public static <T> T syncCallOnMainThread(long timeoutMs, Callable<T> callable) in syncCallOnMainThread() method in AndroidMockitoHelper