Home
last modified time | relevance | path

Searched refs:event_list (Results 1 – 5 of 5) sorted by relevance

/system/bt/gd/cert/
Devent_stream.py188 event_list = []
190 while len(event_list) <= at_most_times and datetime.now() < end_time:
196 event_list.append(current_event)
199 logging.debug("Done waiting, got %d events" % len(event_list))
201 len(event_list) <= at_most_times,
202 msg=("Expected at most %d events, but got %d" % (at_most_times, len(event_list))))
217 event_list = []
219 while len(event_list) < at_least_times and datetime.now() < end_time:
226 event_list.append(current_event)
229 logging.debug("Done waiting for event, received %d", len(event_list))
[all …]
/system/core/libstats/pull_lazy/tests/
Dlibstatspull_lazy_test.cpp50 AStatsEventList* event_list = NULL; in TEST_F() local
51 EXPECT_DEATH(AStatsEventList_addStatsEvent(event_list), kLoadFailed); in TEST_F()
/system/logging/liblog/
Dlog_event_list.cpp155 auto* event_list = reinterpret_cast<android_event_list_t*>(&context->storage[context->pos]); in android_log_write_list_begin() local
156 event_list->type = EVENT_TYPE_LIST; in android_log_write_list_begin()
157 event_list->element_count = 0; in android_log_write_list_begin()
498 auto* event_list = reinterpret_cast<android_event_list_t*>(&context->storage[pos]); in android_log_read_next_internal() local
507 context->list_stop = event_list->element_count == 0; in android_log_read_next_internal()
510 context->count[context->list_nest_depth] = event_list->element_count; in android_log_read_next_internal()
Dlogprint.cpp810 auto* event_list = reinterpret_cast<const android_event_list_t*>(eventData); in android_log_printBinaryEvent() local
812 int8_t count = event_list->element_count; in android_log_printBinaryEvent()
/system/logging/liblog/tests/
Dliblog_test.cpp1901 auto* event_list = reinterpret_cast<android_event_list_t*>(event_data); in android_errorWriteWithInfoLog_helper() local
1902 ASSERT_EQ(EVENT_TYPE_LIST, event_list->type); in android_errorWriteWithInfoLog_helper()
1903 ASSERT_EQ(3, event_list->element_count); in android_errorWriteWithInfoLog_helper()
2027 auto* event_list = reinterpret_cast<android_event_list_t*>(event_data); in TEST() local
2028 ASSERT_EQ(EVENT_TYPE_LIST, event_list->type); in TEST()
2029 ASSERT_EQ(3, event_list->element_count); in TEST()