/aosp14/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | ZipUtils.h | 72 static inline void zipTimeToTimespec(uint32_t when, struct tm* timespec) { in zipTimeToTimespec() argument 75 memset(timespec, 0, sizeof(struct tm)); in zipTimeToTimespec() 76 timespec->tm_year = ((date >> 9) & 0x7F) + 80; // Zip is years since 1980 in zipTimeToTimespec() 77 timespec->tm_mon = ((date >> 5) & 0x0F) - 1; in zipTimeToTimespec() 78 timespec->tm_mday = date & 0x1F; in zipTimeToTimespec() 80 timespec->tm_hour = (when >> 11) & 0x1F; in zipTimeToTimespec() 81 timespec->tm_min = (when >> 5) & 0x3F; in zipTimeToTimespec() 82 timespec->tm_sec = (when & 0x1F) << 1; in zipTimeToTimespec() 83 timespec->tm_isdst = -1; in zipTimeToTimespec()
|
H A D | ResourceTimer.h | 210 struct timespec start_;
|
/aosp14/frameworks/base/apex/jobscheduler/service/jni/ |
H A D | com_android_server_alarm_AlarmManagerService.cpp | 83 int set(int type, struct timespec *ts); 102 int AlarmImpl::set(int type, struct timespec *ts) in set() 268 struct timespec nextTimespec = spec.it_value; in android_server_alarm_AlarmManagerService_getNextAlarm() 283 struct timespec ts; in android_server_alarm_AlarmManagerService_set()
|
/aosp14/frameworks/base/libs/androidfw/ |
H A D | ResourceTimer.cpp | 51 unsigned int diffInNs(timespec const &a, timespec const &b) { in diffInNs() 52 timespec r = { 0, 0 }; in diffInNs() 91 struct timespec end; in record()
|
/aosp14/system/core/storaged/ |
H A D | storaged_diskstats.cpp | 66 bool get_time(struct timespec* ts) { in get_time() 77 void init_disk_stats_other(const struct timespec& ts, struct disk_stats* stats) { in init_disk_stats_other() 86 struct timespec ts; in parse_disk_stats() 123 struct timespec ts; in get_disk_stats_from_health_hal()
|
/aosp14/system/core/libstats/push_compat/ |
H A D | statsd_writer.h | 40 int (*write)(struct timespec* ts, struct iovec* vec, size_t nr);
|
H A D | statsd_writer.c | 63 static int statsdWrite(struct timespec* ts, struct iovec* vec, size_t nr); 156 static int statsdWrite(struct timespec* ts, struct iovec* vec, size_t nr) { in statsdWrite()
|
H A D | stats_event_list.c | 149 struct timespec ts; in __write_to_stats_daemon()
|
/aosp14/system/core/libutils/ |
H A D | SystemClock.cpp | 67 struct timespec ts; in elapsedRealtimeNano()
|
H A D | Timers.cpp | 39 timespec t = {}; in systemTime()
|
H A D | SystemClock_test.cpp | 55 timespec ts; in TEST()
|
/aosp14/system/core/libasyncio/include/asyncio/ |
H A D | AsyncIO.h | 40 struct timespec* timeout);
|
/aosp14/frameworks/base/cmds/incidentd/src/ |
H A D | incidentd_util.cpp | 165 timespec ts; in Nanotime() 207 timespec ts; in waitpid_with_timeout()
|
/aosp14/system/core/libasyncio/ |
H A D | AsyncIO.cpp | 35 int io_getevents(aio_context_t ctx, long min_nr, long max_nr, io_event* events, timespec* timeout) { in io_getevents()
|
/aosp14/system/core/libutils/include/utils/ |
H A D | Condition.h | 121 struct timespec ts; in waitRelative()
|
H A D | Mutex.h | 194 const struct timespec ts = { in timedLock()
|
/aosp14/system/core/debuggerd/ |
H A D | util.cpp | 64 timespec ts; in get_timestamp()
|
/aosp14/frameworks/base/libs/usb/tests/accessorytest/ |
H A D | hid.c | 42 struct timespec tm; in milli_sleep()
|
H A D | usb.c | 38 struct timespec tm; in milli_sleep()
|
/aosp14/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
H A D | accessorychat.c | 70 struct timespec tm; in milli_sleep()
|
/aosp14/frameworks/base/tests/JankBench/app/src/main/jni/ |
H A D | test.cpp | 32 struct timespec t; in GetTime()
|
H A D | Bench.cpp | 44 struct timespec t; in getTimeNanos()
|
/aosp14/system/core/llkd/ |
H A D | libllkd.cpp | 431 milliseconds llkGetTimespecDiffMs(timespec* from, timespec* to) { in llkGetTimespecDiffMs() 969 static timespec last; in llkCheck() 970 timespec now; in llkCheck() 1260 timespec end; in llkCheck()
|
/aosp14/system/core/libcutils/ |
H A D | trace-container.cpp | 127 struct timespec ts; in gettime()
|
/aosp14/frameworks/base/cmds/uinput/jni/ |
H A D | com_android_commands_uinput_Device.cpp | 174 timespec ts; in injectEvent()
|