Searched refs:kNanosPerMillisecond (Results 1 – 11 of 11) sorted by relevance
/external/protobuf/src/google/protobuf/util/ |
D | time_util.cc | 55 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/ |
D | testStreamWaitState.cpp | 81 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;
|
D | testStreamStates.cpp | 129 static constexpr int kTimeoutInNanos = 500 * kNanosPerMillisecond;
|
/external/oboe/include/oboe/ |
D | Definitions.h | 43 constexpr int64_t kNanosPerMillisecond = kNanosPerMicrosecond * 1000; variable 53 constexpr int64_t kNanosPerSecond = kNanosPerMillisecond * kMillisPerSecond;
|
D | AudioStream.h | 39 constexpr int64_t kDefaultTimeoutNanos = (2000 * kNanosPerMillisecond);
|
/external/oboe/samples/hello-oboe/src/main/cpp/ |
D | HelloOboeEngine.cpp | 51 const int64_t kNanosPerMillisecond = 1000000; in getCurrentOutputLatencyMillis() local 67 / kNanosPerMillisecond; in getCurrentOutputLatencyMillis()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | time.cc | 24 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/ |
D | AudioStreamBuffered.cpp | 196 const int64_t minSleepTime = kNanosPerMillisecond; // arbitrary in transfer()
|
D | AudioStreamOpenSLES.cpp | 372 int64_t sleepTimeNanos = 20 * kNanosPerMillisecond; // arbitrary in waitForStateChange()
|
/external/oboe/src/aaudio/ |
D | AudioStreamAAudio.cpp | 480 int64_t sleepTimeNanos = 20 * kNanosPerMillisecond; // arbitrary in waitForStateChange() 673 double latencyMillis = latencyNanos / kNanosPerMillisecond; in calculateLatencyMillis()
|
/external/oboe/docs/ |
D | FullGuide.md | 257 int64_t timeoutNanos = 100 * kNanosPerMillisecond;
|