Home
last modified time | relevance | path

Searched refs:ProtocolError (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/components/devtools_bridge/android/java/src/org/chromium/components/devtools_bridge/
DSocketTunnelBase.java139 protected static void checkConnectionId(int connectionId) throws ProtocolError { in checkConnectionId()
141 throw new ProtocolError("Invalid connection id: " + Integer.toString(connectionId)); in checkConnectionId()
145 protected void onProtocolError(ProtocolError e) { in onProtocolError()
159 throws ProtocolError; in onReceivedDataPacket()
161 throws ProtocolError; in onReceivedControlPacket()
199 protected void decodePacket(ByteBuffer packet) throws ProtocolError { in decodePacket()
201 throw new ProtocolError("Empty packet"); in decodePacket()
212 throw new ProtocolError("Invalid control packet size"); in decodePacket()
223 throws ProtocolError; in onReceivedDataPacket()
225 throws ProtocolError; in onReceivedControlPacket()
[all …]
DSocketTunnelServer.java57 protected void onReceivedDataPacket(int connectionId, byte[] data) throws ProtocolError { in onReceivedDataPacket()
61 throw new ProtocolError("Unknows conection id"); in onReceivedDataPacket()
68 protected void onReceivedControlPacket(int connectionId, byte opCode) throws ProtocolError { in onReceivedControlPacket()
81 throw new ProtocolError("Invalid opCode"); in onReceivedControlPacket()
85 private void onClientOpen(int connectionId) throws ProtocolError { in onClientOpen()
90 throw new ProtocolError("Conection id already used"); in onClientOpen()
100 private void onClientClose(int connectionId) throws ProtocolError { in onClientClose()
104 throw new ProtocolError("Unknows connection id"); in onClientClose()
/external/chromium_org/components/devtools_bridge/test/android/javatests/src/org/chromium/components/devtools_bridge/
DSocketTunnelClient.java138 protected void onReceivedDataPacket(int connectionId, byte[] data) throws ProtocolError { in onReceivedDataPacket()
142 throw new ProtocolError("Unknows connection id"); in onReceivedDataPacket()
148 protected void onReceivedControlPacket(int connectionId, byte opCode) throws ProtocolError { in onReceivedControlPacket()
159 throw new ProtocolError("Invalid opCode"); in onReceivedControlPacket()
163 private void onServerOpenAck(int connectionId) throws ProtocolError { in onServerOpenAck()
167 throw new ProtocolError("Connection already acknowledged"); in onServerOpenAck()
171 throw new ProtocolError("Unknow connection id"); in onServerOpenAck()
185 private void onServerClose(int connectionId) throws ProtocolError { in onServerClose()
200 throw new ProtocolError("Closing unknown connection"); in onServerClose()
DLocalTunnelBridge.java37 protected void onProtocolError(ProtocolError e) { in LocalTunnelBridge()
50 throws ProtocolError { in LocalTunnelBridge()
60 throws ProtocolError { in LocalTunnelBridge()
91 protected void onProtocolError(ProtocolError e) { in LocalTunnelBridge()
97 throws ProtocolError { in LocalTunnelBridge()
107 throws ProtocolError { in LocalTunnelBridge()
DPacketDecoder.java32 public static PacketDecoder tryDecode(ByteBuffer packet) throws SocketTunnelBase.ProtocolError { in tryDecode()
41 } catch (SocketTunnelBase.ProtocolError e) { in decode()
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
DWebSocket.java91 … throw new WebSocketException(CloseCode.ProtocolError, "Continuous frame sequence not completed."); in handleWebsocketFrame()
95 …throw new WebSocketException(CloseCode.ProtocolError, "Non control or continuous frame expected."); in handleWebsocketFrame()
124 …throw new WebSocketException(CloseCode.ProtocolError, "Previous continuous frame sequence not comp… in handleFrameFragment()
132 …throw new WebSocketException(CloseCode.ProtocolError, "Continuous frame sequence was not started."… in handleFrameFragment()
139 …throw new WebSocketException(CloseCode.ProtocolError, "Continuous frame sequence was not started."… in handleFrameFragment()
DWebSocketFrame.java150 …throw new WebSocketException(CloseCode.ProtocolError, "The reserved bits (" + Integer.toBinaryStri… in read()
153 …throw new WebSocketException(CloseCode.ProtocolError, "Received frame with reserved/unknown opcode… in read()
155 throw new WebSocketException(CloseCode.ProtocolError, "Fragmented control frame."); in read()
186 …throw new WebSocketException(CloseCode.ProtocolError, "Invalid data frame 2byte length. (not using… in readPayloadInfo()
195 …throw new WebSocketException(CloseCode.ProtocolError, "Invalid data frame 4byte length. (not using… in readPayloadInfo()
205 …throw new WebSocketException(CloseCode.ProtocolError, "Control frame with payload length > 125 byt… in readPayloadInfo()
208 … throw new WebSocketException(CloseCode.ProtocolError, "Received close frame with payload len 1."); in readPayloadInfo()
361 …NormalClosure(1000), GoingAway(1001), ProtocolError(1002), UnsupportedData(1003), NoStatusRcvd(100… enumConstant
/external/deqp/execserver/
DxsDefs.hpp77 class ProtocolError : public ConnectionError class
80 ProtocolError (const std::string& message) : ConnectionError(message) {} in ProtocolError() function in xs::ProtocolError
DxsExecutionServer.cpp269 throw ProtocolError("Unsupported protocol version"); in processMessage()
306 throw ProtocolError("Unsupported message"); in processMessage()
328 throw ProtocolError("Keepalive timeout occurred"); in pollKeepAlives()
/external/chromium_org/net/websockets/
Dwebsocket_channel_test.cc3300 TEST_F(WebSocketChannelStreamTest, ProtocolError) { in TEST_F() argument