Home
last modified time | relevance | path

Searched refs:trashAlbumId (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dphoto_map_operations.cpp320 int trashAlbumId = watch->GetAlbumIdBySubType(PhotoAlbumSubType::TRASH); in RemovePhotoAssets() local
321 if (trashAlbumId <= 0) { in RemovePhotoAssets()
322 …IA_ERR_LOG("Trash album id error: %{public}d, trash album notification unavailable", trashAlbumId); in RemovePhotoAssets()
327 …>Notify(MediaFileUtils::Encode(uriWhereArgs[i]), NotifyType::NOTIFY_ALBUM_ADD_ASSET, trashAlbumId); in RemovePhotoAssets()
H A Dmedialibrary_asset_operations.cpp1518 int trashAlbumId = watch->GetAlbumIdBySubType(PhotoAlbumSubType::TRASH); in UpdateAlbumsAndSendNotifyInTrash() local
1519 if (trashAlbumId <= 0) { in UpdateAlbumsAndSendNotifyInTrash()
1524 watch->Notify(notifyData->notifyUri, type, trashAlbumId); in UpdateAlbumsAndSendNotifyInTrash()
2164 int trashAlbumId = watch->GetAlbumIdBySubType(PhotoAlbumSubType::TRASH); in DeleteFiles() local
2165 if (trashAlbumId <= 0) { in DeleteFiles()
2166 MEDIA_WARN_LOG("Failed to get trash album id: %{public}d", trashAlbumId); in DeleteFiles()
2170 …ch->Notify(MediaFileUtils::Encode(notifyUri), NotifyType::NOTIFY_ALBUM_REMOVE_ASSET, trashAlbumId); in DeleteFiles()
H A Dmedialibrary_album_operations.cpp1361 int trashAlbumId = watch->GetAlbumIdBySubType(PhotoAlbumSubType::TRASH); in RecoverPhotoAssets() local
1362 if (trashAlbumId > 0) { in RecoverPhotoAssets()
1364 …>Notify(MediaFileUtils::Encode(whereArgs[i]), NotifyType::NOTIFY_ALBUM_REMOVE_ASSET, trashAlbumId); in RecoverPhotoAssets()
H A Dmedialibrary_photo_operations.cpp756 int trashAlbumId = watch->GetAlbumIdBySubType(PhotoAlbumSubType::TRASH); in TrashPhotosSendNotify() local
757 if (trashAlbumId <= 0) { in TrashPhotosSendNotify()
771 watch->Notify(notifyUris[0], NotifyType::NOTIFY_ALBUM_ADD_ASSET, trashAlbumId); in TrashPhotosSendNotify()