Home
last modified time | relevance | path

Searched refs:thread_t (Results 1 – 18 of 18) 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.cc125 static thread_t* dispatcher_thread;
130 static thread_t* default_callback_thread;
152 thread_t* thread);
547 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.h55 thread_t* upper_thread);
/system/netd/tests/
Dnetd_test.cpp80 typedef int (*thread_t)(void*); typedef
82 static void nsTest(int flags, bool success, thread_t newThread) { in nsTest()
/system/bt/test/stub/
Dosi.cc249 bool thread_is_self(const thread_t* thread) { in thread_is_self()
253 bool thread_post(thread_t* thread, thread_fn func, void* context) { in thread_post()
257 bool thread_set_priority(thread_t* thread, int priority) { in thread_set_priority()
261 bool thread_set_rt_priority(thread_t* thread, int priority) { in thread_set_rt_priority()
265 const char* thread_name(const thread_t* thread) { in thread_name()
269 reactor_t* thread_get_reactor(const thread_t* thread) { in thread_get_reactor()
273 thread_t* thread_new(const char* name) { in thread_new()
277 thread_t* thread_new_sized(const char* name, size_t work_queue_capacity) { in thread_new_sized()
281 void thread_free(thread_t* thread) { mock_function_count_map[__func__]++; } in thread_free()
282 void thread_join(thread_t* thread) { mock_function_count_map[__func__]++; } in thread_join()
[all …]
/system/bt/osi/test/fuzzers/fixed_queue/
Dfuzz_fixed_queue.cc75 std::vector<thread_t*>* live_thread_vector, in callArbitraryFunction()
214 std::vector<thread_t*> live_thread_vector; in LLVMFuzzerTestOneInput()
/system/unwinding/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.cc79 static thread_t* thread; // Not owned, do not free.
81 bt_status_t btsock_sco_init(thread_t* thread_) { in btsock_sco_init()
Dbtif_sock.cc57 static thread_t* thread;
/system/bt/common/test/
Dthread_performance_test.cc115 thread_t* thread_ = nullptr;
246 thread_t* thread_ = nullptr;
/system/bt/hci/src/
Dhci_inject.cc65 static thread_t* thread;
/system/bt/common/benchmark/
Dthread_performance_benchmark.cc132 thread_t* thread_ = nullptr;
266 thread_t* thread_ = nullptr;