Home
last modified time | relevance | path

Searched refs:NANOS_PER_MILLISECOND (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DTimestamps.java53 static final long NANOS_PER_MILLISECOND = 1000000; field in Timestamps
223 (int) (milliseconds % MILLIS_PER_SECOND * NANOS_PER_MILLISECOND)); in fromMillis()
235 + timestamp.getNanos() / NANOS_PER_MILLISECOND; in toMillis()
341 if (nanos % NANOS_PER_MILLISECOND == 0) { in formatNanos()
342 return String.format("%1$03d", nanos / NANOS_PER_MILLISECOND); in formatNanos()
DDurations.java36 import static com.google.protobuf.util.Timestamps.NANOS_PER_MILLISECOND;
181 (int) (milliseconds % MILLIS_PER_SECOND * NANOS_PER_MILLISECOND)); in fromMillis()
190 return duration.getSeconds() * MILLIS_PER_SECOND + duration.getNanos() / NANOS_PER_MILLISECOND; in toMillis()
/frameworks/av/media/libaaudio/tests/
Dtest_various.cpp45 constexpr int64_t NANOS_PER_MILLISECOND = 1000 * 1000; variable
73 1000 * NANOS_PER_MILLISECOND)); in checkStateTransition()
87 1000 * NANOS_PER_MILLISECOND)); in checkStateTransition()
109 1000 * NANOS_PER_MILLISECOND)); in checkStateTransition()
136 1000 * NANOS_PER_MILLISECOND)); in checkStateTransition()
Dtest_clock_model.cpp60 const int64_t markerTime = startTimeNanos + NANOS_PER_MILLISECOND in checkDriftingClock()
137 int64_t markerTime = startTime + NANOS_PER_MILLISECOND + (200 * NANOS_PER_MICROSECOND); in TEST_F()
/frameworks/av/media/libaaudio/examples/utils/
DAAudioExampleUtils.h32 #define NANOS_PER_MILLISECOND (NANOS_PER_MICROSECOND * 1000) macro
33 #define NANOS_PER_SECOND (NANOS_PER_MILLISECOND * 1000)
/frameworks/av/media/libaaudio/examples/write_sine/src/
Dwrite_sine_callback.cpp121 (getNanoseconds(CLOCK_MONOTONIC) - startedAtNanos) / NANOS_PER_MILLISECOND; in testOpenPlayClose()
170 int64_t timeoutNanos = 2000 * NANOS_PER_MILLISECOND; in testOpenPlayClose()
Dwrite_sine.cpp136 int64_t timeoutNanos = 1000 * NANOS_PER_MILLISECOND; in main()
/frameworks/av/media/libaaudio/examples/input_monitor/src/
Dinput_monitor.cpp128 const int64_t timeoutNanos = 1000 * NANOS_PER_MILLISECOND; in main()
/frameworks/av/services/audioflinger/
DPatchPanel.cpp602 constexpr int64_t maxValidTimeDiffNs = 200 * NANOS_PER_MILLISECOND; in getLatencyMs()
DThreads.cpp860 (long long) (systemTime() - mLastIoBeginNs) / NANOS_PER_MILLISECOND); in dumpBase_l()
3761 (long long)deltaWriteNs / NANOS_PER_MILLISECOND, in threadLoop()
3801 const int32_t deltaMs = writePeriodNs / NANOS_PER_MILLISECOND; in threadLoop()