Home
last modified time | relevance | path

Searched refs:FromPath (Results 1 – 4 of 4) sorted by relevance

/system/bt/gd/storage/
Dlegacy_config_file_test.cc47 EXPECT_TRUE(LegacyConfigFile::FromPath(temp_config.string()).Write(config)); in TEST()
48 auto config_read = LegacyConfigFile::FromPath(temp_config.string()).Read(100); in TEST()
86 auto config_read = LegacyConfigFile::FromPath(temp_config.string()).Read(100); in TEST()
120 EXPECT_TRUE(LegacyConfigFile::FromPath(temp_config.string()).Write(config)); in TEST()
176 auto config_read = LegacyConfigFile::FromPath(temp_config.string()).Read(100); in TEST()
Dstorage_module.cc134 ASSERT(LegacyConfigFile::FromPath(config_file_path_).Write(pimpl_->cache_)); in SaveImmediately()
136 ASSERT(LegacyConfigFile::FromPath(config_backup_path_).Write(pimpl_->cache_)); in SaveImmediately()
147 LegacyConfigFile::FromPath(config_file_path_).Delete(); in Start()
148 LegacyConfigFile::FromPath(config_backup_path_).Delete(); in Start()
150 auto config = LegacyConfigFile::FromPath(config_file_path_).Read(temp_devices_capacity_); in Start()
153 config = LegacyConfigFile::FromPath(config_backup_path_).Read(temp_devices_capacity_); in Start()
Dstorage_module_test.cc147 auto config = LegacyConfigFile::FromPath(temp_config_.string()).Read(10); in TEST_F()
254 auto config = LegacyConfigFile::FromPath(temp_config_.string()).Read(10); in TEST_F()
261 config = LegacyConfigFile::FromPath(temp_config_.string()).Read(10); in TEST_F()
268 config = LegacyConfigFile::FromPath(temp_config_.string()).Read(10); in TEST_F()
275 config = LegacyConfigFile::FromPath(temp_config_.string()).Read(10); in TEST_F()
Dlegacy_config_file.h29 static LegacyConfigFile FromPath(std::string path) { in FromPath() function