/system/core/toolbox/ |
D | uptime.c | 41 static void format_time(int time, char* buffer) { in format_time() argument 44 seconds = time % 60; in format_time() 45 time /= 60; in format_time() 46 minutes = time % 60; in format_time() 47 time /= 60; in format_time() 48 hours = time % 24; in format_time() 49 days = time / 24; in format_time()
|
D | alarm.c | 102 time(&tv.tv_sec); in alarm_main() 105 time(&ts.tv_sec); in alarm_main()
|
D | watchprops.c | 30 fprintf(stderr,"%10d %s = '%s'\n", (int) time(0), name, value); in announce()
|
D | sendevent.c | 14 struct timeval time; member
|
D | getevent.c | 651 printf("[%8ld.%06ld] ", event.time.tv_sec, event.time.tv_usec); in getevent_main() 657 int64_t now = event.time.tv_sec * 1000000LL + event.time.tv_usec; in getevent_main()
|
/system/core/logcat/ |
D | event.logtags | 52 # contacts aggregation: time and number of contacts. 54 2747 contacts_aggregation (aggregation time|2|3), (count|1|1) 60 3000 boot_progress_start (time|2|3) 62 3020 boot_progress_preload_start (time|2|3) 64 3030 boot_progress_preload_end (time|2|3) 67 20003 dvm_lock_sample (process|3),(main|1|5),(thread|3),(time|1|3),(file|3),(line|1|5),(ownerfile|3… 96 # time: cpu time millis (not wall time), including lock acquisition 99 52000 db_sample (db|3),(sql|3),(time|1|3),(blocking_package|3),(sample_percent|1|6) 103 60000 viewroot_draw (Draw time|1|3) 104 60001 viewroot_layout (Layout time|1|3) [all …]
|
/system/extras/tests/sdcard/ |
D | plot_sdcard.py | 53 self.time = [] 61 return str(zip(self.time, self.data)) 63 def Add(self, time, value): argument 64 self.time.append(time) 75 for t, d in izip(self.time, self.data): 82 self.time = new_time 164 (time, value) = line.split(None, 1) 170 dataset.Add(float(time), float(value)) 247 x = numpy.array(dataset.time, dtype='float_') 277 x = numpy.array(dataset.time, dtype='int_')
|
D | stopwatch.cpp | 209 double StopWatch::timespecToDouble(const struct timespec& time) in timespecToDouble() argument 211 double val = double(time.tv_nsec) / 1.0e9 + double(time.tv_sec); in timespecToDouble()
|
D | stopwatch.h | 126 double timespecToDouble(const struct timespec& time);
|
/system/extras/cpustats/ |
D | cpustats.c | 40 long unsigned time; member 245 new_total_cpu.freqs[i].time = 0; in read_stats() 272 &new_cpus[cpu].freqs[i].time); in read_freq_stats() 275 new_total_cpu.freqs[i].time += new_cpus[cpu].freqs[i].time; in read_freq_stats() 355 delta_time = new_cpu->freqs[i].time - old_cpu->freqs[i].time; in print_freq_stats() 368 new_cpu->freqs[i].time - old_cpu->freqs[i].time); in print_freq_stats() 386 if (new_cpus[i].freqs[j].time - old_cpus[i].freqs[j].time != in should_print_freq_stats() 387 new_cpus[0].freqs[j].time - old_cpus[0].freqs[j].time) { in should_print_freq_stats()
|
/system/extras/tests/bionic/libstdc++/ |
D | test_ctime.cpp | 56 #ifdef time 78 using std::time; 90 volatile std::time_t time; in testTypesStd() local
|
/system/extras/tests/framebuffer/ |
D | refresh.c | 146 int64_t time = systemTime(); in main() local 160 time = now - time; in main() 161 printf("refresh rate = %f Hz\n", (c*1000000000.0 / (double)time)); in main() 163 time = now; in main()
|
/system/core/adb/ |
D | file_sync_client.c | 92 typedef void (*sync_ls_cb)(unsigned mode, unsigned size, unsigned time, const char *name, void *coo… 124 ltohl(msg.dent.time), in sync_ls() 165 *timestamp = ltohl(msg.stat.time); in sync_readtime() 197 *timestamp = ltohl(msg.stat.time); in sync_finish_readtime() 543 static void do_sync_ls_cb(unsigned mode, unsigned size, unsigned time, in do_sync_ls_cb() argument 546 printf("%08x %08x %08x %s\n", mode, size, time, name); in do_sync_ls_cb() 572 unsigned int time; member 595 ci->time = 0; in mkcopyinfo() 661 ci->time = st.st_mtime; in local_build_list() 724 if((S_ISREG(ci->mode & mode) && timestamp == ci->time) || in copy_local_dir_remote() [all …]
|
D | file_sync_service.h | 59 unsigned time; member 65 unsigned time; member
|
D | file_sync_service.c | 93 msg.stat.time = 0; in do_stat() 97 msg.stat.time = htoll(st.st_mtime); in do_stat() 135 msg.dent.time = htoll(st.st_mtime); in do_list() 152 msg.dent.time = 0; in do_list()
|
D | SYNC.TXT | 46 4. A four-byte integer representing last modified time. 70 to the last modified time for the file. The server responds to this last
|
/system/core/liblog/ |
D | log_time.cpp | 36 time(&now); in strptime() 129 time(&now); in strptime()
|
D | README | 107 multiply, retrieving a log entry at a time in time sorted order,
|
/system/keymaster/include/keymaster/ |
D | google_keymaster_utils.h | 34 inline int64_t java_time(time_t time) { in java_time() argument 38 return time * 1000; in java_time()
|
/system/vold/ |
D | CheckBattery.cpp | 47 time_t now = time(NULL); in is_battery_ok()
|
/system/core/libcutils/ |
D | ashmem-host.c | 43 srand(time(NULL) + getpid()); in initialize_random()
|
/system/core/libsync/tests/ |
D | sync_test.cpp | 286 timeval time = {0}; in TEST() local 287 ASSERT_EQ(select(fence.getFd() + 1, &set, nullptr, nullptr, &time), 0); in TEST() 297 ASSERT_EQ(select(fence.getFd() + 1, &set, nullptr, nullptr, &time), 1); in TEST()
|
/system/extras/tests/suspend_stress/ |
D | suspend_stress.cpp | 177 time_t t = time(NULL); in main()
|
/system/core/debuggerd/ |
D | backtrace.cpp | 48 time_t t = time(NULL); in dump_process_header()
|
D | crasher.c | 30 if (time(0) != 42) { in maybe_abort()
|