/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_smartalbum_map_operations.cpp | 54 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 D | medialibrary_photo_operations.cpp | 2460 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 D | hap_asset_provider_impl.cpp | 134 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 D | file_asset_provider_impl.cpp | 129 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 D | ace_ability.cpp | 69 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 D | hap_asset_provider.cpp | 86 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 D | hap_asset_provider_impl.cpp | 87 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 D | cloud_asset_read_session_impl.cpp | 24 std::string assetPath) in CloudAssetReadSessionImpl() argument 25 : CloudAssetReadSession(recordType, recordId, assetKey, assetPath) in CloudAssetReadSessionImpl()
|
H A D | cloud_database_impl.cpp | 31 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 D | asset_manager_impl.cpp | 94 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 D | cloud_database.cpp | 29 std::string assetPath) in NewAssetReadSession() argument 31 return std::make_shared<CloudAssetReadSession>(recordType, recordId, assetKey, assetPath); in NewAssetReadSession()
|
H A D | cloud_asset_read_session.cpp | 25 std::string assetPath) in CloudAssetReadSession() argument
|
/ohos5.0/foundation/multimedia/ringtone_library/test/unittest/ringtone_helper_test/src/ |
H A D | ringtone_asset_test.cpp | 84 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 D | ace_car_test.cpp | 79 .assetPath = assetPathJs, in main() 94 args.assetPath = assetPathEts; in main() 97 args.assetPath = assetPathEtsStage; in main()
|
H A D | ace_phone_test.cpp | 82 .assetPath = assetPathJs, in main() 95 args.assetPath = assetPathEts; in main() 98 args.assetPath = assetPathEtsStage; in main()
|
H A D | ace_tablet_test.cpp | 80 .assetPath = assetPathJs, in main() 95 args.assetPath = assetPathEts; in main() 98 args.assetPath = assetPathEtsStage; in main()
|
H A D | ace_tv_test.cpp | 66 .assetPath = assetPathJs, in main() 78 args.assetPath = assetPathEts; in main()
|
H A D | ace_wearable_test.cpp | 65 .assetPath = assetPathJs, in main() 77 args.assetPath = assetPathEts; in main()
|
H A D | ace_card_test.cpp | 85 .assetPath = assetPathJs, in main() 99 args.assetPath = assetPathEtsStage; in main()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/ |
H A D | medialibrary_photo_operations.h | 74 …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 D | cloud_asset_read_session_impl.h | 27 std::string assetPath);
|
H A D | cloud_database_impl.h | 28 std::string assetPath) override;
|
/ohos5.0/foundation/filemanagement/dfs_service/interfaces/inner_api/native/cloud_file_kit_inner/ |
H A D | cloud_asset_read_session.h | 27 …Session(std::string recordType, std::string recordId, std::string assetKey, std::string assetPath);
|
H A D | cloud_database.h | 32 std::string assetPath);
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | js_worker.cpp | 477 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()
|