/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/logd/ |
D | LogBufferTest.cpp | 74 if (expected.nsec != result.nsec) { in CompareLoggerEntries() 76 StringPrintf("nsec: expected %" PRIu32 " vs %" PRIu32, expected.nsec, result.nsec)); in CompareLoggerEntries() 193 .nsec = 323001, in TEST_P() 212 {{.pid = 1, .tid = 2, .sec = 10000, .nsec = 20001, .lid = LOG_ID_MAIN, .uid = 0}, in TEST_P() 214 {{.pid = 10, .tid = 2, .sec = 10000, .nsec = 20002, .lid = LOG_ID_MAIN, .uid = 0}, in TEST_P() 216 {{.pid = 100, .tid = 2, .sec = 10000, .nsec = 20003, .lid = LOG_ID_KERNEL, .uid = 0}, in TEST_P() 218 {{.pid = 10, .tid = 2, .sec = 10000, .nsec = 20004, .lid = LOG_ID_MAIN, .uid = 0}, in TEST_P() 220 {{.pid = 1, .tid = 2, .sec = 10000, .nsec = 20005, .lid = LOG_ID_RADIO, .uid = 0}, in TEST_P() 222 {{.pid = 2, .tid = 2, .sec = 10000, .nsec = 20006, .lid = LOG_ID_RADIO, .uid = 0}, in TEST_P() 224 {{.pid = 3, .tid = 2, .sec = 10000, .nsec = 20007, .lid = LOG_ID_RADIO, .uid = 0}, in TEST_P() [all …]
|
D | ChattyLogBufferTest.cpp | 25 .pid = 1, .tid = 1, .sec = sec, .nsec = 1, .lid = LOG_ID_MAIN, .uid = 0}; in TEST_P() 97 .pid = 1, .tid = 1, .sec = sec, .nsec = 1, .lid = LOG_ID_MAIN, .uid = 0}; in TEST_P() 141 .pid = 1, .tid = 1, .sec = sec, .nsec = 1, .lid = LOG_ID_EVENTS, .uid = 0}; in TEST_P() 208 logger_entry entry = {.pid = pid, .tid = 1, .sec = sec, .nsec = 1, .lid = lid, .uid = uid}; in TEST_P() 279 .pid = 1, .tid = 1, .sec = sec, .nsec = 1, .lid = LOG_ID_MAIN, .uid = 0}; in TEST_P()
|
D | LogBufferTest.h | 82 log_buffer_->Log(static_cast<log_id_t>(entry.lid), log_time(entry.sec, entry.nsec), in LogMessages()
|
D | SerializedLogEntry.h | 75 entry.nsec = realtime().tv_nsec; in Flush()
|
D | ChattyLogBuffer.cpp | 61 if (elem.realtime().nsec() > (last.realtime().nsec() + 60 * NS_PER_SEC)) return DIFFERENT; in Identical() 265 uint64_t current = element->realtime().nsec() - (EXPIRE_RATELIMIT * NS_PER_SEC); in clear() 269 current > mapElement->realtime().nsec()) { in clear()
|
D | logd_test.cpp | 257 msg->entry.nsec); in dump_log_msg() 677 log_time msg(msg_timeout.entry.sec, msg_timeout.entry.nsec); in TEST() 680 msg_timeout.entry.nsec, (unsigned)start.tv_sec, in TEST() 823 snprintf(name, sizeof(name), "a%" PRIu64, now.nsec()); in TEST()
|
D | LogReader.cpp | 209 (int)pid, start.nsec(), static_cast<int64_t>(deadline.time_since_epoch().count())); in onDataAvailable()
|
D | LogKlog.cpp | 216 signature.nsec()); in LogKlog() 510 if (sig == signature.nsec()) { in log()
|
D | LogBufferElement.cpp | 279 entry.nsec = realtime_.tv_nsec; in FlushTo()
|
/system/core/liblog/include/log/ |
D | log_read.h | 45 uint32_t nsec; /* nanoseconds */ member 63 uint64_t nsec() const { in nsec() function 64 return static_cast<uint64_t>(entry.sec) * NS_PER_SEC + entry.nsec; in nsec()
|
D | log_time.h | 45 explicit log_time(uint32_t sec, uint32_t nsec = 0) 46 : tv_sec(sec), tv_nsec(nsec) { in tv_sec() 138 uint64_t nsec() const { in nsec() function
|
/system/core/liblog/include_vndk/log/ |
D | log_read.h | 45 uint32_t nsec; /* nanoseconds */ member 63 uint64_t nsec() const { in nsec() function 64 return static_cast<uint64_t>(entry.sec) * NS_PER_SEC + entry.nsec; in nsec()
|
/system/core/liblog/ |
D | pmsg_reader.cpp | 118 log_msg->entry.nsec = buf.l.realtime.tv_nsec; in PmsgRead() 231 if (log_msg.entry.nsec % ANDROID_LOG_PMSG_FILE_SEQUENCE || in __android_log_pmsg_file_read() 232 (log_msg.entry.nsec / ANDROID_LOG_PMSG_FILE_SEQUENCE) >= in __android_log_pmsg_file_read() 355 if (log_msg.entry.nsec == content->entry.nsec) { in __android_log_pmsg_file_read() 372 if ((node_to_item(node, struct content, node))->entry.nsec < log_msg.entry.nsec) { in __android_log_pmsg_file_read() 416 while (sequence < content->entry.nsec) { in __android_log_pmsg_file_read() 444 sequence = content->entry.nsec + ANDROID_LOG_PMSG_FILE_SEQUENCE; in __android_log_pmsg_file_read()
|
D | logprint.cpp | 504 entry->tv_nsec = buf->nsec; in android_log_processLogBuffer() 983 entry->tv_nsec = buf->nsec; in android_log_processBinaryLogBuffer() 1445 unsigned long nsec; in android_log_formatLogLine() local 1464 nsec = entry->tv_nsec; in android_log_formatLogLine() 1470 nsec = time.tv_nsec; in android_log_formatLogLine() 1474 nsec = NS_PER_SEC - nsec; in android_log_formatLogLine() 1490 len += snprintf(timeBuf + len, sizeof(timeBuf) - len, ".%09ld", nsec); in android_log_formatLogLine() 1492 len += snprintf(timeBuf + len, sizeof(timeBuf) - len, ".%06ld", nsec / US_PER_NSEC); in android_log_formatLogLine() 1494 len += snprintf(timeBuf + len, sizeof(timeBuf) - len, ".%03ld", nsec / MS_PER_NSEC); in android_log_formatLogLine()
|
/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/core/liblog/tests/ |
D | log_wrap_test.cpp | 46 log_time start(log_msg.entry.sec, log_msg.entry.nsec); in read_with_wrap()
|
D | logprint_test.cpp | 111 header->nsec = kNsec; in TEST()
|
D | liblog_benchmark.cpp | 696 uint64_t start = ts.nsec(); in BM_log_latency() 697 uint64_t end = log_msg.nsec(); in BM_log_latency() 962 snprintf(name, sizeof(name), "a%" PRIu64, now.nsec()); in BM_lookupEventTagNum_logd_new()
|
/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/fs_mgr/tests/ |
D | adb-remount-test.sh | 604 adb_logcat -b all -v nsec -d 608 adb_logcat -b all -v nsec -t ${2} 610 adb_logcat -b all -v nsec -d 1129 L=`adb_logcat -b all -v nsec -t ${T} 2>&1` 1527 L=`adb_logcat -b all -v nsec -t ${T} 2>&1`
|
/system/bt/audio_a2dp_hw/src/ |
D | audio_a2dp_hw.cc | 772 uint32_t nsec; in a2dp_get_presentation_position_cmd() local 773 if (a2dp_ctrl_receive(common, &nsec, sizeof(nsec)) < 0) { in a2dp_get_presentation_position_cmd() 778 timestamp->tv_nsec = nsec; in a2dp_get_presentation_position_cmd()
|
/system/core/debuggerd/libdebuggerd/ |
D | tombstone.cpp | 533 log_entry.entry.nsec / 1000000, log_entry.entry.pid, log_entry.entry.tid, prioChar, tag, in dump_log_file()
|