Home
last modified time | relevance | path

Searched refs:timeMs (Results 1 – 5 of 5) sorted by relevance

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DGestureUtils.java102 public static StrokeDescription startingAt(long timeMs, StrokeDescription prototype) { in startingAt() argument
104 prototype.getPath(), timeMs, prototype.getDuration(), prototype.willContinue()); in startingAt()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DMockTvInputService.java467 public void onTimeShiftSeekTo(long timeMs) { in onTimeShiftSeekTo() argument
469 if (mCurrentPositionMs > timeMs) { in onTimeShiftSeekTo()
474 } else if (mCurrentPositionMs < timeMs) { in onTimeShiftSeekTo()
483 Math.min(timeMs, mLastCurrentPositionUpdateTimeMs)); in onTimeShiftSeekTo()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java178 public void onTimeShiftStartPositionChanged(String inputId, long timeMs) { in onTimeShiftStartPositionChanged() argument
183 public void onTimeShiftCurrentPositionChanged(String inputId, long timeMs) { in onTimeShiftCurrentPositionChanged() argument
685 final long timeMs = 0; in verifyCommandTimeShiftSeekTo() local
686 mTvView.timeShiftSeekTo(timeMs); in verifyCommandTimeShiftSeekTo()
693 && session.mTimeShiftSeekTo == timeMs; in verifyCommandTimeShiftSeekTo()
1283 public void onTimeShiftSeekTo(long timeMs) { in onTimeShiftSeekTo() argument
1285 mTimeShiftSeekTo = timeMs; in onTimeShiftSeekTo()
/cts/tests/sensor/src/android/hardware/cts/
DSensorDirectReportTest.java1434 private int[] calculateExpectedNEvents(int timeMs, int rateLevel) { in calculateExpectedNEvents() argument
1439 if (timeMs > ALLOWED_SENSOR_INIT_TIME_MILLISEC) { in calculateExpectedNEvents()
1443 * (timeMs - ALLOWED_SENSOR_INIT_TIME_MILLISEC) in calculateExpectedNEvents()
1451 * timeMs in calculateExpectedNEvents()
1528 private int[] calculateExpectedNEventsUs(int timeMs, int samplingPeriodUs) {
1531 (timeMs - ALLOWED_SENSOR_INIT_TIME_MILLISEC) * 1000/ samplingPeriodUs), 0);
1532 minMax[1] = (int) Math.ceil(timeMs * 1000 * 2 / samplingPeriodUs);
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileTest.java352 private void simulateUserInteraction(int timeMs) throws Exception { in simulateUserInteraction() argument
353 final long endTime = System.nanoTime() + TimeUnit.MILLISECONDS.toNanos(timeMs); in simulateUserInteraction()