Home
last modified time | relevance | path

Searched refs:event_string (Results 1 – 4 of 4) sorted by relevance

/system/logging/liblog/
Dlog_event_list.cpp225 auto* event_string = reinterpret_cast<android_event_string_t*>(&context->storage[context->pos]); in android_log_write_string8_len() local
226 event_string->type = EVENT_TYPE_STRING; in android_log_write_string8_len()
227 event_string->length = len; in android_log_write_string8_len()
229 memcpy(&event_string->data, value, len); in android_log_write_string8_len()
462 auto* event_string = reinterpret_cast<android_event_string_t*>(&context->storage[pos]); in android_log_read_next_internal() local
465 if (event_string->length >= UINT16_MAX) { in android_log_read_next_internal()
469 elem.len = event_string->length; in android_log_read_next_internal()
478 elem.data.string = event_string->data; in android_log_read_next_internal()
Dlogprint.cpp764 auto* event_string = reinterpret_cast<const android_event_string_t*>(eventData); in android_log_printBinaryEvent() local
765 unsigned int strLen = event_string->length; in android_log_printBinaryEvent()
/system/extras/simpleperf/
Dcmd_stat_test.cpp84 std::string event_string; in TEST() local
86 event_string = "cpu/instructions/"; in TEST()
88 event_string = "armv8_pmuv3/inst_retired/"; in TEST()
90 event_string = "cpu/instructions/"; in TEST()
95 TEST_IN_ROOT(ASSERT_TRUE(StatCmd()->Run({"-a", "-e", event_string, "sleep", "1"}))); in TEST()
Dcmd_record_test.cpp1086 std::string event_string; in TEST() local
1088 event_string = "cpu/cpu-cycles/"; in TEST()
1090 event_string = "armv8_pmuv3/cpu_cycles/"; in TEST()
1095 TEST_IN_ROOT(ASSERT_TRUE(RunRecordCmd({"-e", event_string}))); in TEST()