Home
last modified time | relevance | path

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

/system/connectivity/shill/
Derror_unittest.cc84 brillo::ErrorPtr chromeos_error; in TEST_F() local
85 EXPECT_EQ(nullptr, chromeos_error.get()); in TEST_F()
86 Error().ToChromeosError(&chromeos_error); in TEST_F()
87 EXPECT_EQ(nullptr, chromeos_error.get()); in TEST_F()
89 Error(Error::kPermissionDenied, kMessage).ToChromeosError(&chromeos_error); in TEST_F()
90 EXPECT_NE(nullptr, chromeos_error.get()); in TEST_F()
91 EXPECT_EQ(brillo::errors::dbus::kDomain, chromeos_error->GetDomain()); in TEST_F()
92 EXPECT_EQ(kErrorResultPermissionDenied, chromeos_error->GetCode()); in TEST_F()
93 EXPECT_EQ(kMessage, chromeos_error->GetMessage()); in TEST_F()
/system/connectivity/shill/dbus/
Dchromeos_dbus_adaptor.cc138 brillo::ErrorPtr chromeos_error; in MethodReplyCallback() local
139 if (error.ToChromeosError(&chromeos_error)) { in MethodReplyCallback()
140 response->ReplyWithError(chromeos_error.get()); in MethodReplyCallback()
149 brillo::ErrorPtr chromeos_error; in TypedMethodReplyCallback() local
150 if (error.ToChromeosError(&chromeos_error)) { in TypedMethodReplyCallback()
151 response->ReplyWithError(chromeos_error.get()); in TypedMethodReplyCallback()