Searched refs:restore (Results 1 – 8 of 8) sorted by relevance
/base/hiviewdfx/hilog/services/hilogd/include/ |
D | log_persister.h | 58 int Init(const PersistRecoveryInfo& msg, bool restore); 79 int InitFileRotator(const PersistRecoveryInfo& msg, bool restore); 84 int PrepareUncompressedFile(const std::string& parentPath, bool restore);
|
D | log_persister_rotator.h | 49 int Init(const PersistRecoveryInfo& info, bool restore = false);
|
/base/hiviewdfx/hilog/services/hilogd/ |
D | log_persister.cpp | 103 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()
|
D | log_persister_rotator.cpp | 63 int LogPersisterRotator::Init(const PersistRecoveryInfo& info, bool restore) in Init() argument 72 SetFileIndex(m_info.index, restore); in Init()
|
D | service_controller.cpp | 565 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/ |
D | Wallpaper.test.js | 44 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/ |
D | README_ZH.md | 158 …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/ |
D | README.md | 26 │ ├── diffpatch # Differential package restore code
|