/system/chre/platform/slpi/ |
D | system_time_util.cc | 26 uint64_t nsec = 0; in getNanosecondsFromQTimerTicks() local 31 nsec = (seconds * kOneSecondInNanoseconds); in getNanosecondsFromQTimerTicks() 33 nsec += (ticks * kOneSecondInNanoseconds) / kClockFreq; in getNanosecondsFromQTimerTicks() 34 return nsec; in getNanosecondsFromQTimerTicks()
|
/system/core/liblog/include_vndk/log/ |
D | log_read.h | 64 int32_t nsec; /* nanoseconds */ member 80 int32_t nsec; /* nanoseconds */ member 97 int32_t nsec; /* nanoseconds */ member 114 uint32_t nsec; /* nanoseconds */ member 150 return (entry.sec == T.entry.sec) && (entry.nsec == T.entry.nsec); 157 ((entry.sec == T.entry.sec) && (entry.nsec < T.entry.nsec)); 164 ((entry.sec == T.entry.sec) && (entry.nsec > T.entry.nsec)); 169 uint64_t nsec() const { in nsec() function 170 return static_cast<uint64_t>(entry.sec) * NS_PER_SEC + entry.nsec; in nsec()
|
/system/core/liblog/include/log/ |
D | log_read.h | 64 int32_t nsec; /* nanoseconds */ member 80 int32_t nsec; /* nanoseconds */ member 97 int32_t nsec; /* nanoseconds */ member 114 uint32_t nsec; /* nanoseconds */ member 150 return (entry.sec == T.entry.sec) && (entry.nsec == T.entry.nsec); 157 ((entry.sec == T.entry.sec) && (entry.nsec < T.entry.nsec)); 164 ((entry.sec == T.entry.sec) && (entry.nsec > T.entry.nsec)); 169 uint64_t nsec() const { in nsec() function 170 return static_cast<uint64_t>(entry.sec) * NS_PER_SEC + entry.nsec; in nsec()
|
D | log_time.h | 55 explicit log_time(uint32_t sec, uint32_t nsec = 0) 56 : tv_sec(sec), tv_nsec(nsec) { in tv_sec() 145 uint64_t nsec() const { in nsec() function
|
/system/core/liblog/ |
D | pmsg_reader.cpp | 225 log_msg->entry_v4.nsec = buf.l.realtime.tv_nsec; in pmsgRead() 349 if ((transp.logMsg.entry.nsec % ANDROID_LOG_PMSG_FILE_SEQUENCE) || in __android_log_pmsg_file_read() 350 ((transp.logMsg.entry.nsec / ANDROID_LOG_PMSG_FILE_SEQUENCE) >= in __android_log_pmsg_file_read() 473 if (transp.logMsg.entry.nsec == content->entry.nsec) { in __android_log_pmsg_file_read() 490 if ((node_to_item(node, struct content, node))->entry.nsec < transp.logMsg.entry.nsec) { in __android_log_pmsg_file_read() 534 while (sequence < content->entry.nsec) { in __android_log_pmsg_file_read() 562 sequence = content->entry.nsec + ANDROID_LOG_PMSG_FILE_SEQUENCE; in __android_log_pmsg_file_read()
|
D | logprint.cpp | 501 entry->tv_nsec = buf->nsec; in android_log_processLogBuffer() 1008 entry->tv_nsec = buf->nsec; in android_log_processBinaryLogBuffer() 1538 unsigned long nsec; in android_log_formatLogLine() local 1557 nsec = entry->tv_nsec; in android_log_formatLogLine() 1565 nsec = time.tv_nsec; in android_log_formatLogLine() 1570 nsec = NS_PER_SEC - nsec; in android_log_formatLogLine() 1586 len += snprintf(timeBuf + len, sizeof(timeBuf) - len, ".%09ld", nsec); in android_log_formatLogLine() 1588 len += snprintf(timeBuf + len, sizeof(timeBuf) - len, ".%06ld", nsec / US_PER_NSEC); in android_log_formatLogLine() 1590 len += snprintf(timeBuf + len, sizeof(timeBuf) - len, ".%03ld", nsec / MS_PER_NSEC); in android_log_formatLogLine()
|
D | logger_read.cpp | 399 (oldest->logMsg.entry.nsec > transp->logMsg.entry.nsec)))) { in android_logger_list_read()
|
D | stderr_write.cpp | 169 log_msg.entry.nsec = ts->tv_nsec; in stderrWrite()
|
/system/connectivity/wifilogd/ |
D | command_processor.cpp | 44 uint32_t NsecToUsec(uint32_t nsec); 120 uint32_t NsecToUsec(uint32_t nsec) { return nsec / 1000; } in NsecToUsec() argument
|
/system/bt/btif/src/ |
D | btif_a2dp_control.cc | 300 uint32_t nsec = delay_report_stats.timestamp.tv_nsec; in btif_a2dp_recv_ctrl_data() local 301 UIPC_Send(*a2dp_uipc, UIPC_CH_ID_AV_CTRL, 0, (uint8_t*)&nsec, in btif_a2dp_recv_ctrl_data() 302 sizeof(nsec)); in btif_a2dp_recv_ctrl_data()
|
/system/core/logd/ |
D | LogReader.cpp | 93 log_time(CLOCK_REALTIME).nsec(); in onDataAvailable() 213 logMask, (int)pid, sequence.nsec(), timeout); in onDataAvailable()
|
D | LogBufferElement.cpp | 255 entry.nsec = mRealTime.tv_nsec; in flushTo()
|
D | LogKlog.cpp | 217 signature.nsec()); in LogKlog() 556 if (sig == signature.nsec()) { in log()
|
D | LogBuffer.cpp | 152 if (elem->getRealTime().nsec() > in identical() 153 (last->getRealTime().nsec() + 60 * NS_PER_SEC)) in identical()
|
/system/core/liblog/tests/ |
D | log_wrap_test.cpp | 49 log_time start(log_msg.entry.sec, log_msg.entry.nsec); in read_with_wrap()
|
D | liblog_benchmark.cpp | 729 uint64_t start = ts.nsec(); in BM_log_latency() 730 uint64_t end = log_msg.nsec(); in BM_log_latency() 1006 snprintf(name, sizeof(name), "a%" PRIu64, now.nsec()); in BM_lookupEventTagNum_logd_new()
|
/system/core/fs_mgr/tests/ |
D | adb-remount-test.sh | 433 adb_logcat -b all -v nsec -d >&2 437 adb_logcat -b all -v nsec -t ${2} >&2 439 adb_logcat -b all -v nsec -d >&2 801 L=`adb_logcat -b all -v nsec -t ${T} 2>&1` 1115 L=`adb_logcat -b all -v nsec -t ${T} 2>&1`
|
/system/core/logd/tests/ |
D | logd_test.cpp | 273 msg->entry.sec, msg->entry.nsec); in dump_log_msg() 782 log_time msg(msg_timeout.entry.sec, msg_timeout.entry.nsec); in TEST() 785 msg_timeout.entry.nsec, (unsigned)start.tv_sec, in TEST() 925 snprintf(name, sizeof(name), "a%" PRIu64, now.nsec()); in TEST()
|
/system/core/debuggerd/libdebuggerd/ |
D | tombstone.cpp | 564 log_entry.entry.nsec / 1000000, log_entry.entry.pid, log_entry.entry.tid, 'I', in dump_log_file() 597 log_entry.entry.nsec / 1000000, log_entry.entry.pid, log_entry.entry.tid, prioChar, tag, in dump_log_file()
|
/system/bt/audio_a2dp_hw/src/ |
D | audio_a2dp_hw.cc | 773 uint32_t nsec; in a2dp_get_presentation_position_cmd() local 774 if (a2dp_ctrl_receive(common, &nsec, sizeof(nsec)) < 0) { in a2dp_get_presentation_position_cmd() 779 timestamp->tv_nsec = nsec; in a2dp_get_presentation_position_cmd()
|
/system/netd/resolv/ |
D | res_send.cpp | 143 static struct timespec evConsTime(time_t sec, long nsec) { in evConsTime() argument 147 x.tv_nsec = nsec; in evConsTime()
|