Home
last modified time | relevance | path

Searched refs:thread_t (Results 1 – 25 of 36) sorted by relevance

12

/system/bt/osi/include/
Dthread.h27 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 …]
Dalarm.h26 typedef struct thread_t thread_t; typedef
101 void alarm_register_processing_queue(fixed_queue_t *queue, thread_t *thread);
Deager_reader.h67 thread_t* eager_reader_get_read_thread(const eager_reader_t *reader);
/system/bt/osi/test/
Dthread_test.cpp16 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()
Deager_reader_test.cpp126 thread_t *read_thread = thread_new("read_thread"); in TEST_F()
139 thread_t *read_thread = thread_new("read_thread"); in TEST_F()
Dfuture_test.cpp42 thread_t *worker_thread = thread_new("worker thread"); in TEST_F()
Dalarm_test.cpp307 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()
Dsemaphore_test.cpp75 thread_t *thread = thread_new("semaphore_test_thread"); in TEST_F()
/system/bt/osi/src/
Dthread.c39 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 …]
Deager_reader.c53 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/
Dbtif_sock_sco.h23 typedef struct thread_t thread_t; typedef
25 bt_status_t btsock_sco_init(thread_t *thread);
/system/bt/hci/include/
Dlow_power_manager.h23 typedef struct thread_t thread_t; typedef
28 void (*init)(thread_t *post_thread);
Dhci_hal.h51 bool (*init)(const hci_hal_callbacks_t *upper_callbacks, thread_t *upper_thread);
/system/bt/btcore/src/
Dmodule.c197 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/
Dbacktrace_test.cpp67 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/
Dmodule.h65 thread_t *callback_thread,
/system/bt/hci/src/
Dlow_power_manager.c69 static thread_t *thread;
79 static void init(thread_t *post_thread) { in init()
Dhci_hal_h4.c46 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()
Dhci_hal_mct.c41 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/
Dbtu_init.c62 thread_t *bt_workqueue_thread;
Dbtu_task.c103 extern thread_t *bt_workqueue_thread;
/system/bt/btif/src/
Dbtif_sock_sco.c90 static thread_t *thread; // Not owned, do not free.
92 bt_status_t btsock_sco_init(thread_t *thread_) { in btsock_sco_init()
Dstack_manager.c40 static thread_t *management_thread;
/system/bt/hci/test/
Dlow_power_manager_test.cpp41 static thread_t *thread;
Dhci_layer_test.cpp65 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))

12