Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/media_library/interfaces/kits/js/include/sendable/
H A Dsendable_photo_access_helper_napi.h131 std::unique_ptr<FetchResult<PhotoAlbum>> fetchPhotoAlbumResult; member
/ohos5.0/foundation/multimedia/media_library/frameworks/js/src/sendable/
H A Dsendable_photo_access_helper_napi.cpp862 move(context->fetchPhotoAlbumResult)); in GetPhotoAlbumQueryResult()
908 context->fetchPhotoAlbumResult = make_unique<FetchResult<PhotoAlbum>>(move(resultSet)); in JSGetPhotoAlbumsExecute()
909 context->fetchPhotoAlbumResult->SetResultNapiType(context->resultNapiType); in JSGetPhotoAlbumsExecute()
910 context->fetchPhotoAlbumResult->SetHiddenOnly(context->hiddenOnly); in JSGetPhotoAlbumsExecute()
911 context->fetchPhotoAlbumResult->SetLocationOnly(context->isLocationAlbum == in JSGetPhotoAlbumsExecute()
924 if (context->error != ERR_DEFAULT || context->fetchPhotoAlbumResult == nullptr) { in JSGetPhotoAlbumsCompleteCallback()
/ohos5.0/foundation/multimedia/media_library/interfaces/kits/js/include/
H A Dmedia_library_napi.h421 std::unique_ptr<FetchResult<PhotoAlbum>> fetchPhotoAlbumResult; member
/ohos5.0/foundation/multimedia/media_library/frameworks/js/src/
H A Dmedia_library_napi.cpp6245 context->fetchPhotoAlbumResult = make_unique<FetchResult<PhotoAlbum>>(move(resultSet)); in JSGetPhotoAlbumsExecute()
6246 context->fetchPhotoAlbumResult->SetResultNapiType(context->resultNapiType); in JSGetPhotoAlbumsExecute()
6247 context->fetchPhotoAlbumResult->SetHiddenOnly(context->hiddenOnly); in JSGetPhotoAlbumsExecute()
6248 context->fetchPhotoAlbumResult->SetLocationOnly(context->isLocationAlbum == in JSGetPhotoAlbumsExecute()
6271 auto fetchPhotoAlbumResult = make_unique<FetchResult<PhotoAlbum>>(move(resultSet)); in JSGetPhotoAlbumsExecuteSync() local
6272 fetchPhotoAlbumResult->SetResultNapiType(context->resultNapiType); in JSGetPhotoAlbumsExecuteSync()
6273 fetchPhotoAlbumResult->SetHiddenOnly(context->hiddenOnly); in JSGetPhotoAlbumsExecuteSync()
6274fetchPhotoAlbumResult->SetLocationOnly(context->isLocationAlbum == PhotoAlbumSubType::GEOGRAPHY_LO… in JSGetPhotoAlbumsExecuteSync()
6275 if (fetchPhotoAlbumResult->GetCount() <= 0) { in JSGetPhotoAlbumsExecuteSync()
6278 auto photoAlbum = fetchPhotoAlbumResult->GetFirstObject(); in JSGetPhotoAlbumsExecuteSync()
[all …]