Home
last modified time | relevance | path

Searched defs:timeout (Results 1 – 22 of 22) sorted by relevance

/platform_testing/utils/dpad/src/android/platform/test/utils/
DDPadUtil.java68 public boolean pressDPad(Direction direction, long repeat, long timeout) { in pressDPad()
164 long timeout) { in pressKeyCodeAndWait()
169 public <R> R pressKeyCodeAndWait(int keyCode, EventCondition<R> condition, long timeout) { in pressKeyCodeAndWait()
173 public <R> R pressDPadCenterAndWait(EventCondition<R> condition, long timeout) { in pressDPadCenterAndWait()
178 public <R> R pressEnterAndWait(EventCondition<R> condition, long timeout) { in pressEnterAndWait()
DDPadUtil2.java67 public boolean pressDPad(Direction direction, long repeat, long timeout) { in pressDPad()
163 long timeout) { in pressKeyCodeAndWait()
168 public <R> R pressKeyCodeAndWait(int keyCode, EventCondition<R> condition, long timeout) { in pressKeyCodeAndWait()
172 public <R> R pressDPadCenterAndWait(EventCondition<R> condition, long timeout) { in pressDPadCenterAndWait()
177 public <R> R pressEnterAndWait(EventCondition<R> condition, long timeout) { in pressEnterAndWait()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DAbstractStandardAppHelper2.java540 protected void waitAndClickById(String packageStr, String id, long timeout) { in waitAndClickById()
541 clickOn(mDevice.wait(Until.findObject(By.res(packageStr, id)), timeout)); in waitAndClickById() local
544 protected void waitAndClickByText(String text, long timeout) { in waitAndClickByText()
545 clickOn(mDevice.wait(Until.findObject(By.text(text)), timeout)); in waitAndClickByText() local
548 protected void waitAndClickByDescription(String description, long timeout) { in waitAndClickByDescription()
549 clickOn(mDevice.wait(Until.findObject(By.desc(description)), timeout)); in waitAndClickByDescription() local
552 protected void checkElementWithIdExists(String packageStr, String id, long timeout) { in checkElementWithIdExists()
559 protected void checkElementWithTextExists(String text, long timeout) { in checkElementWithTextExists()
566 protected void checkElementWithDescriptionExists(String description, long timeout) { in checkElementWithDescriptionExists()
DAbstractStandardAppHelper.java581 protected void waitAndClickById(String packageStr, String id, long timeout) { in waitAndClickById()
582 clickOn(mDevice.wait(Until.findObject(By.res(packageStr, id)), timeout)); in waitAndClickById() local
585 protected void waitAndClickByText(String text, long timeout) { in waitAndClickByText()
586 clickOn(mDevice.wait(Until.findObject(By.text(text)), timeout)); in waitAndClickByText() local
589 protected void waitAndClickByDescription(String description, long timeout) { in waitAndClickByDescription()
590 clickOn(mDevice.wait(Until.findObject(By.desc(description)), timeout)); in waitAndClickByDescription() local
593 protected void checkElementWithIdExists(String packageStr, String id, long timeout) { in checkElementWithIdExists()
600 protected void checkElementWithTextExists(String text, long timeout) { in checkElementWithTextExists()
607 protected void checkElementWithDescriptionExists(String description, long timeout) { in checkElementWithDescriptionExists()
DHelperTest.java52 public final TestRule timeout = new Timeout((int)TimeUnit.MINUTES.toMillis(5)); field in HelperTest
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DWaitForIdleTimeoutRuleTest.java78 long timeout = 777L; in testSetsAndRestoresTimeout() local
102 private WaitForIdleTimeoutRule createRule(long timeout, Boolean disabled) { in createRule()
/platform_testing/libraries/app-helpers/interfaces/common/src/android/platform/helpers/
DIGoogleKeyboardHelper.java25 public boolean waitForKeyboard(long timeout); in waitForKeyboard()
DIYouTubeHelper.java100 public boolean waitForVideoToLoad(long timeout); in waitForVideoToLoad()
110 public boolean waitForSearchResults(long timeout); in waitForSearchResults()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DCommonTestUtils.java33 final long timeout = System.currentTimeMillis() + timeoutSeconds * 1000; in waitUntil() local
DLogcatInspector.java97 long timeout = System.currentTimeMillis() + TimeUnit.SECONDS.toMillis(timeInSeconds); in numberOfLogcatStringsFound() local
DBackupUtils.java393 void waitUntilBackupServiceIsRunning(int userId, long timeout) in waitUntilBackupServiceIsRunning()
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/
DProfileSuite.java174 long timeout = in getSuiteRunner() local
203 BlockJUnit4ClassRunner runner, Scenario scenario, long timeout, boolean shouldIdle) { in getScheduledRunner()
DScheduledScenarioRunner.java77 Class<?> klass, Scenario scenario, long timeout, boolean shouldIdle) in ScheduledScenarioRunner()
84 Class<?> klass, Scenario scenario, long timeout, boolean shouldIdle, Bundle arguments) in ScheduledScenarioRunner()
/platform_testing/host_runners/utils/src/com/android/runner/utils/
DNohupCommandHelper.java43 public static void executeAdbNohupCommand(ITestDevice device, String cmd, int timeout) in executeAdbNohupCommand()
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/service/
DAudioCaptureSession.java116 public void awaitStop(long timeout, TimeUnit timeUnit) throws IOException { in awaitStop()
DCaptureChunkStreamObserverOutputStream.java178 public boolean awaitClose(long timeout, TimeUnit timeUnit) throws InterruptedException { in awaitClose()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/
DAutoLauncherStrategy.java260 private void waitUntilAppOpen(String appName, long timeout) { in waitUntilAppOpen()
261 waitUntilOneOfTheAppOpen(Arrays.asList(appName), timeout); in waitUntilAppOpen() local
268 private void waitUntilOneOfTheAppOpen(List<String> appNames, long timeout) { in waitUntilOneOfTheAppOpen()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DAutoLauncherStrategy.java275 private void waitUntilAppOpen(String appName, long timeout) { in waitUntilAppOpen()
276 waitUntilOneOfTheAppOpen(Arrays.asList(appName), timeout); in waitUntilAppOpen() local
283 private void waitUntilOneOfTheAppOpen(List<String> appNames, long timeout) { in waitUntilOneOfTheAppOpen()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DRegexUtils.java120 TimeoutCharSequence(CharSequence chars, long timeout) { in TimeoutCharSequence()
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/
DIGoogleCameraHelper.java277 public default void viewTopShot(long timeout) { in viewTopShot()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/ghidra/
DGhidraScriptRunner.java149 public AutoCloseable runWithTimeout(long timeout) throws Exception { in runWithTimeout()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/media/
DMediaInstrumentation.java210 public boolean waitUmoGone(long timeout) { in waitUmoGone()