Home
last modified time | relevance | path

Searched refs:timespec (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/native/include/utils/
DZipFileRO.h180 static inline void zipTimeToTimespec(long when, struct tm* timespec) { in zipTimeToTimespec() argument
182 timespec->tm_year = ((date >> 9) & 0x7F) + 80; // Zip is years since 1980 in zipTimeToTimespec()
183 timespec->tm_mon = (date >> 5) & 0x0F; in zipTimeToTimespec()
184 timespec->tm_mday = date & 0x1F; in zipTimeToTimespec()
186 timespec->tm_hour = (when >> 11) & 0x1F; in zipTimeToTimespec()
187 timespec->tm_min = (when >> 5) & 0x3F; in zipTimeToTimespec()
188 timespec->tm_sec = (when & 0x1F) << 1; in zipTimeToTimespec()
DCondition.h97 struct timespec ts; in waitRelative()
102 struct timespec ts; in waitRelative()
/frameworks/native/include/cpustats/
DThreadCpuUsage.h125 struct timespec mPreviousTs; // most recent thread CPU time, valid only if mIsEnabled is true
126 struct timespec mMonotonicTs; // most recent monotonic time
/frameworks/av/services/audioflinger/
DAudioWatchdog.h77 struct timespec mOldTs; // monotonic time when threadLoop last ran
78 struct timespec mLogTs; // time since last log
DAudioWatchdog.cpp53 struct timespec newTs; in threadLoop()
96 struct timespec req; in threadLoop()
DMonoPipe.cpp124 struct timespec nowTs; in write()
143 const struct timespec req = {0, ns}; in write()
DFastMixer.cpp47 struct timespec oldTs = {0, 0}; in threadLoop()
74 struct timespec oldLoad = {0, 0}; // previous value of clock_gettime(CLOCK_THREAD_CPUTIME_ID) in threadLoop()
84 struct timespec measuredWarmupTs = {0, 0}; // how long did it take for warmup to complete in threadLoop()
94 const struct timespec req = {0, sleepNs}; in threadLoop()
445 struct timespec newTs; in threadLoop()
524 struct timespec newLoad; in threadLoop()
DMonoPipe.h77 struct timespec mWriteTs; // time that the previous write() completed
DFastMixer.h102 struct timespec mMeasuredWarmupTs; // measured warmup time
DStateQueue.cpp95 static const struct timespec req = {0, PUSH_BLOCK_ACK_NS}; in push()
/frameworks/base/core/jni/
Dandroid_os_SystemClock.cpp69 struct timespec tm; in android_os_SystemClock_currentThreadTimeMillis()
89 struct timespec tm; in android_os_SystemClock_currentThreadTimeMicro()
/frameworks/native/libs/utils/
DSystemClock.cpp54 struct timespec ts; in setCurrentTimeMillis()
119 struct timespec ts; in elapsedRealtime()
DTimers.cpp44 struct timespec t; in systemTime()
/frameworks/native/libs/cpustats/
DThreadCpuUsage.cpp58 struct timespec ts; in setEnabled()
101 struct timespec ts; in sample()
132 struct timespec ts; in elapsed()
/frameworks/av/libvideoeditor/osal/src/
DM4OSA_Semaphore.c132 struct timespec ts; in M4OSA_semaphoreWait()
133 struct timespec left; in M4OSA_semaphoreWait()
DM4OSA_Mutex.c134 struct timespec ts; in M4OSA_mutexLock()
135 struct timespec left; in M4OSA_mutexLock()
DM4OSA_Thread.c503 struct timespec rqtp = { 0, 0 }; in M4OSA_threadSleep()
504 struct timespec rmtp = { 0, 0 }; in M4OSA_threadSleep()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.h31 const struct timespec *request,
32 struct timespec *remain);
DHWComposer.cpp312 struct timespec spec; in threadLoop()
/frameworks/base/services/jni/
Dcom_android_server_AlarmManagerService.cpp70 struct timespec ts; in android_server_AlarmManagerService_set()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp60 const struct timespec *request,
61 struct timespec *remain);
543 struct timespec spec; in movie()
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
Daccessorychat.c70 struct timespec tm; in milli_sleep()
/frameworks/wilhelm/tests/sandbox/
Dplaybq.c401 struct timespec prevTs; in main()
417 struct timespec curTs; in main()
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp66 struct timespec mBufferUpdateTime;
492 struct timespec ts; in Visualizer_command()
/frameworks/native/opengl/tests/gl_perf/
Dfill_common.cpp111 struct timespec t; in getTime()

12