/system/bt/osi/include/ |
D | thread.h | 27 typedef struct thread_t thread_t; typedef 35 thread_t *thread_new(const char *name); 38 thread_t *thread_new_sized(const char *name, size_t size); 43 void thread_free(thread_t *thread); 48 void thread_join(thread_t *thread); 55 bool thread_post(thread_t *thread, thread_fn func, void *context); 60 void thread_stop(thread_t *thread); 65 bool thread_set_priority(thread_t *thread, int priority); 69 bool thread_is_self(const thread_t *thread); 72 reactor_t *thread_get_reactor(const thread_t *thread); [all …]
|
D | alarm.h | 26 typedef struct thread_t thread_t; typedef 101 void alarm_register_processing_queue(fixed_queue_t *queue, thread_t *thread);
|
D | eager_reader.h | 67 thread_t* eager_reader_get_read_thread(const eager_reader_t *reader);
|
/system/bt/osi/test/ |
D | thread_test.cpp | 16 thread_t *thread = thread_new("test_thread"); in TEST_F() 22 thread_t *thread = thread_new("test_thread"); in TEST_F() 27 thread_t *thread = thread_new("test_name"); in TEST_F() 33 thread_t *thread = thread_new("0123456789abcdef"); in TEST_F() 39 thread_t *thread = thread_new("0123456789abcdefg"); in TEST_F() 45 thread_t *thread = (thread_t *)context; in thread_is_self_fn() 50 thread_t *thread = thread_new("test_thread"); in TEST_F() 56 thread_t *thread = thread_new("test_thread"); in TEST_F()
|
D | eager_reader_test.cpp | 126 thread_t *read_thread = thread_new("read_thread"); in TEST_F() 139 thread_t *read_thread = thread_new("read_thread"); in TEST_F()
|
D | future_test.cpp | 42 thread_t *worker_thread = thread_new("worker thread"); in TEST_F()
|
D | alarm_test.cpp | 307 thread_t *thread = thread_new("timers.test_callback_ordering_on_queue.thread"); in TEST_F() 344 thread_t *thread = in TEST_F() 402 thread_t *thread = in TEST_F()
|
D | semaphore_test.cpp | 75 thread_t *thread = thread_new("semaphore_test_thread"); in TEST_F()
|
/system/bt/osi/src/ |
D | thread.c | 39 struct thread_t { struct 49 thread_t *thread; argument 64 thread_t *thread_new_sized(const char *name, size_t work_queue_capacity) { in thread_new_sized() 68 thread_t *ret = osi_calloc(sizeof(thread_t)); in thread_new_sized() 105 thread_t *thread_new(const char *name) { in thread_new() 109 void thread_free(thread_t *thread) { in thread_free() 121 void thread_join(thread_t *thread) { in thread_join() 131 bool thread_post(thread_t *thread, thread_fn func, void *context) { in thread_post() 148 void thread_stop(thread_t *thread) { in thread_stop() 153 bool thread_set_priority(thread_t *thread, int priority) { in thread_set_priority() [all …]
|
D | eager_reader.c | 53 thread_t *inbound_read_thread; 209 thread_t* eager_reader_get_read_thread(const eager_reader_t *reader) { in eager_reader_get_read_thread()
|
/system/bt/btif/include/ |
D | btif_sock_sco.h | 23 typedef struct thread_t thread_t; typedef 25 bt_status_t btsock_sco_init(thread_t *thread);
|
/system/bt/hci/include/ |
D | low_power_manager.h | 23 typedef struct thread_t thread_t; typedef 28 void (*init)(thread_t *post_thread);
|
D | hci_hal.h | 51 bool (*init)(const hci_hal_callbacks_t *upper_callbacks, thread_t *upper_thread);
|
/system/bt/btcore/src/ |
D | module.c | 197 thread_t *lifecycle_thread; 198 thread_t *callback_thread; // we don't own this thread 208 thread_t *callback_thread, in module_start_up_callbacked_wrapper()
|
/system/core/libbacktrace/ |
D | backtrace_test.cpp | 67 struct thread_t { struct 75 thread_t thread; argument 193 thread_t* thread = reinterpret_cast<thread_t*>(data); in ThreadSetState() 499 thread_t* thread = reinterpret_cast<thread_t*>(data); in ThreadLevelRun() 511 thread_t thread_data = { 0, 0, 0, nullptr }; in TEST() 561 thread_t thread_data = { 0, 0, 0, nullptr }; in TEST() 590 thread_t* thread = reinterpret_cast<thread_t*>(data); in ThreadMaxRun() 602 thread_t thread_data = { 0, 0, 0, nullptr }; in TEST() 639 std::vector<thread_t> runners(NUM_THREADS); in TEST() 653 for (std::vector<thread_t>::iterator it = runners.begin(); it != runners.end(); ++it) { in TEST() [all …]
|
/system/bt/btcore/include/ |
D | module.h | 65 thread_t *callback_thread,
|
/system/bt/hci/src/ |
D | low_power_manager.c | 69 static thread_t *thread; 79 static void init(thread_t *post_thread) { in init()
|
D | hci_hal_h4.c | 46 static thread_t *thread; // Not owned by us 59 static bool hal_init(const hci_hal_callbacks_t *upper_callbacks, thread_t *upper_thread) { in hal_init()
|
D | hci_hal_mct.c | 41 static thread_t *thread; // Not owned by us 53 static bool hal_init(const hci_hal_callbacks_t *upper_callbacks, thread_t *upper_thread) { in hal_init()
|
/system/bt/stack/btu/ |
D | btu_init.c | 62 thread_t *bt_workqueue_thread;
|
D | btu_task.c | 103 extern thread_t *bt_workqueue_thread;
|
/system/bt/btif/src/ |
D | btif_sock_sco.c | 90 static thread_t *thread; // Not owned, do not free. 92 bt_status_t btsock_sco_init(thread_t *thread_) { in btsock_sco_init()
|
D | stack_manager.c | 40 static thread_t *management_thread;
|
/system/bt/hci/test/ |
D | low_power_manager_test.cpp | 41 static thread_t *thread;
|
D | hci_layer_test.cpp | 65 static thread_t *internal_thread; 80 static void flush_thread(thread_t *thread) { in flush_thread() 170 STUB_FUNCTION(bool, hal_init, (const hci_hal_callbacks_t *callbacks, thread_t *working_thread)) 331 STUB_FUNCTION(void, low_power_init, (UNUSED_ATTR thread_t *thread))
|