/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); 54 bool thread_post(thread_t *thread, thread_fn func, void *context); 59 void thread_stop(thread_t *thread); 63 bool thread_is_self(const thread_t *thread); 65 reactor_t *thread_get_reactor(const thread_t *thread); 68 const char *thread_name(const thread_t *thread);
|
/system/bt/osi/test/ |
D | thread_test.cpp | 17 thread_t *thread = thread_new("test_thread"); in TEST_F() 23 thread_t *thread = thread_new("test_thread"); in TEST_F() 28 thread_t *thread = thread_new("test_name"); in TEST_F() 34 thread_t *thread = thread_new("0123456789abcdef"); in TEST_F() 40 thread_t *thread = thread_new("0123456789abcdefg"); in TEST_F() 46 thread_t *thread = (thread_t *)context; in thread_is_self_fn() 51 thread_t *thread = thread_new("test_thread"); in TEST_F() 57 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()
|
/system/bt/osi/src/ |
D | thread.c | 37 struct thread_t { struct 47 thread_t *thread; argument 62 thread_t *thread_new_sized(const char *name, size_t work_queue_capacity) { in thread_new_sized() 66 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() 152 void thread_stop(thread_t *thread) { in thread_stop() 157 bool thread_is_self(const thread_t *thread) { in thread_is_self() [all …]
|
D | eager_reader.c | 54 thread_t *inbound_read_thread;
|
D | alarm.c | 72 static thread_t *callback_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 | 181 thread_t *lifecycle_thread; 182 thread_t *callback_thread; // we don't own this thread 192 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 191 thread_t* thread = reinterpret_cast<thread_t*>(data); in ThreadSetState() 487 thread_t* thread = reinterpret_cast<thread_t*>(data); in ThreadLevelRun() 499 thread_t thread_data = { 0, 0, 0, nullptr }; in TEST() 548 thread_t thread_data = { 0, 0, 0, nullptr }; in TEST() 574 thread_t* thread = reinterpret_cast<thread_t*>(data); in ThreadMaxRun() 586 thread_t thread_data = { 0, 0, 0, nullptr }; in TEST() 622 std::vector<thread_t> runners(NUM_THREADS); in TEST() 636 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 | hci_hal_h4.c | 39 static thread_t *thread; // Not owned by us 50 static bool hal_init(const hci_hal_callbacks_t *upper_callbacks, thread_t *upper_thread) { in hal_init()
|
D | low_power_manager.c | 68 static thread_t *thread; 77 static void init(thread_t *post_thread) { in init()
|
D | hci_hal_mct.c | 40 static thread_t *thread; // Not owned by us 52 static bool hal_init(const hci_hal_callbacks_t *upper_callbacks, thread_t *upper_thread) { in hal_init()
|
D | hci_inject.c | 55 static thread_t *thread;
|
/system/bt/btif/src/ |
D | btif_sock_sco.c | 87 static thread_t *thread; // Not owned, do not free. 89 bt_status_t btsock_sco_init(thread_t *thread_) { in btsock_sco_init()
|
D | stack_manager.c | 39 static thread_t *management_thread;
|
D | btif_sock.c | 41 static thread_t *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))
|
D | hci_hal_mct_test.cpp | 177 thread_t *thread;
|
D | hci_hal_h4_test.cpp | 168 thread_t *thread;
|
/system/bt/stack/btu/ |
D | btu_init.c | 74 thread_t *bt_workqueue_thread;
|