Home
last modified time | relevance | path

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

/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.h115 std::vector<std::string> fetchColumn; member
H A Dfile_asset_napi.h45 std::vector<std::string> fetchColumn; member
H A Dmedia_library_napi.h444 std::vector<std::string> fetchColumn; member
/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()
187 auto resultSet = UserFileClient::Query(uri, predicates, fetchColumn, errCode); in JSGetHighlightAlbumInfoExecute()
189 context->highlightAlbumInfo = MediaLibraryNapiUtils::ParseResultSet2JsonStr(resultSet, fetchColumn); in JSGetHighlightAlbumInfoExecute()
231 context->fetchColumn.push_back(userActionType); in JSSetHighlightUserActionDataExecute()
240 auto resultSet = UserFileClient::Query(uri, context->predicates, context->fetchColumn, errCode); in JSSetHighlightUserActionDataExecute()
H A Dphoto_album_napi.cpp703 vector<string> fetchColumn = { in FetchNewCount() local
709 fetchColumn.push_back(PhotoAlbumColumns::ALBUM_IMAGE_COUNT); in FetchNewCount()
710 fetchColumn.push_back(PhotoAlbumColumns::ALBUM_VIDEO_COUNT); in FetchNewCount()
712 auto resultSet = UserFileClient::Query(qUri, predicates, fetchColumn, errCode); in FetchNewCount()
971 CHECK_NULLPTR_RET(MediaLibraryNapiUtils::AddDefaultAssetColumns(env, context->fetchColumn, in ParseArgsGetPhotoAssets()
999 context->fetchColumn.insert(context->fetchColumn.begin(), COUNT_GROUP_BY); in JSGetPhotoAssetsExecute()
1002 auto resultSet = UserFileClient::Query(uri, context->predicates, context->fetchColumn, errCode); in JSGetPhotoAssetsExecute()
1031 for (size_t i = 0; i < context->fetchColumn.size(); i++) { in ConvertColumnsForPortrait()
1032 if (context->fetchColumn[ in ConvertColumnsForPortrait()
1405 vector<string> fetchColumn = { GROUP_TAG }; PhotoAccessHelperGetFaceIdExec() local
[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()
3684 static napi_value AddDefaultPhotoAlbumColumns(napi_env env, vector<string> &fetchColumn) in AddDefaultPhotoAlbumColumns() argument
3687 for (const auto &column : fetchColumn) { in AddDefaultPhotoAlbumColumns()
3699 fetchColumn.assign(validFetchColumns.begin(), validFetchColumns.end()); in AddDefaultPhotoAlbumColumns()
3716 auto resultSet = UserFileClient::Query(uri, context->predicates, context->fetchColumn, err); in CompatGetPrivateAlbumExecute()
3801 CHECK_NULLPTR_RET(AddDefaultPhotoAlbumColumns(env, context->fetchColumn)); in ParseArgsGetPrivateAlbum()
5345 CHECK_NULLPTR_RET(MediaLibraryNapiUtils::AddDefaultAssetColumns(env, context->fetchColumn, in ParseArgsGetAssets()
[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.cpp424 context->fetchColumn.push_back(albumName); in GetLocationPredicate()
437 CHECK_STATUS_RET(GetArrayProperty(env, arg, "fetchColumns", context->fetchColumn), in GetFetchOption()
438 "Failed to parse fetchColumn"); in GetFetchOption()
871 napi_value MediaLibraryNapiUtils::AddDefaultAssetColumns(napi_env env, vector<string> &fetchColumn, in AddDefaultAssetColumns() argument
900 for (const auto &column : fetchColumn) { in AddDefaultAssetColumns()
914 fetchColumn.assign(validFetchColumns.begin(), validFetchColumns.end()); in AddDefaultAssetColumns()
H A Dfile_asset_napi.cpp2059 std::vector<std::string> fetchColumn = analysisInfo.fetchColumn; in JSGetAnalysisDataExecute() local
2061 auto resultSet = UserFileClient::Query(uri, predicates, fetchColumn, errCode); in JSGetAnalysisDataExecute()
2063 MediaLibraryNapiUtils::ParseAnalysisFace2JsonStr(resultSet, fetchColumn) : in JSGetAnalysisDataExecute()
2064 MediaLibraryNapiUtils::ParseResultSet2JsonStr(resultSet, fetchColumn); in JSGetAnalysisDataExecute()
2068 std::vector<std::string> fetchColumn = { analysisInfo.fieldStr }; in JSGetAnalysisDataExecute() local
2070 auto fieldValue = UserFileClient::Query(uri, predicates, fetchColumn, errCode); in JSGetAnalysisDataExecute()
2071 string value = MediaLibraryNapiUtils::ParseResultSet2JsonStr(fieldValue, fetchColumn); in JSGetAnalysisDataExecute()
H A Dmedia_asset_manager_napi.cpp300 std::vector<std::string> fetchColumn { PhotoColumn::PHOTO_QUALITY, PhotoColumn::PHOTO_ID}; in QueryPhotoStatus()
310 auto resultSet = UserFileClient::Query(uri, predicates, fetchColumn, errCode); in QueryPhotoStatus()
/foundation/multimedia/media_library/frameworks/js/src/sendable/
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()
716 context->predicates, context->fetchColumn); in JSPhotoAccessGetSharedPhotoAssets()
751 vector<string> fetchColumn in PhotoAccessHelperGetFaceIdExec() local
[all...]
H A Dsendable_photo_access_helper_napi.cpp694 static napi_value AddDefaultPhotoAlbumColumns(napi_env env, vector<string> &fetchColumn) in AddDefaultPhotoAlbumColumns() argument
697 for (const auto &column : fetchColumn) { in AddDefaultPhotoAlbumColumns()
709 fetchColumn.assign(validFetchColumns.begin(), validFetchColumns.end()); in AddDefaultPhotoAlbumColumns()
766 CHECK_NULLPTR_RET(SendableMediaLibraryNapiUtils::AddDefaultAssetColumns(env, context->fetchColumn, in ParseArgsGetAssets()
771 CHECK_NULLPTR_RET(SendableMediaLibraryNapiUtils::AddDefaultAssetColumns(env, context->fetchColumn, in ParseArgsGetAssets()
822 context->predicates, context->fetchColumn, errCode); in PhotoAccessGetAssetsExecute()
825 resultSet = UserFileClient::Query(queryWithUri, context->predicates, context->fetchColumn, errCode); in PhotoAccessGetAssetsExecute()
881 auto resultSet = UserFileClient::Query(uri, context->predicates, context->fetchColumn, errCode); in JSGetPhotoAlbumsExecute()
1010 context->fetchColumn.insert(context->fetchColumn in ParseLocationAlbumTypes()
[all...]
H A Dsendable_file_asset_napi.cpp869 std::vector<std::string> fetchColumn = analysisInfo.fetchColumn; in JSGetAnalysisDataExecute() local
871 auto resultSet = UserFileClient::Query(uri, predicates, fetchColumn, errCode); in JSGetAnalysisDataExecute()
872 context->analysisData = MediaLibraryNapiUtils::ParseResultSet2JsonStr(resultSet, fetchColumn); in JSGetAnalysisDataExecute()
876 std::vector<std::string> fetchColumn = { analysisInfo.fieldStr }; in JSGetAnalysisDataExecute() local
878 auto fieldValue = UserFileClient::Query(uri, predicates, fetchColumn, errCode); in JSGetAnalysisDataExecute()
879 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()
349 "Failed to parse fetchColumn"); in GetFetchOption()
784 napi_value SendableMediaLibraryNapiUtils::AddDefaultAssetColumns(napi_env env, vector<string> &fetchColumn, in AddDefaultAssetColumns() argument
813 for (const auto &column : fetchColumn) { in AddDefaultAssetColumns()
827 fetchColumn.assign(validFetchColumns.begin(), validFetchColumns.end()); in AddDefaultAssetColumns()
/foundation/multimedia/media_library/frameworks/native/c_api/
H A Dmedia_asset_helper_impl.cpp118 std::vector<std::string> fetchColumn { in QueryFileAsset()
132 auto resultSet = UserFileClient::Query(uri, predicates, fetchColumn, errCode); in QueryFileAsset()
/foundation/multimedia/media_library/interfaces/kits/js/include/sendable/
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.h158 std::vector<std::string> fetchColumn; member
H A Dsendable_medialibrary_napi_utils.h208 static napi_value AddDefaultAssetColumns(napi_env env, std::vector<std::string> &fetchColumn,
/foundation/multimedia/media_library/frameworks/native/media_library_asset_manager/src/
H A Dmedia_asset_manager_impl.cpp273 std::vector<std::string> fetchColumn { PhotoColumn::PHOTO_QUALITY, PhotoColumn::PHOTO_ID }; in QueryPhotoStatus()
276 auto resultSet = sDataShareHelper_->Query(uri, predicates, fetchColumn, &errCode); in QueryPhotoStatus()
/foundation/multimedia/media_library/interfaces/kits/js/include/napi/
H A Dmedialibrary_napi_utils.h438 static napi_value AddDefaultAssetColumns(napi_env env, std::vector<std::string> &fetchColumn,

Completed in 94 milliseconds