| /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 | 437 EXPECT_TRUE(ModuleJsonUtils::GetStageHapVerifyInfo(hapFilePath, hapVerifyInfo)); 455 EXPECT_FALSE(ModuleJsonUtils::GetStageHapVerifyInfo("", hapVerifyInfo)); 468 EXPECT_FALSE(ModuleJsonUtils::GetStageHapVerifyInfo("/data/demo.hap", hapVerifyInfo)); 483 EXPECT_FALSE(ModuleJsonUtils::GetStageHapVerifyInfo(hapFilePath, hapVerifyInfo)); 503 EXPECT_FALSE(ModuleJsonUtils::GetStageHapVerifyInfo(hapFilePath, hapVerifyInfo)); 523 EXPECT_TRUE(ModuleJsonUtils::GetFaHapVerifyInfo(hapFilePath, hapVerifyInfo)); 541 EXPECT_FALSE(ModuleJsonUtils::GetFaHapVerifyInfo("", hapVerifyInfo)); 554 EXPECT_FALSE(ModuleJsonUtils::GetFaHapVerifyInfo("/data/test.hap", hapVerifyInfo)); 569 EXPECT_FALSE(ModuleJsonUtils::GetFaHapVerifyInfo(hapFilePath, hapVerifyInfo)); 589 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() 174 bool ModuleJsonUtils::GetHapVerifyInfosMapfromFileList(const std::list<std::string>& fileList, std:… in GetHapVerifyInfosMapfromFileList() 212 ModuleJsonUtils::setAtomicServiceFileSizeLimit(hapVerifyInfos); in GetHapVerifyInfosMapfromFileList() 222 bool ModuleJsonUtils::CheckAppAtomicServiceCompressedSizeValid(std::map<std::string, std::string> p… in CheckAppAtomicServiceCompressedSizeValid() 289 bool ModuleJsonUtils::CheckHapsIsValid(const std::list<std::string>& fileList, const bool& isShared… in CheckHapsIsValid() 321 bool ModuleJsonUtils::IsModuleHap(const std::string hapFilePath) in IsModuleHap() 326 void ModuleJsonUtils::setAtomicServiceFileSizeLimit(std::list<HapVerifyInfo>& hapVerifyInfos) in setAtomicServiceFileSizeLimit()
|
| /developtools/packing_tool/packing_tool/frameworks/test/unittest/fast_app_packager_test/mock/ |
| D | mock_fast_app_module_json_utils.cpp | 69 bool ModuleJsonUtils::GetStageHapVerifyInfo(const std::string& hapFilePath, HapVerifyInfo& hapVerif… in GetStageHapVerifyInfo() 114 bool ModuleJsonUtils::GetFaHapVerifyInfo(const std::string& hapFilePath, HapVerifyInfo& hapVerifyIn… in GetFaHapVerifyInfo() 154 bool ModuleJsonUtils::CheckSharedAppIsValid(const std::list<HapVerifyInfo>& hapVerifyInfos, bool& i… in CheckSharedAppIsValid() 173 bool ModuleJsonUtils::GetHapVerifyInfosfromFileList(const std::list<std::string>& fileList, in GetHapVerifyInfosfromFileList() 209 bool ModuleJsonUtils::GetHapVerifyInfosMapfromFileList(const std::list<std::string>& fileList, in GetHapVerifyInfosMapfromFileList() 325 bool ModuleJsonUtils::CheckAppAtomicServiceCompressedSizeValid( in CheckAppAtomicServiceCompressedSizeValid() 352 bool ModuleJsonUtils::CheckHapsIsValid(const std::list<std::string>& fileList, const bool& isShared… in CheckHapsIsValid() 388 bool ModuleJsonUtils::IsModuleHap(const std::string hapFilePath) in IsModuleHap() 397 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 | 68 bool ModuleJsonUtils::GetStageHapVerifyInfo(const std::string& hapFilePath, HapVerifyInfo& hapVerif… in GetStageHapVerifyInfo() 113 bool ModuleJsonUtils::GetFaHapVerifyInfo(const std::string& hapFilePath, HapVerifyInfo& hapVerifyIn… in GetFaHapVerifyInfo() 153 bool ModuleJsonUtils::CheckSharedAppIsValid(const std::list<HapVerifyInfo>& hapVerifyInfos, bool& i… in CheckSharedAppIsValid() 172 bool ModuleJsonUtils::GetHapVerifyInfosfromFileList(const std::list<std::string>& fileList, in GetHapVerifyInfosfromFileList() 208 bool ModuleJsonUtils::GetHapVerifyInfosMapfromFileList(const std::list<std::string>& fileList, in GetHapVerifyInfosMapfromFileList() 324 bool ModuleJsonUtils::CheckAppAtomicServiceCompressedSizeValid( in CheckAppAtomicServiceCompressedSizeValid() 351 bool ModuleJsonUtils::CheckHapsIsValid(const std::list<std::string>& fileList, const bool& isShared… in CheckHapsIsValid() 387 bool ModuleJsonUtils::IsModuleHap(const std::string hapFilePath) in IsModuleHap() 396 void ModuleJsonUtils::setAtomicServiceFileSizeLimit(std::list<HapVerifyInfo>& hapVerifyInfos) in setAtomicServiceFileSizeLimit()
|
| /developtools/packing_tool/packing_tool/frameworks/test/unittest/multiapp_packager_test/mock/ |
| D | mock_multiapp_module_json_utils.cpp | 69 bool ModuleJsonUtils::GetStageHapVerifyInfo(const std::string& hapFilePath, HapVerifyInfo& hapVerif… in GetStageHapVerifyInfo() 114 bool ModuleJsonUtils::GetFaHapVerifyInfo(const std::string& hapFilePath, HapVerifyInfo& hapVerifyIn… in GetFaHapVerifyInfo() 154 bool ModuleJsonUtils::CheckSharedAppIsValid(const std::list<HapVerifyInfo>& hapVerifyInfos, bool& i… in CheckSharedAppIsValid() 173 bool ModuleJsonUtils::GetHapVerifyInfosfromFileList(const std::list<std::string>& fileList, in GetHapVerifyInfosfromFileList() 209 bool ModuleJsonUtils::GetHapVerifyInfosMapfromFileList(const std::list<std::string>& fileList, in GetHapVerifyInfosMapfromFileList() 325 bool ModuleJsonUtils::CheckAppAtomicServiceCompressedSizeValid( in CheckAppAtomicServiceCompressedSizeValid() 352 bool ModuleJsonUtils::CheckHapsIsValid(const std::list<std::string>& fileList, const bool& isShared… in CheckHapsIsValid() 388 bool ModuleJsonUtils::IsModuleHap(const std::string hapFilePath) in IsModuleHap() 397 void ModuleJsonUtils::setAtomicServiceFileSizeLimit(std::list<HapVerifyInfo>& hapVerifyInfos) in setAtomicServiceFileSizeLimit()
|
| /developtools/packing_tool/packing_tool/frameworks/src/ |
| D | app_packager.cpp | 85 if (!ModuleJsonUtils::GetStageHapVerifyInfo(tmpHapPathList.front(), hapVerifyInfo)) { in CheckBundleTypeConsistency() 92 if (!ModuleJsonUtils::GetStageHapVerifyInfo(tmpHspPathList.front(), hapVerifyInfo)) { in CheckBundleTypeConsistency() 100 if (!ModuleJsonUtils::GetStageHapVerifyInfo(hapPath, hapVerifyInfo)) { in CheckBundleTypeConsistency() 111 if (!ModuleJsonUtils::GetStageHapVerifyInfo(hspPath, hapVerifyInfo)) { in CheckBundleTypeConsistency() 126 if (!ModuleJsonUtils::GetStageHapVerifyInfo(hspPath.front(), hapVerifyInfo)) { in VerifyIsSharedApp() 161 if (!ModuleJsonUtils::GetStageHapVerifyInfo(modulePath, hapVerifyInfo)) { in VerifyIsAppService() 443 if (!ModuleJsonUtils::CheckHapsIsValid(fileList, isSharedApp_)) { in CompressHapAndHspFiles() 447 if (!ModuleJsonUtils::GetHapVerifyInfosMapfromFileList(fileList, hapVerifyInfoMap_)) { in CompressHapAndHspFiles() 469 if (ModuleJsonUtils::IsModuleHap(hapPath)) { in AddHapListToApp() 470 if (!ModuleJsonUtils::GetStageHapVerifyInfo(hapPath, hapVerifyInfo)) { in AddHapListToApp() [all …]
|
| D | fast_app_packager.cpp | 523 …if (!ModuleJsonUtils::CheckAppAtomicServiceCompressedSizeValid(parameterMap_, hapVerifyInfoMap_)) { in CompressFastAppMode() 532 if (!ModuleJsonUtils::CheckHapsIsValid(fileList, isSharedApp_)) { in CheckHapAndPackFastApp() 537 if (!ModuleJsonUtils::GetHapVerifyInfosMapfromFileList(fileList, hapVerifyInfoMap_)) { in CheckHapAndPackFastApp() 732 if (ModuleJsonUtils::IsModuleHap(hapPath)) { in AddHapListToApp() 733 if (!ModuleJsonUtils::GetStageHapVerifyInfo(hapPath, hapVerifyInfo)) { in AddHapListToApp() 737 if (!ModuleJsonUtils::GetFaHapVerifyInfo(hapPath, hapVerifyInfo)) { in AddHapListToApp()
|
| D | multiapp_packager.cpp | 403 if (!ModuleJsonUtils::CheckHapsIsValid(fileList, false)) { in CompressAppModeForMultiProject() 413 if (!ModuleJsonUtils::GetHapVerifyInfosMapfromFileList(fileList, hapVerifyInfoMap_)) { in CompressAppModeForMultiProject() 440 …if (!ModuleJsonUtils::CheckAppAtomicServiceCompressedSizeValid(parameterMap_, hapVerifyInfoMap_)) { in CompressAppModeForMultiProject()
|