Home
last modified time | relevance | path

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

12

/ohos5.0/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()
63 outSuffixPath = assetPath + ASSET_RECYCLE_SUFFIX; in MakeSuffixPathName()
310 string assetPath = fileAsset->GetRecyclePath(); in RecycleDir() local
313 assetPath = assetPath + DIR_RECYCLE_SUFFIX; in RecycleDir()
324 fileAsset->SetRecyclePath(assetPath); in RecycleDir()
329 values.PutString(MEDIA_DATA_DB_RECYCLE_PATH, assetPath); in RecycleDir()
389 string assetPath = fileAsset->GetRecyclePath(); in RecycleFile() local
392 assetPath = MakeSuffixPathName(assetPath); in RecycleFile()
[all …]
H A Dmedialibrary_photo_operations.cpp2460 string assetPath = fileAsset->GetFilePath(); in SaveSourceAndEditData() local
2627 string assetPath = fileAsset->GetFilePath(); in SavePicture() local
2635 MediaFileUtils::CopyFileUtil(assetPath, GetEditDataSourcePath(assetPath)); in SavePicture()
2671 string assetPath = fileAsset->GetFilePath(); in AddFiltersExecute() local
2751 string assetPath = fileAsset->GetFilePath(); in SubmitEditCacheExecute() local
2760 ScanFile(assetPath, false, true, true); in SubmitEditCacheExecute()
2770 NotifyFormMap(id, assetPath, false); in SubmitEditCacheExecute()
2810 ScanFile(assetPath, false, true, true); in SubmitCacheExecute()
2881 string assetPath = fileAsset->GetPath(); in GetMovingPhotoCachePath() local
2930 string assetPath = fileAsset->GetPath(); in SubmitEffectModeExecute() local
[all …]
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dhap_asset_provider_impl.cpp134 std::string assetPath = basePath + path; in GetAssetList() local
135 bool res = runtimeExtractor_->IsDirExist(assetPath); in GetAssetList()
137 LOGD("IsDirExist failed: %{public}s %{public}s", hapPath_.c_str(), assetPath.c_str()); in GetAssetList()
140 res = runtimeExtractor_->GetFileList(assetPath, assetList); in GetAssetList()
142 LOGD("GetAssetList failed: %{public}s %{public}s", hapPath_.c_str(), assetPath.c_str()); in GetAssetList()
H A Dfile_asset_provider_impl.cpp129 std::string assetPath = packagePath_ + basePath + path; in GetAssetList() local
130 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(assetPath.c_str()), closedir); in GetAssetList()
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dace_ability.cpp69 std::string GetCustomAssetPath(std::string assetPath) in GetCustomAssetPath() argument
71 if (assetPath.empty()) { in GetCustomAssetPath()
76 if (OHOS::Ace::Framework::EndWith(assetPath, DELIMITER)) { in GetCustomAssetPath()
77 assetPath = assetPath.substr(0, assetPath.size() - 1); in GetCustomAssetPath()
79 customAssetPath = assetPath.substr(0, assetPath.find_last_of(DELIMITER) + 1); in GetCustomAssetPath()
87 LOGI("runArgs.asset: %{private}s", runArgs.assetPath.c_str()); in DumpAceRunArgs()
290 paths.push_back(runArgs_.assetPath); in InitEnv()
298 paths.push_back(runArgs_.assetPath + DELIMITER + "ets"); in InitEnv()
303 paths.push_back(GetCustomAssetPath(runArgs_.assetPath) + ASSET_PATH_SHARE); in InitEnv()
369 container->InitializeAppConfig(runArgs_.assetPath, bundleName_, moduleName_, compileMode_); in InitEnv()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/plugin/
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()
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()
/ohos5.0/foundation/filemanagement/dfs_service/adapter/cloud_adapter_example/src/
H A Dcloud_asset_read_session_impl.cpp24 std::string assetPath) in CloudAssetReadSessionImpl() argument
25 : CloudAssetReadSession(recordType, recordId, assetKey, assetPath) in CloudAssetReadSessionImpl()
H A Dcloud_database_impl.cpp31 std::string assetPath) in NewAssetReadSession() argument
33 return std::make_shared<CloudAssetReadSessionImpl>(recordType, recordId, assetKey, assetPath); in NewAssetReadSession()
/ohos5.0/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()
/ohos5.0/foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/
H A Dcloud_database.cpp29 std::string assetPath) in NewAssetReadSession() argument
31 return std::make_shared<CloudAssetReadSession>(recordType, recordId, assetKey, assetPath); in NewAssetReadSession()
H A Dcloud_asset_read_session.cpp25 std::string assetPath) in CloudAssetReadSession() argument
/ohos5.0/foundation/multimedia/ringtone_library/test/unittest/ringtone_helper_test/src/
H A Dringtone_asset_test.cpp84 auto assetPath = g_ringtoneAsset->GetPath(); variable
85 EXPECT_EQ(assetPath, "");
88 assetPath = g_ringtoneAsset->GetPath();
89 EXPECT_EQ(assetPath, path);
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/entrance/samples/
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_phone_test.cpp82 .assetPath = assetPathJs, in main()
95 args.assetPath = assetPathEts; in main()
98 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_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()
H A Dace_card_test.cpp85 .assetPath = assetPathJs, in main()
99 args.assetPath = assetPathEtsStage; in main()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/
H A Dmedialibrary_photo_operations.h74 …ORT static int32_t AddFiltersForCloudEnhancementPhoto(int32_t fileId, const std::string& assetPath,
108 static int32_t SaveEditDataCamera(MediaLibraryCommand &cmd, const std::string &assetPath,
112 const std::string &assetPath);
148 …static void DeleteAbnormalFile(std::string &assetPath, const int32_t &fileId, const std::string &o…
/ohos5.0/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;
/ohos5.0/foundation/filemanagement/dfs_service/interfaces/inner_api/native/cloud_file_kit_inner/
H A Dcloud_asset_read_session.h27 …Session(std::string recordType, std::string recordId, std::string assetKey, std::string assetPath);
H A Dcloud_database.h32 std::string assetPath);
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_worker.cpp477 std::string assetPath = basePath + path; in GetAmi() local
478 TAG_LOGI(AAFwkTag::JSRUNTIME, "assetPath: %{private}s", assetPath.c_str()); in GetAmi()
479 bool res = extractor->IsDirExist(assetPath); in GetAmi()
483 res = extractor->GetFileList(assetPath, files); in GetAmi()

12