Home
last modified time | relevance | path

Searched refs:worker_thread (Results 1 – 3 of 3) sorted by relevance

/system/bt/osi/test/
Dfuture_test.cpp42 thread_t *worker_thread = thread_new("worker thread"); in TEST_F() local
43 thread_post(worker_thread, post_to_future, future); in TEST_F()
47 thread_free(worker_thread); in TEST_F()
Dfixed_queue_test.cpp291 thread_t *worker_thread = thread_new("test_fixed_queue_worker_thread"); in TEST_F() local
292 ASSERT_TRUE(worker_thread != NULL); in TEST_F()
295 thread_get_reactor(worker_thread), in TEST_F()
305 thread_free(worker_thread); in TEST_F()
/system/bt/btif/src/
Dbtif_media_task.c408 static thread_t *worker_thread; variable
883 worker_thread = thread_new("media_worker"); in btif_a2dp_start_media_task()
884 if (worker_thread == NULL) in btif_a2dp_start_media_task()
888 thread_get_reactor(worker_thread), in btif_a2dp_start_media_task()
892 thread_post(worker_thread, btif_media_thread_init, NULL); in btif_a2dp_start_media_task()
913 thread_post(worker_thread, btif_media_thread_cleanup, NULL); in btif_a2dp_stop_media_task()
914 thread_free(worker_thread); in btif_a2dp_stop_media_task()
915 worker_thread = NULL; in btif_a2dp_stop_media_task()
2190 if(worker_thread != NULL) in btif_decode_alarm_cb()
2191 thread_post(worker_thread, btif_media_task_avk_handle_timer, NULL); in btif_decode_alarm_cb()
[all …]