Home
last modified time | relevance | path

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

12

/foundation/filemanagement/dfs_service/adapter/cloud_adapter_example/src/
H A Dcloud_asset_read_session_impl.cpp24 std::string assetPath) in CloudAssetReadSessionImpl()
25 : CloudAssetReadSession(recordType, recordId, assetKey, assetPath) in CloudAssetReadSessionImpl()
21 CloudAssetReadSessionImpl(std::string recordType, std::string recordId, std::string assetKey, std::string assetPath) CloudAssetReadSessionImpl() argument
H A Dcloud_database_impl.cpp31 std::string assetPath) in NewAssetReadSession()
33 return std::make_shared<CloudAssetReadSessionImpl>(recordType, recordId, assetKey, assetPath); in NewAssetReadSession()
28 NewAssetReadSession(std::string recordType, std::string recordId, std::string assetKey, std::string assetPath) NewAssetReadSession() argument
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_smartalbum_map_operations.cpp54 static string MakeSuffixPathName(const string &assetPath) in MakeSuffixPathName() argument
57 size_t extensionIndex = assetPath.rfind("."); in MakeSuffixPathName()
59 string extension = assetPath.substr(extensionIndex); in MakeSuffixPathName()
60 string noExtensionPath = assetPath.substr(0, extensionIndex); in MakeSuffixPathName()
63 outSuffixPath = assetPath + ASSET_RECYCLE_SUFFIX; in MakeSuffixPathName()
310 string assetPath = fileAsset->GetRecyclePath(); in RecycleDir() local
311 while (MediaLibraryObjectUtils::IsFileExistInDb(assetPath)) { in RecycleDir()
313 assetPath = assetPath + DIR_RECYCLE_SUFFIX; in RecycleDir()
316 if (!MediaFileUtils::RenameDir(fileAsset->GetPath(), assetPath)) { in RecycleDir()
389 string assetPath = fileAsset->GetRecyclePath(); RecycleFile() local
[all...]
H A Dmedialibrary_photo_operations.cpp1945 void MediaLibraryPhotoOperations::DeleteAbnormalFile(std::string &assetPath, const int32_t &fileId, in DeleteAbnormalFile() argument
1948 MEDIA_INFO_LOG("DeleteAbnormalFile fileId:%{public}d, assetPath = %{public}s", fileId, assetPath.c_str()); in DeleteAbnormalFile()
1949 MediaLibraryObjectUtils::ScanFileAsync(assetPath, to_string(fileId), MediaLibraryApi::API_10); in DeleteAbnormalFile()
2491 int32_t MediaLibraryPhotoOperations::SaveEditDataCamera(MediaLibraryCommand &cmd, const std::string &assetPath, in SaveEditDataCamera() argument
2495 string editDataCameraPath = GetEditDataCameraPath(assetPath); in SaveEditDataCamera()
2514 string assetPath = fileAsset->GetFilePath(); in SaveSourceAndEditData() local
2515 CHECK_AND_RETURN_RET_LOG(!assetPath.empty(), E_INVALID_VALUES, "Failed to get asset path"); in SaveSourceAndEditData()
2516 string editDataPath = GetEditDataPath(assetPath); in SaveSourceAndEditData()
2520 string editDataDirPath = GetEditDataDirPath(assetPath); in SaveSourceAndEditData()
2678 string assetPath = fileAsset->GetFilePath(); SavePicture() local
2702 string assetPath = fileAsset->GetFilePath(); AddFiltersExecute() local
2744 AddFiltersForCloudEnhancementPhoto(int32_t fileId, const string& assetPath, const string& editDataCameraSourcePath, const string& mimeType) AddFiltersForCloudEnhancementPhoto() argument
2789 string assetPath = fileAsset->GetFilePath(); SubmitEditCacheExecute() local
2828 string assetPath = fileAsset->GetFilePath(); SubmitCacheExecute() local
2853 SaveSourceVideoFile(MediaLibraryCommand& cmd, const shared_ptr<FileAsset>& fileAsset, const string& assetPath) SaveSourceVideoFile() argument
2876 string assetPath = fileAsset->GetFilePath(); SubmitEditMovingPhotoExecute() local
2920 string assetPath = fileAsset->GetPath(); GetMovingPhotoCachePath() local
2969 string assetPath = fileAsset->GetPath(); SubmitEffectModeExecute() local
[all...]
/foundation/multimedia/ringtone_library/test/unittest/ringtone_helper_test/src/
H A Dvibrate_asset_test.cpp63 auto assetPath = g_vibrateAsset->GetPath(); in HWTEST_F() local
64 EXPECT_EQ(assetPath, ""); in HWTEST_F()
67 assetPath = g_vibrateAsset->GetPath(); in HWTEST_F()
68 EXPECT_EQ(assetPath, path); in HWTEST_F()
H A Dringtone_asset_test.cpp84 auto assetPath = g_ringtoneAsset->GetPath(); in HWTEST_F() local
85 EXPECT_EQ(assetPath, ""); in HWTEST_F()
88 assetPath = g_ringtoneAsset->GetPath(); in HWTEST_F()
89 EXPECT_EQ(assetPath, path); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components/plugin/
H A Dhap_asset_provider_impl.cpp87 std::string assetPath = basePath + path; in GetAssetList() local
88 bool res = runtimeExtractor_->IsDirExist(assetPath); in GetAssetList()
92 res = runtimeExtractor_->GetFileList(assetPath, assetList); in GetAssetList()
H A Dhap_asset_provider.cpp86 std::string assetPath = basePath + path; in GetAssetList() local
87 bool res = runtimeExtractor_->IsDirExist(assetPath); in GetAssetList()
91 res = runtimeExtractor_->GetFileList(assetPath, assetList); in GetAssetList()
/foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/
H A Dcloud_database.cpp29 std::string assetPath) in NewAssetReadSession()
31 return std::make_shared<CloudAssetReadSession>(recordType, recordId, assetKey, assetPath); in NewAssetReadSession()
26 NewAssetReadSession(std::string recordType, std::string recordId, std::string assetKey, std::string assetPath) NewAssetReadSession() argument
H A Dcloud_asset_read_session.cpp25 std::string assetPath) in CloudAssetReadSession()
22 CloudAssetReadSession(std::string recordType, std::string recordId, std::string assetKey, std::string assetPath) CloudAssetReadSession() argument
/foundation/arkui/ace_engine/frameworks/core/common/
H A Dasset_manager_impl.cpp94 std::string assetPath = assetProvider->GetAssetPath(assetName, isAddHapPath); in GetAssetPath() local
95 if (!assetPath.empty()) { in GetAssetPath()
96 return assetPath; in GetAssetPath()
/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dace_ability.cpp72 std::string GetCustomAssetPath(std::string assetPath) in GetCustomAssetPath() argument
74 if (assetPath.empty()) { in GetCustomAssetPath()
79 if (OHOS::Ace::Framework::EndWith(assetPath, DELIMITER)) { in GetCustomAssetPath()
80 assetPath = assetPath.substr(0, assetPath.size() - 1); in GetCustomAssetPath()
82 customAssetPath = assetPath.substr(0, assetPath.find_last_of(DELIMITER) + 1); in GetCustomAssetPath()
90 LOGI("runArgs.asset: %{private}s", runArgs.assetPath.c_str()); in DumpAceRunArgs()
293 paths.push_back(runArgs_.assetPath); in InitEnv()
[all...]
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dhap_asset_provider_impl.cpp128 std::string assetPath = basePath + path; in GetAssetList() local
129 bool res = runtimeExtractor_->IsDirExist(assetPath); in GetAssetList()
133 res = runtimeExtractor_->GetFileList(assetPath, assetList); in GetAssetList()
H A Dfile_asset_provider_impl.cpp124 std::string assetPath = packagePath_ + basePath + path; in GetAssetList() local
125 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(assetPath.c_str()), closedir); in GetAssetList()
/foundation/arkui/ace_engine/adapter/preview/entrance/samples/
H A Dace_phone_test.cpp82 .assetPath = assetPathJs, in main()
95 args.assetPath = assetPathEts; in main()
98 args.assetPath = assetPathEtsStage; in main()
H A Dace_car_test.cpp79 .assetPath = assetPathJs, in main()
94 args.assetPath = assetPathEts; in main()
97 args.assetPath = assetPathEtsStage; in main()
H A Dace_tablet_test.cpp80 .assetPath = assetPathJs, in main()
95 args.assetPath = assetPathEts; in main()
98 args.assetPath = assetPathEtsStage; in main()
H A Dace_card_test.cpp85 .assetPath = assetPathJs, in main()
99 args.assetPath = assetPathEtsStage; in main()
H A Dace_tv_test.cpp66 .assetPath = assetPathJs, in main()
78 args.assetPath = assetPathEts; in main()
H A Dace_wearable_test.cpp65 .assetPath = assetPathJs, in main()
77 args.assetPath = assetPathEts; in main()
/foundation/filemanagement/dfs_service/adapter/cloud_adapter_example/include/
H A Dcloud_asset_read_session_impl.h27 std::string assetPath);
H A Dcloud_database_impl.h28 std::string assetPath) override;
/foundation/filemanagement/dfs_service/interfaces/inner_api/native/cloud_file_kit_inner/
H A Dcloud_database.h32 std::string assetPath);
H A Dcloud_asset_read_session.h27 CloudAssetReadSession(std::string recordType, std::string recordId, std::string assetKey, std::string assetPath);
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/utils/
H A Djsi_module_searcher.h24 explicit JsiModuleSearcher(const std::string& bundleName, const std::string& assetPath);

Completed in 14 milliseconds

12