/foundation/distributedhardware/device_manager/services/implementation/src/dependency/hichain/ |
H A D | hichain_connector.cpp | 183 std::vector<GroupInfo> groupList; in IsGroupCreated() local 184 if (GetGroupInfo(queryParams, groupList)) { in IsGroupCreated() 185 groupInfo = groupList[0]; in IsGroupCreated() 191 bool HiChainConnector::IsRedundanceGroup(const std::string &userId, int32_t authType, std::vector<GroupInfo> &groupList) in IsRedundanceGroup() argument 202 if (!GetGroupInfo(osAccountUserId, queryParams, groupList)) { in IsRedundanceGroup() 205 for (auto iter = groupList.begin(); iter != groupList.end(); iter++) { in IsRedundanceGroup() 213 bool HiChainConnector::GetGroupInfo(const std::string &queryParams, std::vector<GroupInfo> &groupList) in GetGroupInfo() argument 220 return GetGroupInfo(userId, queryParams, groupList); in GetGroupInfo() 224 std::vector<GroupInfo> &groupList) in GetGroupInfo() 223 GetGroupInfo(const int32_t userId, const std::string &queryParams, std::vector<GroupInfo> &groupList) GetGroupInfo() argument 229 GetGroupInfoExt(const int32_t userId, const std::string &queryParams, std::vector<GroupInfo> &groupList) GetGroupInfoExt() argument 235 GetGroupInfoCommon(const int32_t userId, const std::string &queryParams, const char* pkgName, std::vector<GroupInfo> &groupList) GetGroupInfoCommon() argument 280 std::vector<OHOS::DistributedHardware::GroupInfo> groupList; GetGroupType() local 518 GetRelatedGroups(const std::string &deviceId, std::vector<GroupInfo> &groupList) GetRelatedGroups() argument 523 GetRelatedGroupsExt(const std::string &deviceId, std::vector<GroupInfo> &groupList) GetRelatedGroupsExt() argument 528 GetSyncGroupList(std::vector<GroupInfo> &groupList, std::vector<std::string> &syncGroupList) GetSyncGroupList() argument 674 std::vector<GroupInfo> groupList; DeleteGroup() local 762 std::vector<GroupInfo> groupList; DealRedundanceGroup() local 855 std::vector<GroupInfo> groupList; GetGroupId() local 942 std::vector<GroupInfo> groupList; GetGroupIdExt() local 1101 std::vector<GroupInfo> groupList; DeleteAllGroup() local 1117 GetRelatedGroupsCommon(const std::string &deviceId, const char* pkgName, std::vector<GroupInfo> &groupList) GetRelatedGroupsCommon() argument 1164 std::vector<GroupInfo> groupList; DeleteAllGroupByUdid() local 1186 std::vector<GroupInfo> groupList; DeleteP2PGroup() local 1226 std::vector<GroupInfo> groupList; DeleteGroupByACL() local [all...] |
/foundation/distributedhardware/device_manager/test/commonfuzztest/hichainconnector_fuzzer/ |
H A D | hichain_connector_fuzzer.cpp | 67 std::vector<GroupInfo> groupList; in HiChainConnectorFuzzTest() local 82 hichainConnector->IsRedundanceGroup(userId, authType, groupList); in HiChainConnectorFuzzTest() 83 hichainConnector->GetGroupInfo(queryParams, groupList); in HiChainConnectorFuzzTest() 84 hichainConnector->GetGroupInfo(delUserid, queryParams, groupList); in HiChainConnectorFuzzTest() 100 hichainConnector->GetRelatedGroupsCommon(deviceId, pkgNameStr.data(), groupList); in HiChainConnectorFuzzTest() 109 std::vector<GroupInfo> groupList; in HiChainConnectorSecondFuzzTest() local 113 hichainConnector->GetSyncGroupList(groupList, syncGroupList); in HiChainConnectorSecondFuzzTest()
|
/foundation/distributedhardware/device_manager/services/implementation/include/dependency/hichain/ |
H A D | hichain_connector.h | 155 int32_t GetRelatedGroups(const std::string &deviceId, std::vector<GroupInfo> &groupList); 162 bool GetGroupInfo(const std::string &queryParams, std::vector<GroupInfo> &groupList); 169 bool GetGroupInfo(const int32_t userId, const std::string &queryParams, std::vector<GroupInfo> &groupList); 171 bool GetGroupInfoExt(const int32_t userId, const std::string &queryParams, std::vector<GroupInfo> &groupList); 174 std::vector<GroupInfo> &groupList); 236 int32_t GetRelatedGroupsExt(const std::string &deviceId, std::vector<GroupInfo> &groupList); 241 std::vector<GroupInfo> &groupList); 252 int32_t GetSyncGroupList(std::vector<GroupInfo> &groupList, std::vector<std::string> &syncGroupList); 255 bool IsRedundanceGroup(const std::string &userId, int32_t authType, std::vector<GroupInfo> &groupList);
|
/foundation/multimedia/media_library/frameworks/services/media_distributed/src/device_manage/ |
H A D | device_permission_verification.cpp | 95 std::vector<TrustedRelationshipGroupInfo> groupList; in QueryTrustedRelationship() local 96 groupList = jsonObject.get<std::vector<TrustedRelationshipGroupInfo>>(); in QueryTrustedRelationship() 97 for (auto &a : groupList) { in QueryTrustedRelationship()
|
/foundation/distributedhardware/device_manager/test/commonunittest/ |
H A D | UTTest_hichain_connector.cpp | 503 * @tc.desc: set DeviceId 123 groupList null and return ERR_DM_FAILED 510 std::vector<GroupInfo> groupList; in HWTEST_F() local 512 int ret = hiChainConnector->GetRelatedGroups(deviceId, groupList); in HWTEST_F() 518 * @tc.desc: set DeviceId = 12345,groupList null and return ERR_DM_FAILED 525 std::vector<GroupInfo> groupList; in HWTEST_F() local 527 int ret = hiChainConnector->GetRelatedGroupsExt(deviceId, groupList); in HWTEST_F() 548 * @tc.desc: set groupList null, and return ERR_DM_FAILED 554 std::vector<GroupInfo> groupList; in HWTEST_F() local 557 int ret = hiChainConnector->GetSyncGroupList(groupList, syncGroupList); in HWTEST_F() 563 * @tc.desc: set groupList no 569 std::vector<GroupInfo> groupList; HWTEST_F() local 615 std::vector<GroupInfo> groupList; HWTEST_F() local 1006 std::vector<GroupInfo> groupList; HWTEST_F() local 1022 std::vector<GroupInfo> groupList; HWTEST_F() local 1376 std::vector<GroupInfo> groupList; HWTEST_F() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/ |
H A D | multi_fingers_recognizer.cpp | 67 auto groupList = group->GetGroupRecognizer(); in IsNeedResetStatus() local 68 for (auto &recognizer : groupList) { in IsNeedResetStatus()
|
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/device/ |
H A D | device_manager_agent.cpp | 715 std::vector<GroupInfo> groupList; in QueryRelatedGroups() local 716 groupList = jsonObject.get<std::vector<GroupInfo>>(); in QueryRelatedGroups() 717 for (auto &a : groupList) { in QueryRelatedGroups() 724 for (const auto &group : groupList) { in QueryRelatedGroups()
|
/foundation/distributedhardware/device_manager/services/implementation/src/authentication/ |
H A D | dm_auth_manager.cpp | 1617 std::vector<GroupInfo> groupList; in IsIdenticalAccount() local 1618 if (!hiChainConnector_->GetGroupInfo(osAccountUserId, queryParams, groupList)) { in IsIdenticalAccount() 1635 for (auto &groupInfo : groupList) { in IsIdenticalAccount() 1657 std::vector<GroupInfo> groupList; in GetAccountGroupIdHash() local 1658 if (!hiChainConnector_->GetGroupInfo(osAccountUserId, queryParams, groupList)) { in GetAccountGroupIdHash() 1662 for (auto &groupInfo : groupList) { in GetAccountGroupIdHash() 2223 std::vector<OHOS::DistributedHardware::GroupInfo> groupList; in DeleteGroup() local 2224 hiChainConnector_->GetRelatedGroups(deviceId, groupList); in DeleteGroup() 2225 if (groupList.size() > 0) { in DeleteGroup() 2227 groupId = groupList in DeleteGroup() [all...] |