Home
last modified time | relevance | path

Searched refs:fetchColumn (Results 1 – 25 of 25) sorted by relevance

/ohos5.0/foundation/multimedia/media_library/frameworks/js/src/sendable/
H A Dsendable_photo_access_helper_napi.cpp695 for (const auto &column : fetchColumn) { in AddDefaultPhotoAlbumColumns()
707 fetchColumn.assign(validFetchColumns.begin(), validFetchColumns.end()); in AddDefaultPhotoAlbumColumns()
771 … std::find(context->fetchColumn.begin(), context->fetchColumn.end(), MEDIA_DATA_DB_URI) != in ParseArgsGetAssets()
772 context->fetchColumn.end(); in ParseArgsGetAssets()
834 context->predicates, context->fetchColumn, errCode); in PhotoAccessGetAssetsExecute()
1016 context->fetchColumn.insert(context->fetchColumn.end(), in ParseLocationAlbumTypes()
1140 … context->fetchColumn.erase(std::remove(context->fetchColumn.begin(), context->fetchColumn.end(), in ParseArgsGetPhotoAlbum()
1141 PhotoAlbumColumns::ALBUM_ID), context->fetchColumn.end()); in ParseArgsGetPhotoAlbum()
1240 context->fetchColumn.push_back(PhotoAlbumColumns::HIDDEN_COUNT); in ParseArgsGetHiddenAlbums()
1241 context->fetchColumn.push_back(PhotoAlbumColumns::HIDDEN_COVER); in ParseArgsGetHiddenAlbums()
[all …]
H A Dsendable_photo_album_napi.cpp456 … CHECK_NULLPTR_RET(SendableMediaLibraryNapiUtils::AddDefaultAssetColumns(env, context->fetchColumn, in ParseArgsGetPhotoAssets()
479 for (size_t i = 0; i < context->fetchColumn.size(); i++) { in ConvertColumnsForPortrait()
480 context->fetchColumn[i] = PhotoColumn::PHOTOS_TABLE + "." + context->fetchColumn[i]; in ConvertColumnsForPortrait()
498 for (size_t i = 0; i < context->fetchColumn.size(); i++) { in ConvertColumnsForFeaturedSinglePortrait()
499 context->fetchColumn[i] = PhotoColumn::PHOTOS_TABLE + "." + context->fetchColumn[i]; in ConvertColumnsForFeaturedSinglePortrait()
513 auto resultSet = UserFileClient::Query(uri, context->predicates, context->fetchColumn, errCode); in JSPhotoAccessGetPhotoAssetsExecute()
717 context->predicates, context->fetchColumn); in JSPhotoAccessGetSharedPhotoAssets()
757 vector<string> fetchColumn = { GROUP_TAG }; in PhotoAccessHelperGetFaceIdExec() local
760 auto resultSet = UserFileClient::Query(uri, predicates, fetchColumn, errCode); in PhotoAccessHelperGetFaceIdExec()
H A Dsendable_file_asset_napi.cpp848 std::vector<std::string> fetchColumn; in JSGetAnalysisDataExecute() local
853 fetchColumn = ANALYSIS_SOURCE_INFO_MAP.at(context->analysisType).fetchColumn; in JSGetAnalysisDataExecute()
876 auto resultSet = UserFileClient::Query(uri, predicates, fetchColumn, errCode); in JSGetAnalysisDataExecute()
877 context->analysisData = MediaLibraryNapiUtils::ParseResultSet2JsonStr(resultSet, fetchColumn); in JSGetAnalysisDataExecute()
881 std::vector<std::string> fetchColumn = { fieldStr }; in JSGetAnalysisDataExecute() local
883 auto fieldValue = UserFileClient::Query(uri, predicates, fetchColumn, errCode); in JSGetAnalysisDataExecute()
884 string value = MediaLibraryNapiUtils::ParseResultSet2JsonStr(fieldValue, fetchColumn); in JSGetAnalysisDataExecute()
H A Dsendable_medialibrary_napi_utils.cpp335 context->fetchColumn.push_back(albumName); in GetLocationPredicate()
348 CHECK_STATUS_RET(GetArrayProperty(env, arg, "fetchColumns", context->fetchColumn), in GetFetchOption()
783 napi_value SendableMediaLibraryNapiUtils::AddAssetColumns(napi_env env, vector<string> &fetchColumn, in AddAssetColumns() argument
807 for (const auto &column : fetchColumn) { in AddAssetColumns()
821 fetchColumn.assign(validFetchColumns.begin(), validFetchColumns.end()); in AddAssetColumns()
828 …ue SendableMediaLibraryNapiUtils::AddDefaultAssetColumns(napi_env env, vector<string> &fetchColumn, in AddDefaultAssetColumns() argument
837 return AddAssetColumns(env, fetchColumn, isValidColumn, validFetchColumns, subType); in AddDefaultAssetColumns()
/ohos5.0/foundation/multimedia/media_library/frameworks/js/src/
H A Dhighlight_album_napi.cpp153 std::vector<std::string> fetchColumn; in JSGetHighlightAlbumInfoExecute() local
157 fetchColumn = HIGHLIGHT_ALBUM_INFO_MAP.at(context->highlightAlbumInfoType).fetchColumn; in JSGetHighlightAlbumInfoExecute()
188 auto resultSet = UserFileClient::Query(uri, predicates, fetchColumn, errCode); in JSGetHighlightAlbumInfoExecute()
190 …ontext->highlightAlbumInfo = MediaLibraryNapiUtils::ParseResultSet2JsonStr(resultSet, fetchColumn); in JSGetHighlightAlbumInfoExecute()
232 context->fetchColumn.push_back(userActionType); in JSSetHighlightUserActionDataExecute()
241 auto resultSet = UserFileClient::Query(uri, context->predicates, context->fetchColumn, errCode); in JSSetHighlightUserActionDataExecute()
H A Dphoto_album_napi.cpp704 vector<string> fetchColumn = { in FetchNewCount() local
710 fetchColumn.push_back(PhotoAlbumColumns::ALBUM_IMAGE_COUNT); in FetchNewCount()
711 fetchColumn.push_back(PhotoAlbumColumns::ALBUM_VIDEO_COUNT); in FetchNewCount()
713 auto resultSet = UserFileClient::Query(qUri, predicates, fetchColumn, errCode); in FetchNewCount()
1002 context->fetchColumn.insert(context->fetchColumn.begin(), COUNT_GROUP_BY); in JSGetPhotoAssetsExecute()
1034 for (size_t i = 0; i < context->fetchColumn.size(); i++) { in ConvertColumnsForPortrait()
1035 if (context->fetchColumn[i] != "count(*)") { in ConvertColumnsForPortrait()
1036 context->fetchColumn[i] = PhotoColumn::PHOTOS_TABLE + "." + context->fetchColumn[i]; in ConvertColumnsForPortrait()
1413 vector<string> fetchColumn = { GROUP_TAG }; in PhotoAccessHelperGetFaceIdExec() local
1416 auto resultSet = UserFileClient::Query(uri, predicates, fetchColumn, errCode); in PhotoAccessHelperGetFaceIdExec()
[all …]
H A Dmedia_library_napi.cpp1092 context->fetchColumn = FILE_ASSET_COLUMNS; in GetFileAssetsExecute()
1097 context->fetchColumn.insert(context->fetchColumn.begin(), "count(*)"); in GetFileAssetsExecute()
1113 context->predicates, context->fetchColumn, errCode); in GetFileAssetsExecute()
3587 for (const auto &column : fetchColumn) { in AddDefaultPhotoAlbumColumns()
5344 context->fetchColumn.clear(); in ParseArgsIndexof()
5347 context->fetchColumn.emplace_back(photoUri.GetFileId()); in ParseArgsIndexof()
5355 context->fetchColumn.emplace_back(album); in ParseArgsIndexof()
6151 context->predicates, context->fetchColumn); in PhotoAccessGetFileAssetsExecuteSync()
6972 context->fetchColumn.insert(context->fetchColumn.end(), in ParseLocationAlbumTypes()
7096 … context->fetchColumn.erase(std::remove(context->fetchColumn.begin(), context->fetchColumn.end(), in ParseArgsGetPhotoAlbum()
[all …]
H A Dalbum_napi.cpp754 context->fetchColumn = FILE_ASSET_COLUMNS; in GetFileAssetsNative()
756 context->fetchColumn.push_back(MEDIA_DATA_DB_ID); in GetFileAssetsNative()
757 context->fetchColumn.push_back(MEDIA_DATA_DB_NAME); in GetFileAssetsNative()
758 context->fetchColumn.push_back(MEDIA_DATA_DB_MEDIA_TYPE); in GetFileAssetsNative()
767 UserFileClient::Query(uri, context->predicates, context->fetchColumn, errCode); in GetFileAssetsNative()
H A Dsmart_album_napi.cpp1159 context->fetchColumn = FILE_ASSET_COLUMNS; in GetFileAssetsNative()
1161 context->fetchColumn.push_back(MEDIA_DATA_DB_ID); in GetFileAssetsNative()
1162 context->fetchColumn.push_back(MEDIA_DATA_DB_NAME); in GetFileAssetsNative()
1163 context->fetchColumn.push_back(MEDIA_DATA_DB_MEDIA_TYPE); in GetFileAssetsNative()
1171 auto resultSet = UserFileClient::Query(uri, context->predicates, context->fetchColumn, errCode); in GetFileAssetsNative()
H A Dmedialibrary_napi_utils.cpp422 context->fetchColumn.push_back(albumName); in GetLocationPredicate()
435 CHECK_STATUS_RET(GetArrayProperty(env, arg, "fetchColumns", context->fetchColumn), in GetFetchOption()
866 napi_value MediaLibraryNapiUtils::AddDefaultAssetColumns(napi_env env, vector<string> &fetchColumn, in AddDefaultAssetColumns() argument
895 for (const auto &column : fetchColumn) { in AddDefaultAssetColumns()
909 fetchColumn.assign(validFetchColumns.begin(), validFetchColumns.end()); in AddDefaultAssetColumns()
H A Dfile_asset_napi.cpp2011 std::vector<std::string> fetchColumn; in JSGetAnalysisDataExecute() local
2016 fetchColumn = ANALYSIS_SOURCE_INFO_MAP.at(context->analysisType).fetchColumn; in JSGetAnalysisDataExecute()
2039 auto resultSet = UserFileClient::Query(uri, predicates, fetchColumn, errCode); in JSGetAnalysisDataExecute()
2041 MediaLibraryNapiUtils::ParseAnalysisFace2JsonStr(resultSet, fetchColumn) : in JSGetAnalysisDataExecute()
2042 MediaLibraryNapiUtils::ParseResultSet2JsonStr(resultSet, fetchColumn); in JSGetAnalysisDataExecute()
2046 std::vector<std::string> fetchColumn = { fieldStr }; in JSGetAnalysisDataExecute() local
2048 auto fieldValue = UserFileClient::Query(uri, predicates, fetchColumn, errCode); in JSGetAnalysisDataExecute()
2049 string value = MediaLibraryNapiUtils::ParseResultSet2JsonStr(fieldValue, fetchColumn); in JSGetAnalysisDataExecute()
H A Dmedia_asset_manager_napi.cpp270 std::vector<std::string> fetchColumn { PhotoColumn::PHOTO_QUALITY, PhotoColumn::PHOTO_ID}; in QueryPhotoStatus() local
280 auto resultSet = UserFileClient::Query(uri, predicates, fetchColumn, errCode); in QueryPhotoStatus()
/ohos5.0/foundation/multimedia/media_library/interfaces/kits/js/include/
H A Dhighlight_album_napi.h32 std::vector<std::string> fetchColumn; member
59 std::vector<std::string> fetchColumn; member
H A Dalbum_napi.h122 std::vector<std::string> fetchColumn; member
H A Dsmart_album_napi.h126 std::vector<std::string> fetchColumn; member
H A Dphoto_album_napi.h116 std::vector<std::string> fetchColumn; member
H A Dfile_asset_napi.h45 std::vector<std::string> fetchColumn; member
H A Dmedia_library_napi.h448 std::vector<std::string> fetchColumn; member
H A Dmedialibrary_napi_utils.h752 static napi_value AddDefaultAssetColumns(napi_env env, std::vector<std::string> &fetchColumn,
/ohos5.0/foundation/multimedia/media_library/frameworks/native/c_api/
H A Dmedia_asset_helper_impl.cpp118 std::vector<std::string> fetchColumn { in QueryFileAsset() local
132 auto resultSet = UserFileClient::Query(uri, predicates, fetchColumn, errCode); in QueryFileAsset()
/ohos5.0/foundation/multimedia/media_library/interfaces/kits/js/include/sendable/
H A Dsendable_medialibrary_napi_utils.h207 static napi_value AddDefaultAssetColumns(napi_env env, std::vector<std::string> &fetchColumn,
210 static napi_value AddAssetColumns(napi_env env, std::vector<std::string> &fetchColumn,
H A Dsendable_photo_album_napi.h97 std::vector<std::string> fetchColumn; member
H A Dsendable_file_asset_napi.h44 std::vector<std::string> fetchColumn; member
H A Dsendable_photo_access_helper_napi.h157 std::vector<std::string> fetchColumn; member
/ohos5.0/foundation/multimedia/media_library/frameworks/native/media_library_asset_manager/src/
H A Dmedia_asset_manager_impl.cpp272 std::vector<std::string> fetchColumn { PhotoColumn::PHOTO_QUALITY, PhotoColumn::PHOTO_ID }; in QueryPhotoStatus() local
275 auto resultSet = sDataShareHelper_->Query(uri, predicates, fetchColumn, &errCode); in QueryPhotoStatus()