Home
last modified time | relevance | path

Searched refs:Psm (Results 1 – 25 of 40) sorted by relevance

12

/system/bt/gd/l2cap/classic/internal/
Ddynamic_channel_service_manager_impl.h42 …virtual void Register(Psm psm, DynamicChannelServiceImpl::PendingRegistration pending_registration…
43 virtual void Unregister(Psm psm, DynamicChannelService::OnUnregisteredCallback callback);
44 virtual bool IsServiceRegistered(Psm psm) const;
45 virtual DynamicChannelServiceImpl* GetService(Psm psm);
47 virtual std::vector<std::pair<Psm, DynamicChannelServiceImpl*>> GetRegisteredServices();
60 std::unordered_map<Psm, DynamicChannelServiceImpl> service_map_;
Ddynamic_channel_service_manager_impl_mock.h34 …MOCK_METHOD(void, Register, (Psm psm, DynamicChannelServiceImpl::PendingRegistration pending_regis…
36 …MOCK_METHOD(void, Unregister, (Psm psm, DynamicChannelService::OnUnregisteredCallback callback), (…
37 MOCK_METHOD(bool, IsServiceRegistered, (Psm psm), (const, override));
38 MOCK_METHOD(DynamicChannelServiceImpl*, GetService, (Psm psm), (override));
39 …MOCK_METHOD((std::vector<std::pair<Psm, DynamicChannelServiceImpl*>>), GetRegisteredServices, (), …
Ddynamic_channel_service_manager_impl.cc28 void DynamicChannelServiceManagerImpl::Register(Psm psm, in Register()
51 void DynamicChannelServiceManagerImpl::Unregister(Psm psm, DynamicChannelService::OnUnregisteredCal… in Unregister()
60 bool DynamicChannelServiceManagerImpl::IsServiceRegistered(Psm psm) const { in IsServiceRegistered()
64 DynamicChannelServiceImpl* DynamicChannelServiceManagerImpl::GetService(Psm psm) { in GetService()
69 std::vector<std::pair<Psm, DynamicChannelServiceImpl*>> DynamicChannelServiceManagerImpl::GetRegist… in GetRegisteredServices()
70 std::vector<std::pair<Psm, DynamicChannelServiceImpl*>> results; in GetRegisteredServices()
Dsignalling_manager.h46 Psm psm_;
67 void SendConnectionRequest(Psm psm, Cid local_cid);
79 void OnConnectionRequest(SignalId signal_id, Psm psm, Cid remote_cid);
106 …void on_security_result_for_outgoing(SecurityEnforcementType type, Psm psm, Cid local_cid, bool re…
120 void on_security_result_for_incoming(Psm psm, Cid remote_cid, SignalId signal_id, bool result);
Dlink.h66 Psm psm_;
107 virtual void SendConnectionRequest(Psm psm, Cid local_cid);
108 virtual void SendConnectionRequest(Psm psm, Cid local_cid,
113 virtual void SetPendingDynamicChannels(std::list<Psm> psm_list,
125 …virtual std::shared_ptr<l2cap::internal::DynamicChannelImpl> AllocateDynamicChannel(Psm psm, Cid r…
127 …_ptr<l2cap::internal::DynamicChannelImpl> AllocateReservedDynamicChannel(Cid reserved_cid, Psm psm,
192 Psm psm;
230 std::list<Psm> pending_dynamic_psm_list_;
/system/bt/gd/l2cap/le/internal/
Ddynamic_channel_service_manager_impl.h41 …virtual void Register(Psm psm, DynamicChannelServiceImpl::PendingRegistration pending_registration…
42 …virtual void Unregister(Psm psm, DynamicChannelService::OnUnregisteredCallback callback, os::Handl…
43 virtual bool IsServiceRegistered(Psm psm) const;
44 virtual DynamicChannelServiceImpl* GetService(Psm psm);
46 virtual std::vector<std::pair<Psm, DynamicChannelServiceImpl*>> GetRegisteredServices();
59 std::unordered_map<Psm, DynamicChannelServiceImpl> service_map_;
Ddynamic_channel_service_manager_impl.cc29 void DynamicChannelServiceManagerImpl::Register(Psm psm, in Register()
48 void DynamicChannelServiceManagerImpl::Unregister(Psm psm, DynamicChannelService::OnUnregisteredCal… in Unregister()
58 bool DynamicChannelServiceManagerImpl::IsServiceRegistered(Psm psm) const { in IsServiceRegistered()
62 DynamicChannelServiceImpl* DynamicChannelServiceManagerImpl::GetService(Psm psm) { in GetService()
67 std::vector<std::pair<Psm, DynamicChannelServiceImpl*>> DynamicChannelServiceManagerImpl::GetRegist… in GetRegisteredServices()
68 std::vector<std::pair<Psm, DynamicChannelServiceImpl*>> results; in GetRegisteredServices()
Dsignalling_manager.h46 Psm psm_;
57 …static PendingCommand CreditBasedConnectionRequest(SignalId signal_id, Psm psm, Cid scid, Mtu mtu,… in CreditBasedConnectionRequest()
106 void SendConnectionRequest(Psm psm, Cid local_cid, Mtu mtu);
118 void SendEnhancedConnectionRequest(Psm psm, std::vector<Cid> local_cid, Mtu mtu);
134 void OnConnectionRequest(SignalId signal_id, Psm psm, Cid remote_cid, Mtu mtu, uint16_t mps,
160 void on_security_result_for_incoming(Psm psm, PendingConnection request, bool result);
161 void on_security_result_for_outgoing(Psm psm, Cid local_cid, Mtu mtu, bool result);
Dlink_manager.h83 … Link::PendingDynamicChannelConnection pending_dynamic_channel_connection, Psm psm);
113 …std::unordered_map<hci::AddressWithType, std::list<std::pair<Psm, Link::PendingDynamicChannelConne…
Ddynamic_channel_service_manager_test.cc82 Psm psm = 0x41; in TEST_F()
98 Psm psm = 0x0100; in TEST_F()
/system/bt/gd/l2cap/
Dpsm.h24 using Psm = uint16_t; variable
25 constexpr Psm kDefaultPsm = 0; // Invalid Psm as a default value
27 constexpr bool IsPsmValid(Psm psm) { in IsPsmValid()
/system/bt/gd/l2cap/le/
Ddynamic_channel_service.h48 Psm GetPsm() const;
51 …DynamicChannelService(Psm psm, internal::DynamicChannelServiceManagerImpl* manager, os::Handler* h… in DynamicChannelService()
58 Psm psm_ = kDefaultPsm;
Ddynamic_channel_manager.cc28 … DynamicChannelConfigurationOption configuration_option, Psm psm, in ConnectChannel()
44 bool DynamicChannelManager::RegisterService(Psm psm, DynamicChannelConfigurationOption configuratio… in RegisterService()
Ddynamic_channel_manager.h98 …annel(hci::AddressWithType device, DynamicChannelConfigurationOption configuration_option, Psm psm,
123 bool RegisterService(Psm psm, DynamicChannelConfigurationOption configuration_option,
/system/bt/gd/l2cap/classic/
Ddynamic_channel_service.h48 Psm GetPsm() const;
51 …DynamicChannelService(Psm psm, internal::DynamicChannelServiceManagerImpl* manager, os::Handler* h… in DynamicChannelService()
59 Psm psm_ = kDefaultPsm;
Ddynamic_channel_manager.cc30 Psm psm, in ConnectChannel()
43 Psm psm, in RegisterService()
Ddynamic_channel_manager.h92 Psm psm,
117 Psm psm,
Ddynamic_channel_service.cc31 Psm DynamicChannelService::GetPsm() const { in GetPsm()
/system/bt/gd/l2cap/internal/
Ddynamic_channel_allocator.h55 std::shared_ptr<DynamicChannelImpl> AllocateChannel(Psm psm, Cid remote_cid);
57 …std::shared_ptr<DynamicChannelImpl> AllocateReservedChannel(Cid reserved_cid, Psm psm, Cid remote_…
66 bool IsPsmUsed(Psm psm) const;
Ddynamic_channel_impl.h37 …DynamicChannelImpl(Psm psm, Cid cid, Cid remote_cid, l2cap::internal::ILink* link, os::Handler* l2…
65 virtual Psm GetPsm() const { in GetPsm()
77 const Psm psm_;
Ddynamic_channel_allocator_test.cc62 Psm psm = 0x03; in TEST_F()
67 Psm psm = 0x03; in TEST_F()
78 Psm psm = 0x03; in TEST_F()
Ddynamic_channel_allocator.cc30 std::shared_ptr<DynamicChannelImpl> DynamicChannelAllocator::AllocateChannel(Psm psm, Cid remote_ci… in AllocateChannel()
53 …ptr<DynamicChannelImpl> DynamicChannelAllocator::AllocateReservedChannel(Cid reserved_cid, Psm psm, in AllocateReservedChannel()
92 bool DynamicChannelAllocator::IsPsmUsed(Psm psm) const { in IsPsmUsed()
Ddynamic_channel_allocator_fuzz_test.cc68 Psm psm = *reinterpret_cast<const Psm*>(data); in TestPrecondition()
/system/bt/gd/l2cap/fuzz/
Dfuzz_dynamic_channel_manager.h43 l2cap::Psm psm, in ConnectChannel()
50 l2cap::Psm psm, in RegisterService()
Dfuzz_dynamic_channel_manager_impl.h40 l2cap::Psm, in ConnectChannel() argument
52 l2cap::Psm, in RegisterService() argument

12