Searched refs:getFromLauncher (Results 1 – 6 of 6) sorted by relevance
353 protected <T> T getFromLauncher(Function<Launcher, T> f) { in getFromLauncher() method in AbstractLauncherUiTest359 getFromLauncher(launcher -> { in executeOnLauncher()395 Wait.atMost(message, () -> getFromLauncher(condition), timeout, mLauncher); in waitForLauncherCondition()405 final Object fromLauncher = getFromLauncher(f); in getOnceNotNull()421 return getFromLauncher(condition); in waitForLauncherCondition()522 return getFromLauncher( in isInState()
93 UserManager userManager = getFromLauncher(l -> l.getSystemService(UserManager.class)); in toggleWorks()95 UserHandle workProfile = getFromLauncher(l -> { in toggleWorks()187 return getFromLauncher(launcher -> (WorkEduView) launcher.getDragLayer().getChildAt( in getEduView()
141 final Integer flingForwardY = test.getFromLauncher( in runAllAppsTest()151 final Integer flingBackwardY = test.getFromLauncher( in runAllAppsTest()263 Integer flingForwardY = getFromLauncher(launcher -> getWidgetsScroll(launcher)); in testWidgets()
123 final Integer currentTaskAfterFlingForward = getFromLauncher( in testOverview()150 final Integer numTasks = getFromLauncher(launcher -> getTaskCount(launcher)); in testOverview()159 || getFromLauncher(launcher -> !launcher.getDeviceProfile().isLandscape))) { in testOverview()
113 assertEquals(2, getFromLauncher(this::getPredictedApp).size()); in testPredictionsDeferredUntilHome()117 assertEquals(3, getFromLauncher(this::getPredictedApp).size()); in testPredictionsDeferredUntilHome()
78 return getFromLauncher(launcher -> { in getToast()