Home
last modified time | relevance | path

Searched refs:restore (Results 1 – 8 of 8) sorted by relevance

/base/hiviewdfx/hilog/services/hilogd/include/
Dlog_persister.h58 int Init(const PersistRecoveryInfo& msg, bool restore);
79 int InitFileRotator(const PersistRecoveryInfo& msg, bool restore);
84 int PrepareUncompressedFile(const std::string& parentPath, bool restore);
Dlog_persister_rotator.h49 int Init(const PersistRecoveryInfo& info, bool restore = false);
/base/hiviewdfx/hilog/services/hilogd/
Dlog_persister.cpp103 int LogPersister::InitFileRotator(const PersistRecoveryInfo& info, bool restore) in InitFileRotator() argument
122 return m_fileRotator->Init(info, restore); in InitFileRotator()
125 int LogPersister::Init(const PersistRecoveryInfo& info, bool restore) in Init() argument
154 int ret = InitFileRotator(info, restore); in Init()
159 if (int result = PrepareUncompressedFile(parentPath, restore)) { in Init()
192 int LogPersister::PrepareUncompressedFile(const std::string& parentPath, bool restore) in PrepareUncompressedFile() argument
196 FILE* plainTextFile = fopen(m_plainLogFilePath.c_str(), restore ? "r+" : "w+"); in PrepareUncompressedFile()
204 if (!restore) { in PrepareUncompressedFile()
220 if (restore) { in PrepareUncompressedFile()
Dlog_persister_rotator.cpp63 int LogPersisterRotator::Init(const PersistRecoveryInfo& info, bool restore) in Init() argument
72 SetFileIndex(m_info.index, restore); in Init()
Dservice_controller.cpp565 int StartPersistStoreJob(const PersistRecoveryInfo& info, HilogBuffer& hilogBuffer, bool restore) in StartPersistStoreJob() argument
571 int ret = persister->Init(info, restore); in StartPersistStoreJob()
/base/theme/wallpaper_mgr/interfaces/kits/napi/test/unittest/src/wallpaper_js/
DWallpaper.test.js44 wallpaper.restore(WALLPAPER_SYSTEM, function (err, data) {
51 wallpaper.restore(WALLPAPER_LOCKSCREEN, function (err, data) {
196 wallpaper.restore(WALLPAPER_SYSTEM, function (err, data) {
222 wallpaper.restore(WALLPAPER_SYSTEM).then((data) => {
244 wallpaper.restore(WALLPAPER_LOCKSCREEN, function (err, data) {
267 wallpaper.restore(WALLPAPER_LOCKSCREEN).then((data) => {
289 wallpaper.restore(2, function (err, data) {
312 wallpaper.restore(function (err, data) {
335 wallpaper.restore(2).then((data) => {
357 wallpaper.restore().then((data) => {
[all …]
/base/theme/wallpaper_mgr/
DREADME_ZH.md158 …18"><a name="p12832214151418"></a><a name="p12832214151418"></a>function restore(wallpaperType: Wa…
163 …18"><a name="p12832214151418"></a><a name="p12832214151418"></a>function restore(wallpaperType: Wa…
429 wallpaper.restore(wallpaper.WallpaperType.WALLPAPER_SYSTEM, (error, data) => {
431 console.error(`failed to restore because: ` + JSON.stringify(error));
434 console.log(`success to restore.`);
437 wallpaper.restore(wallpaper.WallpaperType.WALLPAPER_SYSTEM).then((data) => {
438 console.log(`success to restore.`);
440 console.error(`failed to restore because: ` + JSON.stringify(error));
/base/update/updater/
DREADME.md26 │ ├── diffpatch # Differential package restore code