Home
last modified time | relevance | path

Searched refs:kNanosPerMillisecond (Results 1 – 11 of 11) sorted by relevance

/external/protobuf/src/google/protobuf/util/
Dtime_util.cc55 static const int kNanosPerMillisecond = 1000000; variable
109 if (nanos % kNanosPerMillisecond == 0) { in FormatNanos()
110 return StringPrintf("%03d", nanos / kNanosPerMillisecond); in FormatNanos()
255 (millis % kMillisPerSecond) * kNanosPerMillisecond); in MillisecondsToDuration()
281 RoundTowardZero(duration.nanos(), kNanosPerMillisecond); in DurationToMilliseconds()
310 millis % kMillisPerSecond * kNanosPerMillisecond); in MillisecondsToTimestamp()
328 RoundTowardZero(timestamp.nanos(), kNanosPerMillisecond); in TimestampToMilliseconds()
/external/oboe/tests/
DtestStreamWaitState.cpp81 r = mStream->waitForStateChange(StreamState::Started, &next, 1000 * kNanosPerMillisecond); in checkStopWhileWaiting()
86 … r = mStream->waitForStateChange(StreamState::Stopping, &next, 1000 * kNanosPerMillisecond); in checkStopWhileWaiting()
106 r = mStream->waitForStateChange(StreamState::Started, &next, 1000 * kNanosPerMillisecond); in checkCloseWhileWaiting()
119 static constexpr int kTimeoutInNanos = 100 * kNanosPerMillisecond;
DtestStreamStates.cpp129 static constexpr int kTimeoutInNanos = 500 * kNanosPerMillisecond;
/external/oboe/include/oboe/
DDefinitions.h43 constexpr int64_t kNanosPerMillisecond = kNanosPerMicrosecond * 1000; variable
53 constexpr int64_t kNanosPerSecond = kNanosPerMillisecond * kMillisPerSecond;
DAudioStream.h39 constexpr int64_t kDefaultTimeoutNanos = (2000 * kNanosPerMillisecond);
/external/oboe/samples/hello-oboe/src/main/cpp/
DHelloOboeEngine.cpp51 const int64_t kNanosPerMillisecond = 1000000; in getCurrentOutputLatencyMillis() local
67 / kNanosPerMillisecond; in getCurrentOutputLatencyMillis()
/external/protobuf/src/google/protobuf/stubs/
Dtime.cc24 static const int kNanosPerMillisecond = 1000000; variable
134 if (nanos % kNanosPerMillisecond == 0) { in FormatNanos()
135 return StringPrintf("%03d", nanos / kNanosPerMillisecond); in FormatNanos()
/external/oboe/src/opensles/
DAudioStreamBuffered.cpp196 const int64_t minSleepTime = kNanosPerMillisecond; // arbitrary in transfer()
DAudioStreamOpenSLES.cpp372 int64_t sleepTimeNanos = 20 * kNanosPerMillisecond; // arbitrary in waitForStateChange()
/external/oboe/src/aaudio/
DAudioStreamAAudio.cpp480 int64_t sleepTimeNanos = 20 * kNanosPerMillisecond; // arbitrary in waitForStateChange()
673 double latencyMillis = latencyNanos / kNanosPerMillisecond; in calculateLatencyMillis()
/external/oboe/docs/
DFullGuide.md257 int64_t timeoutNanos = 100 * kNanosPerMillisecond;