/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/ |
D | IAutoMapsHelper.java | 110 void swipeUp(float percent, long durationMs); in swipeUp() argument 121 void swipeDown(float percent, long durationMs); in swipeDown() argument 132 void swipeLeft(float percent, long durationMs); in swipeLeft() argument 143 void swipeRight(float percent, long durationMs); in swipeRight() argument 156 void scale(float percent, long durationMs); in scale() argument 168 void rotate(float angle, long durationMs); in rotate() argument 178 void tiltUp(float angle, long durationMs); in tiltUp() argument 188 void tiltDown(float angle, long durationMs); in tiltDown() argument
|
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/utility/ |
D | Scrollable.java | 50 public default void scrollUpOnePage(long durationMs) { in scrollUpOnePage() argument 51 scrollUp(100f, durationMs); in scrollUpOnePage() 74 public default void scrollUp(float percent, long durationMs) { in scrollUp() argument 75 scroll(Direction.UP, percent, durationMs); in scrollUp() 86 public default void scrollDownOnePage(long durationMs) { in scrollDownOnePage() argument 87 scrollDown(100f, durationMs); in scrollDownOnePage() 110 public default void scrollDown(float percent, long durationMs) { in scrollDown() argument 111 scroll(Direction.DOWN, percent, durationMs); in scrollDown() 200 default void scroll(Direction direction, float percent, long durationMs) { in scroll() argument 212 int scrollSpeed = calcScrollSpeed(scrollable, durationMs); in scroll() [all …]
|
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/ |
D | ScheduledScenarioRunner.java | 167 protected void performIdleBeforeTeardown(long durationMs) { in performIdleBeforeTeardown() argument 168 suspensionAwareSleep(durationMs); in performIdleBeforeTeardown() 172 protected void performIdleBeforeNextScenario(long durationMs) { in performIdleBeforeNextScenario() argument 175 suspensionAwareSleep(durationMs); in performIdleBeforeNextScenario() 183 static void suspensionAwareSleep(long durationMs) { in suspensionAwareSleep() argument 185 suspensionAwareSleep(durationMs, durationMs); in suspensionAwareSleep() 204 static void suspensionAwareSleep(long durationMs, long countDownLatchTimeoutMs) { in suspensionAwareSleep() argument 205 Log.i(LOG_TAG, String.format("Starting suspension-aware sleep for %d ms", durationMs)); in suspensionAwareSleep() 237 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
|
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/ |
D | BetterSwipe.kt | 202 val durationMs = duration.toMillis() in <lambda>() constant 203 val steps = durationMs / stepTimeMs in <lambda>() 234 val durationMs = duration.toMillis() in <lambda>() constant 235 val steps = durationMs / stepTimeMs in <lambda>()
|