Home
last modified time | relevance | path

Searched refs:config_backup_path_ (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/system/gd/storage/
Dstorage_module.cc77 config_backup_path_ = config_file_path_.substr(0, config_file_path_.find_last_of('.')) + ".bak"; in StorageModule()
137 ASSERT(os::RenameFile(config_file_path_, config_backup_path_)); in SaveImmediately()
142 ASSERT(LegacyConfigFile::FromPath(config_backup_path_).Write(pimpl_->cache_)); in SaveImmediately()
161 LegacyConfigFile::FromPath(config_backup_path_).Delete(); in Start()
168 LegacyConfigFile::FromPath(config_backup_path_).Delete(); in Start()
172 …t load config at %s, using backup at %s.", config_file_path_.c_str(), config_backup_path_.c_str()); in Start()
173 config = LegacyConfigFile::FromPath(config_backup_path_).Read(temp_devices_capacity_); in Start()
177 … LOG_WARN("cannot load backup config at %s; creating new empty ones", config_backup_path_.c_str()); in Start()
Dstorage_module.h146 std::string config_backup_path_; variable