Lines Matching refs:Error
115 LOG(ERROR) << "Empty service name.";
118 Error error;
119 network_name_ = proxy->Name(&error);
120 if (error.IsFailure()) {
123 uint32_t identifier = proxy->Identifier(&error);
124 if (error.IsFailure()) {
129 LOG(ERROR) << "Network identifiers don't match: "
133 int signal_strength = proxy->SignalStrength(&error);
134 if (error.IsFailure()) {
151 void WiMaxService::Connect(Error* error, const char* reason) {
154 // TODO(benchan): Populate error again after changing the way that
155 // Chrome handles Error::kAlreadyConnected situation.
161 LOG(ERROR) << "Can't connect. Service " << GetStorageIdentifier()
163 Error::PopulateAndLog(FROM_HERE, error, Error::kOperationFailed,
164 Error::GetDefaultMessage(Error::kOperationFailed));
169 Error::PopulateAndLog(
170 FROM_HERE, error, Error::kNoCarrier,
174 Service::Connect(error, reason);
175 carrier->ConnectTo(this, error);
176 if (error->IsSuccess()) {
183 void WiMaxService::Disconnect(Error* error, const char* reason) {
186 Error::PopulateAndLog(
187 FROM_HERE, error, Error::kNotConnected, "Not connected.");
190 Service::Disconnect(error, reason);
191 device_->DisconnectFrom(this, error);
199 string WiMaxService::GetDeviceRpcId(Error* error) const {
201 error->Populate(Error::kNotFound, "Not associated with a device");