/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioColdStartBaseActivity.java | 90 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/ |
D | ManagedProfileTimeoutTest.java | 107 private void simulateUserInteraction(int timeMs) throws Exception { in simulateUserInteraction() argument 108 final long endTime = System.nanoTime() + TimeUnit.MILLISECONDS.toNanos(timeMs); in simulateUserInteraction()
|
D | BaseDevicePolicyTest.java | 1359 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/ |
D | StubTvInteractiveAppService.java | 592 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/ |
D | BaseDeviceAdminTest.java | 237 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/ |
D | BatteryUsageStatsTests.java | 198 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/ |
D | MockTvInputService.java | 467 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/ |
D | BaseBlobStoreHostTest.java | 97 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/ |
D | NetworkLoggingTest.java | 451 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/ |
D | SensorDirectReportTest.java | 1613 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/ |
D | TvInputServiceTest.java | 319 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/ |
D | GestureUtils.java | 172 public static StrokeDescription startingAt(long timeMs, StrokeDescription prototype) { in startingAt() argument 174 prototype.getPath(), timeMs, prototype.getDuration(), prototype.willContinue()); in startingAt()
|