Home
last modified time | relevance | path

Searched refs:LOG_ID_MAIN (Results 1 – 19 of 19) sorted by relevance

/system/core/liblog/tests/
Dliblog_default_tag.cpp50 __android_log_buf_write(LOG_ID_MAIN, ANDROID_LOG_WARN, nullptr, "message"); in TEST()
64 __android_log_buf_write(LOG_ID_MAIN, ANDROID_LOG_WARN, nullptr, "message"); in TEST()
82 __android_log_buf_write(LOG_ID_MAIN, ANDROID_LOG_WARN, nullptr, "message"); in TEST()
100 __android_log_buf_write(LOG_ID_MAIN, ANDROID_LOG_WARN, nullptr, "message"); in TEST()
123 __android_log_buf_write(LOG_ID_MAIN, ANDROID_LOG_VERBOSE, nullptr, "message"); in TEST()
151 __android_log_buf_write(LOG_ID_MAIN, ANDROID_LOG_VERBOSE, nullptr, "message"); in TEST()
Dlog_id_test.cpp56 EXPECT_LT(0, __android_log_buf_print(LOG_ID_MAIN, ANDROID_LOG_INFO, in TEST()
69 EXPECT_LT(0, __android_log_buf_write(LOG_ID_MAIN, ANDROID_LOG_INFO, in TEST()
76 LOG_ID_MAIN, ANDROID_LOG_INFO, "TEST__android_log_print", in ConcurrentPrintFn()
Dlog_wrap_test.cpp37 android_logger_list_open(LOG_ID_MAIN, mode, 1000, 0); in read_with_wrap()
53 struct logger* logger = android_logger_open(logger_list, LOG_ID_MAIN); in read_with_wrap()
Dliblog_host_test.cpp54 __android_log_buf_print(LOG_ID_MAIN, ANDROID_LOG_VERBOSE, "tag", "verbose main"); in GenerateLogContent()
55 __android_log_buf_print(LOG_ID_MAIN, ANDROID_LOG_INFO, "tag", "info main"); in GenerateLogContent()
56 __android_log_buf_print(LOG_ID_MAIN, ANDROID_LOG_ERROR, "tag", "error main"); in GenerateLogContent()
Dliblog_global_state.cpp98 __android_log_buf_write(LOG_ID_MAIN, ANDROID_LOG_WARN, LOG_TAG, expected_message.c_str()); in TEST()
109 static int expected_buffer_id = LOG_ID_MAIN; in TEST()
Dliblog_test.cpp321 RunLogTests(LOG_ID_MAIN, write_function, check_function); in TEST()
435 EXPECT_LT(0, __android_log_buf_write(LOG_ID_MAIN, ANDROID_LOG_INFO, tag, message)); in buf_write_test()
455 if ((size_t)log_msg.entry.len != (sizeof(tag) + length + 2) || log_msg.id() != LOG_ID_MAIN) { in buf_write_test()
477 RunLogTests(LOG_ID_MAIN, write_function, check_function); in buf_write_test()
991 EXPECT_LT(0, __android_log_buf_print(LOG_ID_MAIN, ANDROID_LOG_INFO, max_payload_buf, in TEST()
1019 RunLogTests(LOG_ID_MAIN, write_function, check_function); in TEST()
1086 android_logger_list_open(LOG_ID_MAIN, 0, expected_count1, pid)}; in TEST()
1090 android_logger_list_open(LOG_ID_MAIN, 0, expected_count2, pid)}; in TEST()
1097 LOG_FAILURE_RETRY(__android_log_buf_write(LOG_ID_MAIN, ANDROID_LOG_INFO, in TEST()
1122 android_logger_list_open(LOG_ID_MAIN, ANDROID_LOG_NONBLOCK, expected_count1, pid)}; in TEST()
[all …]
Dlogprint_test.cpp100 constexpr uint32_t kLid = LOG_ID_MAIN; in TEST()
/system/core/logd/
DLogBufferTest.cpp194 .lid = LOG_ID_MAIN, 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()
218 {{.pid = 10, .tid = 2, .sec = 10000, .nsec = 20004, .lid = LOG_ID_MAIN, .uid = 0}, in TEST_P()
226 {{.pid = 4, .tid = 2, .sec = 10000, .nsec = 20008, .lid = LOG_ID_MAIN, .uid = 0}, in TEST_P()
230 {{.pid = 6, .tid = 2, .sec = 10000, .nsec = 20011, .lid = LOG_ID_MAIN, .uid = 0}, in TEST_P()
334 {{.pid = 1, .tid = 2, .sec = 10000, .nsec = 20001, .lid = LOG_ID_MAIN, .uid = 0}, in TEST_P()
336 {{.pid = 10, .tid = 2, .sec = 10000, .nsec = 20002, .lid = LOG_ID_MAIN, .uid = 0}, in TEST_P()
338 {{.pid = 100, .tid = 2, .sec = 10000, .nsec = 20003, .lid = LOG_ID_MAIN, .uid = 0}, in TEST_P()
370 {{.pid = 1, .tid = 2, .sec = 10000, .nsec = 20001, .lid = LOG_ID_MAIN, .uid = 0}, in TEST_P()
[all …]
DChattyLogBufferTest.cpp25 .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()
220 make_message(1, 1, 1, LOG_ID_MAIN, "test_tag", "duplicate1"), in TEST_P()
225 make_message(7, 1, 1, LOG_ID_MAIN, "test_tag", "duplicate1"), in TEST_P()
226 make_message(8, 1, 1, LOG_ID_MAIN, "test_tag", "duplicate1"), in TEST_P()
227 make_message(9, 1, 1, LOG_ID_MAIN, "test_tag", "duplicate1"), in TEST_P()
228 make_message(10, 1, 1, LOG_ID_MAIN, "test_tag", "not duplicate1"), in TEST_P()
251 make_message(9, 1, 1, LOG_ID_MAIN, "test_tag", "duplicate1"), in TEST_P()
252 make_message(10, 1, 1, LOG_ID_MAIN, "test_tag", "not duplicate1"), in TEST_P()
279 .pid = 1, .tid = 1, .sec = sec, .nsec = 1, .lid = LOG_ID_MAIN, .uid = 0}; in TEST_P()
DLogUtils.h77 return (id == LOG_ID_MAIN) || (id == LOG_ID_SYSTEM) || in worstUidEnabledForLogid()
DSerializedLogChunkTest.cpp124 EXPECT_DEATH({ chunk.ClearUidLogs(1000, LOG_ID_MAIN, nullptr); }, ""); in TEST()
138 EXPECT_EQ(expected_result, chunk_.ClearUidLogs(kUidToClear, LOG_ID_MAIN, nullptr)); in Test()
DLogAudit.cpp332 rc = logbuf->Log(LOG_ID_MAIN, now, uid, pid, tid, newstr, in logPrint()
336 notify |= 1 << LOG_ID_MAIN; in logPrint()
Dlogd_test.cpp472 'S', 'i', 'z', 'e', ' ', LOG_ID_MAIN + '0', in TEST()
/system/core/liblog/
Dlogger_name.cpp25 [LOG_ID_MAIN] = "main",
38 log_id = LOG_ID_MAIN; in android_log_id_to_name()
Dlogger_write.cpp277 int buffer_id = log_message->buffer_id == LOG_ID_DEFAULT ? LOG_ID_MAIN : log_message->buffer_id; in __android_log_logd_logger()
292 return __android_log_buf_write(LOG_ID_MAIN, prio, tag, msg); in __android_log_write()
298 if (log_message->buffer_id != LOG_ID_DEFAULT && log_message->buffer_id != LOG_ID_MAIN && in __android_log_write_log_message()
342 sizeof(__android_log_message), LOG_ID_MAIN, prio, tag, nullptr, 0, buf}; in __android_log_vprint()
362 sizeof(__android_log_message), LOG_ID_MAIN, prio, tag, nullptr, 0, buf}; in __android_log_print()
/system/core/liblog/include/android/
Dlog.h142 LOG_ID_MAIN = 0, enumerator
/system/core/include/android/
Dlog.h142 LOG_ID_MAIN = 0, enumerator
/system/libbase/
Dlogging.cpp124 case LOG_ID_MAIN: in log_id_tToLogId()
141 return LOG_ID_MAIN; in LogIdTolog_id_t()
/system/core/logcat/
Dlogcat.cpp739 id_mask |= (1 << LOG_ID_MAIN) | (1 << LOG_ID_SYSTEM) | (1 << LOG_ID_CRASH); in Run()
918 id_mask = (1 << LOG_ID_MAIN) | (1 << LOG_ID_SYSTEM) | (1 << LOG_ID_CRASH) | in Run()