Home
last modified time | relevance | path

Searched refs:NANOS_PER_MICROSECOND (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libaaudio/tests/
Dtest_clock_model.cpp61 + (200 * NANOS_PER_MICROSECOND); in checkDriftingClock()
126 time = startTime + (500 * NANOS_PER_MICROSECOND); in TEST_F()
137 int64_t markerTime = startTime + NANOS_PER_MILLISECOND + (200 * NANOS_PER_MICROSECOND); in TEST_F()
144 EXPECT_EQ(position, model.convertTimeToPosition(markerTime + (73 * NANOS_PER_MICROSECOND))); in TEST_F()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DTimestamps.java54 static final long NANOS_PER_MICROSECOND = 1000; field in Timestamps
244 (int) (microseconds % MICROS_PER_SECOND * NANOS_PER_MICROSECOND)); in fromMicros()
256 + timestamp.getNanos() / NANOS_PER_MICROSECOND; in toMicros()
343 } else if (nanos % NANOS_PER_MICROSECOND == 0) { in formatNanos()
344 return String.format("%1$06d", nanos / NANOS_PER_MICROSECOND); in formatNanos()
DDurations.java35 import static com.google.protobuf.util.Timestamps.NANOS_PER_MICROSECOND;
199 (int) (microseconds % MICROS_PER_SECOND * NANOS_PER_MICROSECOND)); in fromMicros()
208 return duration.getSeconds() * MICROS_PER_SECOND + duration.getNanos() / NANOS_PER_MICROSECOND; in toMicros()
/frameworks/av/media/libaaudio/examples/utils/
DAAudioExampleUtils.h31 #define NANOS_PER_MICROSECOND ((int64_t)1000) macro
32 #define NANOS_PER_MILLISECOND (NANOS_PER_MICROSECOND * 1000)