Home
last modified time | relevance | path

Searched refs:filePaths (Results 1 - 25 of 51) sorted by relevance

123

/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_multiple_installer_test.cpp107 ErrCode InstallThirdPartyMultipleBundles(const std::vector<std::string> &filePaths, bool &&flag) const;
156 ErrCode BmsMultipleInstallerTest::InstallThirdPartyMultipleBundles(const std::vector<std::string> &filePaths, in InstallThirdPartyMultipleBundles() argument
173 bool result = installer->Install(filePaths, installParam, receiver); in InstallThirdPartyMultipleBundles()
526 std::vector<std::string> filePaths; in HWTEST_F() local
527 auto installRes = InstallThirdPartyMultipleBundles(filePaths, true); in HWTEST_F()
539 std::vector<std::string> filePaths; in HWTEST_F() local
541 filePaths.emplace_back(bundleFile); in HWTEST_F()
542 filePaths.emplace_back(""); in HWTEST_F()
543 auto installRes = InstallThirdPartyMultipleBundles(filePaths, true); in HWTEST_F()
555 std::vector<std::string> filePaths; in HWTEST_F() local
572 std::vector<std::string> filePaths; HWTEST_F() local
588 std::vector<std::string> filePaths; HWTEST_F() local
604 std::vector<std::string> filePaths; HWTEST_F() local
621 std::vector<std::string> filePaths; HWTEST_F() local
637 std::vector<std::string> filePaths; HWTEST_F() local
655 std::vector<std::string> filePaths; HWTEST_F() local
673 std::vector<std::string> filePaths; HWTEST_F() local
693 std::vector<std::string> filePaths; HWTEST_F() local
712 std::vector<std::string> filePaths; HWTEST_F() local
731 std::vector<std::string> filePaths; HWTEST_F() local
750 std::vector<std::string> filePaths; HWTEST_F() local
780 std::vector<std::string> filePaths; HWTEST_F() local
809 std::vector<std::string> filePaths; HWTEST_F() local
832 std::vector<std::string> filePaths; HWTEST_F() local
861 std::vector<std::string> filePaths; HWTEST_F() local
885 std::vector<std::string> filePaths; HWTEST_F() local
903 std::vector<std::string> filePaths; HWTEST_F() local
919 std::vector<std::string> filePaths; HWTEST_F() local
937 std::vector<std::string> filePaths; HWTEST_F() local
954 std::vector<std::string> filePaths; HWTEST_F() local
976 std::vector<std::string> filePaths; HWTEST_F() local
994 std::vector<std::string> filePaths; HWTEST_F() local
1014 std::vector<std::string> filePaths; HWTEST_F() local
1039 std::vector<std::string> filePaths; HWTEST_F() local
1064 std::vector<std::string> filePaths; HWTEST_F() local
1089 std::vector<std::string> filePaths; HWTEST_F() local
1114 std::vector<std::string> filePaths; HWTEST_F() local
1139 std::vector<std::string> filePaths; HWTEST_F() local
1763 std::vector<std::string> filePaths; HWTEST_F() local
1797 std::vector<std::string> filePaths; HWTEST_F() local
1826 std::vector<std::string> filePaths; HWTEST_F() local
1864 std::vector<std::string> filePaths; HWTEST_F() local
1899 std::vector<std::string> filePaths; HWTEST_F() local
[all...]
H A Dbms_bundle_ota_update_test.cpp97 bool OTAInstallSystemBundle(const std::vector<std::string> &filePaths) const;
144 bool BmsBundleOtaUpdateTest::OTAInstallSystemBundle(const std::vector<std::string> &filePaths) const in OTAInstallSystemBundle()
158 filePaths, installParam, Constants::AppType::SYSTEM_APP) == ERR_OK; in OTAInstallSystemBundle()
163 std::vector<std::string> filePaths; in OTAInstallSystemBundle() local
164 filePaths.push_back(filePath); in OTAInstallSystemBundle()
165 return OTAInstallSystemBundle(filePaths); in OTAInstallSystemBundle()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/beforeaddextresource_fuzzer/
H A Dbeforeaddextresource_fuzzer.cpp31 std::vector<std::string> filePaths; in fuzzelBeforeAddExtResourceCaseOne() local
32 auto ret = impl.BeforeAddExtResource(EMPTY_STRING, filePaths); in fuzzelBeforeAddExtResourceCaseOne()
42 std::vector<std::string> filePaths; in fuzzelBeforeAddExtResourceCaseTwo() local
43 auto ret = impl.BeforeAddExtResource(BUNDLE_NAME, filePaths); in fuzzelBeforeAddExtResourceCaseTwo()
53 std::vector<std::string> filePaths; in fuzzelBeforeAddExtResourceCaseThree() local
54 filePaths.emplace_back(FILE_PATH); in fuzzelBeforeAddExtResourceCaseThree()
55 filePaths.emplace_back(INVALID_PATH); in fuzzelBeforeAddExtResourceCaseThree()
56 auto ret = impl.BeforeAddExtResource(BUNDLE_NAME, filePaths); in fuzzelBeforeAddExtResourceCaseThree()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_sandbox_app_test/
H A Dbms_bundle_sandbox_app_test.cpp81 ErrCode InstallBundles(const std::vector<std::string> &filePaths, bool &&flag) const;
252 ErrCode BmsSandboxAppTest::InstallBundles(const std::vector<std::string> &filePaths, in InstallBundles() argument
270 bool result = installer->Install(filePaths, installParam, receiver); in InstallBundles()
410 std::vector<std::string> filePaths; in HWTEST_F() local
412 filePaths.emplace_back(bundleFile); in HWTEST_F()
413 auto installRes = InstallBundles(filePaths, true); in HWTEST_F()
432 std::vector<std::string> filePaths; in HWTEST_F() local
434 filePaths.emplace_back(bundleFile); in HWTEST_F()
435 auto installRes = InstallBundles(filePaths, true); in HWTEST_F()
454 std::vector<std::string> filePaths; in HWTEST_F() local
504 std::vector<std::string> filePaths; HWTEST_F() local
552 std::vector<std::string> filePaths; HWTEST_F() local
574 std::vector<std::string> filePaths; HWTEST_F() local
596 std::vector<std::string> filePaths; HWTEST_F() local
620 std::vector<std::string> filePaths; HWTEST_F() local
645 std::vector<std::string> filePaths; HWTEST_F() local
677 std::vector<std::string> filePaths; HWTEST_F() local
709 std::vector<std::string> filePaths; HWTEST_F() local
741 std::vector<std::string> filePaths; HWTEST_F() local
773 std::vector<std::string> filePaths; HWTEST_F() local
812 std::vector<std::string> filePaths; HWTEST_F() local
851 std::vector<std::string> filePaths; HWTEST_F() local
886 std::vector<std::string> filePaths; HWTEST_F() local
931 std::vector<std::string> filePaths; HWTEST_F() local
958 std::vector<std::string> filePaths; HWTEST_F() local
1011 std::vector<std::string> filePaths; HWTEST_F() local
1062 std::vector<std::string> filePaths; HWTEST_F() local
1083 std::vector<std::string> filePaths; HWTEST_F() local
1110 std::vector<std::string> filePaths; HWTEST_F() local
1140 std::vector<std::string> filePaths; HWTEST_F() local
1181 std::vector<std::string> filePaths; HWTEST_F() local
1222 std::vector<std::string> filePaths; HWTEST_F() local
1266 std::vector<std::string> filePaths; HWTEST_F() local
1309 std::vector<std::string> filePaths; HWTEST_F() local
1334 std::vector<std::string> filePaths; HWTEST_F() local
1410 std::vector<std::string> filePaths; HWTEST_F() local
1439 std::vector<std::string> filePaths; HWTEST_F() local
1468 std::vector<std::string> filePaths; HWTEST_F() local
1497 std::vector<std::string> filePaths; HWTEST_F() local
1526 std::vector<std::string> filePaths; HWTEST_F() local
1555 std::vector<std::string> filePaths; HWTEST_F() local
1596 std::vector<std::string> filePaths; HWTEST_F() local
1619 std::vector<std::string> filePaths; HWTEST_F() local
1648 std::vector<std::string> filePaths; HWTEST_F() local
1677 std::vector<std::string> filePaths; HWTEST_F() local
1706 std::vector<std::string> filePaths; HWTEST_F() local
1729 std::vector<std::string> filePaths; HWTEST_F() local
1754 std::vector<std::string> filePaths; HWTEST_F() local
1821 std::vector<std::string> filePaths; HWTEST_F() local
1854 std::vector<std::string> filePaths; HWTEST_F() local
1928 std::vector<std::string> filePaths; HWTEST_F() local
2027 std::vector<std::string> filePaths; HWTEST_F() local
2056 std::vector<std::string> filePaths; HWTEST_F() local
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/
H A Dpatch_parser.cpp59 ErrCode PatchParser::ParsePatchInfo(const std::vector<std::string> &filePaths, in ParsePatchInfo() argument
63 if (filePaths.empty()) { in ParsePatchInfo()
66 for (size_t index = 0; index < filePaths.size(); ++index) { in ParsePatchInfo()
68 ErrCode result = ParsePatchInfo(filePaths[index], appQuickFix); in ParsePatchInfo()
73 appQuickFixes.emplace(filePaths[index], appQuickFix); in ParsePatchInfo()
94 bool PatchParser::HasResourceFile(const std::vector<std::string> &filePaths) const in HasResourceFile()
96 LOG_D(BMS_TAG_DEFAULT, "check filePaths has resource file start"); in HasResourceFile()
97 for (size_t index = 0; index < filePaths.size(); ++index) { in HasResourceFile()
98 if (HasResourceFile(filePaths[index])) { in HasResourceFile()
/foundation/arkui/ace_engine/test/component_test/tools/previewer_host/utils/
H A Djson.js32 function readJson(filePaths) {
34 for (let i = 0; i < filePaths.length; i++) {
35 if (filePaths[i].includes('.json')) {
36 const jsonData = parseJson(filePaths[i]);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/extend_resource/
H A Dextend_resource_manager_host_impl.h30 const std::string &bundleName, const std::vector<std::string> &filePaths) override;
43 const std::string &bundleName, const std::vector<std::string> &filePaths);
46 const std::string &bundleName, const std::vector<std::string> &filePaths);
50 void RollBack(const std::vector<std::string> &filePaths);
54 const std::vector<std::string> &filePaths,
61 const std::string &bundleName, const std::vector<std::string> &filePaths,
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/parseextendresourcefile_fuzzer/
H A Dparseextendresourcefile_fuzzer.cpp29 std::vector<std::string> filePaths; in fuzzelParseExtendResourceFileCaseOne() local
30 filePaths.emplace_back(FILE_PATH); in fuzzelParseExtendResourceFileCaseOne()
32 auto ret = impl.ParseExtendResourceFile(BUNDLE_NAME, filePaths, extendResourceInfos); in fuzzelParseExtendResourceFileCaseOne()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/processaddextresource_fuzzer/
H A Dprocessaddextresource_fuzzer.cpp28 std::vector<std::string> filePaths; in fuzzelProcessAddExtResourceCaseOne() local
29 auto ret = impl.ProcessAddExtResource(TEST_BUNDLE, filePaths); in fuzzelProcessAddExtResourceCaseOne()
31 impl.InnerSaveExtendResourceInfo(TEST_BUNDLE, filePaths, extendResourceInfos); in fuzzelProcessAddExtResourceCaseOne()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/rollback_fuzzer/
H A Drollback_fuzzer.cpp46 std::vector<std::string> filePaths; in fuzzelRollBackCaseOne() local
47 filePaths.push_back(FILE_PATH); in fuzzelRollBackCaseOne()
48 impl.RollBack(filePaths); in fuzzelRollBackCaseOne()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/extend_resource/
H A Dextend_resource_manager_host_impl.cpp96 const std::string &bundleName, const std::vector<std::string> &filePaths) in AddExtResource()
98 ErrCode ret = BeforeAddExtResource(bundleName, filePaths); in AddExtResource()
100 ret = ProcessAddExtResource(bundleName, filePaths); in AddExtResource()
106 const std::string &bundleName, const std::vector<std::string> &filePaths) in BeforeAddExtResource()
113 if (filePaths.empty()) { in BeforeAddExtResource()
114 APP_LOGE("fail to AddExtResource due to filePaths is empty"); in BeforeAddExtResource()
129 for (const auto &filePath: filePaths) { in BeforeAddExtResource()
157 const std::string &bundleName, const std::vector<std::string> &filePaths) in ProcessAddExtResource()
166 ErrCode ret = CopyToTempDir(bundleName, filePaths, newFilePaths); in ProcessAddExtResource()
182 const std::vector<std::string> &filePaths, in InnerSaveExtendResourceInfo()
95 AddExtResource( const std::string &bundleName, const std::vector<std::string> &filePaths) AddExtResource() argument
105 BeforeAddExtResource( const std::string &bundleName, const std::vector<std::string> &filePaths) BeforeAddExtResource() argument
156 ProcessAddExtResource( const std::string &bundleName, const std::vector<std::string> &filePaths) ProcessAddExtResource() argument
180 InnerSaveExtendResourceInfo( const std::string &bundleName, const std::vector<std::string> &filePaths, const std::vector<ExtendResourceInfo> &extendResourceInfos) InnerSaveExtendResourceInfo() argument
201 ParseExtendResourceFile( const std::string &bundleName, const std::vector<std::string> &filePaths, std::vector<ExtendResourceInfo> &extendResourceInfos) ParseExtendResourceFile() argument
303 RollBack(const std::vector<std::string> &filePaths) RollBack() argument
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_extend_resource_manager_test/
H A Dbms_extend_resource_manager_test.cpp174 std::vector<std::string> filePaths; in HWTEST_F() local
176 auto ret = impl.AddExtResource(emptyBundleName, filePaths); in HWTEST_F()
179 ret = impl.AddExtResource(BUNDLE_NAME, filePaths); in HWTEST_F()
182 filePaths.emplace_back(INVALID_PATH); in HWTEST_F()
183 ret = impl.AddExtResource(BUNDLE_NAME, filePaths); in HWTEST_F()
187 filePaths.emplace_back(INVALID_SUFFIX); in HWTEST_F()
223 std::vector<std::string> filePaths; in HWTEST_F() local
224 auto ret = impl.ProcessAddExtResource(TEST_BUNDLE, filePaths); in HWTEST_F()
292 std::vector<std::string> filePaths; in HWTEST_F() local
293 auto ret = impl.BeforeAddExtResource(EMPTY_STRING, filePaths); in HWTEST_F()
313 std::vector<std::string> filePaths; HWTEST_F() local
339 std::vector<std::string> filePaths; HWTEST_F() local
513 std::vector<std::string> filePaths; HWTEST_F() local
[all...]
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/innersaveextendresourceinfo_fuzzer/
H A Dinnersaveextendresourceinfo_fuzzer.cpp25 std::vector<std::string> filePaths; in fuzzelInnerSaveExtendResourceInfoCaseOne() local
27 auto ret = impl.AddExtResource(emptyBundleName, filePaths); in fuzzelInnerSaveExtendResourceInfoCaseOne()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/filenamevalid_fuzzer/
H A Dfilenamevalid_fuzzer.cpp23 std::vector<std::string> filePaths; in DoSomethingInterestingWithMyAPI() local
25 auto ret = impl.AddExtResource(emptyBundleName, filePaths); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_uninstaller_test/
H A Dbms_bundle_uninstaller_test.cpp70 ErrCode InstallMultipleBundles(const std::vector<std::string> &filePaths, bool &&flag) const;
299 ErrCode BmsBundleUninstallerTest::InstallMultipleBundles(const std::vector<std::string> &filePaths, in InstallMultipleBundles() argument
316 bool result = installer->Install(filePaths, installParam, receiver); in InstallMultipleBundles()
353 std::vector<std::string> filePaths; in HWTEST_F() local
354 filePaths.emplace_back(RESOURCE_TEST_PATH); in HWTEST_F()
355 ErrCode installRes = InstallMultipleBundles(filePaths, true); in HWTEST_F()
373 std::vector<std::string> filePaths; in HWTEST_F() local
374 filePaths.emplace_back(RESOURCE_TEST_PATH); in HWTEST_F()
375 ErrCode installRes = InstallMultipleBundles(filePaths, true); in HWTEST_F()
451 std::vector<std::string> filePaths; in HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/test/component_test/tools/previewer_host/main/
H A Dcollect_results_and_visualize.js24 function getJsonData(filePaths) {
25 let jsonData = parseJson(filePaths);
32 async function getNotPassJson(filePaths) {
34 for (let i = 0; i < filePaths.length; i++) {
35 if (!filePaths[i].includes(".")) {
36 const testComponentNameFolder = await readDir(filePaths[i]);
71 async function createStackedBarChartData(filePaths) {
84 const testTypeNameFolder = await readDir(filePaths);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/quick_fix/
H A Dpatch_parser.h32 ErrCode ParsePatchInfo(const std::vector<std::string> &filePaths,
37 bool HasResourceFile(const std::vector<std::string> &filePaths) const;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_event_handler_test/
H A Dmock_system_bundle_installer.cpp61 const std::vector<std::string> &filePaths, in OTAInstallSystemBundle()
74 ErrCode result = InstallBundle(filePaths, installParam, appType); in OTAInstallSystemBundle()
204 const std::vector<std::string> &filePaths, in OTAInstallSystemBundleNeedCheckUser()
209 return OTAInstallSystemBundle(filePaths, installParam, appType); in OTAInstallSystemBundleNeedCheckUser()
60 OTAInstallSystemBundle( const std::vector<std::string> &filePaths, InstallParam &installParam, Constants::AppType appType) OTAInstallSystemBundle() argument
203 OTAInstallSystemBundleNeedCheckUser( const std::vector<std::string> &filePaths, InstallParam &installParam, const std::string &bundleName, Constants::AppType appType) OTAInstallSystemBundleNeedCheckUser() argument
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/extend_resource_manager_proxy_test/
H A Dextend_resource_manager_proxy_test.cpp64 std::vector<std::string> filePaths; in HWTEST_F() local
65 ErrCode res = extendResource.AddExtResource(EMPTY_STRING, filePaths); in HWTEST_F()
68 res = extendResource.AddExtResource(BUNDLE_NAME, filePaths); in HWTEST_F()
71 filePaths.push_back(BUNDLE_NAME); in HWTEST_F()
72 res = extendResource.AddExtResource(BUNDLE_NAME, filePaths); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dsystem_bundle_installer.h48 * @param filePath Indicates the filePaths.
54 const std::vector<std::string> &filePaths,
59 * @param filePath Indicates the filePaths.
66 const std::vector<std::string> &filePaths,
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/extend_resource/
H A Dextend_resource_manager_proxy.cpp47 const std::string &bundleName, const std::vector<std::string> &filePaths) in AddExtResource()
55 if (filePaths.empty()) { in AddExtResource()
56 APP_LOGE("fail to AddExtResource due to filePaths is empty"); in AddExtResource()
68 if (!data.WriteStringVector(filePaths)) { in AddExtResource()
69 APP_LOGE("fail to AddExtResource due to write filePaths failed"); in AddExtResource()
303 std::vector<std::string> filePaths; in CopyFiles() local
304 if (!BundleFileUtil::CheckFilePath(sourceFiles, filePaths)) { in CopyFiles()
308 for (const std::string &sourcePath : filePaths) { in CopyFiles()
46 AddExtResource( const std::string &bundleName, const std::vector<std::string> &filePaths) AddExtResource() argument
H A Dextend_resource_manager_host.cpp77 std::vector<std::string> filePaths; in HandleAddExtResource() local
78 if (!data.ReadStringVector(&filePaths)) { in HandleAddExtResource()
79 APP_LOGE("read filePaths failed"); in HandleAddExtResource()
82 ErrCode ret = AddExtResource(bundleName, filePaths); in HandleAddExtResource()
/foundation/communication/bluetooth/frameworks/js/napi/src/opp/
H A Dnapi_bluetooth_opp.cpp116 std::vector<std::string> &filePaths, std::vector<std::string> &mimeTypes) in CheckSendFileParam()
123 NAPI_BT_CALL_RETURN(NapiParseStringArray(env, argv[PARAM1], filePaths)); in CheckSendFileParam()
133 std::vector<std::string> filePaths; in SendFile() local
136 auto status = CheckSendFileParam(env, info, device, filePaths, mimeTypes); in SendFile()
139 auto func = [device, filePaths, mimeTypes]() { in SendFile()
142 int32_t errorCode = profile->SendFile(device, filePaths, mimeTypes, result); in SendFile()
115 CheckSendFileParam(napi_env env, napi_callback_info info, std::string &addr, std::vector<std::string> &filePaths, std::vector<std::string> &mimeTypes) CheckSendFileParam() argument
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dsystem_bundle_installer.cpp67 const std::vector<std::string> &filePaths, in OTAInstallSystemBundle()
82 ErrCode errCode = InstallBundle(filePaths, installParam, appType); in OTAInstallSystemBundle()
86 if (!filePaths.empty()) { in OTAInstallSystemBundle()
87 BmsKeyEventMgr::ProcessMainBundleInstallFailed(filePaths[0], result); in OTAInstallSystemBundle()
97 const std::vector<std::string> &filePaths, in OTAInstallSystemBundleNeedCheckUser()
126 ErrCode errCode = InstallBundle(filePaths, installParam, appType); in OTAInstallSystemBundleNeedCheckUser()
66 OTAInstallSystemBundle( const std::vector<std::string> &filePaths, InstallParam &installParam, Constants::AppType appType) OTAInstallSystemBundle() argument
96 OTAInstallSystemBundleNeedCheckUser( const std::vector<std::string> &filePaths, InstallParam &installParam, const std::string &bundleName, Constants::AppType appType) OTAInstallSystemBundleNeedCheckUser() argument
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/
H A Di_bluetooth_opp.h34 virtual int32_t SendFile(std::string &device, std::vector<std::string> &filePaths,

Completed in 14 milliseconds

123