Home
last modified time | relevance | path

Searched refs:micros (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tools/preload/
DOperation.java111 long micros = nanos / 1000; in nanosToMicros() local
112 int microsInt = (int) micros; in nanosToMicros()
113 if (microsInt != micros) { in nanosToMicros()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dwell_known_types.py211 def FromMicroseconds(self, micros): argument
213 self.seconds = micros // _MICROS_PER_SECOND
214 self.nanos = (micros % _MICROS_PER_SECOND) * _NANOS_PER_MICROSECOND
307 micros = _RoundTowardZero(self.nanos, _NANOS_PER_MICROSECOND)
308 return self.seconds * _MICROS_PER_SECOND + micros
324 def FromMicroseconds(self, micros): argument
327 micros // _MICROS_PER_SECOND,
328 (micros % _MICROS_PER_SECOND) * _NANOS_PER_MICROSECOND)
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Dtime_util.cc242 Duration TimeUtil::MicrosecondsToDuration(int64 micros) { in MicrosecondsToDuration() argument
244 micros / kMicrosPerSecond, in MicrosecondsToDuration()
245 (micros % kMicrosPerSecond) * kNanosPerMicrosecond); in MicrosecondsToDuration()
297 Timestamp TimeUtil::MicrosecondsToTimestamp(int64 micros) { in MicrosecondsToTimestamp() argument
299 micros / kMicrosPerSecond, in MicrosecondsToTimestamp()
300 micros % kMicrosPerSecond * kNanosPerMicrosecond); in MicrosecondsToTimestamp()
Dtime_util.h102 static Duration MicrosecondsToDuration(int64 micros);
124 static Timestamp MicrosecondsToTimestamp(int64 micros);
/frameworks/av/media/libaaudio/tests/
Dtest_aaudio_monkey.cpp293 int micros = (int) (dice * MAX_MICROS_DELAY); in main() local
294 usleep(micros); in main()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLooperStatsTest.java541 void tickRealtime(long micros) { in tickRealtime() argument
542 mRealtimeMicros += micros; in tickRealtime()
545 void tickThreadTime(long micros) { in tickThreadTime() argument
546 mThreadTimeMicros += micros; in tickThreadTime()
/frameworks/ml/nn/runtime/test/
DTestIntrospectionControl.cpp658 auto microsToNanos = [](uint64_t micros) { in TEST_P() argument
660 return micros == UINT64_MAX ? UINT64_MAX : kNanosPerMicro * micros; in TEST_P()