mirror of
https://gitee.com/openharmony/deviceprofile_device_info_manager
synced 2024-11-23 15:40:27 +00:00
add log
Signed-off-by: zhanglei <zhanglei730@huawei.com>
This commit is contained in:
parent
926885a8ad
commit
a5f7ae7554
@ -371,7 +371,7 @@ int32_t TrustProfileManager::GetAccessControlProfileByTokenId(int64_t tokenId,
|
||||
HILOGE("GetAccessControlProfileByTokenId::trustDeviceId is invalid");
|
||||
return DP_INVALID_PARAMS;
|
||||
}
|
||||
HILOGI("Params, tokenId : %{public}ld, trustDeviceId : %{public}s, status : %{public}d",
|
||||
HILOGI("Params, tokenId : %{public}" PRId64 ", trustDeviceId : %{public}s, status : %{public}d",
|
||||
tokenId, ProfileUtils::GetAnonyString(trustDeviceId).c_str(), status);
|
||||
std::shared_ptr<ResultSet> resultSet =
|
||||
GetResultSet(SELECT_ACCESS_CONTROL_TABLE_WHERE_STATUS,
|
||||
@ -1805,7 +1805,7 @@ int32_t TrustProfileManager::DeleteAccesserCheck(int64_t accesserId)
|
||||
return DP_DELETE_ACCESSER_PROFILE_FAIL;
|
||||
}
|
||||
}
|
||||
HILOGI("DeleteAccesserId : %{public}ld", accesserId);
|
||||
HILOGI("DeleteAccesserId : %{public}" PRId64, accesserId);
|
||||
return DP_SUCCESS;
|
||||
}
|
||||
|
||||
@ -1923,7 +1923,7 @@ int32_t TrustProfileManager::DeleteAccesseeCheck(int64_t accesseeId)
|
||||
return DP_DELETE_ACCESSEE_PROFILE_FAIL;
|
||||
}
|
||||
}
|
||||
HILOGI("DeleteAccesseeId : %{public}ld", accesseeId);
|
||||
HILOGI("DeleteAccesseeId : %{public}" PRId64, accesseeId);
|
||||
return DP_SUCCESS;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user