Home
last modified time | relevance | path

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

/system/bt/osi/include/
Dthread.h27 typedef struct thread_t thread_t; typedef
36 thread_t* thread_new(const char* name);
39 thread_t* thread_new_sized(const char* name, size_t size);
44 void thread_free(thread_t* thread);
49 void thread_join(thread_t* thread);
56 bool thread_post(thread_t* thread, thread_fn func, void* context);
61 void thread_stop(thread_t* thread);
66 bool thread_set_priority(thread_t* thread, int priority);
73 bool thread_set_rt_priority(thread_t* thread, int priority);
78 bool thread_is_self(const thread_t* thread);
[all …]
Dalarm.h26 typedef struct thread_t thread_t; typedef
/system/bt/osi/test/
Dthread_test.cc14 thread_t* thread = thread_new("test_thread"); in TEST_F()
20 thread_t* thread = thread_new("test_thread"); in TEST_F()
25 thread_t* thread = thread_new("test_name"); in TEST_F()
31 thread_t* thread = thread_new("0123456789abcdef"); in TEST_F()
37 thread_t* thread = thread_new("0123456789abcdefg"); in TEST_F()
43 thread_t* thread = (thread_t*)context; in thread_is_self_fn()
48 thread_t* thread = thread_new("test_thread"); in TEST_F()
54 thread_t* thread = thread_new("test_thread"); in TEST_F()
Dfixed_queue_test.cc336 thread_t* worker_thread = thread_new("test_fixed_queue_worker_thread"); in TEST_F()
/system/bt/osi/src/
Dthread.cc42 struct thread_t { struct
52 thread_t* thread; argument
67 thread_t* thread_new_sized(const char* name, size_t work_queue_capacity) { in thread_new_sized()
71 thread_t* ret = static_cast<thread_t*>(osi_calloc(sizeof(thread_t))); in thread_new_sized()
104 thread_t* thread_new(const char* name) { in thread_new()
108 void thread_free(thread_t* thread) { in thread_free()
119 void thread_join(thread_t* thread) { in thread_join()
126 bool thread_post(thread_t* thread, thread_fn func, void* context) { in thread_post()
143 void thread_stop(thread_t* thread) { in thread_stop()
148 bool thread_set_priority(thread_t* thread, int priority) { in thread_set_priority()
[all …]
Dalarm.cc127 static thread_t* dispatcher_thread;
132 static thread_t* default_callback_thread;
154 thread_t* thread);
552 thread_t* thread) { in alarm_register_processing_queue()
/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
29 void (*init)(thread_t* post_thread);
Dhci_hal.h54 thread_t* upper_thread);
/system/core/libbacktrace/
Dbacktrace_test.cpp77 struct thread_t { struct
85 thread_t thread; argument
254 thread_t* thread = reinterpret_cast<thread_t*>(data); in ThreadSetState()
572 thread_t* thread = reinterpret_cast<thread_t*>(data); in ThreadLevelRun()
584 thread_t thread_data = { 0, 0, 0, nullptr }; in TEST_F()
634 thread_t thread_data = { 0, 0, 0, nullptr }; in TEST_F()
663 thread_t* thread = reinterpret_cast<thread_t*>(data); in ThreadMaxRun()
676 thread_t thread_data = { 0, 0, 0, nullptr }; in TEST_F()
713 std::vector<thread_t> runners(NUM_THREADS); in MultipleThreadDumpTest()
727 for (std::vector<thread_t>::iterator it = runners.begin(); it != runners.end(); ++it) { in MultipleThreadDumpTest()
[all …]
/system/bt/btif/src/
Dbtif_sock_sco.cc84 static thread_t* thread; // Not owned, do not free.
86 bt_status_t btsock_sco_init(thread_t* thread_) { in btsock_sco_init()
Dbtif_sock.cc56 static thread_t* thread;
/system/bt/common/test/
Dthread_performance_test.cc114 thread_t* thread_ = nullptr;
245 thread_t* thread_ = nullptr;
/system/bt/hci/src/
Dhci_inject.cc64 static thread_t* thread;
/system/bt/common/benchmark/
Dthread_performance_benchmark.cc131 thread_t* thread_ = nullptr;
265 thread_t* thread_ = nullptr;