Home
last modified time | relevance | path

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

/system/bt/gd/storage/
Dstorage_module.cc65 : config_file_path_(std::move(config_file_path)), in StorageModule()
71 config_backup_path_ = config_file_path_.substr(0, config_file_path_.find_last_of('.')) + ".bak"; in StorageModule()
130 if (os::FileExists(config_file_path_)) { in SaveImmediately()
131 ASSERT(os::RenameFile(config_file_path_, config_backup_path_)); in SaveImmediately()
134 ASSERT(LegacyConfigFile::FromPath(config_file_path_).Write(pimpl_->cache_)); in SaveImmediately()
147 LegacyConfigFile::FromPath(config_file_path_).Delete(); in Start()
150 auto config = LegacyConfigFile::FromPath(config_file_path_).Read(temp_devices_capacity_); in Start()
152 …LOG_WARN("cannot load config at %s, using backup at %s.", config_file_path_.c_str(), config_backup… in Start()
Dstorage_module.h141 std::string config_file_path_; variable