Lines Matching defs:HciInterfaceImpl
37 return new (std::nothrow) HciInterfaceImpl();
40 HciInterfaceImpl::HciInterfaceImpl()
43 new RemoteDeathRecipient(std::bind(&HciInterfaceImpl::OnRemoteDied, this, std::placeholders::_1));
46 HciInterfaceImpl::~HciInterfaceImpl()
54 int32_t HciInterfaceImpl::Init(const sptr<IHciCallback>& callbackObj)
56 HDF_LOGI("HciInterfaceImpl %{public}s", __func__);
58 HDF_LOGE("HciInterfaceImpl %{public}s callbackObj null", __func__);
87 int32_t HciInterfaceImpl::SendHciPacket(BtType type, const std::vector<uint8_t>& data)
89 HDF_LOGD("HciInterfaceImpl %{public}s, %{public}d", __func__, type);
98 int32_t HciInterfaceImpl::Close()
100 HDF_LOGI("HciInterfaceImpl %{public}s", __func__);
110 void HciInterfaceImpl::OnRemoteDied(const wptr<IRemoteObject> &object)
112 HDF_LOGI("HciInterfaceImpl %{public}s", __func__);
118 int32_t HciInterfaceImpl::AddHciDeathRecipient(const sptr<IHciCallback>& callbackObj)
120 HDF_LOGI("HciInterfaceImpl %{public}s", __func__);
124 HDF_LOGE("HciInterfaceImpl AddDeathRecipient fail");
130 int32_t HciInterfaceImpl::RemoveHciDeathRecipient(const sptr<IHciCallback>& callbackObj)
132 HDF_LOGI("HciInterfaceImpl %{public}s", __func__);
136 HDF_LOGE("HciInterfaceImpl RemoveDeathRecipient fail");