Home
last modified time | relevance | path

Searched refs:aclProfiles (Results 1 - 3 of 3) sorted by relevance

/foundation/deviceprofile/device_info_manager/common/src/utils/
H A Dipc_utils.cpp42 bool IpcUtils::Marshalling(MessageParcel& parcel, const std::vector<AccessControlProfile>& aclProfiles) in Marshalling() argument
44 if (aclProfiles.empty() || aclProfiles.size() > MAX_PROFILE_SIZE) { in Marshalling()
45 HILOGE("profile size is invalid!size : %{public}zu", aclProfiles.size()); in Marshalling()
48 uint32_t size = aclProfiles.size(); in Marshalling()
50 for (const auto& profile : aclProfiles) { in Marshalling()
155 bool IpcUtils::UnMarshalling(MessageParcel& parcel, std::vector<AccessControlProfile>& aclProfiles) in UnMarshalling() argument
168 aclProfiles.emplace_back(aclProfile); in UnMarshalling()
/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_deviceprofile.cpp133 std::vector<OHOS::DistributedDeviceProfile::AccessControlProfile> aclProfiles; in IsPotentialTrustedDeviceDp() local
134 int32_t ret = DpClient::GetInstance().GetAllAccessControlProfile(aclProfiles); in IsPotentialTrustedDeviceDp()
139 if (aclProfiles.empty()) { in IsPotentialTrustedDeviceDp()
140 LNN_LOGE(LNN_STATE, "aclProfiles is empty"); in IsPotentialTrustedDeviceDp()
147 if (IsTrustDevice(aclProfiles, deviceIdHash, anonyDeviceIdHash)) { in IsPotentialTrustedDeviceDp()
220 std::vector<OHOS::DistributedDeviceProfile::AccessControlProfile> aclProfiles; in InsertDpSameAccount() local
221 int32_t ret = DpClient::GetInstance().GetAllAccessControlProfile(aclProfiles); in InsertDpSameAccount()
226 for (const auto &aclProfile : aclProfiles) { in InsertDpSameAccount()
/foundation/deviceprofile/device_info_manager/common/include/utils/
H A Dipc_utils.h41 static bool Marshalling(MessageParcel& parcel, const std::vector<AccessControlProfile>& aclProfiles);
49 static bool UnMarshalling(MessageParcel& parcel, std::vector<AccessControlProfile>& aclProfiles);

Completed in 2 milliseconds