Lines Matching refs:callbackObj
49 int32_t HciInterfaceImpl::Init(const sptr<IHciCallback>& callbackObj) in Init() argument
52 if (callbackObj == nullptr) { in Init()
59 [callbackObj]( in Init()
60 …const std::vector<uint8_t> &packet) { callbackObj->OnReceivedHciPacket(BtType::ACL_DATA, packet); … in Init()
62 [callbackObj]( in Init()
63 …const std::vector<uint8_t> &packet) { callbackObj->OnReceivedHciPacket(BtType::SCO_DATA, packet); … in Init()
65 [callbackObj]( in Init()
66 …const std::vector<uint8_t> &packet) { callbackObj->OnReceivedHciPacket(BtType::HCI_EVENT, packet);… in Init()
70 …[callbackObj](bool status) { callbackObj->OnInited(status ? BtStatus::SUCCESS : BtStatus::INITIAL_… in Init()
73 callbacks_ = callbackObj; in Init()
110 int32_t HciInterfaceImpl::AddHciDeathRecipient(const sptr<IHciCallback>& callbackObj) in AddHciDeathRecipient() argument
113 const sptr<IRemoteObject>& remote = OHOS::HDI::hdi_objcast<IHciCallback>(callbackObj); in AddHciDeathRecipient()
122 int32_t HciInterfaceImpl::RemoveHciDeathRecipient(const sptr<IHciCallback>& callbackObj) in RemoveHciDeathRecipient() argument
125 const sptr<IRemoteObject>& remote = OHOS::HDI::hdi_objcast<IHciCallback>(callbackObj); in RemoveHciDeathRecipient()