Home
last modified time | relevance | path

Searched refs:GetGroupId (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Bluetooth/system/bta/groups/
Dgroups.cc66 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()
Dgroups_test.cc127 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/
Dcsis_client.cc265 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 …]
Dcsis_types.h182 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
Dcsis_client_test.cc844 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/
Dhas_client_test.cc395 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 …]
Dhas_ctp.h127 int GetGroupId() const { in GetGroupId() function
209 log::assert_that(operation.GetGroupId() != -1, "Must set valid group_id!"); in HasCtpGroupOpCoordinator()
Dhas_client.cc194 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/
Dmock_device_groups.h28 MOCK_METHOD((int), GetGroupId, (const RawAddress& addr, bluetooth::Uuid uuid), (const override));
Dmock_csis_client.h29 MOCK_METHOD((int), GetGroupId, (const RawAddress& addr, bluetooth::Uuid uuid), (override));
/packages/modules/Bluetooth/system/bta/include/
Dbta_csis_api.h44 virtual int GetGroupId(const RawAddress& addr,
Dbta_groups.h70 virtual int GetGroupId(const RawAddress& addr,
/packages/modules/Bluetooth/system/bta/le_audio/
Dle_audio_client_test.cc801 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 …]
Dclient.cc950 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/
Dvc.cc445 csis_api->GetGroupId(device->address, bluetooth::le_audio::uuid::kCapServiceUuid); in HandleAutonomusVolumeChange()
Dvc_test.cc2311 ON_CALL(mock_csis_client_module_, GetGroupId(_, _)).WillByDefault(Return(group_id)); in SetUp()