日志整改

Signed-off-by: wangjin_123 <wangjin193@huawei.com>
This commit is contained in:
wangjin_123 2024-01-25 11:23:06 +08:00
parent 34c4ac0bdb
commit edc6122a93
2 changed files with 3 additions and 3 deletions

View File

@ -169,9 +169,9 @@ RetError AccessibleAbilityChannelClient::ExecuteAction(int32_t accessibilityWind
RetError AccessibleAbilityChannelClient::SearchElementInfosByAccessibilityId(int32_t accessibilityWindowId,
int64_t elementId, int32_t mode, std::vector<AccessibilityElementInfo> &elementInfos)
{
{
int32_t requestId = GenerateRequestId();
HILOG_DEBUG("[channelId:%{public}d] elementId:[%{public}" PRId64 "] [windowId:%{public}d] [requestId:%{public}d]",
HILOG_DEBUG("channelId:%{public}d, elementId:%{public}" PRId64 ", windowId:%{public}d, requestId:%{public}d",
channelId_, elementId, accessibilityWindowId, requestId);
HITRACE_METER_NAME(HITRACE_TAG_ACCESSIBILITY_MANAGER, "SearchElementById");
if (!proxy_) {

View File

@ -43,7 +43,7 @@ void AccessibilityElementOperatorImpl::SearchElementInfoByAccessibilityId(const
const int32_t requestId, const sptr<IAccessibilityElementOperatorCallback> &callback, const int32_t mode)
{
int32_t mRequestId = AddRequest(requestId, callback);
HILOG_DEBUG("search element add requestId[%{public}d] elementId:[%{public}" PRId64 "] [requestId:%{public}d]",
HILOG_DEBUG("search element add requestId[%{public}d], elementId[%{public}" PRId64 "], requestId[%{public}d]",
mRequestId, elementId, requestId);
if (operator_) {
operator_->SearchElementInfoByAccessibilityId(elementId, mRequestId, operatorCallback_, mode);