/system/core/fastboot/ |
H A D | util.c | 38 double now() function
|
/system/extras/tests/icachetest/ |
H A D | icache_main.c | 11 struct timeval now, tm; local 19 gettimeofday(&now, 0); 22 t = (tm.tv_sec*1000000LL+tm.tv_usec) - (now.tv_sec*1000000LL+now.tv_usec); 26 gettimeofday(&now, 0); 29 t = (tm.tv_sec*1000000LL+tm.tv_usec) - (now.tv_sec*1000000LL+now.tv_usec);
|
/system/core/liblog/ |
H A D | log_time.cpp | 31 time_t now; local 34 now = tv_sec; 36 time(&now); 37 tv_sec = now; 44 ptm = localtime_r(&now, &tmBuf); 46 ptm = localtime(&now); 80 now = tv_sec; 82 ptm = localtime_r(&now, &tmBuf); 84 ptm = localtime(&now); 129 time(&now); [all...] |
/system/vold/ |
H A D | CheckBattery.cpp | 47 time_t now = time(NULL); local 48 if (now == -1 || difftime(now, last_checked) < 5) { 51 last_checked = now;
|
H A D | cryptfs.c | 2030 struct timespec now; local 2031 clock_gettime(CLOCK_BOOTTIME, &now); 2032 password_expiry_time = now.tv_sec + password_max_age_seconds; 3015 * above, so just unmount it now. We must do this _AFTER_ killing the framework, 3427 /* If we are running encrypted, save the persistent data now */ 3497 struct timespec now; local 3498 clock_gettime(CLOCK_MONOTONIC, &now); 3499 if (now.tv_sec < password_expiry_time) {
|
/system/core/init/ |
H A D | signal_handler.c | 50 time_t now; local 101 now = gettime(); 103 if (svc->time_crashed + CRITICAL_CRASH_WINDOW >= now) { 112 svc->time_crashed = now;
|
H A D | bootchart.c | 132 struct tm now = *localtime(&now_t); local 133 strftime(date, sizeof(date), "%x %X", &now);
|
/system/extras/tests/framebuffer/ |
H A D | refresh.c | 131 // at least for now, always clear the fb 159 int64_t now = systemTime(); local 160 time = now - time; 163 time = now;
|
/system/core/logd/ |
H A D | LogAudit.cpp | 92 log_time now; local 97 && ((cp = now.strptime(timeptr + sizeof(audit_str) - 1, "%s.%q"))) 102 now.strptime("", ""); // side effect of setting CLOCK_REALTIME 142 logbuf->log(LOG_ID_EVENTS, now, uid, pid, tid, newstr, 186 logbuf->log(LOG_ID_MAIN, now, uid, pid, tid, newstr,
|
/system/core/libutils/ |
H A D | BlobCache.cpp | 44 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); local 46 srand(now); 48 mRandState[0] = (now >> 0) & 0xFFFF; 49 mRandState[1] = (now >> 16) & 0xFFFF; 50 mRandState[2] = (now >> 32) & 0xFFFF; 52 ALOGV("initializing random seed using %lld", (unsigned long long)now);
|
H A D | LinearAllocator.cpp | 65 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); local 66 if (now > s_nextLog) { 67 s_nextLog = now + milliseconds_to_nanoseconds(10);
|
H A D | Looper.cpp | 202 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); local 203 int messageTimeoutMillis = toMillisecondTimeoutDelay(now, mNextMessageUptime); 210 this, mNextMessageUptime - now, timeoutMillis); 284 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); local 286 if (messageEnvelope.uptime <= now) { 359 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); local 360 timeoutMillis = toMillisecondTimeoutDelay(now, endTime); 490 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); local 491 sendMessageAtTime(now, handler, message); 496 nsecs_t now local [all...] |
/system/core/libutils/tests/ |
H A D | Looper_test.cpp | 561 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); local 563 mLooper->sendMessageAtTime(now + ms2ns(100), handler, Message(MSG_TEST1)); 598 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); local 600 mLooper->sendMessageAtTime(now - ms2ns(1000), handler, Message(MSG_TEST1)); 617 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); local 619 mLooper->sendMessageAtTime(now, handler, Message(MSG_TEST1));
|
/system/core/libbacktrace/ |
H A D | backtrace_test.cpp | 68 int32_t* now; member in struct:dump_thread_t 555 if (android_atomic_acquire_load(dump->now)) { 596 dumpers[i].now = &dump_now; 639 dumpers[i].now = &dump_now;
|
/system/core/toolbox/ |
H A D | getevent.c | 657 int64_t now = event.time.tv_sec * 1000000LL + event.time.tv_usec; local 659 printf(" rate %lld", 1000000LL / (now - last_sync_time)); 660 last_sync_time = now;
|
H A D | newfs_msdos.c | 262 time_t now; local 639 now = tv.tv_sec; 640 tm = localtime(&now);
|
/system/core/healthd/ |
H A D | healthd_mode_charger.cpp | 350 static void update_screen_state(struct charger *charger, int64_t now) argument 356 if (!batt_anim->run || now < charger->next_screen_transition) 363 LOGV("[%" PRId64 "] level %d, leave screen off\n", now, batt_cap); 385 LOGV("[%" PRId64 "] animation done\n", now); 398 LOGV("[%" PRId64 "] animation starting\n", now); 428 LOGV("[%" PRId64 "] animation missing or unknown battery status\n", now); 429 charger->next_screen_transition = now + BATTERY_UNKNOWN_TIME; 435 charger->next_screen_transition = now + disp_time; 470 int64_t now = curr_time_ms(); local 483 charger->keys[code].timestamp = now; 517 process_key(struct charger *charger, int code, int64_t now) argument 554 handle_input_state(struct charger *charger, int64_t now) argument 562 handle_power_supply_state(struct charger *charger, int64_t now) argument 592 int64_t now = curr_time_ms(); local 625 int64_t now = curr_time_ms(); local [all...] |
/system/core/adb/ |
H A D | adb.c | 1006 struct tm now; local 1019 localtime_r(&t, &now); 1022 &now);
|