Lines Matching refs:cb
75 const sp<V1_0::IBluetoothHciCallbacks>& cb) { in initialize() argument
76 return initialize_impl(cb, nullptr); in initialize()
80 const sp<V1_1::IBluetoothHciCallbacks>& cb) { in initialize_1_1() argument
81 return initialize_impl(cb, cb); in initialize_1_1()
85 const sp<V1_0::IBluetoothHciCallbacks>& cb, in initialize_impl() argument
88 if (cb == nullptr) { in initialize_impl()
94 auto link_ret = cb->linkToDeath(death_recipient_, 0); in initialize_impl()
111 [this, cb](std::shared_ptr<std::vector<uint8_t>> packet) { in initialize_impl()
113 auto ret = cb->hciEventReceived(hci_event); in initialize_impl()
121 [this, cb](std::shared_ptr<std::vector<uint8_t>> packet) { in initialize_impl()
123 auto ret = cb->aclDataReceived(acl_packet); in initialize_impl()
131 [this, cb](std::shared_ptr<std::vector<uint8_t>> packet) { in initialize_impl()
133 auto ret = cb->aclDataReceived(sco_packet); in initialize_impl()
206 unlink_cb_ = [this, cb](sp<BluetoothDeathRecipient>& death_recipient) { in initialize_impl()
210 auto ret = cb->unlinkToDeath(death_recipient); in initialize_impl()
218 auto init_ret = cb->initializationComplete(V1_0::Status::SUCCESS); in initialize_impl()