Loading system/main/shim/btm.cc +5 −0 Original line number Diff line number Diff line Loading @@ -678,6 +678,11 @@ void Btm::StoreAddressType(const RawAddress& bd_addr, tBLE_ADDR_TYPE type) { store_le_address_type(bd_addr, type); } void Btm::Register_HACK_SetScoDisconnectCallback( HACK_ScoDisconnectCallback callback) { GetAclManager()->HACK_SetScoDisconnectCallback(callback); } } // namespace shim } // namespace bluetooth system/main/shim/btm.h +5 −0 Original line number Diff line number Diff line Loading @@ -77,6 +77,8 @@ using DiscoverabilityState = struct { }; using ConnectabilityState = DiscoverabilityState; using HACK_ScoDisconnectCallback = std::function<void(uint16_t, uint8_t)>; namespace bluetooth { namespace shim { Loading Loading @@ -205,6 +207,9 @@ class Btm { uint16_t GetAclHandle(const RawAddress& remote_bda, tBT_TRANSPORT transport); void Register_HACK_SetScoDisconnectCallback( HACK_ScoDisconnectCallback callback); static tBLE_ADDR_TYPE GetAddressType(const RawAddress& bd_addr); // Store the address type from advertising report or connection complete Loading Loading
system/main/shim/btm.cc +5 −0 Original line number Diff line number Diff line Loading @@ -678,6 +678,11 @@ void Btm::StoreAddressType(const RawAddress& bd_addr, tBLE_ADDR_TYPE type) { store_le_address_type(bd_addr, type); } void Btm::Register_HACK_SetScoDisconnectCallback( HACK_ScoDisconnectCallback callback) { GetAclManager()->HACK_SetScoDisconnectCallback(callback); } } // namespace shim } // namespace bluetooth
system/main/shim/btm.h +5 −0 Original line number Diff line number Diff line Loading @@ -77,6 +77,8 @@ using DiscoverabilityState = struct { }; using ConnectabilityState = DiscoverabilityState; using HACK_ScoDisconnectCallback = std::function<void(uint16_t, uint8_t)>; namespace bluetooth { namespace shim { Loading Loading @@ -205,6 +207,9 @@ class Btm { uint16_t GetAclHandle(const RawAddress& remote_bda, tBT_TRANSPORT transport); void Register_HACK_SetScoDisconnectCallback( HACK_ScoDisconnectCallback callback); static tBLE_ADDR_TYPE GetAddressType(const RawAddress& bd_addr); // Store the address type from advertising report or connection complete Loading