Home
last modified time | relevance | path

Searched refs:ValidateOperationMode (Results 1 – 5 of 5) sorted by relevance

/system/connectivity/apmanager/dbus/
Dconfig_dbus_adaptor.cc84 bool ConfigDBusAdaptor::ValidateOperationMode(ErrorPtr* error, in ValidateOperationMode() function in apmanager::ConfigDBusAdaptor
87 config_->ValidateOperationMode(&internal_error, value); in ValidateOperationMode()
Dconfig_dbus_adaptor.h52 bool ValidateOperationMode(brillo::ErrorPtr* error,
/system/connectivity/apmanager/
Dconfig_unittest.cc222 TEST_F(ConfigTest, ValidateOperationMode) { in TEST_F() argument
224 EXPECT_TRUE(config_->ValidateOperationMode(&error, kOperationModeServer)); in TEST_F()
225 EXPECT_TRUE(config_->ValidateOperationMode(&error, kOperationModeBridge)); in TEST_F()
226 EXPECT_FALSE(config_->ValidateOperationMode(&error, "InvalidMode")); in TEST_F()
Dconfig.h44 bool ValidateOperationMode(Error* error, const std::string& value);
Dconfig.cc178 bool Config::ValidateOperationMode(Error* error, const string& value) { in ValidateOperationMode() function in apmanager::Config