/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/ |
D | DeviceHelpers.kt | 37 import java.time.Duration 42 private val SHORT_WAIT = Duration.ofMillis(1500) 43 private val LONG_WAIT = Duration.ofSeconds(10) 44 private val DOUBLE_TAP_INTERVAL = Duration.ofMillis(100) 67 timeout: Duration = LONG_WAIT, in waitForObj() 80 timeout: Duration = LONG_WAIT, in waitForObj() 92 timeout: Duration = LONG_WAIT, in waitForObj() 105 timeout: Duration = SHORT_WAIT, in waitForNullableObj() 113 timeout: Duration = SHORT_WAIT, in waitForNullableObj() 122 timeout: Duration = SHORT_WAIT, in waitForNullableObj() [all …]
|
D | WaitUtils.kt | 25 import java.time.Duration 42 private val DEFAULT_DEADLINE = Duration.ofSeconds(10) 43 private val POLLING_WAIT = Duration.ofMillis(100) 44 private val DEFAULT_SETTLE_TIME = Duration.ofSeconds(3) 64 timeout: Duration = DEFAULT_DEADLINE, in ensureThat() 105 timeout: Duration = DEFAULT_DEADLINE, in waitToBecomeTrue() 151 minimumSettleTime: Duration = DEFAULT_SETTLE_TIME, in waitForValueToSettle() 152 timeout: Duration = DEFAULT_DEADLINE, in waitForValueToSettle() 191 minimumSettleTime: Duration = DEFAULT_SETTLE_TIME, in waitForNullableValueToSettle() 192 timeout: Duration = DEFAULT_DEADLINE, in waitForNullableValueToSettle() [all …]
|
D | BetterSwipe.kt | 36 import java.time.Duration in <lambda>() 40 private val DEFAULT_DURATION: Duration = Duration.of(500, MILLIS) in <lambda>() 41 private val PAUSE_DURATION: Duration = Duration.of(250, MILLIS) in <lambda>() 94 duration: Duration = DEFAULT_DURATION, in <lambda>() 120 duration: Duration = DEFAULT_DURATION, in <lambda>() 176 /* timeout= */ Duration.ofMillis(INJECT_EVENT_TIMEOUT_MILLIS), in <lambda>() 195 duration: Duration, in <lambda>() 199 stepTime: Duration in <lambda>() 230 fun moveBy(delta: PointF, duration: Duration = DEFAULT_DURATION): Swipes { in <lambda>() 306 private fun calculateStepTime(displayId: Int = DEFAULT_DISPLAY): Duration { in lerp() [all …]
|
D | DurationUtils.kt | 18 import java.time.Duration 33 fun Duration.platformAdjust() = method
|
D | BetterFling.kt | 28 import java.time.Duration 39 private val DEFAULT_FLING_DURATION = Duration.of(100, ChronoUnit.MILLIS) 40 private val DEFAULT_WAIT_TIMEOUT = Duration.of(5, ChronoUnit.SECONDS) 53 duration: Duration = DEFAULT_FLING_DURATION, in fling()
|
D | BetterScroll.kt | 10 import java.time.Duration 19 private val DEFAULT_WAIT_TIMEOUT = Duration.ofSeconds(1)
|
/platform_testing/libraries/audio-test-harness/common/src/main/java/com/android/media/audiotestharness/common/ |
D | Defaults.java | 22 import java.time.Duration; 64 public static final Duration SYSTEM_TIMEOUT = Duration.ofHours(1);
|
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/ |
D | ProcessUtil.kt | 6 import java.time.Duration in <lambda>() 20 ensureThat("All sysui process stopped", Duration.ofSeconds(30L)) { in <lambda>() 23 ensureThat("All sysui process restarted", Duration.ofSeconds(30L)) { in <lambda>()
|
D | LaunchAppUtils.kt | 26 import java.time.Duration 70 private val MAX_TIMEOUT = Duration.ofSeconds(10)
|
D | SysuiRestarter.kt | 28 import java.time.Duration 77 timeout = Duration.ofSeconds(10).platformAdjust(), in assertLockscreenVisibility()
|
/platform_testing/libraries/health/utils/src/android/platform/test/util/ |
D | HealthTestingUtils.java | 23 import java.time.Duration; 129 /* timeout= */ Duration.ofMillis(timeoutMs), 163 /* minimumSettleTime= */ Duration.ofMillis(minimumSettleTime), 164 /* timeout= */ Duration.ofMillis(timeoutMs),
|
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/examples/ |
D | AudioTestHarnessCliCapturer.java | 26 import java.time.Duration; 44 private static final Duration RECORD_TIME = Duration.of(10, ChronoUnit.SECONDS);
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | UnlockScreenRule.java | 31 import java.time.Duration; 69 assertInvisible(screenLock, /* timeout= */ Duration.ofSeconds(20)); in unlockScreen()
|
D | BaseOrientationRule.kt | 31 import java.time.Duration 114 timeoutDuration: Duration = Duration.ofSeconds(10) in setOrientationOverride()
|
D | ScreenRecordRule.kt | 36 import java.time.Duration in <lambda>() 213 minimumSettleTime = Duration.ofSeconds(5) in <lambda>()
|
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/rules/ |
D | TemporaryMediaNotification.kt | 29 import java.time.Duration 41 private val SESSION_DURATION = Duration.ofMinutes(60) 42 private val SESSION_POSITION = Duration.ofMinutes(6)
|
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/service/ |
D | AudioTestHarnessImpl.java | 32 import java.time.Duration; 47 public static final Duration MAX_CAPTURE_DURATION = Duration.ofHours(1);
|
/platform_testing/libraries/tapl-common/src/android/platform/test/scenario/tapl_common/ |
D | Gestures.kt | 22 import java.time.Duration 30 private val WAIT_TIME = Duration.ofSeconds(10)
|
/platform_testing/libraries/audio-test-harness/client-lib/src/test/java/com/android/media/audiotestharness/client/grpc/ |
D | GrpcAudioCaptureStreamTests.java | 51 import java.time.Duration; 112 Duration actualScheduledDuration = in create_schedulesCancellationTaskWithProperDeadline() 113 Duration.ofNanos( in create_schedulesCancellationTaskWithProperDeadline() 118 Duration difference = actualScheduledDuration.minus(Duration.ofHours(1)).abs(); in create_schedulesCancellationTaskWithProperDeadline()
|
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/foldable/ |
D | UnfoldAnimationTestingUtils.kt | 8 import java.time.Duration in <lambda>() 26 return waitFor("Icons moving", Duration.ofSeconds(20)) { in <lambda>()
|
D | FoldableDeviceController.kt | 32 import java.time.Duration in <lambda>() 217 val DEVICE_STATE_MAX_TIMEOUT = Duration.ofSeconds(10) in <lambda>()
|
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/media/ |
D | MockMediaPlayer.java | 23 import java.time.Duration;
|
D | MediaInstrumentation.java | 43 import java.time.Duration; 223 Duration.ofSeconds(10), in assertMediaNotificationVisible()
|
/platform_testing/libraries/motion/compose/src/platform/test/motion/compose/ |
D | ComposeToolkit.kt | 41 import kotlin.time.Duration in <lambda>() 42 import kotlin.time.Duration.Companion.milliseconds in <lambda>() 43 import kotlin.time.Duration.Companion.seconds in <lambda>() 84 timeout: Duration = 20.seconds, in MotionTestRule() 138 suspend fun awaitDelay(duration: Duration) in awaitCondition() 367 override suspend fun awaitDelay(duration: Duration) { in <lambda>()
|
/platform_testing/libraries/motion/compose/tests/src/platform/test/motion/compose/ |
D | ComposeToolkitTest.kt | 57 import kotlin.time.Duration.Companion.milliseconds in <lambda>()
|