Searched refs:ModuleJsonUtils (Results 1 – 7 of 7) sorted by relevance
| /developtools/packing_tool/packing_tool/frameworks/include/json/ |
| D | module_json_utils.h | 25 class ModuleJsonUtils { 27 ModuleJsonUtils() {}; in ModuleJsonUtils() function 28 virtual ~ModuleJsonUtils() {}; in ~ModuleJsonUtils() 30 ModuleJsonUtils(const ModuleJsonUtils &) = delete; 31 ModuleJsonUtils &operator=(const ModuleJsonUtils &) = delete;
|
| /developtools/packing_tool/packing_tool/frameworks/test/unittest/json/module_json_utils_test/ |
| D | module_json_utils_test.cpp | 436 EXPECT_TRUE(ModuleJsonUtils::GetStageHapVerifyInfo(hapFilePath, hapVerifyInfo)); 454 EXPECT_FALSE(ModuleJsonUtils::GetStageHapVerifyInfo("", hapVerifyInfo)); 467 EXPECT_FALSE(ModuleJsonUtils::GetStageHapVerifyInfo("/data/demo.hap", hapVerifyInfo)); 482 EXPECT_FALSE(ModuleJsonUtils::GetStageHapVerifyInfo(hapFilePath, hapVerifyInfo)); 502 EXPECT_FALSE(ModuleJsonUtils::GetStageHapVerifyInfo(hapFilePath, hapVerifyInfo)); 522 EXPECT_TRUE(ModuleJsonUtils::GetFaHapVerifyInfo(hapFilePath, hapVerifyInfo)); 540 EXPECT_FALSE(ModuleJsonUtils::GetFaHapVerifyInfo("", hapVerifyInfo)); 553 EXPECT_FALSE(ModuleJsonUtils::GetFaHapVerifyInfo("/data/test.hap", hapVerifyInfo)); 568 EXPECT_FALSE(ModuleJsonUtils::GetFaHapVerifyInfo(hapFilePath, hapVerifyInfo)); 588 EXPECT_FALSE(ModuleJsonUtils::GetFaHapVerifyInfo(hapFilePath, hapVerifyInfo)); [all …]
|
| /developtools/packing_tool/packing_tool/frameworks/src/json/ |
| D | module_json_utils.cpp | 48 bool ModuleJsonUtils::GetStageHapVerifyInfo(const std::string& hapFilePath, HapVerifyInfo& hapVerif… in GetStageHapVerifyInfo() 91 bool ModuleJsonUtils::GetFaHapVerifyInfo(const std::string& hapFilePath, HapVerifyInfo& hapVerifyIn… in GetFaHapVerifyInfo() 119 bool ModuleJsonUtils::CheckSharedAppIsValid(const std::list<HapVerifyInfo>& hapVerifyInfos, bool& i… in CheckSharedAppIsValid() 138 bool ModuleJsonUtils::GetHapVerifyInfosfromFileList(const std::list<std::string>& fileList, in GetHapVerifyInfosfromFileList() 175 bool ModuleJsonUtils::CheckHapsIsValid(const std::list<std::string>& fileList, const bool& isShared… in CheckHapsIsValid() 207 bool ModuleJsonUtils::IsModuleHap(const std::string hapFilePath) in IsModuleHap() 212 void ModuleJsonUtils::setAtomicServiceFileSizeLimit(std::list<HapVerifyInfo>& hapVerifyInfos) in setAtomicServiceFileSizeLimit()
|
| /developtools/packing_tool/packing_tool/frameworks/test/unittest/app_packager_test/mock/ |
| D | mock_module_json_utils.cpp | 63 bool ModuleJsonUtils::GetStageHapVerifyInfo(const std::string& hapFilePath, HapVerifyInfo& hapVerif… in GetStageHapVerifyInfo() 108 bool ModuleJsonUtils::GetFaHapVerifyInfo(const std::string& hapFilePath, HapVerifyInfo& hapVerifyIn… in GetFaHapVerifyInfo() 148 bool ModuleJsonUtils::CheckSharedAppIsValid(const std::list<HapVerifyInfo>& hapVerifyInfos, bool& i… in CheckSharedAppIsValid() 167 bool ModuleJsonUtils::GetHapVerifyInfosfromFileList(const std::list<std::string>& fileList, in GetHapVerifyInfosfromFileList() 204 bool ModuleJsonUtils::CheckHapsIsValid(const std::list<std::string>& fileList, const bool& isShared… in CheckHapsIsValid() 240 bool ModuleJsonUtils::IsModuleHap(const std::string hapFilePath) in IsModuleHap() 249 void ModuleJsonUtils::setAtomicServiceFileSizeLimit(std::list<HapVerifyInfo>& hapVerifyInfos) in setAtomicServiceFileSizeLimit()
|
| /developtools/packing_tool/packing_tool/frameworks/src/ |
| D | app_packager.cpp | 81 if (!ModuleJsonUtils::GetStageHapVerifyInfo(tmpHapPathList.front(), hapVerifyInfo)) { in CheckBundleTypeConsistency() 88 if (!ModuleJsonUtils::GetStageHapVerifyInfo(tmpHspPathList.front(), hapVerifyInfo)) { in CheckBundleTypeConsistency() 96 if (!ModuleJsonUtils::GetStageHapVerifyInfo(hapPath, hapVerifyInfo)) { in CheckBundleTypeConsistency() 107 if (!ModuleJsonUtils::GetStageHapVerifyInfo(hspPath, hapVerifyInfo)) { in CheckBundleTypeConsistency() 122 if (!ModuleJsonUtils::GetStageHapVerifyInfo(hspPath.front(), hapVerifyInfo)) { in VerifyIsSharedApp() 157 if (!ModuleJsonUtils::GetStageHapVerifyInfo(modulePath, hapVerifyInfo)) { in VerifyIsAppService() 422 if (!ModuleJsonUtils::CheckHapsIsValid(fileList, isSharedApp_)) { in CompressHapAndHspFiles() 444 if (ModuleJsonUtils::IsModuleHap(hapPath)) { in AddHapListToApp() 445 if (!ModuleJsonUtils::GetStageHapVerifyInfo(hapPath, hapVerifyInfo)) { in AddHapListToApp() 449 if (!ModuleJsonUtils::GetFaHapVerifyInfo(hapPath, hapVerifyInfo)) { in AddHapListToApp()
|
| D | fast_app_packager.cpp | 518 if (!ModuleJsonUtils::CheckHapsIsValid(fileList, isSharedApp_)) { in CheckHapAndPackFastApp() 708 if (ModuleJsonUtils::IsModuleHap(hapPath)) { in AddHapListToApp() 709 if (!ModuleJsonUtils::GetStageHapVerifyInfo(hapPath, hapVerifyInfo)) { in AddHapListToApp() 713 if (!ModuleJsonUtils::GetFaHapVerifyInfo(hapPath, hapVerifyInfo)) { in AddHapListToApp()
|
| D | multiapp_packager.cpp | 391 if (!ModuleJsonUtils::CheckHapsIsValid(fileList, false)) { in CompressAppModeForMultiProject()
|