Lines Matching defs:trustDeviceId
58 std::string trustDeviceId = item.GetTrustDeviceId();
59 if (trustDeviceId == deviceId || item.GetStatus() != ACTIVE) {
64 LOGI("The udid %{public}s in ACL authForm is %{public}d.", GetAnonyString(trustDeviceId).c_str(), bindType);
68 if (deviceIdMap.find(trustDeviceId) == deviceIdMap.end()) {
69 deviceIdMap[trustDeviceId] = static_cast<DmAuthForm>(bindType);
72 DmAuthForm authForm = deviceIdMap.at(trustDeviceId);
77 deviceIdMap[trustDeviceId] = DmAuthForm::IDENTICAL_ACCOUNT;
81 deviceIdMap[trustDeviceId] = DmAuthForm::PEER_TO_PEER;
165 uint32_t DeviceProfileConnector::CheckBindType(std::string trustDeviceId, std::string requestDeviceId)
172 if (trustDeviceId != item.GetTrustDeviceId() || item.GetStatus() != ACTIVE) {
175 uint32_t priority = static_cast<uint32_t>(GetAuthForm(item, trustDeviceId, requestDeviceId));
385 DmOfflineParam DeviceProfileConnector::GetOfflineParamFromAcl(std::string trustDeviceId, std::string requestDeviceId)
388 GetAnonyString(trustDeviceId).c_str(), GetAnonyString(requestDeviceId).c_str());
395 if (item.GetTrustDeviceId() != trustDeviceId || item.GetStatus() != ACTIVE) {
408 item.GetAccessee().GetAccesseeDeviceId() == trustDeviceId) ||
409 (item.GetAccesser().GetAccesserDeviceId() == trustDeviceId &&
431 accessee.SetAccesseeDeviceId(dmAccessee.trustDeviceId);
440 profile.SetTrustDeviceId(aclInfo.trustDeviceId);