Home
last modified time | relevance | path

Searched defs:alarm (Results 1 – 14 of 14) sorted by relevance

/system/bt/osi/test/
Dalarm_test.cc75 alarm_t* alarm = alarm_new("alarm_test.test_new_free_simple"); in TEST_F() local
83 alarm_t* alarm = alarm_new("alarm_test.test_simple_cancel"); in TEST_F() local
89 alarm_t* alarm = alarm_new("alarm_test.test_cancel"); in TEST_F() local
101 alarm_t* alarm = alarm_new("alarm_test.test_cancel_idempotent"); in TEST_F() local
110 alarm_t* alarm = alarm_new("alarm_test.test_set_short"); in TEST_F() local
126 alarm_t* alarm = alarm_new_periodic("alarm_test.test_set_short_periodic"); in TEST_F() local
146 alarm_t* alarm = alarm_new_periodic("alarm_test.test_set_zero_periodic"); in TEST_F() local
165 alarm_t* alarm = alarm_new("alarm_test.test_set_long"); in TEST_F() local
180 alarm_t* alarm[2] = {alarm_new("alarm_test.test_set_short_short_0"), in TEST_F() local
204 alarm_t* alarm[2] = {alarm_new("alarm_test.test_set_short_long_0"), in TEST_F() local
[all …]
Dalarm_mock.h22 void AlarmFreeImpl(alarm_t* alarm) { in AlarmFreeImpl()
47 void alarm_free(alarm_t* alarm) { AlarmMock::Get()->AlarmFreeImpl(alarm); } in alarm_free()
49 void alarm_set_on_mloop(alarm_t* alarm, uint64_t interval_ms, in alarm_set_on_mloop()
/system/bt/osi/src/
Dalarm.cc189 void alarm_free(alarm_t* alarm) { in alarm_free()
200 uint64_t alarm_get_remaining_ms(const alarm_t* alarm) { in alarm_get_remaining_ms()
212 void alarm_set(alarm_t* alarm, uint64_t interval_ms, alarm_callback_t cb, in alarm_set()
218 void alarm_set_on_mloop(alarm_t* alarm, uint64_t interval_ms, in alarm_set_on_mloop()
224 static void alarm_set_internal(alarm_t* alarm, uint64_t period_ms, in alarm_set_internal()
244 void alarm_cancel(alarm_t* alarm) { in alarm_cancel()
261 static void alarm_cancel_internal(alarm_t* alarm) { in alarm_cancel_internal()
277 bool alarm_is_scheduled(const alarm_t* alarm) { in alarm_is_scheduled()
402 static void remove_pending_alarm(alarm_t* alarm) { in remove_pending_alarm()
417 static void schedule_next_instance(alarm_t* alarm) { in schedule_next_instance()
[all …]
/system/bt/osi/test/fuzzers/alarm/
Dfuzz_alarm.cc64 bool fuzz_set_alarm(alarm_t* alarm, uint64_t interval, alarm_callback_t cb, in fuzz_set_alarm()
99 alarm_t* alarm = nullptr; in LLVMFuzzerTestOneInput() local
/system/bt/gd/rust/common/src/
Dtime.rs93 let mut alarm = Alarm::new(); in alarm_simple_case() localVariable
108 let mut alarm = Alarm::new(); in alarm_clear_ready_after_expired() localVariable
/system/bt/test/mock/
Dmock_bta_sys_main.cc61 void bta_sys_start_timer(alarm_t* alarm, uint64_t interval_ms, uint16_t event, in bta_sys_start_timer()
/system/memory/libmemunreachable/tests/
DDisableMalloc_test.cpp31 void alarm(std::chrono::microseconds us) { in alarm() function in android::DisableMallocTest
/system/bt/bta/sys/
Dbta_sys_main.cc192 void bta_sys_start_timer(alarm_t* alarm, uint64_t interval_ms, uint16_t event, in bta_sys_start_timer()
/system/bt/test/stub/
Dosi.cc381 bool alarm_is_scheduled(const alarm_t* alarm) { in alarm_is_scheduled()
385 uint64_t alarm_get_remaining_ms(const alarm_t* alarm) { in alarm_get_remaining_ms()
389 void alarm_cancel(alarm_t* alarm) { mock_function_count_map[__func__]++; } in alarm_cancel()
392 void alarm_free(alarm_t* alarm) { mock_function_count_map[__func__]++; } in alarm_free()
393 void alarm_set(alarm_t* alarm, uint64_t interval_ms, alarm_callback_t cb, in alarm_set()
399 void alarm_set_on_mloop(alarm_t* alarm, uint64_t interval_ms, in alarm_set_on_mloop()
/system/bt/stack/test/
Dble_advertiser_test.cc57 void alarm_set_on_mloop(alarm_t* alarm, uint64_t interval_ms, in alarm_set_on_mloop()
63 void alarm_cancel(alarm_t* alarm) {} in alarm_cancel()
66 void alarm_free(alarm_t* alarm) {} in alarm_free()
/system/bt/stack/gatt/
Dconnection_manager.cc51 void alarm_set_closure(const base::Location& posted_from, alarm_t* alarm, in alarm_set_closure()
/system/bt/bta/dm/
Dbta_dm_pm.cc913 alarm_t* alarm = (alarm_t*)data; in bta_dm_pm_timer_cback() local
/system/bt/stack/sdp/
Dsdp_utils.cc354 alarm_t* alarm = p_ccb->sdp_conn_timer; in sdpu_allocate_ccb() local
/system/bt/stack/btm/
Dbtm_ble_multi_adv.cc132 static void alarm_set_closure(const base::Location& posted_from, alarm_t* alarm, in alarm_set_closure()