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/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.cpp269 time_t secs = (time_t) (realTime / 1000000000); in getTimeString_l() local
270 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()
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2Test.cpp2935 const uint secs = 1; in TEST_F() local
2940 sleep(secs); in TEST_F()
2950 const uint secs = 1; in TEST_F() local
2957 sleep(secs); in TEST_F()