Home
last modified time | relevance | path

Searched refs:command_error (Results 1 – 3 of 3) sorted by relevance

/system/weaved/libweaved/
Dcommand.cc151 bool Command::AbortWithCustomError(const brillo::Error* command_error, in AbortWithCustomError() argument
153 std::string error_code = "_" + command_error->GetCode(); in AbortWithCustomError()
154 return Abort(error_code, command_error->GetMessage(), error); in AbortWithCustomError()
179 bool Command::SetCustomError(const brillo::Error* command_error, in SetCustomError() argument
181 std::string error_code = "_" + command_error->GetCode(); in SetCustomError()
182 return SetError(error_code, command_error->GetMessage(), error); in SetCustomError()
Dcommand.h107 bool AbortWithCustomError(const brillo::Error* command_error,
133 bool SetCustomError(const brillo::Error* command_error,
/system/weaved/buffet/
Dbinder_command_proxy.cc144 weave::ErrorPtr command_error; in abort() local
145 weave::Error::AddTo(&command_error, FROM_HERE, ToString(errorCode), in abort()
148 return ToStatus(command->Abort(command_error.get(), &error), &error); in abort()
173 weave::ErrorPtr command_error; in setError() local
174 weave::Error::AddTo(&command_error, FROM_HERE, ToString(errorCode), in setError()
177 return ToStatus(command->SetError(command_error.get(), &error), &error); in setError()