update mtp module changes

Signed-off-by: zhangdaiyue <zhangdaiyue1@huawei.com>
This commit is contained in:
zhangdaiyue
2022-11-18 07:14:39 +00:00
parent 9cb46ae102
commit f50a0a1a67
3 changed files with 0 additions and 9 deletions
-2
View File
@@ -1,3 +1 @@
.vscode/*
frameworks/services/media_mtp/.vscode/
frameworks/services/media_mtp/t
@@ -121,7 +121,6 @@ bool MtpFileObserver::WatchPathThread(const ContextSptr &context)
SendBattery(context);
if (watchMap_.size() > 0) {
AddInotifyEvents(inotifyFd_, context);
MEDIA_DEBUG_LOG("MtpFileObserver WatchPathThread watchPairs.size:%{public}u", watchMap_.size());
}
}
return true;
@@ -36,12 +36,6 @@ void ObjectInfo::Dump()
MEDIA_DEBUG_LOG(" association={type=%{public}s(%{public}x), desc=%{public}x}",
MtpPacketTool::GetAssociationName(associationType).c_str(), associationType, associationDesc);
std::string dateCreatedStr = MtpPacketTool::FormatDateTime(dateCreated);
std::string dateModifiedStr = MtpPacketTool::FormatDateTime(dateModified);
MEDIA_DEBUG_LOG(" sequenceNumber=%{public}u,"
" date={create=%{public}s(%{public}lld), modify=%{public}s(%{public}lld)}",
sequenceNumber, dateCreatedStr.c_str(), dateCreated, dateModifiedStr.c_str(), dateModified);
MEDIA_DEBUG_LOG(" protectionStatus=%{public}u, compressedSize=%{public}u, size=%{public}u",
protectionStatus, compressedSize, size);