Home
last modified time | relevance | path

Searched refs:sourceFiles (Results 1 - 15 of 15) sorted by relevance

/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_manager_test/
H A Dbms_bundle_quick_fix_manager_test.cpp59 void CreateFiles(const std::vector<std::string>& sourceFiles);
61 static std::vector<std::string> sourceFiles; member in OHOS::BmsBundleQuickFixManagerTest
128 void BmsBundleQuickFixManagerTest::CreateFiles(const std::vector<std::string>& sourceFiles) in CreateFiles() argument
130 for (const auto& path : sourceFiles) { in CreateFiles()
152 std::vector<std::string> sourceFiles {FILE1_PATH, FILE2_PATH}; in HWTEST_F()
153 CreateFiles(sourceFiles); in HWTEST_F()
155 auto ret = quickFixManagerProxy->CopyFiles(sourceFiles, destFiles); in HWTEST_F()
157 ASSERT_EQ(destFiles.size(), sourceFiles.size()); in HWTEST_F()
166 DeleteFiles(sourceFiles); in HWTEST_F()
181 std::vector<std::string> sourceFiles {INVALID_FILE_SUFFIX_PAT in HWTEST_F()
217 std::vector<std::string> sourceFiles; HWTEST_F() local
[all...]
/foundation/ability/idl_tool/idl_tool_2/preprocessor/
H A Dpreprocessor.cpp49 std::set<std::string> sourceFiles = Options::GetInstance().GetSourceFiles(); in Preprocess() local
52 if (!CheckAllFilesPath(sourceFiles)) { in Preprocess()
58 if (!AnalyseImportInfo(sourceFiles, allFileDetails)) { in Preprocess()
72 std::set<std::string> sourceFiles = Options::GetInstance().GetSourceFiles(); in UnitPreprocess() local
74 if (!CheckAllFilesPath(sourceFiles)) { in UnitPreprocess()
78 for (const auto &sourceFile : sourceFiles) { in UnitPreprocess()
89 bool Preprocessor::CheckAllFilesPath(const std::set<std::string> &sourceFiles) in CheckAllFilesPath() argument
91 if (sourceFiles.empty()) { in CheckAllFilesPath()
97 for (const auto &filePath : sourceFiles) { in CheckAllFilesPath()
107 bool Preprocessor::AnalyseImportInfo(std::set<std::string> sourceFiles, FileDetailMa argument
232 LoadOtherIdlFiles( const FileDetail &ownerFileDetail, FileDetailMap &allFileDetails, std::set<std::string> &sourceFiles) LoadOtherIdlFiles() argument
[all...]
H A Dpreprocessor.h55 static bool CheckAllFilesPath(const std::set<std::string> &sourceFiles);
57 static bool AnalyseImportInfo(std::set<std::string> sourceFiles, FileDetailMap &allFileDetails);
66 const FileDetail &ownerFileDetail, FileDetailMap &allFileDetails, std::set<std::string> &sourceFiles);
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/copyfiles_fuzzer/
H A Dcopyfiles_fuzzer.cpp29 std::vector<std::string> sourceFiles; in DoSomethingInterestingWithMyAPI() local
31 sourceFiles.push_back(sourceFile); in DoSomethingInterestingWithMyAPI()
35 quickFix.CopyFiles(sourceFiles, destFiles); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/extend_resource_manager_proxy_test/
H A Dextend_resource_manager_proxy_test.cpp202 std::vector<std::string> sourceFiles; in HWTEST_F() local
204 ErrCode res = extendResource.CopyFiles(sourceFiles, destFiles); in HWTEST_F()
207 sourceFiles.push_back(BUNDLE_NAME); in HWTEST_F()
208 res = extendResource.CopyFiles(sourceFiles, destFiles); in HWTEST_F()
/foundation/ability/idl_tool/idl_tool_2/util/
H A Doptions.h102 return sourceFiles; in GetSourceFiles()
212 sourceFiles(), in Options()
297 std::set<std::string> sourceFiles; // '-c <*.idl>' member in OHOS::Idl::Options
H A Doptions.cpp258 if (sourceFiles.insert(realPath).second == false) { in AddSources()
270 sourceFiles.insert(files.begin(), files.end()); in AddSourcesByDir()
336 if (sourceFiles.empty() && !DoSaveMetadata()) { in CheckSaOptions()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/quick_fix/
H A Dquick_fix_manager_interface.h55 virtual ErrCode CopyFiles(const std::vector<std::string> &sourceFiles, std::vector<std::string> &destFiles) in CopyFiles() argument
H A Dquick_fix_manager_proxy.h40 virtual ErrCode CopyFiles(const std::vector<std::string> &sourceFiles,
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/extend_resource/
H A Dextend_resource_manager_interface.h71 const std::vector<std::string> &sourceFiles, std::vector<std::string> &destFiles) in CopyFiles()
70 CopyFiles( const std::vector<std::string> &sourceFiles, std::vector<std::string> &destFiles) CopyFiles() argument
H A Dextend_resource_manager_proxy.h44 const std::vector<std::string> &sourceFiles, std::vector<std::string> &destFiles) override;
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/extend_resource/
H A Dextend_resource_manager_proxy.cpp296 const std::vector<std::string> &sourceFiles, std::vector<std::string> &destFiles) in CopyFiles()
299 if (sourceFiles.empty()) { in CopyFiles()
300 APP_LOGE("sourceFiles empty"); in CopyFiles()
304 if (!BundleFileUtil::CheckFilePath(sourceFiles, filePaths)) { in CopyFiles()
295 CopyFiles( const std::vector<std::string> &sourceFiles, std::vector<std::string> &destFiles) CopyFiles() argument
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/quick_fix/
H A Dquick_fix_manager_proxy.cpp211 const std::vector<std::string> &sourceFiles, std::vector<std::string> &destFiles) in CopyFiles()
214 if (sourceFiles.empty()) { in CopyFiles()
215 LOG_E(BMS_TAG_DEFAULT, "sourceFiles empty"); in CopyFiles()
219 if (!BundleFileUtil::CheckFilePath(sourceFiles, hqfFilePaths)) { in CopyFiles()
210 CopyFiles( const std::vector<std::string> &sourceFiles, std::vector<std::string> &destFiles) CopyFiles() argument
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_test/
H A Dbms_bundle_quick_fix_test.cpp115 void CreateFiles(const std::vector<std::string>& sourceFiles);
384 void BmsBundleQuickFixTest::CreateFiles(const std::vector<std::string>& sourceFiles) in CreateFiles() argument
386 for (const auto& path : sourceFiles) { in CreateFiles()
1559 const std::vector<std::string> sourceFiles {path}; in HWTEST_F()
1561 res = quickFixManagerHostImpl.CopyHqfToSecurityDir(sourceFiles, secureDirs); in HWTEST_F()
1566 DeleteFiles(sourceFiles); in HWTEST_F()
1583 std::vector<std::string> sourceFiles {FILE1_PATH, FILE2_PATH, INVALID_FILE_SUFFIX_PATH}; in HWTEST_F()
1584 CreateFiles(sourceFiles); in HWTEST_F()
1586 ErrCode ret = deployer->ProcessBundleFilePaths(sourceFiles, realFilePaths); in HWTEST_F()
1588 DeleteFiles(sourceFiles); in HWTEST_F()
5341 std::vector<std::string> sourceFiles; HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/test/mock/services_appmgr_test/include/
H A Dmock_bundle_manager.h179 virtual ErrCode CopyFiles(const std::vector<std::string>& sourceFiles, std::vector<std::string>& destFiles) override
181 destFiles = sourceFiles;

Completed in 13 milliseconds