/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/ |
D | ProcessUtil.java | 140 ITestDevice device, String pgrepRegex, long timeoutMs) in waitProcessRunning() argument 142 long endTime = System.currentTimeMillis() + timeoutMs; in waitProcessRunning() 198 public static void waitPidExited(ITestDevice device, int pid, long timeoutMs) in waitPidExited() argument 200 long endTime = System.currentTimeMillis() + timeoutMs; in waitPidExited() 233 public static void killPid(ITestDevice device, int pid, long timeoutMs) in killPid() argument 235 killPid(device, pid, 9, timeoutMs); in killPid() 246 public static void killPid(ITestDevice device, int pid, int signal, long timeoutMs) in killPid() argument 261 waitPidExited(device, pid, timeoutMs); in killPid() 272 public static boolean killAll(ITestDevice device, String pgrepRegex, long timeoutMs) in killAll() argument 274 return killAll(device, pgrepRegex, timeoutMs, true); in killAll() [all …]
|
D | RootcanalUtils.java | 307 private void waitPropertyValue(ITestDevice device, String name, String value, long timeoutMs) in waitPropertyValue() argument 309 long endTime = System.currentTimeMillis() + timeoutMs; in waitPropertyValue()
|
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/ |
D | ScheduledScenarioRunnerTest.java | 92 long timeoutMs = TimeUnit.SECONDS.toMillis(6); in testOverTimeTest_throwsTestTimedOutException() local 104 timeoutMs, in testOverTimeTest_throwsTestTimedOutException() 123 long expectedTimeout = timeoutMs - runner.getTeardownLeeway(); in testOverTimeTest_throwsTestTimedOutException() 185 long timeoutMs = TimeUnit.SECONDS.toMillis(6); in testRespectsAfterTestPolicy_stayInApp() local 197 timeoutMs, in testRespectsAfterTestPolicy_stayInApp() 206 timeoutMs - 2 * runner.getTeardownLeeway(), TIMING_LEEWAY_MS)); in testRespectsAfterTestPolicy_stayInApp() 216 long timeoutMs = TimeUnit.SECONDS.toMillis(6); in testRespectsAfterTestPolicy_exit() local 228 timeoutMs, in testRespectsAfterTestPolicy_exit() 235 .performIdleBeforeNextScenario(getWithinMarginMatcher(timeoutMs, TIMING_LEEWAY_MS)); in testRespectsAfterTestPolicy_exit() 243 long timeoutMs = TimeUnit.SECONDS.toMillis(6); in testIgnoredScenario_doesIdle() local [all …]
|
/platform_testing/libraries/health/utils/src/android/platform/test/util/ |
D | HealthTestingUtils.java | 125 Supplier<String> message, Condition condition, long timeoutMs) { 129 /* timeout= */ Duration.ofMillis(timeoutMs), 160 long timeoutMs) { 164 /* timeout= */ Duration.ofMillis(timeoutMs),
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/io/ |
D | IoUtils.kt | 45 fun waitFileExists(file: File, timeoutMs: Long) { in waitFileExists() 49 while (elapsedMs < timeoutMs) { in waitFileExists() 61 error("Failed to wait for file to exist: $file. Timed out after $timeoutMs ms.") in waitFileExists()
|
/platform_testing/libraries/app-helpers/interfaces/tv/src/android/platform/helpers/ |
D | AbstractLeanbackAppHelper.java | 150 public boolean waitForOpen(long timeoutMs) { in waitForOpen() argument 151 return mDevice.wait(Until.hasObject(By.pkg(getPackage()).depth(0)), timeoutMs); in waitForOpen() 161 public void open(long timeoutMs) { in open() argument 162 Log.v(TAG, String.format("[%s] Opening the package in %d(ms)", getPackage(), timeoutMs)); in open() 164 if (!waitForOpen(timeoutMs)) { in open() 166 + " %d(ms)", getPackage(), timeoutMs)); in open() 287 public UiObject2 findFocus(UiObject2 fromObject, long timeoutMs) { 290 focused = mDevice.wait(Until.findObject(By.focused(true)), timeoutMs); 292 focused = fromObject.wait(Until.findObject(By.focused(true)), timeoutMs); 481 private boolean waitForBrowseHeadersSelected(long timeoutMs) { [all …]
|
/platform_testing/libraries/car-helpers/multiuser-helper/src/android/platform/helpers/ |
D | MultiUserHelper.java | 98 public void switchAndWaitForStable(int id, long timeoutMs) throws Exception { in switchAndWaitForStable() argument 100 SystemClock.sleep(timeoutMs); in switchAndWaitForStable()
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/ |
D | TvLauncherStrategy.java | 815 public UiObject2 select(final BySelector selector, Direction direction, long timeoutMs) { 824 timeoutMs); 827 public UiObject2 select(UiCondition condition, Direction direction, long timeoutMs) { 828 UiObject2 focus = findFocus(null, timeoutMs); 840 focus = findFocus(null, timeoutMs); 904 public UiObject2 findFocus(UiObject2 fromObject, long timeoutMs) { 907 focused = mDevice.wait(Until.findObject(By.focused(true)), timeoutMs); 909 focused = fromObject.wait(Until.findObject(By.focused(true)), timeoutMs);
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
D | TvLauncherStrategy.java | 839 public UiObject2 select(final BySelector selector, Direction direction, long timeoutMs) { 845 }, direction, timeoutMs); 848 public UiObject2 select(UiCondition condition, Direction direction, long timeoutMs) { 849 UiObject2 focus = findFocus(null, timeoutMs); 859 focus = findFocus(null, timeoutMs); 925 public UiObject2 findFocus(UiObject2 fromObject, long timeoutMs) { 928 focused = mDevice.wait(Until.findObject(By.focused(true)), timeoutMs); 930 focused = fromObject.wait(Until.findObject(By.focused(true)), timeoutMs);
|
/platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/ |
D | SystemUiJankTests.java | 164 public UiObject2 select(BySelector selector, Direction direction, long timeoutMs) { in select() argument 166 while (!mDevice.wait(Until.hasObject(selector), timeoutMs)) { in select()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/ |
D | PerfettoTraceMonitor.kt | 142 fun setIncrementalTimeout(timeoutMs: Int) = apply { incrementalTimeoutMs = timeoutMs } in <lambda>()
|
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/ |
D | WaitUtils.kt | 117 val timeoutMs = timeout.toMillis() in waitToBecomeTrue() constant 121 while (uptimeMillis() < startTime + timeoutMs) { in waitToBecomeTrue()
|
/platform_testing/libraries/sts-common-util/sts-sdk/package/gradle/wrapper/ |
D | gradle-wrapper.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/gradle/
org/ ... |