Towards meaningful code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: I4df37acc3f7bfd210e48d0a892624fbffeb19bbf
return false;
}
-uint8_t BTM_GetAcceptlistSize() {
- const controller_t* controller = controller_get_interface();
- if (!controller->supports_ble()) {
- return 0;
- }
- return controller->get_ble_acceptlist_size();
-}
-
bool BTM_SetLeConnectionModeToFast() {
VLOG(2) << __func__;
tBTM_BLE_CB* p_cb = &btm_cb.ble_ctr_cb;
/** Removes the device from acceptlist */
extern void BTM_AcceptlistRemove(const RawAddress& address);
-/** Get max acceptlist size supports of the Bluetooth controller */
-extern uint8_t BTM_GetAcceptlistSize();
-
/** Clear the acceptlist, end any pending acceptlist connections */
extern void BTM_AcceptlistClear();