Searched refs:chromeos_error (Results 1 – 2 of 2) sorted by relevance
84 brillo::ErrorPtr chromeos_error; in TEST_F() local85 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()
138 brillo::ErrorPtr chromeos_error; in MethodReplyCallback() local139 if (error.ToChromeosError(&chromeos_error)) { in MethodReplyCallback()140 response->ReplyWithError(chromeos_error.get()); in MethodReplyCallback()149 brillo::ErrorPtr chromeos_error; in TypedMethodReplyCallback() local150 if (error.ToChromeosError(&chromeos_error)) { in TypedMethodReplyCallback()151 response->ReplyWithError(chromeos_error.get()); in TypedMethodReplyCallback()