/platform_testing/utils/dpad/src/android/platform/test/utils/ |
D | DPadUtil.java | 66 public boolean pressDPad(Direction direction, long repeat, long timeout) { in pressDPad() argument 84 SystemClock.sleep(timeout); in pressDPad() 162 long timeout) { in pressKeyCodeAndWait() argument 164 timeout); in pressKeyCodeAndWait() 167 public <R> R pressKeyCodeAndWait(int keyCode, EventCondition<R> condition, long timeout) { in pressKeyCodeAndWait() argument 168 return pressKeyCodeAndWait(keyCode, condition, false, timeout); in pressKeyCodeAndWait() 171 public <R> R pressDPadCenterAndWait(EventCondition<R> condition, long timeout) { in pressDPadCenterAndWait() argument 173 condition, timeout); in pressDPadCenterAndWait() 176 public <R> R pressEnterAndWait(EventCondition<R> condition, long timeout) { in pressEnterAndWait() argument 178 condition, timeout); in pressEnterAndWait()
|
/platform_testing/libraries/app-helpers/interfaces/common/src/android/platform/helpers/ |
D | IYouTubeHelper.java | 86 public boolean waitForVideoToLoad(long timeout); in waitForVideoToLoad() argument 96 public boolean waitForSearchResults(long timeout); in waitForSearchResults() argument
|
D | IGoogleKeyboardHelper.java | 25 public boolean waitForKeyboard(long timeout); in waitForKeyboard() argument
|
/platform_testing/libraries/aoa-helper/src/com/android/helper/aoa/ |
D | UsbDevice.java | 57 int timeout = (int) mHelper.getTransferTimeout().toMillis(); in controlTransfer() local 58 return controlTransfer(requestType, request, value, index, data, timeout); in controlTransfer() 67 byte requestType, byte request, int value, int index, byte[] data, int timeout) { in controlTransfer() argument 76 timeout); in controlTransfer()
|
D | UsbHelper.java | 156 public UsbDevice getDevice(@Nonnull String serialNumber, @Nonnull Duration timeout) { in getDevice() argument 160 while (device == null && timeout.compareTo(Duration.between(start, Instant.now())) > 0) { in getDevice() 187 public AoaDevice getAoaDevice(@Nonnull String serialNumber, @Nonnull Duration timeout) { in getAoaDevice() argument 188 UsbDevice device = getDevice(serialNumber, timeout); in getAoaDevice()
|
D | IUsbNative.java | 131 int timeout); in libusb_control_transfer() argument
|
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/ |
D | AbstractStandardAppHelper.java | 338 protected void waitAndClickById(String packageStr, String id, long timeout) { in waitAndClickById() argument 339 clickOn(mDevice.wait(Until.findObject(By.res(packageStr, id)), timeout)); in waitAndClickById() local 342 protected void waitAndClickByText(String text, long timeout) { in waitAndClickByText() argument 343 clickOn(mDevice.wait(Until.findObject(By.text(text)), timeout)); in waitAndClickByText() local 346 protected void waitAndClickByDescription(String description, long timeout) { in waitAndClickByDescription() argument 347 clickOn(mDevice.wait(Until.findObject(By.desc(description)), timeout)); in waitAndClickByDescription() local 351 protected void checkElementWithIdExists(String packageStr, String id, long timeout) { in checkElementWithIdExists() argument 352 if (!mDevice.wait(Until.hasObject(By.res(packageStr, id)), timeout)) { in checkElementWithIdExists() 357 protected void checkElementWithTextExists(String text, long timeout) { in checkElementWithTextExists() argument 358 if (!mDevice.wait(Until.hasObject(By.text(text)), timeout)) { in checkElementWithTextExists() [all …]
|
D | HelperTest.java | 52 public final TestRule timeout = new Timeout((int)TimeUnit.MINUTES.toMillis(5)); field in HelperTest
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
D | VolvoLauncherStrategy.java | 131 private void waitUntilAppOpen(String appName, long timeout) { in waitUntilAppOpen() argument 132 SystemClock.sleep(timeout); in waitUntilAppOpen() 141 } while ((SystemClock.uptimeMillis() - startTime) < timeout); in waitUntilAppOpen() 146 appName, timeout)); in waitUntilAppOpen()
|
D | AutoLauncherStrategy.java | 262 private void waitUntilAppOpen(String appName, long timeout) { in waitUntilAppOpen() argument 263 waitUntilOneOfTheAppOpen(Arrays.asList(appName), timeout); in waitUntilAppOpen() local 270 private void waitUntilOneOfTheAppOpen(List<String> appNames, long timeout) { in waitUntilOneOfTheAppOpen() argument 274 while (SystemClock.uptimeMillis() - startTime < timeout) { in waitUntilOneOfTheAppOpen() 290 String.join(", ", appNames), timeout)); in waitUntilOneOfTheAppOpen()
|
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/ |
D | ProfileSuite.java | 141 long timeout = in getSuiteRunner() local 148 timeout, in getSuiteRunner() 169 BlockJUnit4ClassRunner runner, Scenario scenario, long timeout, boolean shouldIdle) { in getScheduledRunner() argument 172 return new ScheduledScenarioRunner(testClass, scenario, timeout, shouldIdle); in getScheduledRunner()
|
D | ScheduledScenarioRunner.java | 77 Class<?> klass, Scenario scenario, long timeout, boolean shouldIdle) in ScheduledScenarioRunner() argument 79 this(klass, scenario, timeout, shouldIdle, InstrumentationRegistry.getArguments()); in ScheduledScenarioRunner() 84 Class<?> klass, Scenario scenario, long timeout, boolean shouldIdle, Bundle arguments) in ScheduledScenarioRunner() argument 89 mTotalTimeoutMs = max(timeout, 0); in ScheduledScenarioRunner()
|
/platform_testing/libraries/health/runners/longevity/ |
D | README.md | 67 * `suite-timeout_msec <long>` - an overall timeout for the suite. 68 * `timeout_msec <long>` - a timeout for individual test methods.
|
/platform_testing/utils/crashcollector/src/android/test/crashcollector/ |
D | Collector.java | 121 private IBinder blockUntilSystemRunning(long timeout) { in blockUntilSystemRunning() argument
|