/foundation/deviceprofile/device_info_manager/radar/test/unittest/ |
H A D | dp_radar_helper_test.cpp | 44 std::vector<TrustDeviceProfile> trustDeviceProfiles; in HWTEST_F() local 45 std::string res = DpRadarHelper::GetInstance().GetPeerUdidList(trustDeviceProfiles); in HWTEST_F() 56 std::vector<TrustDeviceProfile> trustDeviceProfiles; in HWTEST_F() local 57 std::string res = DpRadarHelper::GetInstance().GetPeerUdidList(trustDeviceProfiles); in HWTEST_F() 70 std::vector<TrustDeviceProfile> trustDeviceProfiles; in HWTEST_F() local 71 std::string res = DpRadarHelper::GetInstance().GetPeerUdidList(trustDeviceProfiles); in HWTEST_F() 77 std::vector<TrustDeviceProfile> trustDeviceProfiles; in HWTEST_F() local 79 DpRadarHelper::GetInstance().ReportGetAllTrustProfile(errCode, trustDeviceProfiles); in HWTEST_F() 81 DpRadarHelper::GetInstance().ReportGetAllTrustProfile(errCode, trustDeviceProfiles); in HWTEST_F() 82 std::string res = DpRadarHelper::GetInstance().GetPeerUdidList(trustDeviceProfiles); in HWTEST_F() 93 std::vector<TrustDeviceProfile> trustDeviceProfiles; HWTEST_F() local 105 std::vector<TrustDeviceProfile> trustDeviceProfiles; HWTEST_F() local 116 std::vector<TrustDeviceProfile> trustDeviceProfiles; HWTEST_F() local 128 std::vector<TrustDeviceProfile> trustDeviceProfiles; HWTEST_F() local 140 std::vector<TrustDeviceProfile> trustDeviceProfiles; HWTEST_F() local 152 std::vector<TrustDeviceProfile> trustDeviceProfiles; HWTEST_F() local 164 std::vector<TrustDeviceProfile> trustDeviceProfiles; HWTEST_F() local 178 std::vector<TrustDeviceProfile> trustDeviceProfiles; HWTEST_F() local 191 std::vector<TrustDeviceProfile> trustDeviceProfiles; HWTEST_F() local 204 std::vector<TrustDeviceProfile> trustDeviceProfiles; HWTEST_F() local 216 std::vector<TrustDeviceProfile> trustDeviceProfiles; HWTEST_F() local 228 std::vector<TrustDeviceProfile> trustDeviceProfiles; HWTEST_F() local 240 std::vector<TrustDeviceProfile> trustDeviceProfiles; HWTEST_F() local 252 std::vector<TrustDeviceProfile> trustDeviceProfiles; HWTEST_F() local 263 std::vector<TrustDeviceProfile> trustDeviceProfiles; HWTEST_F() local 288 std::vector<TrustDeviceProfile> trustDeviceProfiles; HWTEST_F() local 295 std::vector<TrustDeviceProfile> trustDeviceProfiles; HWTEST_F() local [all...] |
/foundation/deviceprofile/device_info_manager/common/src/utils/ |
H A D | ipc_utils.cpp | 25 bool IpcUtils::Marshalling(MessageParcel& parcel, const std::vector<TrustDeviceProfile>& trustDeviceProfiles) in Marshalling() argument 27 if (trustDeviceProfiles.empty() || trustDeviceProfiles.size() > MAX_PROFILE_SIZE) { in Marshalling() 28 HILOGE("profile size is invalid!size : %{public}zu", trustDeviceProfiles.size()); in Marshalling() 31 uint32_t size = trustDeviceProfiles.size(); in Marshalling() 33 for (const auto& profile : trustDeviceProfiles) { in Marshalling() 137 bool IpcUtils::UnMarshalling(MessageParcel& parcel, std::vector<TrustDeviceProfile>& trustDeviceProfiles) in UnMarshalling() argument 150 trustDeviceProfiles.emplace_back(trustDeviceProfile); in UnMarshalling()
|
/foundation/deviceprofile/device_info_manager/common/include/utils/ |
H A D | ipc_utils.h | 40 static bool Marshalling(MessageParcel& parcel, const std::vector<TrustDeviceProfile>& trustDeviceProfiles); 48 static bool UnMarshalling(MessageParcel& parcel, std::vector<TrustDeviceProfile>& trustDeviceProfiles);
|
/foundation/deviceprofile/device_info_manager/radar/include/ |
H A D | dp_radar_helper.h | 106 void ReportGetAllTrustProfile(int32_t errCode, std::vector<TrustDeviceProfile>& trustDeviceProfiles); 126 std::string GetPeerUdidList(const std::vector<TrustDeviceProfile>& trustDeviceProfiles);
|
/foundation/deviceprofile/device_info_manager/radar/src/ |
H A D | dp_radar_helper.cpp | 298 void DpRadarHelper::ReportGetAllTrustProfile(int32_t errCode, std::vector<TrustDeviceProfile>& trustDeviceProfiles) in ReportGetAllTrustProfile() argument 304 size_t size = trustDeviceProfiles.size() > 0 ? (trustDeviceProfiles.size() - 1) : 0; in ReportGetAllTrustProfile() 305 for (size_t i = 0; i < trustDeviceProfiles.size(); i++) { in ReportGetAllTrustProfile() 306 extraInfo += trustDeviceProfiles[i].dump(); in ReportGetAllTrustProfile() 323 "PEER_UDID_LIST", GetPeerUdidList(trustDeviceProfiles), in ReportGetAllTrustProfile() 338 "PEER_UDID_LIST", GetPeerUdidList(trustDeviceProfiles), in ReportGetAllTrustProfile() 1066 std::string DpRadarHelper::GetPeerUdidList(const std::vector<TrustDeviceProfile>& trustDeviceProfiles) in GetPeerUdidList() argument 1068 if (trustDeviceProfiles.size() == 0) { in GetPeerUdidList() 1085 for (size_t i = 0; i < trustDeviceProfiles in GetPeerUdidList() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_base_test/ |
H A D | mock_distributed_device_profile_client.cpp | 39 int32_t DistributedDeviceProfileClient::GetAllTrustDeviceProfile(std::vector<TrustDeviceProfile>& trustDeviceProfiles) in GetAllTrustDeviceProfile() argument
|
/foundation/deviceprofile/device_info_manager/interfaces/innerkits/core/include/ |
H A D | distributed_device_profile_client.h | 49 int32_t GetAllTrustDeviceProfile(std::vector<TrustDeviceProfile>& trustDeviceProfiles);
|
H A D | distributed_device_profile_proxy.h | 45 int32_t GetAllTrustDeviceProfile(std::vector<TrustDeviceProfile>& trustDeviceProfiles) override;
|
/foundation/deviceprofile/device_info_manager/common/include/interfaces/ |
H A D | i_distributed_device_profile.h | 41 virtual int32_t GetAllTrustDeviceProfile(std::vector<TrustDeviceProfile>& trustDeviceProfiles) = 0;
|
/foundation/deviceprofile/device_info_manager/services/core/test/unittest/ |
H A D | dp_profile_service_test.cpp | 156 std::vector<TrustDeviceProfile> trustDeviceProfiles; in HWTEST_F() local 157 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().GetAllTrustDeviceProfile(trustDeviceProfiles); in HWTEST_F()
|
H A D | distributed_device_profile_stub_new_test.cpp | 40 int32_t GetAllTrustDeviceProfile(std::vector<TrustDeviceProfile>& trustDeviceProfiles) override;
114 std::vector<TrustDeviceProfile>& trustDeviceProfiles)
in GetAllTrustDeviceProfile() 116 (void)trustDeviceProfiles;
in GetAllTrustDeviceProfile() 113 GetAllTrustDeviceProfile( std::vector<TrustDeviceProfile>& trustDeviceProfiles) GetAllTrustDeviceProfile() argument
|
/foundation/deviceprofile/device_info_manager/services/core/include/ |
H A D | distributed_device_profile_service_new.h | 47 int32_t GetAllTrustDeviceProfile(std::vector<TrustDeviceProfile>& trustDeviceProfiles) override;
|
/foundation/deviceprofile/device_info_manager/services/core/src/ |
H A D | distributed_device_profile_stub_new.cpp | 247 std::vector<TrustDeviceProfile> trustDeviceProfiles; in GetAllTrustDeviceProfileInner() local 248 int32_t ret = GetAllTrustDeviceProfile(trustDeviceProfiles); in GetAllTrustDeviceProfileInner() 253 if (!IpcUtils::Marshalling(reply, trustDeviceProfiles)) { in GetAllTrustDeviceProfileInner()
|
H A D | distributed_device_profile_service_new.cpp | 242 std::vector<TrustDeviceProfile>& trustDeviceProfiles) in GetAllTrustDeviceProfile() 248 int32_t ret = TrustProfileManager::GetInstance().GetAllTrustDeviceProfile(trustDeviceProfiles); in GetAllTrustDeviceProfile() 249 DpRadarHelper::GetInstance().ReportGetAllTrustProfile(ret, trustDeviceProfiles); in GetAllTrustDeviceProfile() 241 GetAllTrustDeviceProfile( std::vector<TrustDeviceProfile>& trustDeviceProfiles) GetAllTrustDeviceProfile() argument
|
/foundation/deviceprofile/device_info_manager/interfaces/innerkits/core/src/ |
H A D | distributed_device_profile_client.cpp | 161 int32_t DistributedDeviceProfileClient::GetAllTrustDeviceProfile(std::vector<TrustDeviceProfile>& trustDeviceProfiles) in GetAllTrustDeviceProfile() argument 168 return dpService->GetAllTrustDeviceProfile(trustDeviceProfiles); in GetAllTrustDeviceProfile()
|
H A D | distributed_device_profile_proxy.cpp | 72 int32_t DistributedDeviceProfileProxy::GetAllTrustDeviceProfile(std::vector<TrustDeviceProfile>& trustDeviceProfiles) in GetAllTrustDeviceProfile() argument 80 if (!IpcUtils::UnMarshalling(reply, trustDeviceProfiles)) { in GetAllTrustDeviceProfile()
|
/foundation/deviceprofile/device_info_manager/old/services/core/src/ |
H A D | distributed_device_profile_stub.cpp | 398 std::vector<TrustDeviceProfile> trustDeviceProfiles; in GetAllTrustDeviceProfileInner() local 399 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().GetAllTrustDeviceProfile(trustDeviceProfiles); in GetAllTrustDeviceProfileInner() 404 if (!IpcUtils::Marshalling(reply, trustDeviceProfiles)) { in GetAllTrustDeviceProfileInner()
|
/foundation/distributedhardware/device_manager/test/unittest/mock/ |
H A D | mock_distributed_device_profile_client.cpp | 604 int32_t DistributedDeviceProfileClient::GetAllTrustDeviceProfile(std::vector<TrustDeviceProfile>& trustDeviceProfiles) in GetAllTrustDeviceProfile() argument
|