Searched defs:time (Results 1 - 11 of 11) sorted by relevance

/system/extras/tests/bionic/libstdc++/
H A Dtest_ctime.cpp56 #ifdef time
78 using std::time;
90 volatile std::time_t time; local
/system/keymaster/include/keymaster/
H A Dgoogle_keymaster_utils.h22 #include <time.h> // for time_t.
31 * Convert the specified time value into "Java time", which is a signed 64-bit integer representing
34 inline int64_t java_time(time_t time) { argument
38 return time * 1000;
/system/core/toolbox/
H A Duptime.c32 #include <sys/time.h>
38 #include <time.h>
41 static void format_time(int time, char* buffer) { argument
44 seconds = time % 60;
45 time /= 60;
46 minutes = time % 60;
47 time /= 60;
48 hours = time % 24;
49 days = time / 24;
105 fprintf(stderr, "Could not get monotonic time\
[all...]
H A Dsendevent.c14 struct timeval time; member in struct:input_event
40 #define EVIOCGEFFECTS _IOR('E', 0x84, int) /* Report number of effects playable at the same time */
H A Dnewfs_msdos.c47 #include <sys/time.h>
58 #include <time.h>
149 u_int8_t time[2]; /* creation time */ member in struct:de
731 mk2(de->time, x);
/system/extras/tests/framebuffer/
H A Drefresh.c10 #include <time.h>
146 int64_t time = systemTime(); local
160 time = now - time;
161 printf("refresh rate = %f Hz\n", (c*1000000000.0 / (double)time));
163 time = now;
/system/extras/tests/sdcard/
H A Dstopwatch.cpp32 #include <time.h>
209 double StopWatch::timespecToDouble(const struct timespec& time) argument
211 double val = double(time.tv_nsec) / 1.0e9 + double(time.tv_sec);
/system/core/adb/
H A Dfile_sync_service.h59 unsigned time; member in struct:__anon6::__anon8
65 unsigned time; member in struct:__anon6::__anon9
H A Dfile_sync_client.c22 #include <sys/time.h>
23 #include <time.h>
92 typedef void (*sync_ls_cb)(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie);
124 ltohl(msg.dent.time),
165 *timestamp = ltohl(msg.stat.time);
197 *timestamp = ltohl(msg.stat.time);
543 static void do_sync_ls_cb(unsigned mode, unsigned size, unsigned time, argument
546 printf("%08x %08x %08x %s\n", mode, size, time, name);
572 unsigned int time; member in struct:copyinfo
595 ci->time
822 sync_ls_build_list_cb(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie) argument
883 set_time_and_mode(const char *lpath, unsigned int time, unsigned int mode) argument
954 unsigned mode, time; local
[all...]
/system/core/libsync/tests/
H A Dsync_test.cpp286 timeval time = {0}; local
287 ASSERT_EQ(select(fence.getFd() + 1, &set, nullptr, nullptr, &time), 0);
297 ASSERT_EQ(select(fence.getFd() + 1, &set, nullptr, nullptr, &time), 1);
/system/extras/cpustats/
H A Dcpustats.c40 long unsigned time; member in struct:freq_info
245 new_total_cpu.freqs[i].time = 0;
272 &new_cpus[cpu].freqs[i].time);
275 new_total_cpu.freqs[i].time += new_cpus[cpu].freqs[i].time;
282 * Get the sum of the cpu time from all categories.
355 delta_time = new_cpu->freqs[i].time - old_cpu->freqs[i].time;
368 new_cpu->freqs[i].time - old_cpu->freqs[i].time);
[all...]

Completed in 265 milliseconds