Home
last modified time | relevance | path

Searched refs:BTM_IsDeviceUp (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_btm_devctl.cc36 struct BTM_IsDeviceUp BTM_IsDeviceUp; variable
42 bool BTM_IsDeviceUp(void) { in BTM_IsDeviceUp() function
44 return test::mock::stack_btm_devctl::BTM_IsDeviceUp(); in BTM_IsDeviceUp()
Dmock_stack_btm_devctl.h23 struct BTM_IsDeviceUp { struct
27 extern struct BTM_IsDeviceUp BTM_IsDeviceUp; argument
Dmock_stack_btm_interface.cc261 .BTM_IsDeviceUp = []() -> bool { return true; }, in __anon9b56c4fb4c02()
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_client_interface.cc116 .BTM_IsDeviceUp = ::BTM_IsDeviceUp,
Dbtm_inq.cc434 if (!BTM_IsDeviceUp()) return (BTM_WRONG_MODE); in BTM_SetInquiryMode()
529 log::assert_that(BTM_IsDeviceUp(), "assert failed: BTM_IsDeviceUp()"); in BTM_CancelLeScan()
549 log::assert_that(BTM_IsDeviceUp(), "assert failed: BTM_IsDeviceUp()"); in BTM_CancelInquiry()
721 if (!BTM_IsDeviceUp()) { in BTM_StartInquiry()
1878 if (!BTM_IsDeviceUp()) return (BTM_WRONG_MODE); in btm_initiate_rem_name()
Dbtm_devctl.cc230 bool BTM_IsDeviceUp(void) { in BTM_IsDeviceUp() function
Dbtm_sec.cc4751 if (!BTM_IsDeviceUp()) return false; in btm_sec_start_get_name()
/packages/modules/Bluetooth/system/stack/fuzzers/
Dl2cap_fuzzer.cc102 test::mock::stack_btm_devctl::BTM_IsDeviceUp.body = []() { return true; }; in FakeBtStack()
136 test::mock::stack_btm_devctl::BTM_IsDeviceUp = {}; in ~FakeBtStack()
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_api.cc320 if (!BTM_IsDeviceUp()) { in L2CA_ConnectReq()
518 if (!BTM_IsDeviceUp()) { in L2CA_ConnectLECocReq()
743 if (!BTM_IsDeviceUp()) { in L2CA_ConnectCreditBasedReq()
1194 if (!BTM_IsDeviceUp()) { in L2CA_ConnectFixedChnl()
1307 if (!BTM_IsDeviceUp()) { in L2CA_SendFixedChnlData()
/packages/modules/Bluetooth/system/stack/include/
Dbtm_api.h62 [[nodiscard]] bool BTM_IsDeviceUp(void);
Dbtm_client_interface.h156 [[nodiscard]] bool (*BTM_IsDeviceUp)(); member