Home
last modified time | relevance | path

Searched refs:GetDevice (Results 1 – 25 of 47) sorted by relevance

12

/aosp12/system/bt/gd/l2cap/le/internal/
H A Dfixed_channel_impl_test.cc71 EXPECT_CALL(mock_le_link, GetDevice()).WillRepeatedly(Return(device)); in TEST_F()
74 EXPECT_EQ(device, fixed_channel_impl.GetDevice()); in TEST_F()
85 EXPECT_CALL(mock_le_link, GetDevice()).WillRepeatedly(Return(device)); in TEST_F()
110 EXPECT_CALL(mock_le_link, GetDevice()).WillRepeatedly(Return(device)); in TEST_F()
135 EXPECT_CALL(mock_le_link, GetDevice()).WillRepeatedly(Return(device)); in TEST_F()
163 EXPECT_CALL(mock_le_link, GetDevice()).WillRepeatedly(Return(device)); in TEST_F()
187 EXPECT_CALL(mock_le_link, GetDevice()).WillRepeatedly(Return(device)); in TEST_F()
200 EXPECT_CALL(mock_le_link, GetDevice()).WillRepeatedly(Return(device)); in TEST_F()
213 EXPECT_CALL(mock_le_link, GetDevice()).WillRepeatedly(Return(device)); in TEST_F()
245 EXPECT_CALL(mock_le_link, GetDevice()).WillRepeatedly(Return(device)); in TEST_F()
H A Dlink.h54 inline hci::AddressWithType GetDevice() const override { in GetDevice() function
137 return GetDevice().ToString(); in ToString()
H A Dlink_mock.h40 MOCK_METHOD(hci::AddressWithType, GetDevice, (), (const, override));
/aosp12/system/bt/gd/l2cap/internal/
H A Ddynamic_channel_impl_test.cc73 EXPECT_CALL(mock_classic_link, GetDevice()).WillRepeatedly(Return(device)); in TEST_F()
76 EXPECT_EQ(device, dynamic_channel_impl.GetDevice()); in TEST_F()
83 EXPECT_CALL(mock_classic_link, GetDevice()).WillRepeatedly(Return(device)); in TEST_F()
105 EXPECT_CALL(mock_classic_link, GetDevice()).WillRepeatedly(Return(device)); in TEST_F()
128 EXPECT_CALL(mock_classic_link, GetDevice()).WillRepeatedly(Return(device)); in TEST_F()
153 EXPECT_CALL(mock_classic_link, GetDevice()).WillRepeatedly(Return(device)); in TEST_F()
H A Ddynamic_channel_allocator.cc46 link_->GetDevice().ToString().c_str()); in AllocateChannel()
62 link_->GetDevice().ToString().c_str()); in AllocateReservedChannel()
85 … LOG_INFO("Channel is not in use: cid %d, device %s", cid, link_->GetDevice().ToString().c_str()); in FreeChannel()
H A Ddynamic_channel_impl.cc35 device_(link->GetDevice()) { in DynamicChannelImpl()
42 hci::AddressWithType DynamicChannelImpl::GetDevice() const { in GetDevice() function in bluetooth::l2cap::internal::DynamicChannelImpl
H A Dilink_mock.h31 MOCK_METHOD(hci::AddressWithType, GetDevice, (), (const, override));
H A Dilink.h33 virtual hci::AddressWithType GetDevice() const = 0;
H A Dfixed_channel_allocator_test.cc43 EXPECT_CALL(*mock_classic_link_, GetDevice()).WillRepeatedly(Return(device)); in SetUp()
H A Ddynamic_channel_allocator_fuzz_test.cc51 EXPECT_CALL(*mock_classic_link_, GetDevice()).WillRepeatedly(Return(device)); in SetUp()
H A Ddynamic_channel_impl.h41 hci::AddressWithType GetDevice() const;
/aosp12/system/bt/gd/l2cap/classic/internal/
H A Dlink.cc320 link_manager_->OnAuthenticationComplete(hci_status, GetDevice().GetAddress()); in OnAuthenticationComplete()
325 link_manager_->OnEncryptionChange(GetDevice().GetAddress(), enabled); in OnEncryptionChange()
340 link_manager_->OnReadClockOffset(GetDevice().GetAddress(), clock_offset); in OnReadClockOffsetComplete()
344 link_manager_->OnModeChange(status, GetDevice().GetAddress(), current_mode, interval); in OnModeChange()
355 GetDevice().GetAddress(), in OnSniffSubrating()
425 link_manager_->OnRoleChange(hci_status, GetDevice().GetAddress(), new_role); in OnRoleChange()
429 link_manager_->OnDisconnect(GetDevice().GetAddress(), reason); in OnDisconnection()
440 hci_status, GetDevice().GetAddress(), lmp_version, manufacturer_name, sub_version); in OnReadRemoteVersionInformationComplete()
444 link_manager_->OnReadRemoteSupportedFeatures(GetDevice().GetAddress(), features); in OnReadRemoteSupportedFeaturesComplete()
453 …link_manager_->OnReadRemoteExtendedFeatures(GetDevice().GetAddress(), page_number, max_page_number… in OnReadRemoteExtendedFeaturesComplete()
[all …]
H A Dfixed_channel_impl_test.cc74 EXPECT_CALL(mock_classic_link, GetDevice()).WillRepeatedly(Return(device)); in TEST_F()
76 EXPECT_EQ(device.GetAddress(), fixed_channel_impl.GetDevice()); in TEST_F()
91 EXPECT_CALL(mock_classic_link, GetDevice()).WillRepeatedly(Return(device)); in TEST_F()
120 EXPECT_CALL(mock_classic_link, GetDevice()).WillRepeatedly(Return(device)); in TEST_F()
150 EXPECT_CALL(mock_classic_link, GetDevice()).WillRepeatedly(Return(device)); in TEST_F()
183 EXPECT_CALL(mock_classic_link, GetDevice()).WillRepeatedly(Return(device)); in TEST_F()
212 EXPECT_CALL(mock_classic_link, GetDevice()).WillRepeatedly(Return(device)); in TEST_F()
230 EXPECT_CALL(mock_classic_link, GetDevice()).WillRepeatedly(Return(device)); in TEST_F()
249 EXPECT_CALL(mock_classic_link, GetDevice()).WillRepeatedly(Return(device)); in TEST_F()
287 EXPECT_CALL(mock_classic_link, GetDevice()).WillRepeatedly(Return(device)); in TEST_F()
H A Dlink_mock.h41 MOCK_METHOD(hci::AddressWithType, GetDevice, (), (const, override));
H A Dlink.h54 hci::AddressWithType GetDevice() const override { in GetDevice() function
148 return GetDevice().ToString(); in ToString()
H A Dfixed_channel_impl.cc31 : cid_(cid), device_(link->GetDevice()), link_(link), l2cap_handler_(l2cap_handler) { in FixedChannelImpl()
/aosp12/system/update_engine/aosp/
H A Ddynamic_partition_control_android_unittest.cc350 DeviceExists(AnyOf(GetDevice(S("bar")), in TEST_P()
351 GetDevice(T("bar")), in TEST_P()
352 GetDevice(S("system")), in TEST_P()
381 EXPECT_EQ(GetDevice(T("system")), system_device); in TEST_P()
388 EXPECT_EQ(GetDevice(S("bar")), bar_device); in TEST_P()
393 EXPECT_EQ(GetDevice(T("bar")), bar_device); in TEST_P()
409 DeviceExists(AnyOf(GetDevice(S("vendor")), in TEST_P()
428 ASSERT_EQ(GetDevice(T("system")), device); in TEST_P()
486 DeviceExists(AnyOf(GetDevice(S("bar")), GetDevice(T("bar"))))) in TEST_P()
539 EXPECT_EQ(GetDevice(S("bar")), bar_device); in TEST_P()
[all …]
/aosp12/system/bt/gd/l2cap/
H A Ddynamic_channel.cc24 hci::AddressWithType DynamicChannel::GetDevice() const { in GetDevice() function in bluetooth::l2cap::DynamicChannel
25 return impl_->GetDevice(); in GetDevice()
H A Ddynamic_channel.h46 hci::AddressWithType GetDevice() const;
/aosp12/system/bt/gd/l2cap/classic/
H A Dfixed_channel.cc25 hci::Address FixedChannel::GetDevice() const { in GetDevice() function in bluetooth::l2cap::classic::FixedChannel
26 return impl_->GetDevice(); in GetDevice()
H A Dfixed_channel.h49 hci::Address GetDevice() const;
/aosp12/system/bt/gd/l2cap/le/
H A Dfixed_channel.cc25 hci::AddressWithType FixedChannel::GetDevice() const { in GetDevice() function in bluetooth::l2cap::le::FixedChannel
26 return impl_->GetDevice(); in GetDevice()
H A Dfixed_channel.h50 hci::AddressWithType GetDevice() const;
/aosp12/system/bt/gd/security/internal/
H A Dsecurity_manager_impl.cc460 if (storage.channel_->GetDevice() == device) { in FindStoredLeChannel()
469 if (it->channel_->GetDevice() == device) { in EraseStoredLeChannel()
523 … (remote_oob_data_address_.has_value() && remote_oob_data_address_.value() == channel->GetDevice()) in OnSmpCommandLe()
544 .remote_connection_address = channel->GetDevice(), in OnSmpCommandLe()
577 …dOnce(&SecurityManagerImpl::OnConnectionClosedLe, common::Unretained(this), channel->GetDevice())); in OnConnectionOpenLe()
580 …ommon::Bind(&SecurityManagerImpl::OnSmpCommandLe, common::Unretained(this), channel->GetDevice())); in OnConnectionOpenLe()
582 if (pending_le_pairing_.address_ != channel->GetDevice()) { in OnConnectionOpenLe()
596 … (remote_oob_data_address_.has_value() && remote_oob_data_address_.value() == channel->GetDevice()) in ConnectionIsReadyStartPairing()
616 .remote_connection_address = channel->GetDevice(), in ConnectionIsReadyStartPairing()
704 NotifyDeviceBondFailed(stored_chan->channel_->GetDevice(), failure); in OnPairingFinished()
/aosp12/system/vold/model/
H A DPublicVolume.cpp175 dev_t before = GetDevice(mSdcardFsFull); in doMount()
216 while (before == GetDevice(mSdcardFsFull)) { in doMount()

12