Home
last modified time | relevance | path

Searched refs:suffixString (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dptp_media_sync_observer.cpp255 void MediaSyncObserver::SendPhotoRemoveEvent(std::string &suffixString) in SendPhotoRemoveEvent() argument
259 if (suffixString.empty()) { in SendPhotoRemoveEvent()
271 …SendEventPackets(atoi(suffixString.c_str()) + COMMON_PHOTOS_OFFSET, MTP_EVENT_OBJECT_REMOVED_CODE); in SendPhotoRemoveEvent()
272 …SendEventPackets(atoi(suffixString.c_str()) + COMMON_MOVING_OFFSET, MTP_EVENT_OBJECT_REMOVED_CODE); in SendPhotoRemoveEvent()
274 allDeletedHandles.push_back(suffixString); in SendPhotoRemoveEvent()
282 void MediaSyncObserver::SendPhotoEvent(ChangeType changeType, string suffixString) in SendPhotoEvent() argument
284 if (!suffixString.empty() && !std::isdigit(suffixString[0])) { in SendPhotoEvent()
287 if (!suffixString.empty() && atoi(suffixString.c_str()) <= 0) { in SendPhotoEvent()
293 AddPhotoHandle(atoi(suffixString.c_str())); in SendPhotoEvent()
298 GetAddEditPhotoHandles(atoi(suffixString.c_str())); in SendPhotoEvent()
[all …]
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/include/
H A Dptp_media_sync_observer.h57 void SendPhotoEvent(ChangeType changeType, std::string suffixString);
65 void SendPhotoRemoveEvent(std::string &suffixString);