Home
last modified time | relevance | path

Searched refs:PayloadType (Results 1 – 23 of 23) sorted by relevance

/external/libchrome/base/containers/
Dmru_cache.h45 template <class KeyType, class PayloadType, class DeletorType,
51 typedef std::pair<KeyType, PayloadType> value_type;
93 iterator Put(const KeyType& key, const PayloadType& payload) { in Put()
224 template<class PayloadType>
227 void operator()(const PayloadType& payload) {} in operator()
232 template <class KeyType, class PayloadType>
234 PayloadType,
235 MRUCacheNullDeletor<PayloadType> > {
237 typedef MRUCacheBase<KeyType, PayloadType,
238 MRUCacheNullDeletor<PayloadType> > ParentType;
[all …]
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/ws/
DWebSocket.java25 enum PayloadType { enum
40 BufferedSink newMessageSink(WebSocket.PayloadType type); in newMessageSink()
47 void sendMessage(WebSocket.PayloadType type, Buffer payload) throws IOException; in sendMessage()
DWebSocketListener.java23 import static com.squareup.okhttp.ws.WebSocket.PayloadType;
54 void onMessage(BufferedSource payload, PayloadType type) throws IOException; in onMessage()
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/
DWebSocketRecorder.java27 import static com.squareup.okhttp.ws.WebSocket.PayloadType.BINARY;
28 import static com.squareup.okhttp.ws.WebSocket.PayloadType.TEXT;
35 void onMessage(BufferedSource payload, WebSocket.PayloadType type) throws IOException; in onMessage()
49 @Override public void onMessage(BufferedSource source, WebSocket.PayloadType type) in onMessage()
128 public final WebSocket.PayloadType type;
131 private Message(WebSocket.PayloadType type) { in Message()
DAutobahnTester.java77 @Override public void onMessage(BufferedSource payload, final WebSocket.PayloadType type) in runTest()
123 @Override public void onMessage(BufferedSource payload, WebSocket.PayloadType type) in getTestCount()
161 @Override public void onMessage(BufferedSource payload, WebSocket.PayloadType type) in updateReports()
DWebSocketCallTest.java39 import static com.squareup.okhttp.ws.WebSocket.PayloadType.TEXT;
258 @Override public void onMessage(BufferedSource payload, WebSocket.PayloadType type) in awaitWebSocket()
293 @Override public void onMessage(BufferedSource payload, WebSocket.PayloadType type) in onMessage()
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
DWebSocketEcho.java15 import static com.squareup.okhttp.ws.WebSocket.PayloadType;
16 import static com.squareup.okhttp.ws.WebSocket.PayloadType.BINARY;
17 import static com.squareup.okhttp.ws.WebSocket.PayloadType.TEXT;
49 @Override public void onMessage(BufferedSource payload, PayloadType type) throws IOException { in onMessage()
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/
DWebSocketWriter.java27 import static com.squareup.okhttp.ws.WebSocket.PayloadType;
158 public BufferedSink newMessageSink(PayloadType type) { in newMessageSink()
174 public void sendMessage(PayloadType type, Buffer payload) throws IOException { in sendMessage()
183 private void writeFrame(PayloadType payloadType, Buffer source, long byteCount, in writeFrame()
250 private PayloadType payloadType;
DWebSocketReader.java27 import static com.squareup.okhttp.ws.WebSocket.PayloadType;
53 void onMessage(BufferedSource source, PayloadType type) throws IOException; in onMessage()
207 PayloadType type; in readMessageFrame()
210 type = PayloadType.TEXT; in readMessageFrame()
213 type = PayloadType.BINARY; in readMessageFrame()
DRealWebSocket.java52 @Override public void onMessage(BufferedSource source, PayloadType type) throws IOException { in RealWebSocket()
103 @Override public BufferedSink newMessageSink(PayloadType type) { in newMessageSink()
108 @Override public void sendMessage(PayloadType type, Buffer payload) throws IOException { in sendMessage()
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/
DWebSocketReaderTest.java30 import static com.squareup.okhttp.ws.WebSocket.PayloadType;
154 @Override public void onMessage(BufferedSource payload, PayloadType type) throws IOException { in serverHelloTwoChunks()
254 @Override public void onMessage(BufferedSource payload, PayloadType type) throws IOException { in noCloseErrors()
272 @Override public void onMessage(BufferedSource payload, PayloadType type) throws IOException { in closeExhaustsMessage()
294 @Override public void onMessage(BufferedSource payload, PayloadType type) throws IOException { in closeExhaustsMessageOverControlFrames()
314 @Override public void onMessage(BufferedSource payload, PayloadType type) throws IOException { in closedMessageSourceThrows()
DWebSocketWriterTest.java28 import static com.squareup.okhttp.ws.WebSocket.PayloadType.BINARY;
29 import static com.squareup.okhttp.ws.WebSocket.PayloadType.TEXT;
DRealWebSocketTest.java33 import static com.squareup.okhttp.ws.WebSocket.PayloadType.BINARY;
34 import static com.squareup.okhttp.ws.WebSocket.PayloadType.TEXT;
/external/webrtc/webrtc/modules/video_coding/
Dencoded_frame.h90 uint8_t PayloadType() const { return _payloadType; } in PayloadType() function
Dcodec_database.cc481 uint8_t payload_type = frame.PayloadType(); in GetDecoder()
532 uint8_t payload_type = frame.PayloadType(); in CreateAndInitDecoder()
/external/webrtc/webrtc/video/
Dreplay.cc47 static int PayloadType() { return static_cast<int>(FLAGS_payload_type); } in PayloadType() function
238 encoder_settings.payload_type = flags::PayloadType(); in RtpReplay()
/external/webrtc/webrtc/test/
Drtcp_packet_parser.h188 uint8_t PayloadType() const { return rpsi_.PayloadType; } in PayloadType() function
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_packet.h287 rpsi_.PayloadType = payload; in WithPayloadType()
Drtcp_utility.h197 uint8_t PayloadType; member
Drtcp_packet.cc203 AssignUWord8(buffer, pos, rpsi.PayloadType); in CreateRpsi()
Drtcp_packet_unittest.cc229 EXPECT_EQ(100, parser.rpsi()->PayloadType()); in TEST()
Drtcp_utility.cc1339 _packet.RPSI.PayloadType = *_ptrRTCPData++; in ParseRPSIItem()
Drtcp_sender_unittest.cc459 EXPECT_EQ(kPayloadType, parser()->rpsi()->PayloadType()); in TEST_F()