Home
last modified time | relevance | path

Searched refs:semaphore_new (Results 1 – 12 of 12) sorted by relevance

/system/bt/osi/test/
Dsemaphore_test.cc36 semaphore_t* semaphore = semaphore_new(0); in TEST_F()
42 semaphore_t* semaphore = semaphore_new(3); in TEST_F()
54 semaphore_t* semaphore = semaphore_new(0); in TEST_F()
66 semaphore_t* semaphore = semaphore_new(0); in TEST_F()
74 semaphore_t* semaphore = semaphore_new(0); in TEST_F()
Dalarm_test.cc54 semaphore = semaphore_new(0); in SetUp()
/system/bt/test/suite/gatt/
Dgatt_test.cc40 register_client_callback_sem_ = semaphore_new(0); in SetUp()
41 scan_result_callback_sem_ = semaphore_new(0); in SetUp()
43 register_server_callback_sem_ = semaphore_new(0); in SetUp()
44 service_added_callback_sem_ = semaphore_new(0); in SetUp()
45 service_stopped_callback_sem_ = semaphore_new(0); in SetUp()
46 service_deleted_callback_sem_ = semaphore_new(0); in SetUp()
/system/bt/test/suite/adapter/
Dbluetooth_test.cc47 adapter_properties_callback_sem_ = semaphore_new(0); in SetUp()
48 remote_device_properties_callback_sem_ = semaphore_new(0); in SetUp()
49 adapter_state_changed_callback_sem_ = semaphore_new(0); in SetUp()
50 discovery_state_changed_callback_sem_ = semaphore_new(0); in SetUp()
/system/bt/osi/include/
Dsemaphore.h29 semaphore_t* semaphore_new(unsigned int value);
/system/bt/btif/src/
Dstack_manager.cc71 semaphore_t* semaphore = semaphore_new(0); in init_stack()
91 semaphore_t* semaphore = semaphore_new(0); in clean_up_stack()
/system/bt/osi/src/
Dfuture.cc41 ret->semaphore = semaphore_new(0); in future_new()
Dsemaphore.cc43 semaphore_t* semaphore_new(unsigned int value) { in semaphore_new() function
Dfixed_queue.cc55 ret->enqueue_sem = semaphore_new(capacity); in fixed_queue_new()
58 ret->dequeue_sem = semaphore_new(0); in fixed_queue_new()
Dthread.cc81 start.start_sem = semaphore_new(0); in thread_new_sized()
Dalarm.cc334 alarm_expired = semaphore_new(0); in lazy_initialize()
/system/bt/osi/test/fuzzers/alarm/
Dfuzz_alarm.cc45 semaphore = semaphore_new(0); in setup()