/system/bt/osi/include/ |
D | thread.h | 27 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 …]
|
D | alarm.h | 26 typedef struct thread_t thread_t; typedef
|
/system/bt/osi/test/ |
D | thread_test.cc | 14 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()
|
D | fixed_queue_test.cc | 336 thread_t* worker_thread = thread_new("test_fixed_queue_worker_thread"); in TEST_F()
|
/system/bt/osi/src/ |
D | thread.cc | 42 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 …]
|
D | alarm.cc | 125 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/ |
D | btif_sock_sco.h | 23 typedef struct thread_t thread_t; typedef 25 bt_status_t btsock_sco_init(thread_t* thread);
|
/system/bt/hci/include/ |
D | low_power_manager.h | 23 typedef struct thread_t thread_t; typedef 29 void (*init)(thread_t* post_thread);
|
D | hci_hal.h | 55 thread_t* upper_thread);
|
/system/netd/tests/ |
D | netd_test.cpp | 80 typedef int (*thread_t)(void*); typedef 82 static void nsTest(int flags, bool success, thread_t newThread) { in nsTest()
|
/system/bt/test/stub/ |
D | osi.cc | 249 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/ |
D | fuzz_fixed_queue.cc | 75 std::vector<thread_t*>* live_thread_vector, in callArbitraryFunction() 214 std::vector<thread_t*> live_thread_vector; in LLVMFuzzerTestOneInput()
|
/system/unwinding/libbacktrace/ |
D | backtrace_test.cpp | 77 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/ |
D | btif_sock_sco.cc | 79 static thread_t* thread; // Not owned, do not free. 81 bt_status_t btsock_sco_init(thread_t* thread_) { in btsock_sco_init()
|
D | btif_sock.cc | 57 static thread_t* thread;
|
/system/bt/common/test/ |
D | thread_performance_test.cc | 115 thread_t* thread_ = nullptr; 246 thread_t* thread_ = nullptr;
|
/system/bt/hci/src/ |
D | hci_inject.cc | 65 static thread_t* thread;
|
/system/bt/common/benchmark/ |
D | thread_performance_benchmark.cc | 132 thread_t* thread_ = nullptr; 266 thread_t* thread_ = nullptr;
|