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()
127 ASSERT(os::RenameFile(config_file_path_, config_backup_path_)); in SaveImmediately()
132 ASSERT(LegacyConfigFile::FromPath(config_backup_path_).Write(pimpl_->cache_)); in SaveImmediately()
156 LegacyConfigFile::FromPath(config_backup_path_).Delete(); in Start()
163 LegacyConfigFile::FromPath(config_backup_path_).Delete(); in Start()
168 …t load config at %s, using backup at %s.", config_file_path_.c_str(), config_backup_path_.c_str()); in Start()
169 config = LegacyConfigFile::FromPath(config_backup_path_).Read(temp_devices_capacity_); in Start()
175 … LOG_WARN("cannot load backup config at %s; creating new empty ones", config_backup_path_.c_str()); in Start()
Dstorage_module.h182 std::string config_backup_path_; variable