Home
last modified time | relevance | path

Searched refs:osi_alarm (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Bluetooth/system/test/mock/
Dmock_osi_alarm.cc34 namespace osi_alarm { namespace
55 test::mock::osi_alarm::alarm_cancel(alarm); in alarm_cancel()
59 test::mock::osi_alarm::alarm_cleanup(); in alarm_cleanup()
63 test::mock::osi_alarm::alarm_debug_dump(fd); in alarm_debug_dump()
67 test::mock::osi_alarm::alarm_free(alarm); in alarm_free()
71 return test::mock::osi_alarm::alarm_get_remaining_ms(alarm); in alarm_get_remaining_ms()
75 return test::mock::osi_alarm::alarm_is_scheduled(alarm); in alarm_is_scheduled()
79 return test::mock::osi_alarm::alarm_new(name); in alarm_new()
83 return test::mock::osi_alarm::alarm_new_periodic(name); in alarm_new_periodic()
88 test::mock::osi_alarm::alarm_set(alarm, interval_ms, cb, data); in alarm_set()
[all …]
Dmock_osi_alarm.h36 namespace osi_alarm {
/packages/modules/Bluetooth/system/device/test/
Ddevice_iot_config_test.cc68 test::mock::osi_alarm::alarm_new.body = [&](const char* name) -> alarm_t* { in SetUp()
75 test::mock::osi_alarm::alarm_set.body = in SetUp()
79 test::mock::osi_alarm::alarm_free.body = [](alarm_t* alarm) {}; in SetUp()
81 test::mock::osi_alarm::alarm_is_scheduled.body = in SetUp()
120 test::mock::osi_alarm::alarm_new = {}; in TearDown()
121 test::mock::osi_alarm::alarm_set = {}; in TearDown()
122 test::mock::osi_alarm::alarm_free = {}; in TearDown()
123 test::mock::osi_alarm::alarm_is_scheduled = {}; in TearDown()
687 test::mock::osi_alarm::alarm_new.body = [&](const char* name) { in TEST_F_WITH_FLAGS()
739 test::mock::osi_alarm::alarm_is_scheduled.body = in TEST_F_WITH_FLAGS()
[all …]
/packages/modules/Bluetooth/system/test/fake/
Dfake_osi.cc87 test::mock::osi_alarm::alarm_free.body = [](alarm_t* alarm) { in FakeOsi()
93 test::mock::osi_alarm::alarm_new.body = [](const char* name) { in FakeOsi()
97 test::mock::osi_alarm::alarm_set_on_mloop.body = in FakeOsi()
104 test::mock::osi_alarm::alarm_cancel.body = [](alarm_t* alarm) { in FakeOsi()
374 test::mock::osi_alarm::alarm_free = {}; in ~FakeOsi()
375 test::mock::osi_alarm::alarm_new = {}; in ~FakeOsi()
/packages/modules/Bluetooth/system/bta/test/
Dbta_dm_test.cc91 test::mock::osi_alarm::alarm_set_on_mloop.body = in SetUp()
100 test::mock::osi_alarm::alarm_set_on_mloop = {}; in TearDown()