Searched refs:ValidateOperationMode (Results 1 – 5 of 5) sorted by relevance
84 bool ConfigDBusAdaptor::ValidateOperationMode(ErrorPtr* error, in ValidateOperationMode() function in apmanager::ConfigDBusAdaptor87 config_->ValidateOperationMode(&internal_error, value); in ValidateOperationMode()
52 bool ValidateOperationMode(brillo::ErrorPtr* error,
222 TEST_F(ConfigTest, ValidateOperationMode) { in TEST_F() argument224 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()
44 bool ValidateOperationMode(Error* error, const std::string& value);
178 bool Config::ValidateOperationMode(Error* error, const string& value) { in ValidateOperationMode() function in apmanager::Config