Home
last modified time | relevance | path

Searched refs:thread_t (Results 1 – 25 of 32) 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);
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/
Dthread_test.cpp17 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()
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()
/system/bt/osi/src/
Dthread.c37 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 …]
Deager_reader.c54 thread_t *inbound_read_thread;
Dalarm.c72 static thread_t *callback_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.c181 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/
Dbacktrace_test.cpp67 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/
Dmodule.h65 thread_t *callback_thread,
/system/bt/hci/src/
Dhci_hal_h4.c39 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()
Dlow_power_manager.c68 static thread_t *thread;
77 static void init(thread_t *post_thread) { in init()
Dhci_hal_mct.c40 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()
Dhci_inject.c55 static thread_t *thread;
/system/bt/btif/src/
Dbtif_sock_sco.c87 static thread_t *thread; // Not owned, do not free.
89 bt_status_t btsock_sco_init(thread_t *thread_) { in btsock_sco_init()
Dstack_manager.c39 static thread_t *management_thread;
Dbtif_sock.c41 static thread_t *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))
Dhci_hal_mct_test.cpp177 thread_t *thread;
Dhci_hal_h4_test.cpp168 thread_t *thread;
/system/bt/stack/btu/
Dbtu_init.c74 thread_t *bt_workqueue_thread;

12