Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioColdStartBaseActivity.java90 double timeMs = nanosToMs(mPostOpenTime - mPreOpenTime); in showOpenTime() local
91 mOpenTimeTxt.setText("Open: " + makeMSString(timeMs)); in showOpenTime()
95 double timeMs = nanosToMs(mPostStartTime - mPreStartTime); in showStartTime() local
96 mStartTimeTxt.setText("Start: " + makeMSString(timeMs)); in showStartTime()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileTimeoutTest.java107 private void simulateUserInteraction(int timeMs) throws Exception { in simulateUserInteraction() argument
108 final long endTime = System.nanoTime() + TimeUnit.MILLISECONDS.toNanos(timeMs); in simulateUserInteraction()
DBaseDevicePolicyTest.java1359 void sleep(int timeMs) throws InterruptedException { in sleep() argument
1360 CLog.d("Sleeping %d ms", timeMs); in sleep()
1361 RunUtil.getDefault().sleep(timeMs); in sleep()
/cts/tests/tests/tv/src/android/media/tv/interactive/cts/
DStubTvInteractiveAppService.java592 public void onTimeShiftStartPositionChanged(String inputId, long timeMs) { in onTimeShiftStartPositionChanged() argument
593 super.onTimeShiftStartPositionChanged(inputId, timeMs); in onTimeShiftStartPositionChanged()
594 mTimeShiftStartPosition = timeMs; in onTimeShiftStartPositionChanged()
600 public void onTimeShiftCurrentPositionChanged(String inputId, long timeMs) { in onTimeShiftCurrentPositionChanged() argument
601 super.onTimeShiftCurrentPositionChanged(inputId, timeMs); in onTimeShiftCurrentPositionChanged()
602 mTimeShiftCurrentPosition = timeMs; in onTimeShiftCurrentPositionChanged()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DBaseDeviceAdminTest.java237 void sleep(int timeMs) { in sleep() argument
238 Log.d(TAG, "Sleeping " + timeMs + " ms"); in sleep()
239 SystemClock.sleep(timeMs); in sleep()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/batterystats/
DBatteryUsageStatsTests.java198 final String timeMs = getDevice().executeShellCommand("date +%s%3N"); in getDeviceTimeMs() local
199 return Long.parseLong(timeMs.trim()); in getDeviceTimeMs()
/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/hostsidetests/blobstore/src/com/android/cts/host/blob/
DBaseBlobStoreHostTest.java97 final String timeMs = getDevice().executeShellCommand("date +%s%3N"); in getDeviceTimeMs() local
98 return Long.parseLong(timeMs.trim()); in getDeviceTimeMs()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DNetworkLoggingTest.java451 private void sleep(int timeMs) { in sleep() argument
452 if (VERBOSE) Log.v(TAG, "Sleeping for " + timeMs + "ms"); in sleep()
453 SystemClock.sleep(timeMs); in sleep()
/cts/tests/sensor/src/android/hardware/cts/
DSensorDirectReportTest.java1613 private int[] calculateExpectedNEvents(int timeMs, int rateLevel) { in calculateExpectedNEvents() argument
1618 if (timeMs > ALLOWED_SENSOR_INIT_TIME_MILLISEC) { in calculateExpectedNEvents()
1622 * (timeMs - ALLOWED_SENSOR_INIT_TIME_MILLISEC) in calculateExpectedNEvents()
1630 * timeMs in calculateExpectedNEvents()
1707 private int[] calculateExpectedNEventsUs(int timeMs, int samplingPeriodUs) {
1710 (timeMs - ALLOWED_SENSOR_INIT_TIME_MILLISEC) * 1000/ samplingPeriodUs), 0);
1711 minMax[1] = (int) Math.ceil(timeMs * 1000 * 2 / samplingPeriodUs);
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java319 public void onTimeShiftStartPositionChanged(String inputId, long timeMs) { in onTimeShiftStartPositionChanged() argument
324 public void onTimeShiftCurrentPositionChanged(String inputId, long timeMs) { in onTimeShiftCurrentPositionChanged() argument
752 final long timeMs = 0; in verifyCommandTimeShiftSeekTo() local
754 onTvView(tvView -> tvView.timeShiftSeekTo(timeMs)); in verifyCommandTimeShiftSeekTo()
759 assertThat(session.mTimeShiftSeekTo).isEqualTo(timeMs); in verifyCommandTimeShiftSeekTo()
1710 public void onTimeShiftSeekTo(long timeMs) {
1712 mTimeShiftSeekTo = timeMs;
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DGestureUtils.java172 public static StrokeDescription startingAt(long timeMs, StrokeDescription prototype) { in startingAt() argument
174 prototype.getPath(), timeMs, prototype.getDuration(), prototype.willContinue()); in startingAt()