Searched refs:durationMs (Results 1 – 6 of 6) sorted by relevance
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/ |
D | IAutoMapsHelper.java | 61 void swipeUp(float percent, long durationMs); in swipeUp() argument 72 void swipeDown(float percent, long durationMs); in swipeDown() argument 83 void swipeLeft(float percent, long durationMs); in swipeLeft() argument 94 void swipeRight(float percent, long durationMs); in swipeRight() argument 107 void scale(float percent, long durationMs); in scale() argument 119 void rotate(float angle, long durationMs); in rotate() argument 129 void tiltUp(float angle, long durationMs); in tiltUp() argument 139 void tiltDown(float angle, long durationMs); in tiltDown() argument
|
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/utility/ |
D | Scrollable.java | 48 public default void scrollUpOnePage(long durationMs) { in scrollUpOnePage() argument 49 scrollUp(100f, durationMs); in scrollUpOnePage() 63 public default void scrollUp(float percent, long durationMs) { in scrollUp() argument 64 scroll(Direction.UP, percent, durationMs); in scrollUp() 75 public default void scrollDownOnePage(long durationMs) { in scrollDownOnePage() argument 76 scrollDown(100f, durationMs); in scrollDownOnePage() 90 public default void scrollDown(float percent, long durationMs) { in scrollDown() argument 91 scroll(Direction.DOWN, percent, durationMs); in scrollDown() 180 default void scroll(Direction direction, float percent, long durationMs) { in scroll() argument 192 int scrollSpeed = calcScrollSpeed(scrollable, durationMs); in scroll() [all …]
|
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/ |
D | ScheduledScenarioRunner.java | 166 protected void performIdleBeforeTeardown(long durationMs) { in performIdleBeforeTeardown() argument 167 suspensionAwareSleep(durationMs); in performIdleBeforeTeardown() 171 protected void performIdleBeforeNextScenario(long durationMs) { in performIdleBeforeNextScenario() argument 174 suspensionAwareSleep(durationMs); in performIdleBeforeNextScenario() 182 static void suspensionAwareSleep(long durationMs) { in suspensionAwareSleep() argument 184 suspensionAwareSleep(durationMs, durationMs); in suspensionAwareSleep() 203 static void suspensionAwareSleep(long durationMs, long countDownLatchTimeoutMs) { in suspensionAwareSleep() argument 204 Log.i(LOG_TAG, String.format("Starting suspension-aware sleep for %d ms", durationMs)); in suspensionAwareSleep() 235 AlarmManager.RTC_WAKEUP, System.currentTimeMillis() + durationMs, pendingIntent); in suspensionAwareSleep()
|
/platform_testing/libraries/health/utils/src/android/platform/test/util/ |
D | TimedAction.java | 29 public static void runWithIntendedDuration (Runnable action, long durationMs) { in runWithIntendedDuration() argument 33 long leftoverDurationMs = (startTimeMs + durationMs) - SystemClock.elapsedRealtime(); in runWithIntendedDuration()
|
/platform_testing/libraries/health/utils/tests/src/android/platform/test/util/ |
D | TimedActionTest.java | 78 private void doNothingWithArgs(long durationMs) { in doNothingWithArgs() argument 79 SystemClock.sleep(durationMs); in doNothingWithArgs()
|
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/ |
D | IGoogleCameraHelper.java | 114 public default void captureLongShot(long durationMs) { in captureLongShot() argument
|