Home
last modified time | relevance | path

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

/system/bt/gd/storage/
Dstorage_module.cc71 config_backup_path_ = config_file_path_.substr(0, config_file_path_.find_last_of('.')) + ".bak"; in StorageModule()
131 ASSERT(os::RenameFile(config_file_path_, config_backup_path_)); in SaveImmediately()
136 ASSERT(LegacyConfigFile::FromPath(config_backup_path_).Write(pimpl_->cache_)); in SaveImmediately()
148 LegacyConfigFile::FromPath(config_backup_path_).Delete(); in Start()
152 …t load config at %s, using backup at %s.", config_file_path_.c_str(), config_backup_path_.c_str()); in Start()
153 config = LegacyConfigFile::FromPath(config_backup_path_).Read(temp_devices_capacity_); in Start()
157 … LOG_WARN("cannot load backup config at %s; creating new empty ones", config_backup_path_.c_str()); in Start()
Dstorage_module.h143 std::string config_backup_path_; variable