Lines Matching refs:psm
209 l2cap::Psm psm, in ConnectionOpened() argument
213 LOG_DEBUG("Connection opened address:%s psm:%hd cid:%hd", address.ToString().c_str(), psm, cid); in ConnectionOpened()
216 static_cast<uint16_t>(psm), in ConnectionOpened()
223 …ConnectionCompleteCallback on_complete, hci::Address address, l2cap::Psm psm, ConnectionInterfaceD… in ConnectionFailed() argument
224 LOG_DEBUG("Connection failed address:%s psm:%hd", address.ToString().c_str(), psm); in ConnectionFailed()
225 …on_complete(address.ToString(), static_cast<uint16_t>(psm), static_cast<uint16_t>(cid), 0, kConnec… in ConnectionFailed()
331 l2cap::Psm psm, in PendingConnection() argument
337 psm_(psm), in PendingConnection()
397 l2cap::Psm psm,
401 void UnregisterService(l2cap::Psm psm, UnregisterServicePromise unregister_promise);
404 l2cap::Psm psm,
440 l2cap::classic::SecurityPolicy GetSecurityPolicy(l2cap::Psm psm) const;
453 l2cap::classic::SecurityPolicy L2cap::impl::GetSecurityPolicy(l2cap::Psm psm) const { in GetSecurityPolicy()
454 if (psm == 1) { in GetSecurityPolicy()
462 l2cap::Psm psm, in RegisterService() argument
466 const l2cap::classic::SecurityPolicy security_policy = GetSecurityPolicy(psm); in RegisterService()
469 psm, in RegisterService()
498 [](l2cap::Psm psm, in RegisterService()
507 connection_interface_manager_->ConnectionOpened(on_complete, psm, cid, remote_cid); in RegisterService()
510 psm, in RegisterService()
515 void L2cap::impl::UnregisterService(l2cap::Psm psm, UnregisterServicePromise unregister_promise) { in UnregisterService() argument
516 ASSERT(psm_to_service_interface_map_.find(psm) != psm_to_service_interface_map_.end()); in UnregisterService()
518 psm_to_service_interface_map_[psm]->Unregister(handler_->BindOnce( in UnregisterService()
522 l2cap::Psm psm) { in UnregisterService() argument
523 psm_to_service_interface_map_->erase(psm); in UnregisterService()
528 psm)); in UnregisterService()
553 l2cap::Psm psm, in CreateConnection() argument
570 psm, in CreateConnection()
585 psm, in CreateConnection()
616 l2cap::Psm psm{raw_psm}; in RegisterClassicService() local
626 psm, in RegisterClassicService()
633 l2cap::Psm psm{raw_psm}; in UnregisterClassicService() local
635 …&L2cap::impl::UnregisterService, common::Unretained(pimpl_.get()), psm, std::move(unregister_promi… in UnregisterClassicService()
643 l2cap::Psm psm{raw_psm}; in CreateClassicConnection() local
650 psm, in CreateClassicConnection()