/foundation/filemanagement/dfs_service/adapter/cloud_adapter_example/src/ |
H A D | cloud_asset_read_session_impl.cpp | 24 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 D | cloud_database_impl.cpp | 31 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 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() 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 D | medialibrary_photo_operations.cpp | 1945 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 D | vibrate_asset_test.cpp | 63 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 D | ringtone_asset_test.cpp | 84 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 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()
|
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()
|
/foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/ |
H A D | cloud_database.cpp | 29 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 D | cloud_asset_read_session.cpp | 25 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 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()
|
/foundation/arkui/ace_engine/adapter/preview/entrance/ |
H A D | ace_ability.cpp | 72 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 D | hap_asset_provider_impl.cpp | 128 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 D | file_asset_provider_impl.cpp | 124 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 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_car_test.cpp | 79 .assetPath = assetPathJs, in main() 94 args.assetPath = assetPathEts; in main() 97 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_card_test.cpp | 85 .assetPath = assetPathJs, in main() 99 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()
|
/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;
|
/foundation/filemanagement/dfs_service/interfaces/inner_api/native/cloud_file_kit_inner/ |
H A D | cloud_database.h | 32 std::string assetPath);
|
H A D | cloud_asset_read_session.h | 27 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 D | jsi_module_searcher.h | 24 explicit JsiModuleSearcher(const std::string& bundleName, const std::string& assetPath);
|