Searched refs:channel_allocator_ (Results 1 – 7 of 7) sorted by relevance
46 channel_allocator_.reset(); in TearDown()58 std::unique_ptr<DynamicChannelAllocator> channel_allocator_; member in bluetooth::l2cap::internal::L2capClassicDynamicChannelAllocatorTest63 EXPECT_FALSE(channel_allocator_->IsPsmUsed(psm)); in TEST_F()69 auto channel = channel_allocator_->AllocateChannel(psm, remote_cid); in TEST_F()71 EXPECT_TRUE(channel_allocator_->IsPsmUsed(psm)); in TEST_F()72 EXPECT_EQ(channel, channel_allocator_->FindChannelByCid(local_cid)); in TEST_F()73 ASSERT_NO_FATAL_FAILURE(channel_allocator_->FreeChannel(local_cid)); in TEST_F()74 EXPECT_FALSE(channel_allocator_->IsPsmUsed(psm)); in TEST_F()80 Cid reserved = channel_allocator_->ReserveChannel(); in TEST_F()84 EXPECT_TRUE(channel_allocator_->IsPsmUsed(psm)); in TEST_F()[all …]
45 channel_allocator_ = in SetUp()50 channel_allocator_.reset(); in TearDown()62 std::unique_ptr<FixedChannelAllocator<MockFixedChannelImpl, MockLink>> channel_allocator_; member in bluetooth::l2cap::internal::L2capFixedChannelAllocatorTest67 EXPECT_FALSE(channel_allocator_->IsChannelAllocated(cid)); in TEST_F()72 auto channel = channel_allocator_->AllocateChannel(cid); in TEST_F()73 EXPECT_TRUE(channel_allocator_->IsChannelAllocated(cid)); in TEST_F()74 EXPECT_EQ(channel, channel_allocator_->FindChannel(cid)); in TEST_F()75 ASSERT_NO_FATAL_FAILURE(channel_allocator_->FreeChannel(cid)); in TEST_F()76 EXPECT_FALSE(channel_allocator_->IsChannelAllocated(cid)); in TEST_F()
52 channel_allocator_ = std::make_unique<DynamicChannelAllocator>(mock_classic_link_, handler_); in SetUp()56 channel_allocator_.reset(); in TearDown()69 EXPECT_FALSE(channel_allocator_->IsPsmUsed(psm)); in TestPrecondition()76 std::unique_ptr<DynamicChannelAllocator> channel_allocator_; member in bluetooth::l2cap::internal::L2capClassicDynamicChannelAllocatorFuzzTest
42 …dynamic_service_manager_(dynamic_service_manager), channel_allocator_(channel_allocator), alarm_(h… in LeSignallingManager()187 if (channel_allocator_->IsPsmUsed(psm)) { in OnConnectionRequest()306 auto channel = channel_allocator_->FindChannelByCid(cid); in OnDisconnectionRequest()335 auto channel = channel_allocator_->FindChannelByCid(cid); in OnDisconnectionResponse()348 auto channel = channel_allocator_->FindChannelByRemoteCid(remote_cid); in OnCredit()
168 l2cap::internal::DynamicChannelAllocator* channel_allocator_; variable
57 dynamic_service_manager_(dynamic_service_manager), channel_allocator_(channel_allocator), in ClassicSignallingManager()296 auto channel = channel_allocator_->FindChannelByCid(cid); in OnConfigurationRequest()387 auto channel = channel_allocator_->FindChannelByCid(local_cid); in SendInitialConfigRequest()437 auto channel = channel_allocator_->FindChannelByCid(cid); in negotiate_configuration()506 auto channel = channel_allocator_->FindChannelByCid(cid); in OnConfigurationResponse()592 auto channel = channel_allocator_->FindChannelByCid(cid); in OnDisconnectionRequest()619 auto channel = channel_allocator_->FindChannelByCid(cid); in OnDisconnectionResponse()906 … auto channel = channel_allocator_->FindChannelByRemoteCid(command_just_sent_.destination_cid_); in on_command_timeout()
127 l2cap::internal::DynamicChannelAllocator* channel_allocator_; variable