Home
last modified time | relevance | path

Searched refs:ServerError (Results 1 – 15 of 15) sorted by relevance

/external/volley/src/main/java/com/android/volley/
DServerError.java21 public class ServerError extends VolleyError { class
22 public ServerError(NetworkResponse networkResponse) { in ServerError() method in ServerError
26 public ServerError() { in ServerError() method in ServerError
DClientError.java26 public class ClientError extends ServerError {
/external/pigweed/pw_rpc/
Dserver.cc51 temp_channel.Send(Packet::ServerError(packet, Status::DataLoss())); in DecodePacket()
88 Packet::ServerError(packet, Status::ResourceExhausted())); in ProcessPacket()
96 channel->Send(Packet::ServerError(packet, Status::NotFound())); in ProcessPacket()
117 channel->Send(Packet::ServerError(packet, Status::Unimplemented())); in ProcessPacket()
147 channel.Send(Packet::ServerError(packet, Status::FailedPrecondition())); in HandleCancelPacket()
/external/volley/src/main/java/com/android/volley/toolbox/
DNetworkUtility.java30 import com.android.volley.ServerError;
183 "server", request, new ServerError(networkResponse)); in handleException()
185 throw new ServerError(networkResponse); in handleException()
189 throw new ServerError(networkResponse); in handleException()
/external/pigweed/pw_rpc/nanopb/
Dnanopb_method.cc58 channel.Send(Packet::ServerError(request, Status::DataLoss())); in DecodeRequest()
94 Packet::ServerError(request, Status::Internal())); in SendResponse()
/external/volley/src/test/java/com/android/volley/
DNetworkDispatcherTest.java101 when(mNetwork.performRequest(any(Request.class))).thenThrow(new ServerError()); in exceptionPostsError()
115 when(mNetwork.performRequest(any(Request.class))).thenThrow(new ServerError()); in exceptionNotifiesListener()
DResponseDeliveryTest.java65 Response<byte[]> errorResponse = Response.error(new ServerError()); in postErrorCallsDeliverError()
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dcloud_storage.py102 class ServerError(CloudStorageError): class
178 return ServerError(stderr)
409 except ServerError:
Dcloud_storage_unittest.py85 self._AssertRunCommandRaisesError(strs, cloud_storage.ServerError)
/external/pigweed/pw_rpc/raw/
Draw_method.cc67 call.channel().Send(Packet::ServerError(request, Status::Internal())); in CallUnary()
/external/pigweed/pw_rpc/public/pw_rpc/internal/
Dpacket.h48 static constexpr Packet ServerError(const Packet& packet, Status status) { in ServerError() function
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Dcloud_storage_info_unittest.py219 cs_get_mock.side_effect = cloud_storage.ServerError
220 self.assertRaises(cloud_storage.ServerError,
/external/volley/src/test/java/com/android/volley/toolbox/
DBasicNetworkTest.java37 import com.android.volley.ServerError;
332 verify(mMockRetryPolicy).retry(any(ServerError.class)); in serverError_enableRetries()
DBasicAsyncNetworkTest.java39 import com.android.volley.ServerError;
385 verify(mMockRetryPolicy).retry(any(ServerError.class)); in serverError_enableRetries()
/external/crosvm/devices/src/virtio/snd/vios_backend/
Dshm_vios.rs35 ServerError(BaseError), enumerator
127 .map_err(|e| Error::ServerError(e))?; in try_new()