Lines Matching refs:std
33 std::unordered_map<uint32_t, std::shared_ptr<HciPacketTransport>>
43 uint32_t chip_id, std::shared_ptr<rootcanal::AsyncManager> async_manager) in HciPacketTransport()
44 : rootcanalId(std::nullopt), in HciPacketTransport()
46 mAsyncManager(std::move(async_manager)) {} in HciPacketTransport()
63 const std::vector<uint8_t> &data) { in Send()
90 const std::shared_ptr<std::vector<uint8_t>> &packet) { in Request()
96 auto beforeScheduleTime = std::chrono::steady_clock::now(); in Request()
100 std::chrono::duration_cast<std::chrono::milliseconds>( in Request()
101 std::chrono::steady_clock::now() - beforeScheduleTime) in Request()
109 "Delayed packet with " + std::to_string(elapsedTime) + in Request()
119 const std::shared_ptr<HciPacketTransport> &transport) { in Add()
141 rootcanalId = std::nullopt; in Close()
151 const std::shared_ptr<std::vector<uint8_t>> &packet) { in handle_bt_request()
158 std::cout << "rootcanal_id_to_transport_ ids "; in handle_bt_request()
159 for (auto [k, _] : rootcanal_id_to_transport_) std::cout << k << " "; in handle_bt_request()
160 std::cout << std::endl; in handle_bt_request()
170 std::vector<uint8_t> buffer(packet.begin(), packet.end()); in HandleBtRequestCxx()
171 auto packet_ptr = std::make_shared<std::vector<uint8_t>>(buffer); in HandleBtRequestCxx()