Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/bta/groups/
Dgroups.cc60 int GetGroupId(void) const { return group_id_; } in GetGroupId() function in bluetooth::groups::DeviceGroup
85 int GetGroupId(const RawAddress& addr, Uuid uuid) const override { in GetGroupId() function in bluetooth::groups::DeviceGroupsImpl
99 c->OnGroupAdded(addr, group->GetUuid(), group->GetGroupId()); in add_to_group()
101 c->OnGroupMemberAdded(addr, group->GetGroupId()); in add_to_group()
110 auto gid = GetGroupId(addr, uuid); in AddDevice()
124 return group->GetGroupId(); in AddDevice()
130 return group->GetGroupId(); in AddDevice()
160 c->OnGroupRemoved(g.GetUuid(), g.GetGroupId()); in RemoveDevice()
248 auto group_id = g.GetGroupId(); in AddCallbacks()
Dgroups_test.cc136 DeviceGroups::Get()->GetGroupId(GetTestAddress(2), Uuid::kEmpty)); in TEST_F()
138 DeviceGroups::Get()->GetGroupId(GetTestAddress(3), Uuid::kEmpty)); in TEST_F()
222 DeviceGroups::Get()->GetGroupId(GetTestAddress(2), Uuid::kEmpty); in TEST_F()
224 DeviceGroups::Get()->GetGroupId(GetTestAddress(3), Uuid::kEmpty); in TEST_F()
/packages/modules/Bluetooth/system/bta/csis/
Dcsis_client.cc242 callbacks_->OnDeviceAvailable(device->addr, csis_group->GetGroupId(), in OnGroupAddFromStorageCb()
301 int GetGroupId(const RawAddress& addr, Uuid uuid) override { in GetGroupId() function in __anond4be34f90111::CsisClientImpl
305 int group_id = dev_groups_->GetGroupId(addr, uuid); in GetGroupId()
309 return csis_group->GetGroupId(); in GetGroupId()
321 int group_id = csis_group->GetGroupId(); in HandleCsisLockProcedureError()
444 UINT_TO_PTR(csis_instance->GetGroupId())); in SetLock()
599 auto gid = csis_inst->GetGroupId(); in SerializeSets()
691 auto group_id = csis_group->GetGroupId(); in AddFromStorage()
729 stream << " == id: " << g->GetGroupId() << " ==\n" in Dump()
741 if (device->GetExpectedGroupIdMember() == g->GetGroupId()) { in Dump()
[all …]
Dcsis_types.h190 int GetGroupId(void) const { return group_id_; } in GetGroupId() function
259 if (inst->GetGroupId() == group_id) { in GetCsisInstanceByGroupId()
281 if (it->second->GetGroupId() == group_id) { in RemoveCsisInstance()
358 int GetGroupId(void) const { return group_id_; } in GetGroupId() function
Dcsis_client_test.cc918 int group_id = CsisClient::Get()->GetGroupId(test_address); in TEST_F()
1430 ASSERT_EQ(1, CsisClient::Get()->GetGroupId( in TEST_F()
1437 ASSERT_EQ(1, CsisClient::Get()->GetGroupId( in TEST_F()
1444 ASSERT_EQ(2, CsisClient::Get()->GetGroupId( in TEST_F()
1481 ASSERT_EQ(1, CsisClient::Get()->GetGroupId( in TEST_F()
1487 ASSERT_EQ(1, CsisClient::Get()->GetGroupId( in TEST_F()
1493 ASSERT_EQ(2, CsisClient::Get()->GetGroupId( in TEST_F()
1500 ASSERT_EQ(3, CsisClient::Get()->GetGroupId( in TEST_F()
1516 ASSERT_EQ(1, CsisClient::Get()->GetGroupId( in TEST_F()
/packages/modules/Bluetooth/system/bta/has/
Dhas_ctp.h129 int GetGroupId() const { in GetGroupId() function
216 log::assert_that(operation.GetGroupId() != -1, in HasCtpGroupOpCoordinator()
Dhas_client_test.cc411 group_id = csis_api->GetGroupId( in set_sample_database()
526 auto synced_group = mock_csis_client_module_.GetGroupId( in set_sample_database()
582 auto synced_group = mock_csis_client_module_.GetGroupId( in set_sample_database()
1988 GetGroupId(test_address1, ::bluetooth::le_audio::uuid::kCapServiceUuid)) in TEST_F()
1992 GetGroupId(test_address2, ::bluetooth::le_audio::uuid::kCapServiceUuid)) in TEST_F()
2460 GetGroupId(test_address1, ::bluetooth::le_audio::uuid::kCapServiceUuid)) in TEST_F()
2464 GetGroupId(test_address2, ::bluetooth::le_audio::uuid::kCapServiceUuid)) in TEST_F()
2527 GetGroupId(test_address1, ::bluetooth::le_audio::uuid::kCapServiceUuid)) in TEST_F()
2531 GetGroupId(test_address2, ::bluetooth::le_audio::uuid::kCapServiceUuid)) in TEST_F()
2671 GetGroupId(test_address1, ::bluetooth::le_audio::uuid::kCapServiceUuid)) in TEST_F()
[all …]
Dhas_client.cc163 auto group_id = csis_api->GetGroupId( in Connect()
213 auto group_id = csis_api->GetGroupId( in Disconnect()
553 auto group_id = operation.GetGroupId(); in CpPresetOperationCaller()
745 addresses = csis_api->GetDeviceList(operation.GetGroupId()); in CpWritePresetNameOperation()
1294 group_op_coordinator.operation.GetGroupId(), in OnHasPresetGenericUpdate()
1540 group_op_coordinator.operation.GetGroupId(), in OnHasActivePresetValue()
/packages/modules/Bluetooth/system/bta/test/common/
Dmock_device_groups.h29 MOCK_METHOD((int), GetGroupId, (const RawAddress& addr, bluetooth::Uuid uuid),
Dmock_csis_client.h29 MOCK_METHOD((int), GetGroupId, (const RawAddress& addr, bluetooth::Uuid uuid),
/packages/modules/Bluetooth/system/bta/include/
Dbta_csis_api.h47 virtual int GetGroupId(
Dbta_groups.h77 virtual int GetGroupId(
/packages/modules/Bluetooth/system/bta/le_audio/
Dle_audio_client_test.cc839 ON_CALL(mock_groups_module_, GetGroupId(_, _)) in SetUpMockGroups()
3152 ON_CALL(mock_groups_module_, GetGroupId(_, _)) in TEST_F()
3326 ON_CALL(mock_groups_module_, GetGroupId(_, _)) in TEST_F_WITH_FLAGS()
3778 ON_CALL(mock_groups_module_, GetGroupId(_, _)) in TEST_F()
3900 ON_CALL(mock_groups_module_, GetGroupId(_, _)) in TEST_F()
4057 ON_CALL(mock_groups_module_, GetGroupId(_, _)) in TEST_F()
4210 ON_CALL(mock_groups_module_, GetGroupId(_, _)) in TEST_F()
4283 ON_CALL(mock_groups_module_, GetGroupId(test_address0, _)) in TEST_F()
4300 ON_CALL(mock_groups_module_, GetGroupId(test_address1, _)) in TEST_F()
4443 group_id0 = MockDeviceGroups::DeviceGroups::Get()->GetGroupId(test_address0); in TEST_F()
[all …]
Dclient.cc662 auto id = DeviceGroups::Get()->GetGroupId( in group_add_node()
712 auto id = DeviceGroups::Get()->GetGroupId( in GroupAddNode()
745 int groups_group_id = DeviceGroups::Get()->GetGroupId( in group_remove_node()
1522 int group_id = DeviceGroups::Get()->GetGroupId( in AddFromStorage()
3068 int group_id = DeviceGroups::Get()->GetGroupId( in OnServiceSearchComplete()
/packages/modules/Bluetooth/system/bta/vc/
Dvc.cc389 csis_api->GetGroupId(device->address, le_audio::uuid::kCapServiceUuid); in HandleAutonomusVolumeChange()
Dvc_test.cc1532 ON_CALL(mock_csis_client_module_, GetGroupId(_, _)) in SetUp()