/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/ |
H A D | nstackx_device_remote.c | 251 static uint32_t CheckAndUpdateBusinessAll(BusinessDataAll *curInfo, const BusinessDataAll *newInfo, int8_t *updated) in CheckAndUpdateBusinessAll() argument 253 if (newInfo->isBroadcast == NSTACKX_TRUE) { in CheckAndUpdateBusinessAll() 254 if (strcmp(curInfo->businessDataBroadcast, newInfo->businessDataBroadcast) != 0) { in CheckAndUpdateBusinessAll() 256 newInfo->businessDataBroadcast) != EOK) { in CheckAndUpdateBusinessAll() 262 if (strcmp(curInfo->businessDataUnicast, newInfo->businessDataUnicast) != 0) { in CheckAndUpdateBusinessAll() 264 newInfo->businessDataUnicast) != EOK) { in CheckAndUpdateBusinessAll() 270 curInfo->isBroadcast = newInfo->isBroadcast; in CheckAndUpdateBusinessAll() 297 static int32_t UpdateDeviceInfoBusinessData(DeviceInfo *curInfo, const DeviceInfo *newInfo, int8_t *updated) in UpdateDeviceInfoBusinessData() argument 299 return CheckAndUpdateBusinessAll(&curInfo->businessData, &newInfo->businessData, updated); in UpdateDeviceInfoBusinessData() 302 static int32_t UpdateCapabilityBitmap(DeviceInfo *curInfo, const DeviceInfo *newInfo, in UpdateCapabilityBitmap() argument 327 UpdateDeviceInfoInner(DeviceInfo *curInfo, const DeviceInfo *newInfo, int8_t *updated) UpdateDeviceInfoInner() argument 359 UpdateDeviceInfo(DeviceInfo *curInfo, const RxIface *rxIface, const DeviceInfo *newInfo, int8_t *updatedPtr) UpdateDeviceInfo() argument [all...] |
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/overlaydatamgr_fuzzer/ |
H A D | overlaydatamgr_fuzzer.cpp | 36 InnerBundleInfo newInfo; in DoSomethingInterestingWithMyAPI() local 39 overlayDataMgr.UpdateOverlayInfo(newInfo, oldInfo, targetInnerBundleInfo); in DoSomethingInterestingWithMyAPI() 40 overlayDataMgr.UpdateInternalOverlayInfo(newInfo, oldInfo); in DoSomethingInterestingWithMyAPI() 41 overlayDataMgr.UpdateExternalOverlayInfo(newInfo, oldInfo, targetInnerBundleInfo); in DoSomethingInterestingWithMyAPI() 42 overlayDataMgr.BuildOverlayConnection(newInfo, oldInfo); in DoSomethingInterestingWithMyAPI() 46 overlayDataMgr.RemoveOverlayModuleConnection(newInfo, oldInfo); in DoSomethingInterestingWithMyAPI() 65 overlayDataMgr.AddOverlayModuleStates(newInfo, userInfo); in DoSomethingInterestingWithMyAPI() 66 overlayDataMgr.UpdateOverlayModule(newInfo, oldInfo); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/ |
H A D | bms_bundle_install_checker_test.cpp | 280 InnerBundleInfo newInfo;
in HWTEST_F() local 284 newInfo.currentPackage_ = "";
in HWTEST_F() 285 newInfo.InsertInnerModuleInfo("", innerModuleInfo);
in HWTEST_F() 286 auto ret = installChecker.IsExistedDistroModule(newInfo, info);
in HWTEST_F() 298 InnerBundleInfo newInfo;
in HWTEST_F() local 302 newInfo.currentPackage_ = "1";
in HWTEST_F() 303 newInfo.InsertInnerModuleInfo("1", innerModuleInfo);
in HWTEST_F() 304 auto ret = installChecker.IsExistedDistroModule(newInfo, info);
in HWTEST_F() 316 InnerBundleInfo newInfo;
in HWTEST_F() local 320 newInfo in HWTEST_F() 334 InnerBundleInfo newInfo; HWTEST_F() local 354 InnerBundleInfo newInfo; HWTEST_F() local 487 InnerBundleInfo newInfo; HWTEST_F() local 518 InnerBundleInfo newInfo; HWTEST_F() local 533 InnerBundleInfo newInfo; HWTEST_F() local 567 InnerBundleInfo newInfo; HWTEST_F() local 585 InnerBundleInfo newInfo; HWTEST_F() local 601 InnerBundleInfo newInfo; HWTEST_F() local 617 InnerBundleInfo newInfo; HWTEST_F() local 633 InnerBundleInfo newInfo; HWTEST_F() local 649 InnerBundleInfo newInfo; HWTEST_F() local 665 InnerBundleInfo newInfo; HWTEST_F() local 910 InnerBundleInfo newInfo; HWTEST_F() local 1084 InnerBundleInfo newInfo; HWTEST_F() local 1103 InnerBundleInfo newInfo; HWTEST_F() local 1119 InnerBundleInfo newInfo; HWTEST_F() local 1135 InnerBundleInfo newInfo; HWTEST_F() local 1151 InnerBundleInfo newInfo; HWTEST_F() local 1249 InnerBundleInfo newInfo; HWTEST_F() local 1273 InnerBundleInfo newInfo; HWTEST_F() local 1302 InnerBundleInfo newInfo; HWTEST_F() local 1331 InnerBundleInfo newInfo; HWTEST_F() local 1365 InnerBundleInfo newInfo; HWTEST_F() local 1399 InnerBundleInfo newInfo; HWTEST_F() local 1433 InnerBundleInfo newInfo; HWTEST_F() local 1467 InnerBundleInfo newInfo; HWTEST_F() local 1501 InnerBundleInfo newInfo; HWTEST_F() local 1804 InnerBundleInfo newInfo; HWTEST_F() local 1828 InnerBundleInfo newInfo; HWTEST_F() local [all...] |
H A D | bms_bundle_app_service_fwk_installer.cpp | 459 InnerBundleInfo newInfo; in HWTEST_F() local 462 newInfo.SetBaseApplicationInfo(applicationInfo); in HWTEST_F() 463 AddBundleInfo(BUNDLE_NAME, newInfo); in HWTEST_F() 467 infos[VERSION_ONE_LIBRARY_ONE_PATH] = newInfo; in HWTEST_F() 498 InnerBundleInfo newInfo; in HWTEST_F() local 499 bool getRes = dataMgr->FetchInnerBundleInfo(BUNDLE_NAME, newInfo); in HWTEST_F() 503 appServiceFwkInstaller.versionCode_ = newInfo.GetVersionCode(); in HWTEST_F() 504 infos[VERSION_ONE_LIBRARY_ONE_PATH] = newInfo; in HWTEST_F() 534 InnerBundleInfo newInfo; in HWTEST_F() local 535 bool getRes = dataMgr->FetchInnerBundleInfo(BUNDLE_NAME, newInfo); in HWTEST_F() 563 InnerBundleInfo newInfo; HWTEST_F() local 581 InnerBundleInfo newInfo; HWTEST_F() local 600 InnerBundleInfo newInfo; HWTEST_F() local 625 InnerBundleInfo newInfo; HWTEST_F() local 652 InnerBundleInfo newInfo; HWTEST_F() local 679 InnerBundleInfo newInfo; HWTEST_F() local 1171 InnerBundleInfo newInfo; HWTEST_F() local 1239 InnerBundleInfo newInfo; HWTEST_F() local 1295 InnerBundleInfo newInfo; HWTEST_F() local 1311 InnerBundleInfo newInfo; HWTEST_F() local 1713 InnerBundleInfo newInfo; HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/overlay/ |
H A D | bundle_overlay_data_manager.cpp | 27 ErrCode OverlayDataMgr::UpdateOverlayInfo(const InnerBundleInfo &newInfo, InnerBundleInfo &oldInfo,
in UpdateOverlayInfo() argument 31 if (newInfo.GetOverlayType() == OVERLAY_INTERNAL_BUNDLE) {
in UpdateOverlayInfo() 32 return UpdateInternalOverlayInfo(newInfo, oldInfo);
in UpdateOverlayInfo() 35 if (newInfo.GetOverlayType() == OVERLAY_EXTERNAL_BUNDLE) {
in UpdateOverlayInfo() 36 return UpdateExternalOverlayInfo(newInfo, oldInfo, targetInnerBundleInfo);
in UpdateOverlayInfo() 39 if (newInfo.GetOverlayType() == NON_OVERLAY_TYPE) {
in UpdateOverlayInfo() 40 return BuildOverlayConnection(newInfo, oldInfo);
in UpdateOverlayInfo() 74 ErrCode OverlayDataMgr::UpdateInternalOverlayInfo(const InnerBundleInfo &newInfo, InnerBundleInfo &oldInfo)
in UpdateInternalOverlayInfo() argument 76 auto &innerModuleInfos = newInfo.GetInnerModuleInfos();
in UpdateInternalOverlayInfo() 83 overlayModuleInfo.bundleName = newInfo in UpdateInternalOverlayInfo() 93 UpdateExternalOverlayInfo(const InnerBundleInfo &newInfo, InnerBundleInfo &oldInfo, InnerBundleInfo &targetInnerBundleInfo) UpdateExternalOverlayInfo() argument 136 BuildOverlayConnection(const InnerBundleInfo &newInfo, InnerBundleInfo &oldInfo) BuildOverlayConnection() argument 210 RemoveOverlayModuleConnection(const InnerBundleInfo &newInfo, InnerBundleInfo &oldInfo) RemoveOverlayModuleConnection() argument 791 UpdateOverlayModule(const InnerBundleInfo &newInfo, InnerBundleInfo &oldInfo) UpdateOverlayModule() argument [all...] |
H A D | bundle_overlay_install_checker.cpp | 292 ErrCode BundleOverlayInstallChecker::CheckOverlayUpdate(const InnerBundleInfo &oldInfo, const InnerBundleInfo &newInfo,
in CheckOverlayUpdate() argument 296 if (((newInfo.GetOverlayType() == OVERLAY_EXTERNAL_BUNDLE) &&
in CheckOverlayUpdate() 299 (newInfo.GetOverlayType() != OVERLAY_EXTERNAL_BUNDLE))) {
in CheckOverlayUpdate() 304 std::string newModuleName = newInfo.GetCurrentModulePackage();
in CheckOverlayUpdate() 308 if ((newInfo.GetOverlayType() != NON_OVERLAY_TYPE) && (!oldInfo.isOverlayModule(newModuleName))) {
in CheckOverlayUpdate() 313 if ((newInfo.GetOverlayType() == NON_OVERLAY_TYPE) && (oldInfo.isOverlayModule(newModuleName))) {
in CheckOverlayUpdate()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/ |
H A D | lnn_distributed_net_ledger.c | 192 static void NewWifiDiscovered(const NodeInfo *oldInfo, NodeInfo *newInfo) in NewWifiDiscovered() argument 195 if (oldInfo == NULL || newInfo == NULL) { in NewWifiDiscovered() 199 newInfo->discoveryType = newInfo->discoveryType | oldInfo->discoveryType; in NewWifiDiscovered() 200 newInfo->stateVersion = oldInfo->stateVersion; in NewWifiDiscovered() 201 macAddr = LnnGetBtMac(newInfo); in NewWifiDiscovered() 207 LnnSetBtMac(newInfo, LnnGetBtMac(oldInfo)); in NewWifiDiscovered() 211 static void NewBrBleDiscovered(const NodeInfo *oldInfo, NodeInfo *newInfo) in NewBrBleDiscovered() argument 214 if (oldInfo == NULL || newInfo == NULL) { in NewBrBleDiscovered() 218 newInfo in NewBrBleDiscovered() 233 RetainOfflineCode(const NodeInfo *oldInfo, NodeInfo *newInfo) RetainOfflineCode() argument 340 IsNetworkIdChanged(NodeInfo *newInfo, NodeInfo *oldInfo) IsNetworkIdChanged() argument 649 LnnUpdateNetworkId(const NodeInfo *newInfo) LnnUpdateNetworkId() argument 697 LnnUpdateNodeInfo(NodeInfo *newInfo) LnnUpdateNodeInfo() argument 1457 UpdateDevBasicInfoToDLedger(NodeInfo *newInfo, NodeInfo *oldInfo) UpdateDevBasicInfoToDLedger() argument 1494 UpdateDistributedLedger(NodeInfo *newInfo, NodeInfo *oldInfo) UpdateDistributedLedger() argument 1546 LnnUpdateDistributedNodeInfo(NodeInfo *newInfo, const char *udid) LnnUpdateDistributedNodeInfo() argument [all...] |
/foundation/multimedia/audio_framework/services/audio_service/test/unittest/audio_server_dump_unit_test/src/ |
H A D | audio_server_dump_unit_test.cpp | 662 const SinkSourceInfo& newInfo = audioServerDump.streamData_.sinkDevices.front(); in HWTEST_F() local 664 EXPECT_EQ("PASinkInfo", newInfo.name); in HWTEST_F() 726 const SinkSourceInfo& newInfo = audioServerDump.streamData_.sinkDevices.front(); in HWTEST_F() local 728 EXPECT_EQ("test", newInfo.name); in HWTEST_F() 775 const InputOutputInfo& newInfo = audioServerDump.streamData_.sinkInputs.front(); in HWTEST_F() local 777 EXPECT_EQ("test_name", newInfo.applicationName); in HWTEST_F() 778 EXPECT_EQ("process_id", newInfo.processId); in HWTEST_F() 779 EXPECT_EQ(0, newInfo.userId); in HWTEST_F() 780 EXPECT_EQ("session_id", newInfo.sessionId); in HWTEST_F() 781 EXPECT_EQ("session_start_time", newInfo in HWTEST_F() 845 const SinkSourceInfo& newInfo = audioServerDump.streamData_.sourceDevices.front(); HWTEST_F() local 906 const SinkSourceInfo& newInfo = audioServerDump.streamData_.sourceDevices.front(); HWTEST_F() local 951 const InputOutputInfo& newInfo = audioServerDump.streamData_.sourceOutputs.front(); HWTEST_F() local 994 const InputOutputInfo& newInfo = audioServerDump.streamData_.sourceOutputs.front(); HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_install_checker.cpp | 347 InnerBundleInfo newInfo; in ParseHapFiles() local 351 newInfo.SetAppType(Constants::AppType::SYSTEM_APP); in ParseHapFiles() 353 newInfo.SetAppType(Constants::AppType::THIRD_PARTY_APP); in ParseHapFiles() 355 newInfo.SetIsPreInstallApp(checkParam.isPreInstallApp); in ParseHapFiles() 356 result = ParseBundleInfo(bundlePaths[i], newInfo, packInfo); in ParseHapFiles() 361 newInfo.SetOrganization(provisionInfo.organization); in ParseHapFiles() 363 result = CheckBundleName(provisionInfo.bundleInfo.bundleName, newInfo.GetBundleName()); in ParseHapFiles() 369 if (newInfo.HasEntry()) { in ParseHapFiles() 377 SetEntryInstallationFree(packInfo, newInfo); in ParseHapFiles() 378 result = CheckMainElement(newInfo); in ParseHapFiles() 667 CollectProvisionInfo( const Security::Verify::ProvisionInfo &provisionInfo, const AppPrivilegeCapability &appPrivilegeCapability, InnerBundleInfo &newInfo) CollectProvisionInfo() argument 694 SetAppProvisionMetadata(const std::vector<Security::Verify::Metadata> &provisionMetadatas, InnerBundleInfo &newInfo) SetAppProvisionMetadata() argument 711 GetPrivilegeCapability( const InstallCheckParam &checkParam, InnerBundleInfo &newInfo) GetPrivilegeCapability() argument 1101 IsExistedDistroModule(const InnerBundleInfo &newInfo, const InnerBundleInfo &info) const IsExistedDistroModule() argument 1130 IsContainModuleName(const InnerBundleInfo &newInfo, const InnerBundleInfo &info) const IsContainModuleName() argument [all...] |
H A D | base_bundle_installer.cpp | 720 bool BaseBundleInstaller::CheckDuplicateProxyData(const InnerBundleInfo &newInfo, in CheckDuplicateProxyData() argument 725 newInfo.GetAllProxyDataInfos(proxyDatas); in CheckDuplicateProxyData() 877 InnerBundleInfo &newInfo = it->second; in InnerProcessBundleInstall() local 882 newInfo.AddInnerBundleUserInfo(newInnerBundleUserInfo); in InnerProcessBundleInstall() 885 newInfo.SetIsFreeInstallApp(InstallFlag::FREE_INSTALL == installParam.installFlag); in InnerProcessBundleInstall() 887 result = ProcessBundleInstallStatus(newInfo, uid); in InnerProcessBundleInstall() 929 InnerBundleInfo &newInfo = it->second; in InnerProcessBundleInstall() local 930 newInfo.AddInnerBundleUserInfo(innerBundleUserInfo); in InnerProcessBundleInstall() 935 bundleInfo, newInfo, isReplace, installParam.GetKillProcess())) != ERR_OK) { in InnerProcessBundleInstall() 1060 const InnerBundleInfo &newInfo, cons in CheckAppService() 1059 CheckAppService( const InnerBundleInfo &newInfo, const InnerBundleInfo &oldInfo, bool isAppExist) CheckAppService() argument 2124 ProcessBundleUpdateStatus( InnerBundleInfo &oldInfo, InnerBundleInfo &newInfo, bool isReplace, bool killProcess) ProcessBundleUpdateStatus() argument 2189 CheckAppIdentifier(InnerBundleInfo &oldInfo, InnerBundleInfo &newInfo) CheckAppIdentifier() argument 2200 ProcessNewModuleInstall(InnerBundleInfo &newInfo, InnerBundleInfo &oldInfo) ProcessNewModuleInstall() argument 2272 ProcessModuleUpdate(InnerBundleInfo &newInfo, InnerBundleInfo &oldInfo, bool isReplace, bool killProcess) ProcessModuleUpdate() argument 2457 ProcessDeployedHqfInfo(const std::string &nativeLibraryPath, const std::string &cpuAbi, const InnerBundleInfo &newInfo, const AppQuickFix &oldAppQuickFix) const ProcessDeployedHqfInfo() argument 2557 UpdateLibAttrs(const InnerBundleInfo &newInfo, const std::string &cpuAbi, const std::string &nativeLibraryPath, AppqfInfo &appQfInfo) const UpdateLibAttrs() argument 2943 GetRemoveDataGroupDirs( const InnerBundleInfo &oldInfo, const InnerBundleInfo &newInfo) GetRemoveDataGroupDirs() argument 3224 GetDataGroupCreateInfos(const InnerBundleInfo &newInfo) GetDataGroupCreateInfos() argument 4455 const auto &newInfo = newInfos.begin()->second; HasAllOldModuleUpdate() local 4513 const auto &newInfo = newInfos.begin()->second; CheckNativeSoWithOldInfo() local 5057 CheckOverlayUpdate(const InnerBundleInfo &oldInfo, const InnerBundleInfo &newInfo, int32_t userId) const CheckOverlayUpdate() argument 5084 CheckArkProfileDir(const InnerBundleInfo &newInfo, const InnerBundleInfo &oldInfo) const CheckArkProfileDir() argument 5745 InnerBundleInfo &newInfo = info.second; InstallEntryMoudleFirst() local 5853 UpdateHapToken(bool needUpdate, InnerBundleInfo &newInfo) UpdateHapToken() argument [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/overlay/ |
H A D | bundle_overlay_data_manager.h | 31 ErrCode UpdateOverlayInfo(const InnerBundleInfo &newInfo, InnerBundleInfo &oldInfo,
34 ErrCode UpdateInternalOverlayInfo(const InnerBundleInfo &newInfo, InnerBundleInfo &oldInfo);
36 ErrCode UpdateExternalOverlayInfo(const InnerBundleInfo &newInfo, InnerBundleInfo &oldInfo,
39 ErrCode BuildOverlayConnection(const InnerBundleInfo &newInfo, InnerBundleInfo &oldInfo);
43 ErrCode RemoveOverlayModuleConnection(const InnerBundleInfo &newInfo, InnerBundleInfo &oldInfo);
82 ErrCode UpdateOverlayModule(const InnerBundleInfo &newInfo, InnerBundleInfo &oldInfo);
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_image_ffi.cpp | 171 auto onError = [ffiOnError = CJLambda::Create(callback)](const LoadImageFailEvent& newInfo) -> void { in FfiOHOSAceFrameworkImageOnError() 173 ffiErrorInfo.componentWidth = newInfo.GetComponentWidth(); in FfiOHOSAceFrameworkImageOnError() 174 ffiErrorInfo.componentHeight = newInfo.GetComponentHeight(); in FfiOHOSAceFrameworkImageOnError() 190 auto onComplete = [ffiOnComplete = CJLambda::Create(callback)](const LoadImageSuccessEvent& newInfo) -> void { in FfiOHOSAceFrameworkImageOnComplete() 192 ffiCompleteInfo.width = newInfo.GetWidth(); in FfiOHOSAceFrameworkImageOnComplete() 193 ffiCompleteInfo.height = newInfo.GetHeight(); in FfiOHOSAceFrameworkImageOnComplete() 194 ffiCompleteInfo.componentWidth = newInfo.GetComponentWidth(); in FfiOHOSAceFrameworkImageOnComplete() 195 ffiCompleteInfo.componentHeight = newInfo.GetComponentHeight(); in FfiOHOSAceFrameworkImageOnComplete() 196 ffiCompleteInfo.loadingStatus = newInfo.GetLoadingStatus(); in FfiOHOSAceFrameworkImageOnComplete()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_overlay_test/ |
H A D | bms_bundle_overlay_checker_test.cpp | 766 InnerBundleInfo newInfo;
in HWTEST_F() local 770 newInfo.SetOverlayType(OverlayType::OVERLAY_INTERNAL_BUNDLE);
in HWTEST_F() 771 ErrCode res = overlayDataMgr.UpdateOverlayInfo(newInfo, oldInfo, targetInnerBundleInfo);
in HWTEST_F() 773 newInfo.SetOverlayType(OverlayType::OVERLAY_EXTERNAL_BUNDLE);
in HWTEST_F() 774 res = overlayDataMgr.UpdateOverlayInfo(newInfo, oldInfo, targetInnerBundleInfo);
in HWTEST_F() 776 newInfo.SetOverlayType(OverlayType::NON_OVERLAY_TYPE);
in HWTEST_F() 777 res = overlayDataMgr.UpdateOverlayInfo(newInfo, oldInfo, targetInnerBundleInfo);
in HWTEST_F() 780 newInfo.SetOverlayType(FOUR);
in HWTEST_F() 781 res = overlayDataMgr.UpdateOverlayInfo(newInfo, oldInfo, targetInnerBundleInfo);
in HWTEST_F() 811 InnerBundleInfo newInfo;
in HWTEST_F() local 883 InnerBundleInfo newInfo; HWTEST_F() local 905 InnerBundleInfo newInfo; HWTEST_F() local 961 InnerBundleInfo newInfo; HWTEST_F() local 1014 InnerBundleInfo newInfo; HWTEST_F() local 1039 InnerBundleInfo newInfo; HWTEST_F() local 1062 InnerBundleInfo newInfo; HWTEST_F() local 1332 InnerBundleInfo newInfo; HWTEST_F() local 1369 InnerBundleInfo newInfo; HWTEST_F() local 1394 InnerBundleInfo newInfo; HWTEST_F() local 1423 InnerBundleInfo newInfo; HWTEST_F() local 1549 InnerBundleInfo newInfo; HWTEST_F() local 1676 InnerBundleInfo newInfo; HWTEST_F() local 1700 InnerBundleInfo newInfo; HWTEST_F() local 2357 InnerBundleInfo newInfo; HWTEST_F() local 2455 InnerBundleInfo newInfo; HWTEST_F() local 2698 InnerBundleInfo newInfo; HWTEST_F() local 2715 InnerBundleInfo newInfo; HWTEST_F() local 2730 InnerBundleInfo newInfo; HWTEST_F() local 2745 InnerBundleInfo newInfo; HWTEST_F() local 2853 InnerBundleInfo newInfo; HWTEST_F() local 2869 InnerBundleInfo newInfo; HWTEST_F() local 2885 InnerBundleInfo newInfo; HWTEST_F() local 2902 InnerBundleInfo newInfo; HWTEST_F() local 2923 InnerBundleInfo newInfo; HWTEST_F() local 2944 InnerBundleInfo newInfo; HWTEST_F() local 3150 InnerBundleInfo newInfo; HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_service_fwk/ |
H A D | app_service_fwk_installer.cpp | 545 InnerBundleInfo &newInfo = it->second; in InnerProcessInstall() local 547 newInfo.GetCurrentModulePackage().c_str()); in InnerProcessInstall() 548 result = ExtractModule(newInfo, it->first, installParam.copyHapToInstallPath); in InnerProcessInstall() 552 newInfo.SetApplicationFlags(installParam.preinstallSourceFlag); in InnerProcessInstall() 553 MergeBundleInfos(newInfo); in InnerProcessInstall() 560 InnerBundleInfo &newInfo, const std::string &bundlePath, bool copyHapToInstallPath) in ExtractModule() 563 newInfo.GetCurrentModulePackage().c_str(), bundlePath.c_str()); in ExtractModule() 571 newInfo.SetAppCodePath(bundleDir); in ExtractModule() 572 uint32_t versionCode = newInfo.GetVersionCode(); in ExtractModule() 578 auto &moduleName = newInfo in ExtractModule() 559 ExtractModule( InnerBundleInfo &newInfo, const std::string &bundlePath, bool copyHapToInstallPath) ExtractModule() argument 622 ExtractModule(InnerBundleInfo &oldInfo, InnerBundleInfo &newInfo, const std::string &bundlePath) ExtractModule() argument 667 ProcessNativeLibrary( const std::string &bundlePath, const std::string &moduleDir, const std::string &moduleName, const std::string &versionDir, InnerBundleInfo &newInfo, bool copyHapToInstallPath) ProcessNativeLibrary() argument 819 ProcessBundleUpdateStatus(InnerBundleInfo &oldInfo, InnerBundleInfo &newInfo, const std::string &hspPath, const InstallParam &installParam) ProcessBundleUpdateStatus() argument 850 ProcessModuleUpdate(InnerBundleInfo &newInfo, InnerBundleInfo &oldInfo, const std::string &hspPath, const InstallParam &installParam) ProcessModuleUpdate() argument 889 ProcessNewModuleInstall(InnerBundleInfo &newInfo, InnerBundleInfo &oldInfo, const std::string &hspPath, const InstallParam &installParam) ProcessNewModuleInstall() argument 1039 CheckNeedUpdate(const InnerBundleInfo &newInfo, const InnerBundleInfo &oldInfo) CheckNeedUpdate() argument [all...] |
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/appservicefwkinstallerextractmodule_fuzzer/ |
H A D | appservicefwkinstallerextractmodule_fuzzer.cpp | 34 InnerBundleInfo newInfo; in DoSomethingInterestingWithMyAPI() local 36 appServicefwk.ExtractModule(newInfo, hspPaths); in DoSomethingInterestingWithMyAPI() 37 appServicefwk.ExtractModule(oldInfo, newInfo, hspPaths); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/app_service_fwk/ |
H A D | app_service_fwk_installer.h | 65 InnerBundleInfo &newInfo, const std::string &bundlePath, bool copyHapToInstallPath = false); 66 ErrCode ExtractModule(InnerBundleInfo &oldInfo, InnerBundleInfo &newInfo, const std::string &bundlePath); 73 InnerBundleInfo &newInfo, 97 bool CheckNeedUpdate(const InnerBundleInfo &newInfo, const InnerBundleInfo &oldInfo); 98 ErrCode ProcessBundleUpdateStatus(InnerBundleInfo &oldInfo, InnerBundleInfo &newInfo, 100 ErrCode ProcessNewModuleInstall(InnerBundleInfo &newInfo, InnerBundleInfo &oldInfo, 102 ErrCode ProcessModuleUpdate(InnerBundleInfo &newInfo, InnerBundleInfo &oldInfo,
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/appservicefwkinstallerupdateappservice_fuzzer/ |
H A D | appservicefwkinstallerupdateappservice_fuzzer.cpp | 46 InnerBundleInfo newInfo; in DoSomethingInterestingWithMyAPI() local 47 appServiceFwk.CheckNeedUpdate(newInfo, oldInfo); in DoSomethingInterestingWithMyAPI() 49 appServiceFwk.ProcessBundleUpdateStatus(oldInfo, newInfo, VERSION_ONE_LIBRARY_ONE_PATH, installParam); in DoSomethingInterestingWithMyAPI()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_sync_info_manager.c | 305 SyncChannelInfo *newInfo = (SyncChannelInfo *)SoftBusCalloc(sizeof(SyncChannelInfo)); in DumpSyncChannelInfo() local 306 if (newInfo == NULL) { in DumpSyncChannelInfo() 310 ListInit(&newInfo->node); in DumpSyncChannelInfo() 311 ListInit(&newInfo->syncMsgList); in DumpSyncChannelInfo() 312 if (strcpy_s(newInfo->networkId, NETWORK_ID_BUF_LEN, info->networkId) != EOK) { in DumpSyncChannelInfo() 314 SoftBusFree(newInfo); in DumpSyncChannelInfo() 317 newInfo->clientChannelId = info->clientChannelId; in DumpSyncChannelInfo() 318 newInfo->serverChannelId = info->serverChannelId; in DumpSyncChannelInfo() 319 newInfo->accessTime = info->accessTime; in DumpSyncChannelInfo() 320 newInfo in DumpSyncChannelInfo() 410 SyncChannelInfo *newInfo = NULL; OnChannelOpened() local 955 ResetSendSyncInfo(SyncChannelInfo *oldInfo, const SyncChannelInfo *newInfo, SyncInfoMsg *msg) ResetSendSyncInfo() argument [all...] |
H A D | lnn_data_cloud_sync.c | 793 static void UpdateDevBasicInfoToCache(const NodeInfo *newInfo, NodeInfo *oldInfo) in UpdateDevBasicInfoToCache() argument 795 if (strcpy_s(oldInfo->deviceInfo.deviceName, DEVICE_NAME_BUF_LEN, newInfo->deviceInfo.deviceName) != EOK) { in UpdateDevBasicInfoToCache() 798 if (strcpy_s(oldInfo->deviceInfo.unifiedName, DEVICE_NAME_BUF_LEN, newInfo->deviceInfo.unifiedName) != EOK) { in UpdateDevBasicInfoToCache() 801 if (strcpy_s(oldInfo->deviceInfo.unifiedDefaultName, DEVICE_NAME_BUF_LEN, newInfo->deviceInfo.unifiedDefaultName) != in UpdateDevBasicInfoToCache() 805 if (strcpy_s(oldInfo->deviceInfo.nickName, DEVICE_NAME_BUF_LEN, newInfo->deviceInfo.nickName) != EOK) { in UpdateDevBasicInfoToCache() 808 if (strcpy_s(oldInfo->deviceInfo.deviceUdid, UDID_BUF_LEN, newInfo->deviceInfo.deviceUdid) != EOK) { in UpdateDevBasicInfoToCache() 811 if (strcpy_s(oldInfo->deviceInfo.deviceVersion, DEVICE_VERSION_SIZE_MAX, newInfo->deviceInfo.deviceVersion) != in UpdateDevBasicInfoToCache() 815 if (strcpy_s(oldInfo->uuid, UUID_BUF_LEN, newInfo->uuid) != EOK) { in UpdateDevBasicInfoToCache() 818 if (strcpy_s(oldInfo->networkId, NETWORK_ID_BUF_LEN, newInfo->networkId) != EOK) { in UpdateDevBasicInfoToCache() 821 oldInfo->deviceInfo.deviceTypeId = newInfo in UpdateDevBasicInfoToCache() 838 LnnUpdateOldCacheInfo(const NodeInfo *newInfo, NodeInfo *oldInfo) LnnUpdateOldCacheInfo() argument [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | base_bundle_installer.h | 250 * @param newInfo Indicates the InnerBundleInfo object parsed from the config.json in the HAP package. 255 InnerBundleInfo &newInfo, bool isReplace, bool killProcess = true); 317 * @param newInfo Indicates the InnerBundleInfo object parsed from the config.json in the HAP package. 321 ErrCode ProcessNewModuleInstall(InnerBundleInfo &newInfo, InnerBundleInfo &oldInfo); 324 * @param newInfo Indicates the InnerBundleInfo object parsed from the config.json in the HAP package. 328 ErrCode ProcessModuleUpdate(InnerBundleInfo &newInfo, 530 ErrCode UpdateHapToken(bool needUpdate, InnerBundleInfo &newInfo); 544 * @brief Save oldInfo isRemovable to newInfo isRemovable. 563 ErrCode CheckAppLabel(const InnerBundleInfo &oldInfo, const InnerBundleInfo &newInfo) const; 564 bool CheckReleaseTypeIsCompatible(const InnerBundleInfo &oldInfo, const InnerBundleInfo &newInfo) cons [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/shared/ |
H A D | inner_shared_bundle_installer.cpp | 325 ErrCode InnerSharedBundleInstaller::ExtractSharedBundles(const std::string &bundlePath, InnerBundleInfo &newInfo) in ExtractSharedBundles() argument 331 newInfo.SetAppCodePath(bundleDir); in ExtractSharedBundles() 333 uint32_t versionCode = newInfo.GetVersionCode(); in ExtractSharedBundles() 339 auto &moduleName = newInfo.GetInnerModuleInfos().begin()->second.moduleName; in ExtractSharedBundles() 344 result = ProcessNativeLibrary(bundlePath, moduleDir, moduleName, versionDir, newInfo); in ExtractSharedBundles() 347 if (newInfo.IsPreInstallApp()) { in ExtractSharedBundles() 349 newInfo.SetModuleHapPath(bundlePath); in ExtractSharedBundles() 356 newInfo.SetModuleHapPath(realHspPath); in ExtractSharedBundles() 358 if (newInfo.IsCompressNativeLibs(moduleName)) { in ExtractSharedBundles() 363 newInfo in ExtractSharedBundles() 680 ProcessNativeLibrary( const std::string &bundlePath, const std::string &moduleDir, const std::string &moduleName, const std::string &versionDir, InnerBundleInfo &newInfo) ProcessNativeLibrary() argument [all...] |
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerprocessbundleupdatestatus_fuzzer/ |
H A D | basebundleinstallerprocessbundleupdatestatus_fuzzer.cpp | 32 InnerBundleInfo newInfo; in DoSomethingInterestingWithMyAPI() local 34 auto ret1 = basebundleinstall.ProcessBundleUpdateStatus(oldInfo, newInfo, isReplace); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerprocessmoduleupdate_fuzzer/ |
H A D | basebundleinstallerprocessmoduleupdate_fuzzer.cpp | 31 InnerBundleInfo newInfo; in DoSomethingInterestingWithMyAPI() local 34 auto ret1 = basebundleinstall.ProcessModuleUpdate(newInfo, oldInfo, isReplace); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/ |
H A D | inner_app_quick_fix.cpp | 52 bool InnerAppQuickFix::AddHqfInfo(const AppQuickFix &newInfo) in AddHqfInfo() argument 54 if (newInfo.deployingAppqfInfo.hqfInfos.empty()) { in AddHqfInfo() 58 for (const auto &item : newInfo.deployingAppqfInfo.hqfInfos) { in AddHqfInfo()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | cloud_test.cpp | 191 CloudInfo newInfo; in HWTEST_F() local 192 ASSERT_TRUE(MetaDataManager::GetInstance().LoadMeta(oldInfo.GetKey(), newInfo, true)); in HWTEST_F() 193 EXPECT_EQ(newInfo.maxNumber, CloudInfo::DEFAULT_BATCH_NUMBER); in HWTEST_F() 194 EXPECT_EQ(newInfo.maxSize, CloudInfo::DEFAULT_BATCH_SIZE); in HWTEST_F()
|