Home
last modified time | relevance | path

Searched refs:photoUri (Results 1 - 13 of 13) sorted by relevance

/foundation/multimedia/media_library/interfaces/kits/js/include/
H A Dmoving_photo_napi.h30 MovingPhotoNapi(const std::string& photoUri) : photoUri_(photoUri) {}; in MovingPhotoNapi() argument
35 static napi_value NewMovingPhotoNapi(napi_env env, const string& photoUri, SourceMode sourceMode);
H A Dcloud_enhancement_napi.h100 std::string photoUri; member
H A Dmedia_asset_manager_napi.h88 std::string photoUri; member
138 static MultiStagesCapturePhotoStatus QueryPhotoStatus(int fileId, const string& photoUri,
/foundation/multimedia/media_library/frameworks/js/src/
H A Dmedia_asset_manager_napi.cpp241 env, dataHandlerRef, asyncContext->returnDataType, asyncContext->photoUri, asyncContext->destUri, in InsertDataHandler()
248 asyncContext->photoUri, mediaAssetDataHandler, threadSafeFunc); in InsertDataHandler()
251 NAPI_INFO_LOG("Add %{public}d, %{public}s, %{public}s, %{public}p", notifyMode, asyncContext->photoUri.c_str(), in InsertDataHandler()
260 InsertInProcessMapRecord(asyncContext->photoUri, asyncContext->requestId, assetHandler); in InsertDataHandler()
295 const string& photoUri, std::string &photoId, bool hasReadPermission) in QueryPhotoStatus()
305 queryUri = photoUri; in QueryPhotoStatus()
639 auto uriLocal = MediaFileUtils::GetUriWithoutDisplayname(asyncContext->photoUri); in RegisterTaskObserver()
640 NAPI_INFO_LOG("uri: %{public}s, %{public}s", asyncContext->photoUri.c_str(), uriLocal.c_str()); in RegisterTaskObserver()
641 Uri uri(asyncContext->photoUri); in RegisterTaskObserver()
665 if (ParseArgGetPhotoAsset(env, asyncContext->argv[PARAM1], asyncContext->fileId, asyncContext->photoUri, in ParseRequestMediaArgs()
294 QueryPhotoStatus(int fileId, const string& photoUri, std::string &photoId, bool hasReadPermission) QueryPhotoStatus() argument
[all...]
H A Dmoving_photo_napi.cpp69 char photoUri[PATH_MAX]; in Constructor() local
70 CHECK_ARGS(env, napi_get_value_string_utf8(env, argv[PARAM0], photoUri, PATH_MAX, &result), JS_INNER_FAIL); in Constructor()
72 unique_ptr<MovingPhotoNapi> obj = make_unique<MovingPhotoNapi>(string(photoUri)); in Constructor()
467 napi_value MovingPhotoNapi::NewMovingPhotoNapi(napi_env env, const string& photoUri, in NewMovingPhotoNapi() argument
473 napi_status status = napi_create_string_utf8(env, photoUri.c_str(), NAPI_AUTO_LENGTH, &napiStringUri); in NewMovingPhotoNapi()
H A Dcloud_enhancement_napi.cpp526 if (CloudEnhancementNapi::ParseArgGetPhotoAsset(env, context->argv[PARAM0], context->fileId, context->photoUri, in ParseArgPrioritize()
533 NAPI_INFO_LOG("Parse Arg: %{public}d, %{private}s, %{public}s", context->fileId, context->photoUri.c_str(), in ParseArgPrioritize()
547 context->predicates.EqualTo(MediaColumn::MEDIA_ID, context->photoUri); in PrioritizeCloudEnhancementTaskExecute()
745 if (CloudEnhancementNapi::ParseArgGetPhotoAsset(env, context->argv[PARAM0], context->fileId, context->photoUri, in ParseArgQuery()
752 NAPI_INFO_LOG("Parse Arg: %{public}d, %{private}s, %{public}s", context->fileId, context->photoUri.c_str(), in ParseArgQuery()
819 context->predicates.EqualTo(MediaColumn::MEDIA_ID, context->photoUri); in QueryCloudEnhancementTaskStateExecute()
976 NAPI_INFO_LOG("CloudEnhancementNAPI context->photoUri is %{private}s", context->photoUri.c_str()); in GetCloudEnhancementPairExecute()
977 context->predicates.EqualTo(MediaColumn::MEDIA_ID, context->photoUri); in GetCloudEnhancementPairExecute()
H A Dmedia_library_napi.cpp2525 Uri photoUri(queryUri); in GetSharedPhotoAssets()
2529 std::shared_ptr<NativeRdb::AbsSharedResultSet> result = UserFileClient::QueryRdb(photoUri, predicates, columns); in GetSharedPhotoAssets()
5444 MediaFileUri photoUri(uri); in ParseArgsIndexof()
5445 CHECK_COND(env, photoUri.GetUriType() == API10_PHOTO_URI, JS_ERR_PARAMETER_INVALID); in ParseArgsIndexof()
5446 context->fetchColumn.emplace_back(photoUri.GetFileId()); in ParseArgsIndexof()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_cloud_enhancement_test/src/
H A Dmedialibrary_cloud_enhancement_test.cpp372 string photoUri = "file://media/Photo/1/IMG_1722329102_000/" + TESTING_DISPLAYNAME; in HWTEST_F() local
373 predicates.EqualTo(MediaColumn::MEDIA_ID, photoUri); in HWTEST_F()
419 string photoUri = "file://media/Photo/1/IMG_1722329102_000/" + TESTING_DISPLAYNAME; in HWTEST_F() local
420 predicates.EqualTo(MediaColumn::MEDIA_ID, photoUri); in HWTEST_F()
443 string photoUri = "file://media/Photo/0/IMG_1722329102_000/" + TESTING_DISPLAYNAME; in HWTEST_F() local
444 uris.emplace_back(photoUri); in HWTEST_F()
500 string photoUri = "file://media/Photo/" + to_string(fileId) + "/IMG_1722329102_000/" + TESTING_DISPLAYNAME; in HWTEST_F() local
502 uris.emplace_back(photoUri); in HWTEST_F()
520 string photoUri = "file://media/Photo/" + to_string(fileId) + "/IMG_1722329102_000/" + TESTING_DISPLAYNAME; in HWTEST_F() local
522 predicates.EqualTo(MediaColumn::MEDIA_ID, photoUri); in HWTEST_F()
549 string photoUri = "file://media/Photo/" + to_string(fileId) + "/IMG_1722329102_000/" + TESTING_DISPLAYNAME; HWTEST_F() local
598 string photoUri = "file://media/Photo/" + to_string(fileId) + "/IMG_1722329102_000/" + TESTING_DISPLAYNAME; HWTEST_F() local
[all...]
/foundation/multimedia/media_library/interfaces/inner_api/media_library_helper/include/
H A Dmedia_asset_manager_impl.h33 std::string NativeRequestImage(const char* photoUri, const NativeRequestOptions &requestOptions,
H A Dmedia_asset_manager.h87 virtual std::string NativeRequestImage(const char* photoUri, const NativeRequestOptions &requestOptions,
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/fuzztest/medialibraryenhancement_fuzzer/
H A Dmedialibraryenhancement_fuzzer.cpp256 string photoUri = prefix + "1/IMG_1722329102_000/" + TESTING_DISPLAYNAME; in EnhancementManagerTest() local
257 predicates.EqualTo(Media::MediaColumn::MEDIA_ID, photoUri); in EnhancementManagerTest()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/media_library_manager_test/src/
H A Dmedia_library_manager_test.cpp342 string photoUri = CreatePhotoAsset("test.jpg"); in CreateOwnerPrivliegeAssets() local
344 string fileId = MediaFileUtils::GetIdFromUri(photoUri); in CreateOwnerPrivliegeAssets()
353 return photoUri; in CreateOwnerPrivliegeAssets()
997 auto photoUri = CreatePhotoAsset("test.jpg"); in HWTEST_F() local
1001 photoUris.push_back(photoUri); in HWTEST_F()
1004 photoInColumn.push_back(MediaFileUtils::GetIdFromUri(photoUri)); in HWTEST_F()
/foundation/multimedia/media_library/frameworks/native/media_library_asset_manager/src/
H A Dmedia_asset_manager_impl.cpp391 std::string MediaAssetManagerImpl::NativeRequestImage(const char* photoUri, in NativeRequestImage() argument
394 if (photoUri == nullptr || destUri == nullptr || callback == nullptr) { in NativeRequestImage()
405 asyncContext->requestUri = std::string(photoUri); in NativeRequestImage()

Completed in 28 milliseconds