Home
last modified time | relevance | path

Searched refs:default_queue (Results 1 – 2 of 2) sorted by relevance

/system/bt/osi/src/
Ddata_dispatcher.c36 fixed_queue_t *default_queue; // We don't own this queue member
83 dispatcher->default_queue = queue; in data_dispatcher_register_default()
92 queue = dispatcher->default_queue; in data_dispatcher_dispatch()
/system/bt/osi/test/
Ddata_dispatcher_test.cpp87 fixed_queue_t *default_queue = fixed_queue_new(DUMMY_QUEUE_SIZE); in TEST_F() local
89 data_dispatcher_register_default(dispatcher, default_queue); in TEST_F()
91 EXPECT_TRUE(fixed_queue_is_empty(default_queue)); in TEST_F()
98 EXPECT_FALSE(fixed_queue_is_empty(default_queue)); in TEST_F()
99 EXPECT_STREQ(dummy_data_1, (char *)fixed_queue_try_dequeue(default_queue)); in TEST_F()
100 EXPECT_TRUE(fixed_queue_is_empty(default_queue)); in TEST_F()
103 fixed_queue_free(default_queue, NULL); in TEST_F()