Lines Matching refs:Error
39 #include "shill/error.h"
111 const char Service::kStorageError[] = "Error";
229 // TODO(ers): in flimflam clearing Error has the side-effect of
315 Error error;
318 Connect(&error, __func__);
331 void Service::Connect(Error* /*error*/, const char* reason) {
339 void Service::Disconnect(Error* /*error*/, const char* reason) {
350 Error* error,
352 Disconnect(error, reason);
356 void Service::UserInitiatedDisconnect(Error* error) {
357 Disconnect(error, "D-Bus RPC");
361 void Service::UserInitiatedConnect(Error* error) {
362 Connect(error, "D-Bus RPC");
367 Error* error,
369 Error::PopulateAndLog(FROM_HERE, error, Error::kNotSupported,
373 void Service::CompleteCellularActivation(Error* error) {
374 Error::PopulateAndLog(
375 FROM_HERE, error, Error::kNotSupported,
379 bool Service::IsActive(Error* /*error*/) {
595 Error error; // Ignored.
596 Disconnect(&error, __func__);
600 void Service::Remove(Error* /*error*/) {
658 void Service::Configure(const KeyValueStore& args, Error* error) {
666 Error set_error;
668 if (error->IsSuccess() && set_error.IsFailure()) {
669 error->CopyFrom(set_error);
677 Error set_error;
679 if (error->IsSuccess() && set_error.IsFailure()) {
680 error->CopyFrom(set_error);
688 Error set_error;
692 if (error->IsSuccess() && set_error.IsFailure()) {
693 error->CopyFrom(set_error);
701 Error set_error;
703 if (error->IsSuccess() && set_error.IsFailure()) {
704 error->CopyFrom(set_error);
712 Error set_error;
714 if (error->IsSuccess() && set_error.IsFailure()) {
715 error->CopyFrom(set_error);
723 Error set_error;
727 if (error->IsSuccess() && set_error.IsFailure()) {
728 error->CopyFrom(set_error);
738 Error get_error;
746 Error get_error;
754 Error get_error;
762 Error get_error;
770 Error get_error;
778 Error get_error;
817 Error unused_error;
828 Error error;
829 string ipconfig = GetIPConfigRpcIdentifier(&error);
830 if (error.IsSuccess()) {
972 string Service::CalculateTechnology(Error* /*error*/) {
1197 Error error;
1198 string profile_rpc_id = GetProfileRpcId(&error);
1199 if (!error.IsSuccess()) {
1234 string Service::GetIPConfigRpcIdentifier(Error* error) const {
1236 error->Populate(Error::kNotFound);
1244 error->Populate(Error::kNotFound);
1292 string Service::CalculateState(Error* /*error*/) {
1346 bool(Service::*get)(Error* error),
1347 bool(Service::*set)(const bool&, Error*),
1348 void(Service::*clear)(Error*)) {
1356 int32_t(Service::*get)(Error* error),
1357 bool(Service::*set)(const int32_t&, Error*)) {
1365 string(Service::*get)(Error* error),
1366 bool(Service::*set)(const string&, Error*)) {
1374 RpcIdentifier(Service::*get)(Error*) const) {
1383 uint16_t(Service::*get)(Error*) const) {
1390 const string& name, Strings(Service::*get)(Error* error) const) {
1397 const string& name, string(Service::*get)(Error* error) const) {
1405 bool(Service::*get)(Error* error),
1406 bool(Service::*set)(const bool&, Error*),
1407 void(Service::*clear)(Error*)) {
1463 bool Service::GetAutoConnect(Error* /*error*/) {
1467 bool Service::SetAutoConnectFull(const bool& connect, Error* /*error*/) {
1488 void Service::ClearAutoConnect(Error* /*error*/) {
1497 string Service::GetCheckPortal(Error* error) {
1501 bool Service::SetCheckPortal(const string& check_portal, Error* error) {
1505 Error::PopulateAndLog(FROM_HERE, error, Error::kInvalidArguments,
1518 string Service::GetGuid(Error* error) {
1522 bool Service::SetGuid(const string& guid, Error* /*error*/) {
1542 string Service::GetNameProperty(Error* /*error*/) {
1546 bool Service::SetNameProperty(const string& name, Error* error) {
1548 Error::PopulateAndLog(FROM_HERE, error, Error::kInvalidArguments,
1563 int32_t Service::GetPriority(Error* error) {
1567 bool Service::SetPriority(const int32_t& priority, Error* error) {
1576 int32_t Service::GetPriorityWithinTechnology(Error* error) {
1581 Error* error) {
1591 string Service::GetProfileRpcId(Error* error) {
1594 error->Populate(Error::kNotFound);
1600 bool Service::SetProfileRpcId(const string& profile, Error* error) {
1607 manager_->SetProfileForService(this, profile, error);
1608 // Can't just use error.IsSuccess(), because that also requires saving
1613 uint16_t Service::GetHTTPProxyPort(Error* /*error*/) const {
1620 string Service::GetProxyConfig(Error* error) {
1624 bool Service::SetProxyConfig(const string& proxy_config, Error* error) {
1632 string Service::GetTethering(Error* error) const {
1636 error->Populate(Error::kNotSupported);
1645 Strings Service::GetDisconnectsProperty(Error* /*error*/) const {
1649 Strings Service::GetMisconnectsProperty(Error* /*error*/) const {
1653 bool Service::GetVisibleProperty(Error* /*error*/) {
1687 const string error(ConnectFailureToString(failure_));
1688 if (error == error_) {
1691 error_ = error;
1692 adaptor_->EmitStringChanged(kErrorProperty, error);