mirror of
https://github.com/openharmony/update_updateservice.git
synced 2026-07-01 21:03:59 -04:00
@@ -52,7 +52,7 @@ protected:
|
||||
|
||||
void NotifyEventInfo(const EventInfo &eventInfo);
|
||||
|
||||
std::shared_ptr<SessionManager> sessionsMgr_;
|
||||
std::shared_ptr<SessionManager> sessionsMgr_ = nullptr;
|
||||
};
|
||||
} // namespace UpdateEngine
|
||||
} // namespace OHOS
|
||||
|
||||
@@ -47,7 +47,7 @@ private:
|
||||
|
||||
napi_env env_ {};
|
||||
napi_ref thisReference_ {};
|
||||
std::map<uint32_t, std::shared_ptr<IUpdateSession>> sessions_;
|
||||
std::map<uint32_t, std::shared_ptr<IUpdateSession>> sessions_ {};
|
||||
#ifndef UPDATER_API_TEST
|
||||
std::recursive_mutex sessionMutex_;
|
||||
#endif
|
||||
|
||||
@@ -50,7 +50,7 @@ private:
|
||||
AlarmType alarmType_;
|
||||
std::string logTag_;
|
||||
int32_t timeLooperInterval_ = AlarmLooper::DEFAULT_LOOPER_INTERVAL;
|
||||
std::map<BusinessAlarmType, AlarmCallback> callbackMap_;
|
||||
std::map<BusinessAlarmType, AlarmCallback> callbackMap_ {};
|
||||
};
|
||||
} // namespace UpdateEngine
|
||||
} // namespace OHOS
|
||||
|
||||
@@ -41,7 +41,7 @@ private:
|
||||
void BuildTimer();
|
||||
|
||||
private:
|
||||
std::map<AlarmType, uint32_t> lastRegisterTimeIdMap_;
|
||||
std::map<AlarmType, uint32_t> lastRegisterTimeIdMap_ {};
|
||||
std::shared_ptr<OHOS::Utils::Timer> timer_ = nullptr;
|
||||
std::mutex mutex_;
|
||||
};
|
||||
|
||||
@@ -37,7 +37,7 @@ public:
|
||||
std::string reserveUrl;
|
||||
std::string path;
|
||||
std::string veriftInfo;
|
||||
std::map<std::string, std::string> header;
|
||||
std::map<std::string, std::string> header {};
|
||||
std::string requestBody;
|
||||
int32_t retryTimes = 0;
|
||||
int64_t packageSize = 0;
|
||||
|
||||
@@ -56,7 +56,7 @@ private:
|
||||
|
||||
private:
|
||||
FirmwareInstallDataProcessor installStepDataProcessor_;
|
||||
UpgradeOptions upgradeOptions_ {};
|
||||
UpgradeOptions upgradeOptions_;
|
||||
BusinessError &businessError_;
|
||||
InstallType installType_;
|
||||
OnExecuteFinishCallback onExecuteFinishCallback_;
|
||||
|
||||
Reference in New Issue
Block a user