/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/defaultapprdb_fuzzer/ |
H A D | defaultapprdb_fuzzer.cpp | 40 std::map<std::string, Element> newInfos; in DoSomethingInterestingWithMyAPI() local 41 defaultAppDb_->SetDefaultApplicationInfos(reinterpret_cast<uintptr_t>(data), newInfos); in DoSomethingInterestingWithMyAPI() local 51 defaultAppDb_->SaveDataToDb(reinterpret_cast<uintptr_t>(data), newInfos); in DoSomethingInterestingWithMyAPI() local 52 defaultAppDb_->GetDataFromDb(reinterpret_cast<uintptr_t>(data), newInfos); in DoSomethingInterestingWithMyAPI() local
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | base_bundle_installer.h | 204 ErrCode InnerProcessBundleInstall(std::unordered_map<std::string, InnerBundleInfo> &newInfos, 445 * @param newInfos .Indicates all innerBundleInfo for all haps need to be rolled back. 449 void RollBack(const std::unordered_map<std::string, InnerBundleInfo> &newInfos, InnerBundleInfo &oldInfo); 534 * @param newInfos Indicates all innerBundleInfo for all haps need to be installed. 541 void CheckEnableRemovable(std::unordered_map<std::string, InnerBundleInfo> &newInfos, 568 const InnerBundleInfo &oldInfo, std::unordered_map<std::string, InnerBundleInfo> &newInfos); 570 const InnerBundleInfo &oldInfo, std::unordered_map<std::string, InnerBundleInfo> &newInfos); 572 const InnerBundleInfo &oldInfo, std::unordered_map<std::string, InnerBundleInfo> &newInfos); 574 const InnerBundleInfo &oldInfo, std::unordered_map<std::string, InnerBundleInfo> &newInfos); 591 const int32_t &userId, std::unordered_map<std::string, InnerBundleInfo> &newInfos); [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/overlay/ |
H A D | bundle_overlay_install_checker.h | 31 ErrCode CheckOverlayInstallation(std::unordered_map<std::string, InnerBundleInfo> &newInfos, int32_t userId,
33 ErrCode CheckInternalBundle(const std::unordered_map<std::string, InnerBundleInfo> &newInfos,
44 ErrCode CheckVersionCode(const std::unordered_map<std::string, InnerBundleInfo> &newInfos,
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/bundleoverlayinstallchecker_fuzzer/ |
H A D | bundleoverlayinstallchecker_fuzzer.cpp | 33 std::unordered_map<std::string, InnerBundleInfo> newInfos; in DoSomethingInterestingWithMyAPI() local 35 checker.CheckOverlayInstallation(newInfos, USERID, overlayType); in DoSomethingInterestingWithMyAPI() 37 checker.CheckInternalBundle(newInfos, innerBundleInfo); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/overlay/ |
H A D | bundle_overlay_install_checker.cpp | 28 std::unordered_map<std::string, InnerBundleInfo> &newInfos, int32_t userId, int32_t &overlayType)
in CheckOverlayInstallation() 32 if (newInfos.empty()) {
in CheckOverlayInstallation() 37 for (auto &info : newInfos) {
in CheckOverlayInstallation() 49 result = CheckInternalBundle(newInfos, info.second);
in CheckOverlayInstallation() 60 overlayType = (newInfos.begin()->second).GetOverlayType();
in CheckOverlayInstallation() 69 const std::unordered_map<std::string, InnerBundleInfo> &newInfos,
in CheckInternalBundle() 106 if ((result = CheckVersionCode(newInfos, innerBundleInfo)) != ERR_OK) {
in CheckInternalBundle() 206 const std::unordered_map<std::string, InnerBundleInfo> &newInfos,
in CheckVersionCode() 210 for (const auto &innerBundleInfo : newInfos) {
in CheckVersionCode() 27 CheckOverlayInstallation( std::unordered_map<std::string, InnerBundleInfo> &newInfos, int32_t userId, int32_t &overlayType) CheckOverlayInstallation() argument 68 CheckInternalBundle( const std::unordered_map<std::string, InnerBundleInfo> &newInfos, const InnerBundleInfo &innerBundleInfo) const CheckInternalBundle() argument 205 CheckVersionCode( const std::unordered_map<std::string, InnerBundleInfo> &newInfos, const InnerBundleInfo &info) const CheckVersionCode() argument
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/driverinstaller_fuzzer/ |
H A D | driverinstaller_fuzzer.cpp | 50 std::unordered_map<std::string, InnerBundleInfo> newInfos; in DoSomethingInterestingWithMyAPI() local 52 driverInstaller->CopyAllDriverFile(newInfos, oldInfo); in DoSomethingInterestingWithMyAPI() 57 driverInstaller->RemoveAndReNameDriverFile(newInfos, oldInfo); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/driver/ |
H A D | driver_installer.h | 30 ErrCode CopyAllDriverFile(const std::unordered_map<std::string, InnerBundleInfo> &newInfos, 44 void RemoveAndReNameDriverFile(const std::unordered_map<std::string, InnerBundleInfo> &newInfos,
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerinnerprocessbundleinstall_fuzzer/ |
H A D | basebundleinstallerinnerprocessbundleinstall_fuzzer.cpp | 31 std::unordered_map<std::string, InnerBundleInfo> newInfos; in DoSomethingInterestingWithMyAPI() local 35 auto ret1 = basebundleinstall.InnerProcessBundleInstall(newInfos, oldInfo, installParam, uid); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/appservicefwkinstallerinnerprocessinstall_fuzzer/ |
H A D | appservicefwkinstallerinnerprocessinstall_fuzzer.cpp | 36 std::unordered_map<std::string, InnerBundleInfo> newInfos; in DoSomethingInterestingWithMyAPI() local 37 appServicefwk.InnerProcessInstall(newInfos, installParam); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_service_fwk/ |
H A D | app_service_fwk_installer.cpp | 296 std::unordered_map<std::string, InnerBundleInfo> newInfos; in ProcessInstall() local 297 ErrCode result = CheckAndParseFiles(hspPaths, installParam, newInfos); in ProcessInstall() 302 if (!CheckNeedInstall(newInfos, oldInfo, isDowngrade)) { in ProcessInstall() 316 result = UpdateAppService(oldInfo, newInfos, installParam); in ProcessInstall() 319 result = InnerProcessInstall(newInfos, installParam); in ProcessInstall() 325 SavePreInstallBundleInfo(result, newInfos, installParam); in ProcessInstall() 330 const std::unordered_map<std::string, InnerBundleInfo> &newInfos, const InstallParam &installParam) in SavePreInstallBundleInfo() 350 for (const auto &item : newInfos) { in SavePreInstallBundleInfo() 355 for (const auto &innerBundleInfo : newInfos) { in SavePreInstallBundleInfo() 376 std::unordered_map<std::string, InnerBundleInfo> &newInfos) in CheckAndParseFiles() 329 SavePreInstallBundleInfo(ErrCode installResult, const std::unordered_map<std::string, InnerBundleInfo> &newInfos, const InstallParam &installParam) SavePreInstallBundleInfo() argument 374 CheckAndParseFiles( const std::vector<std::string> &hspPaths, InstallParam &installParam, std::unordered_map<std::string, InnerBundleInfo> &newInfos) CheckAndParseFiles() argument 537 InnerProcessInstall( std::unordered_map<std::string, InnerBundleInfo> &newInfos, InstallParam &installParam) InnerProcessInstall() argument 794 UpdateAppService( InnerBundleInfo &oldInfo, std::unordered_map<std::string, InnerBundleInfo> &newInfos, InstallParam &installParam) UpdateAppService() argument [all...] |
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/appservicefwkinstallercheckandparsefiles_fuzzer/ |
H A D | appservicefwkinstallercheckandparsefiles_fuzzer.cpp | 37 std::unordered_map<std::string, InnerBundleInfo> newInfos; in DoSomethingInterestingWithMyAPI() local 38 appServicefwk.CheckAndParseFiles(hspPaths, installParam, newInfos); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | base_bundle_installer.cpp | 692 void BaseBundleInstaller::CheckEnableRemovable(std::unordered_map<std::string, InnerBundleInfo> &newInfos, in CheckEnableRemovable() argument 695 for (auto &item : newInfos) { in CheckEnableRemovable() 729 bool BaseBundleInstaller::CheckDuplicateProxyData(const std::unordered_map<std::string, InnerBundleInfo> &newInfos) in CheckDuplicateProxyData() argument 732 for (const auto &innerBundleInfo : newInfos) { in CheckDuplicateProxyData() 750 ErrCode BaseBundleInstaller::InnerProcessBundleInstall(std::unordered_map<std::string, InnerBundleInfo> &newInfos, in InnerProcessBundleInstall() argument 764 result = CheckAppService(newInfos.begin()->second, oldInfo, isAppExist_); in InnerProcessBundleInstall() 771 preInstallBundleInfo.SetAppType(newInfos.begin()->second.GetAppType()); in InnerProcessBundleInstall() 772 preInstallBundleInfo.SetVersionCode(newInfos.begin()->second.GetVersionCode()); in InnerProcessBundleInstall() 774 for (const auto &item : newInfos) { in InnerProcessBundleInstall() 780 preInstallBundleInfo.SetRemovable(newInfos in InnerProcessBundleInstall() 1154 std::unordered_map<std::string, InnerBundleInfo> newInfos; ProcessBundleInstall() local 1350 RollBack(const std::unordered_map<std::string, InnerBundleInfo> &newInfos, InnerBundleInfo &oldInfo) RollBack() argument 2399 ProcessQuickFixWhenInstallNewModule(const InstallParam &installParam, const std::unordered_map<std::string, InnerBundleInfo> &newInfos) ProcessQuickFixWhenInstallNewModule() argument 2917 CreateDataGroupDirs( const std::unordered_map<std::string, InnerBundleInfo> &newInfos, const InnerBundleInfo &oldInfo) CreateDataGroupDirs() argument 3729 UpdateExtensionSandboxInfo(std::unordered_map<std::string, InnerBundleInfo> &newInfos, const std::vector<Security::Verify::HapVerifyResult> &hapVerifyRes) UpdateExtensionSandboxInfo() argument 3770 GetExtensionDirsChange(std::unordered_map<std::string, InnerBundleInfo> &newInfos, const InnerBundleInfo &oldInfo) GetExtensionDirsChange() argument 3838 GetCreateExtensionDirs(std::unordered_map<std::string, InnerBundleInfo> &newInfos) GetCreateExtensionDirs() argument 3856 GetRemoveExtensionDirs( std::unordered_map<std::string, InnerBundleInfo> &newInfos, const InnerBundleInfo &oldInfo) GetRemoveExtensionDirs() argument 4144 CheckMDMUpdateBundleForSelf(const InstallParam &installParam, InnerBundleInfo &oldInfo, const std::unordered_map<std::string, InnerBundleInfo> &newInfos, bool isAppExist) CheckMDMUpdateBundleForSelf() argument 4321 GetConfirmUserId( const int32_t &userId, std::unordered_map<std::string, InnerBundleInfo> &newInfos) GetConfirmUserId() argument 4427 CheckNativeFileWithOldInfo( const InnerBundleInfo &oldInfo, std::unordered_map<std::string, InnerBundleInfo> &newInfos) CheckNativeFileWithOldInfo() argument 4452 HasAllOldModuleUpdate( const InnerBundleInfo &oldInfo, std::unordered_map<std::string, InnerBundleInfo> &newInfos) HasAllOldModuleUpdate() argument 4476 CheckArkNativeFileWithOldInfo( const InnerBundleInfo &oldInfo, std::unordered_map<std::string, InnerBundleInfo> &newInfos) CheckArkNativeFileWithOldInfo() argument 4504 CheckNativeSoWithOldInfo( const InnerBundleInfo &oldInfo, std::unordered_map<std::string, InnerBundleInfo> &newInfos) CheckNativeSoWithOldInfo() argument 5045 CheckOverlayInstallation(std::unordered_map<std::string, InnerBundleInfo> &newInfos, int32_t userId) CheckOverlayInstallation() argument 5332 ProcessOldNativeLibraryPath(const std::unordered_map<std::string, InnerBundleInfo> &newInfos, uint32_t oldVersionCode, const std::string &oldNativeLibraryPath) const ProcessOldNativeLibraryPath() argument 5363 RemoveOldHapIfOTA(const InstallParam &installParam, const std::unordered_map<std::string, InnerBundleInfo> &newInfos, const InnerBundleInfo &oldInfo) const RemoveOldHapIfOTA() argument 5733 InstallEntryMoudleFirst(std::unordered_map<std::string, InnerBundleInfo> &newInfos, InnerBundleInfo &bundleInfo, const InnerBundleUserInfo &innerBundleUserInfo, const InstallParam &installParam) InstallEntryMoudleFirst() argument 5814 NeedDeleteOldNativeLib( std::unordered_map<std::string, InnerBundleInfo> &newInfos, const InnerBundleInfo &oldInfo) NeedDeleteOldNativeLib() argument [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/app_service_fwk/ |
H A D | app_service_fwk_installer.h | 54 std::unordered_map<std::string, InnerBundleInfo> &newInfos); 56 std::unordered_map<std::string, InnerBundleInfo> &newInfos, 89 const std::unordered_map<std::string, InnerBundleInfo> &newInfos, const InstallParam &installParam); 91 std::unordered_map<std::string, InnerBundleInfo> &newInfos,
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/driver/ |
H A D | driver_installer.cpp | 30 ErrCode DriverInstaller::CopyAllDriverFile(const std::unordered_map<std::string, InnerBundleInfo> &newInfos, in CopyAllDriverFile() argument 34 for (const auto &info : newInfos) { in CopyAllDriverFile() 40 RemoveAndReNameDriverFile(newInfos, oldInfo); in CopyAllDriverFile() 119 void DriverInstaller::RemoveAndReNameDriverFile(const std::unordered_map<std::string, InnerBundleInfo> &newInfos, in RemoveAndReNameDriverFile() argument 122 for (const auto &info : newInfos) { in RemoveAndReNameDriverFile()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_overlay_test/ |
H A D | bms_bundle_overlay_checker_test.cpp | 243 std::unordered_map<std::string, InnerBundleInfo> newInfos;
in HWTEST_F() local 247 auto res = overlayChecker->CheckInternalBundle(newInfos, innerBundleInfo);
in HWTEST_F() 270 std::unordered_map<std::string, InnerBundleInfo> newInfos;
in HWTEST_F() local 274 auto res = overlayChecker->CheckInternalBundle(newInfos, innerBundleInfo);
in HWTEST_F() 297 std::unordered_map<std::string, InnerBundleInfo> newInfos;
in HWTEST_F() local 301 auto res = overlayChecker->CheckInternalBundle(newInfos, innerBundleInfo);
in HWTEST_F() 324 std::unordered_map<std::string, InnerBundleInfo> newInfos;
in HWTEST_F() local 327 auto res = overlayChecker->CheckInternalBundle(newInfos, innerBundleInfo);
in HWTEST_F() 351 std::unordered_map<std::string, InnerBundleInfo> newInfos;
in HWTEST_F() local 355 auto res = overlayChecker->CheckInternalBundle(newInfos, innerBundleInf in HWTEST_F() 402 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local 442 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local 479 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local 532 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local 618 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local 643 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local 665 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local 2744 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local 2760 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local 2776 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local 3185 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local 3234 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/default_app/ |
H A D | default_app_rdb.cpp | 173 std::map<std::string, Element> newInfos; in ConvertMimeTypeToUtd() local 182 newInfos.emplace(normalizedType, item.second); in ConvertMimeTypeToUtd() 185 (void)SetDefaultApplicationInfos(userId, newInfos); in ConvertMimeTypeToUtd()
|
H A D | default_app_mgr.cpp | 362 std::map<std::string, Element> newInfos; in HandleUninstallBundle() local 368 newInfos.emplace(item.first, element); in HandleUninstallBundle() 373 newInfos.emplace(item.first, item.second); in HandleUninstallBundle() 376 defaultAppDb_->SetDefaultApplicationInfos(userId, newInfos); in HandleUninstallBundle()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/ |
H A D | bms_bundle_installer_test.cpp | 4466 std::unordered_map<std::string, InnerBundleInfo> newInfos; in HWTEST_F() local 4469 installer.ProcessOldNativeLibraryPath(newInfos, oldVersionCode, nativeLibraryPath); in HWTEST_F() 4474 installer.ProcessOldNativeLibraryPath(newInfos, oldVersionCode, nativeLibraryPath); in HWTEST_F() 4480 installer.ProcessOldNativeLibraryPath(newInfos, oldVersionCode, nativeLibraryPath); in HWTEST_F() 4491 newInfos["a"] = innerBundleInfo; in HWTEST_F() 4492 installer.ProcessOldNativeLibraryPath(newInfos, oldVersionCode, nativeLibraryPath); in HWTEST_F() 4498 newInfos["a"] = innerBundleInfo; in HWTEST_F() 4500 installer.ProcessOldNativeLibraryPath(newInfos, oldVersionCode, nativeLibraryPath); in HWTEST_F() 4530 std::unordered_map<std::string, InnerBundleInfo> newInfos; in HWTEST_F() local 4531 newInfos in HWTEST_F() 4551 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local 4578 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local 4605 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local 4622 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local 4648 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local 4672 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local 5681 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local 5720 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local 5753 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local 5780 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local 5811 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local 5842 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local 5873 std::unordered_map<std::string, InnerBundleInfo> newInfos; HWTEST_F() local [all...] |
H A D | bms_bundle_app_service_fwk_installer.cpp | 2004 std::unordered_map<std::string, InnerBundleInfo> newInfos; in HWTEST_F() local 2006 auto res = installer.CheckAndParseFiles(hspPaths, installParam, newInfos); in HWTEST_F()
|
H A D | bms_bundle_install_checker_test.cpp | 1843 std::unordered_map<std::string, InnerBundleInfo> newInfos;
in HWTEST_F() local 1846 bool ret = baseBundleInstaller.CheckDuplicateProxyData(newInfos);
in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_data_group_test/ |
H A D | bms_bundle_data_group_test.cpp | 137 std::unordered_map<std::string, InnerBundleInfo> newInfos; in HWTEST_F() local 138 newInfos.emplace(TEST_HAP_PATH, info); in HWTEST_F() 155 auto result = installer.CreateDataGroupDirs(newInfos, oldInfo); in HWTEST_F()
|
/foundation/multimedia/av_codec/services/media_engine/modules/demuxer/ |
H A D | media_demuxer.h | 163 bool GetDrmInfosUpdated(const std::multimap<std::string, std::vector<uint8_t>> &newInfos,
|
H A D | media_demuxer.cpp | 430 bool MediaDemuxer::GetDrmInfosUpdated(const std::multimap<std::string, std::vector<uint8_t>> &newInfos, in GetDrmInfosUpdated() argument 435 for (auto &newItem : newInfos) { in GetDrmInfosUpdated()
|