Home
last modified time | relevance | path

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

/aosp12/system/bt/osi/include/
H A 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);
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);
81 reactor_t* thread_get_reactor(const thread_t* thread);
[all …]
H A Dalarm.h26 typedef struct thread_t thread_t; typedef
/aosp12/system/bt/osi/src/
H A Dthread.cc42 struct thread_t { struct
52 thread_t* thread; argument
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()
143 void thread_stop(thread_t* thread) { in thread_stop()
177 bool thread_is_self(const thread_t* thread) { in thread_is_self()
182 reactor_t* thread_get_reactor(const thread_t* thread) { in thread_get_reactor()
187 const char* thread_name(const thread_t* thread) { in thread_name()
[all …]
H A 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()
/aosp12/system/bt/osi/test/
H A 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()
H A Dfixed_queue_test.cc336 thread_t* worker_thread = thread_new("test_fixed_queue_worker_thread"); in TEST_F()
/aosp12/system/bt/btif/include/
H A Dbtif_sock_sco.h23 typedef struct thread_t thread_t; typedef
25 bt_status_t btsock_sco_init(thread_t* thread);
/aosp12/system/bt/hci/include/
H A Dlow_power_manager.h23 typedef struct thread_t thread_t; typedef
29 void (*init)(thread_t* post_thread);
H A Dhci_hal.h55 thread_t* upper_thread);
/aosp12/system/bt/test/stub/
H A 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 …]
/aosp12/system/netd/tests/
H A Dnetd_test.cpp80 typedef int (*thread_t)(void*); typedef
82 static void nsTest(int flags, bool success, thread_t newThread) { in nsTest()
/aosp12/system/unwinding/libbacktrace/
H A 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()
1014 thread_t* thread_data = reinterpret_cast<thread_t*>(data); in ThreadReadTest()
[all …]
/aosp12/system/bt/osi/test/fuzzers/fixed_queue/
H A Dfuzz_fixed_queue.cc75 std::vector<thread_t*>* live_thread_vector, in callArbitraryFunction()
214 std::vector<thread_t*> live_thread_vector; in LLVMFuzzerTestOneInput()
/aosp12/system/bt/btif/src/
H A 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()
H A Dbtif_sock.cc57 static thread_t* thread;
/aosp12/system/bt/common/test/
H A Dthread_performance_test.cc115 thread_t* thread_ = nullptr;
246 thread_t* thread_ = nullptr;
/aosp12/system/bt/hci/src/
H A Dhci_inject.cc65 static thread_t* thread;
/aosp12/system/bt/common/benchmark/
H A Dthread_performance_benchmark.cc132 thread_t* thread_ = nullptr;
266 thread_t* thread_ = nullptr;