/packages/modules/Bluetooth/system/bta/groups/ |
D | groups.cc | 66 int GetGroupId(void) const { return group_id_; } in GetGroupId() function in bluetooth::groups::DeviceGroup 89 int GetGroupId(const RawAddress& addr, Uuid uuid) const override { in GetGroupId() function in bluetooth::groups::DeviceGroupsImpl 105 c->OnGroupAdded(addr, group->GetUuid(), group->GetGroupId()); in add_to_group() 107 c->OnGroupMemberAdded(addr, group->GetGroupId()); in add_to_group() 116 auto gid = GetGroupId(addr, uuid); in AddDevice() 132 return group->GetGroupId(); in AddDevice() 138 return group->GetGroupId(); in AddDevice() 168 c->OnGroupRemoved(g.GetUuid(), g.GetGroupId()); in RemoveDevice() 256 auto group_id = g.GetGroupId(); in AddCallbacks()
|
D | groups_test.cc | 127 ASSERT_EQ(kGroupUnknown, DeviceGroups::Get()->GetGroupId(GetTestAddress(2), Uuid::kEmpty)); in TEST_F() 128 ASSERT_EQ(kGroupUnknown, DeviceGroups::Get()->GetGroupId(GetTestAddress(3), Uuid::kEmpty)); in TEST_F() 207 auto group_id_1 = DeviceGroups::Get()->GetGroupId(GetTestAddress(2), Uuid::kEmpty); in TEST_F() 208 auto group_id_2 = DeviceGroups::Get()->GetGroupId(GetTestAddress(3), Uuid::kEmpty); in TEST_F()
|
/packages/modules/Bluetooth/system/bta/csis/ |
D | csis_client.cc | 265 callbacks_->OnDeviceAvailable(device->addr, csis_group->GetGroupId(), in OnGroupAddFromStorageCb() 324 int GetGroupId(const RawAddress& addr, Uuid uuid) override { in GetGroupId() function in __anon49437b6f0111::CsisClientImpl 330 int group_id = dev_groups_->GetGroupId(addr, uuid); in GetGroupId() 336 return csis_group->GetGroupId(); in GetGroupId() 346 int group_id = csis_group->GetGroupId(); in HandleCsisLockProcedureError() 465 UINT_TO_PTR(csis_instance->GetGroupId())); in SetLock() 613 auto gid = csis_inst->GetGroupId(); in SerializeSets() 706 auto group_id = csis_group->GetGroupId(); in AddFromStorage() 745 stream << " == id: " << g->GetGroupId() << " ==\n" in Dump() 754 if (device->GetExpectedGroupIdMember() == g->GetGroupId()) { in Dump() [all …]
|
D | csis_types.h | 182 int GetGroupId(void) const { return group_id_; } in GetGroupId() function 248 if (inst->GetGroupId() == group_id) { in GetCsisInstanceByGroupId() 268 if (it->second->GetGroupId() == group_id) { in RemoveCsisInstance() 347 int GetGroupId(void) const { return group_id_; } in GetGroupId() function
|
D | csis_client_test.cc | 844 ASSERT_EQ(1, CsisClient::Get()->GetGroupId(test_address)); in TEST_F() 1321 ASSERT_EQ(1, CsisClient::Get()->GetGroupId( in TEST_F() 1327 ASSERT_EQ(1, CsisClient::Get()->GetGroupId( in TEST_F() 1333 ASSERT_EQ(2, CsisClient::Get()->GetGroupId( in TEST_F() 1369 ASSERT_EQ(1, CsisClient::Get()->GetGroupId( in TEST_F() 1374 ASSERT_EQ(1, CsisClient::Get()->GetGroupId( in TEST_F() 1379 ASSERT_EQ(2, CsisClient::Get()->GetGroupId( in TEST_F() 1385 ASSERT_EQ(3, CsisClient::Get()->GetGroupId( in TEST_F() 1400 ASSERT_EQ(1, CsisClient::Get()->GetGroupId(test_address, bluetooth::Uuid::From16Bit(0x0000))); in TEST_F()
|
/packages/modules/Bluetooth/system/bta/has/ |
D | has_client_test.cc | 395 group_id = csis_api->GetGroupId(address, in set_sample_database() 506 auto synced_group = mock_csis_client_module_.GetGroupId( in set_sample_database() 557 auto synced_group = mock_csis_client_module_.GetGroupId( in set_sample_database() 1883 GetGroupId(test_address1, ::bluetooth::le_audio::uuid::kCapServiceUuid)) in TEST_F() 1886 GetGroupId(test_address2, ::bluetooth::le_audio::uuid::kCapServiceUuid)) in TEST_F() 2373 GetGroupId(test_address1, ::bluetooth::le_audio::uuid::kCapServiceUuid)) in TEST_F() 2376 GetGroupId(test_address2, ::bluetooth::le_audio::uuid::kCapServiceUuid)) in TEST_F() 2459 GetGroupId(test_address1, ::bluetooth::le_audio::uuid::kCapServiceUuid)) in TEST_F() 2462 GetGroupId(test_address2, ::bluetooth::le_audio::uuid::kCapServiceUuid)) in TEST_F() 2547 GetGroupId(test_address1, ::bluetooth::le_audio::uuid::kCapServiceUuid)) in TEST_F() [all …]
|
D | has_ctp.h | 127 int GetGroupId() const { in GetGroupId() function 209 log::assert_that(operation.GetGroupId() != -1, "Must set valid group_id!"); in HasCtpGroupOpCoordinator()
|
D | has_client.cc | 194 csis_api->GetGroupId(address, bluetooth::Uuid::From16Bit(UUID_COMMON_AUDIO_SERVICE)); in Connect() 273 csis_api->GetGroupId(address, bluetooth::Uuid::From16Bit(UUID_COMMON_AUDIO_SERVICE)); in Disconnect() 553 auto group_id = operation.GetGroupId(); in isPresetAvailable() 671 auto group_id = operation.GetGroupId(); in CpPresetOperationCaller() 877 addresses = csis_api->GetDeviceList(operation.GetGroupId()); in CpWritePresetNameOperation() 1420 callbacks_->OnPresetInfo(group_op_coordinator.operation.GetGroupId(), in OnHasPresetGenericUpdate() 1690 callbacks_->OnActivePresetSelected(group_op_coordinator.operation.GetGroupId(), in OnHasActivePresetValue()
|
/packages/modules/Bluetooth/system/bta/test/common/ |
D | mock_device_groups.h | 28 MOCK_METHOD((int), GetGroupId, (const RawAddress& addr, bluetooth::Uuid uuid), (const override));
|
D | mock_csis_client.h | 29 MOCK_METHOD((int), GetGroupId, (const RawAddress& addr, bluetooth::Uuid uuid), (override));
|
/packages/modules/Bluetooth/system/bta/include/ |
D | bta_csis_api.h | 44 virtual int GetGroupId(const RawAddress& addr,
|
D | bta_groups.h | 70 virtual int GetGroupId(const RawAddress& addr,
|
/packages/modules/Bluetooth/system/bta/le_audio/ |
D | le_audio_client_test.cc | 801 ON_CALL(mock_groups_module_, GetGroupId(_, _)) in SetUpMockGroups() 3241 ON_CALL(mock_groups_module_, GetGroupId(_, _)) in TEST_F() 3386 ON_CALL(mock_groups_module_, GetGroupId(_, _)) in TEST_F() 3778 ON_CALL(mock_groups_module_, GetGroupId(_, _)).WillByDefault(DoAll(Return(group_id))); in TEST_F() 3886 ON_CALL(mock_groups_module_, GetGroupId(_, _)).WillByDefault(DoAll(Return(group_id))); in TEST_F() 4030 ON_CALL(mock_groups_module_, GetGroupId(_, _)).WillByDefault(DoAll(Return(group_id))); in TEST_F() 4175 auto group_id = MockDeviceGroups::DeviceGroups::Get()->GetGroupId(test_address0); in TEST_F() 4282 ON_CALL(mock_groups_module_, GetGroupId(_, _)).WillByDefault(DoAll(Return(group_id))); in TEST_F() 4349 ON_CALL(mock_groups_module_, GetGroupId(test_address0, _)) in TEST_F() 4365 ON_CALL(mock_groups_module_, GetGroupId(test_address1, _)) in TEST_F() [all …]
|
D | client.cc | 950 auto id = DeviceGroups::Get()->GetGroupId(address, bluetooth::le_audio::uuid::kCapServiceUuid); in group_add_node() 1000 auto id = DeviceGroups::Get()->GetGroupId(address, bluetooth::le_audio::uuid::kCapServiceUuid); in GroupAddNode() 1032 DeviceGroups::Get()->GetGroupId(address, bluetooth::le_audio::uuid::kCapServiceUuid); in group_remove_node() 1953 DeviceGroups::Get()->GetGroupId(address, bluetooth::le_audio::uuid::kCapServiceUuid); in AddFromStorage() 3498 int group_id = DeviceGroups::Get()->GetGroupId(leAudioDevice->address_, in OnServiceSearchComplete()
|
/packages/modules/Bluetooth/system/bta/vc/ |
D | vc.cc | 445 csis_api->GetGroupId(device->address, bluetooth::le_audio::uuid::kCapServiceUuid); in HandleAutonomusVolumeChange()
|
D | vc_test.cc | 2311 ON_CALL(mock_csis_client_module_, GetGroupId(_, _)).WillByDefault(Return(group_id)); in SetUp()
|