Home
last modified time | relevance | path

Searched refs:secs (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/tests/benchmark/src/native/common/utils/
DTimers.h37 static inline nsecs_t seconds_to_nanoseconds(nsecs_t secs) { in seconds_to_nanoseconds() argument
38 return secs * 1000000000; in seconds_to_nanoseconds()
41 static inline nsecs_t milliseconds_to_nanoseconds(nsecs_t secs) { in milliseconds_to_nanoseconds() argument
42 return secs * 1000000; in milliseconds_to_nanoseconds()
45 static inline nsecs_t microseconds_to_nanoseconds(nsecs_t secs) { in microseconds_to_nanoseconds() argument
46 return secs * 1000; in microseconds_to_nanoseconds()
49 static inline nsecs_t nanoseconds_to_seconds(nsecs_t secs) { in nanoseconds_to_seconds() argument
50 return secs / 1000000000; in nanoseconds_to_seconds()
53 static inline nsecs_t nanoseconds_to_milliseconds(nsecs_t secs) { in nanoseconds_to_milliseconds() argument
54 return secs / 1000000; in nanoseconds_to_milliseconds()
[all …]
/frameworks/av/media/libeffects/visualizer/aidl/
DVisualizerContext.cpp122 time_t secs = ts.tv_sec - mBufferUpdateTime.tv_sec; in getDeltaTimeMsFromUpdatedTime_l() local
125 --secs; in getDeltaTimeMsFromUpdatedTime_l()
128 deltaMs = secs * 1000 + nsec / 1000000; in getDeltaTimeMsFromUpdatedTime_l()
/frameworks/rs/
DrsCppUtils.h91 static inline nsecs_t nanoseconds_to_milliseconds(nsecs_t secs) in nanoseconds_to_milliseconds() argument
93 return secs/1000000; in nanoseconds_to_milliseconds()
/frameworks/av/cmds/screenrecord/
DOverlay.cpp272 time_t secs = (time_t) (realTime / 1000000000); in getTimeString_l() local
273 localtime_r(&secs, &tm); in getTimeString_l()
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp115 time_t secs = ts.tv_sec - pContext->mBufferUpdateTime.tv_sec; in Visualizer_getDeltaTimeMsFromUpdatedTime() local
118 --secs; in Visualizer_getDeltaTimeMsFromUpdatedTime()
121 deltaMs = secs * 1000 + nsec / 1000000; in Visualizer_getDeltaTimeMsFromUpdatedTime()