/external/libweave/src/ |
config_unittest.cc | 34 config_.reset(new Config{&config_store_}); 47 provider::test::MockConfigStore config_store_; member in class:weave::ConfigTest 49 Config default_{&config_store_}; 91 EXPECT_CALL(config_store_, LoadSettings(kConfigName)) 102 EXPECT_CALL(config_store_, LoadSettings(kConfigName)) 115 EXPECT_CALL(config_store_, LoadSettings(kConfigName)).WillOnce(Return("")); 117 EXPECT_CALL(config_store_, LoadSettings()).Times(1); 123 EXPECT_CALL(config_store_, LoadSettings(kConfigName)).WillOnce(Return("{}")); 125 EXPECT_CALL(config_store_, LoadSettings()).Times(0); 153 EXPECT_CALL(config_store_, LoadSettings(kConfigName)).WillOnce(Return(state)) [all...] |
access_black_list_manager_impl_unittest.cc | 34 EXPECT_CALL(config_store_, LoadSettings("black_list")) 37 EXPECT_CALL(config_store_, SaveSettings("black_list", _, _)) 52 manager_.reset(new AccessBlackListManagerImpl{&config_store_, 10, &clock_}); 55 StrictMock<provider::test::MockConfigStore> config_store_{false}; 69 EXPECT_CALL(config_store_, SaveSettings("black_list", _, _)) 96 EXPECT_CALL(config_store_, SaveSettings("black_list", _, _)) 115 EXPECT_CALL(config_store_, SaveSettings("black_list", _, _)) 142 EXPECT_CALL(config_store_, SaveSettings("black_list", _, _))
|
config.cc | 94 : settings_{CreateDefaultSettings()}, config_store_{config_store} { 114 if (!config_store_) 118 CHECK(config_store_->LoadDefaults(&settings_)); 147 if (!config_->config_store_) 149 std::string json_string = config_->config_store_->LoadSettings(kConfigName); 151 json_string = config_->config_store_->LoadSettings(); 249 if (!config_store_) 284 config_store_->SaveSettings(
|
weave_unittest.cc | 277 device_ = weave::Device::Create(&config_store_, &task_runner_, 339 StrictMock<provider::test::MockConfigStore> config_store_; member in class:weave::WeaveTest 361 device_ = weave::Device::Create(&config_store_, &task_runner_, &http_client_, 371 device_ = weave::Device::Create(&config_store_, &task_runner_, &http_client_, 482 EXPECT_CALL(config_store_, LoadSettings()) 516 EXPECT_CALL(config_store_, LoadSettings()) 562 EXPECT_CALL(config_store_, LoadSettings())
|
base_api_handler_unittest.cc | 93 provider::test::MockConfigStore config_store_; member in class:weave::BaseApiHandlerTest 94 Config config_{&config_store_};
|
config.h | 128 provider::ConfigStore* config_store_{nullptr};
|
device_registration_info_unittest.cc | 134 EXPECT_CALL(config_store_, LoadDefaults(_)) 151 config_.reset(new Config{&config_store_}); 170 EXPECT_CALL(config_store_, LoadSettings()).WillOnce(Return(json_string)); 200 provider::test::MockConfigStore config_store_; member in class:weave::DeviceRegistrationInfoTest
|
/external/libweave/examples/daemon/common/ |
daemon.h | 69 config_store_{ 85 device_ = weave::Device::Create(config_store_.get(), task_runner_.get(), 114 std::unique_ptr<weave::examples::FileConfigStore> config_store_; member in class:Daemon
|
/external/libweave/src/privet/ |
security_manager_unittest.cc | 138 SecurityManagerConfigStore config_store_; member in class:weave::privet::SecurityManagerTest 139 Config config_{&config_store_};
|