Home
last modified time | relevance | path

Searched refs:streamId (Results 1 – 25 of 59) sorted by relevance

123

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
DHttp20Draft09.java109 int streamId = (w2 & 0x7fffffff); // 31-bit opaque identifier. in nextFrame() local
113 readData(handler, length, flags, streamId); in nextFrame()
117 readHeaders(handler, length, flags, streamId); in nextFrame()
121 readPriority(handler, length, flags, streamId); in nextFrame()
125 readRstStream(handler, length, flags, streamId); in nextFrame()
129 readSettings(handler, length, flags, streamId); in nextFrame()
133 readPushPromise(handler, length, flags, streamId); in nextFrame()
137 readPing(handler, length, flags, streamId); in nextFrame()
141 readGoAway(handler, length, flags, streamId); in nextFrame()
145 readWindowUpdate(handler, length, flags, streamId); in nextFrame()
[all …]
DSpdyConnection.java178 synchronized SpdyStream removeStream(int streamId) { in removeStream() argument
179 SpdyStream stream = streams.remove(streamId); in removeStream()
238 int streamId; in newStream() local
245 streamId = nextStreamId; in newStream()
247 stream = new SpdyStream(streamId, this, outFinished, inFinished, priority, requestHeaders); in newStream()
249 streams.put(streamId, stream); in newStream()
254 frameWriter.synStream(outFinished, inFinished, streamId, associatedStreamId, priority, slot, in newStream()
259 frameWriter.pushPromise(associatedStreamId, streamId, requestHeaders); in newStream()
270 void writeSynReply(int streamId, boolean outFinished, List<Header> alternating) in writeSynReply() argument
272 frameWriter.synReply(outFinished, streamId, alternating); in writeSynReply()
[all …]
DPushObserver.java39 boolean onRequest(int streamId, List<Header> requestHeaders); in onRequest() argument
49 boolean onHeaders(int streamId, List<Header> responseHeaders, boolean last); in onHeaders() argument
60 boolean onData(int streamId, BufferedSource source, int byteCount, boolean last) in onData() argument
64 void onReset(int streamId, ErrorCode errorCode); in onReset() argument
68 @Override public boolean onRequest(int streamId, List<Header> requestHeaders) {
72 @Override public boolean onHeaders(int streamId, List<Header> responseHeaders, boolean last) {
76 @Override public boolean onData(int streamId, BufferedSource source, int byteCount,
82 @Override public void onReset(int streamId, ErrorCode errorCode) {
DFrameWriter.java45 void pushPromise(int streamId, int promisedStreamId, List<Header> requestHeaders) in pushPromise() argument
50 void synStream(boolean outFinished, boolean inFinished, int streamId, int associatedStreamId, in synStream() argument
52 void synReply(boolean outFinished, int streamId, List<Header> headerBlock) in synReply() argument
54 void headers(int streamId, List<Header> headerBlock) throws IOException; in headers() argument
55 void rstStream(int streamId, ErrorCode errorCode) throws IOException; in rstStream() argument
63 void data(boolean outFinished, int streamId, OkBuffer source, int byteCount) throws IOException; in data() argument
65 void data(boolean outFinished, int streamId, OkBuffer source) throws IOException; in data() argument
98 void windowUpdate(int streamId, long windowSizeIncrement) throws IOException; in windowUpdate() argument
DSpdy3.java189 int streamId = w1 & 0x7fffffff; in nextFrame() local
191 handler.data(inFinished, streamId, source, length); in nextFrame()
200 int streamId = w1 & 0x7fffffff; in readSynStream() local
208 handler.headers(outFinished, inFinished, streamId, associatedStreamId, priority, in readSynStream()
214 int streamId = w1 & 0x7fffffff; in readSynReply() local
217 handler.headers(false, inFinished, streamId, -1, -1, headerBlock, HeadersMode.SPDY_REPLY); in readSynReply()
222 int streamId = source.readInt() & 0x7fffffff; in readRstStream() local
228 handler.rstStream(streamId, errorCode); in readRstStream()
233 int streamId = w1 & 0x7fffffff; in readHeaders() local
235 handler.headers(false, false, streamId, -1, -1, headerBlock, HeadersMode.SPDY_HEADERS); in readHeaders()
[all …]
DFrameReader.java31 void data(boolean inFinished, int streamId, BufferedSource source, int length) in data() argument
48 void headers(boolean outFinished, boolean inFinished, int streamId, int associatedStreamId, in headers() argument
50 void rstStream(int streamId, ErrorCode errorCode); in rstStream() argument
87 void windowUpdate(int streamId, long windowSizeIncrement); in windowUpdate() argument
88 void priority(int streamId, int priority); in priority() argument
105 void pushPromise(int streamId, int promisedStreamId, List<Header> requestHeaders) in pushPromise() argument
/external/chromium_org/third_party/webrtc/modules/video_render/include/
Dvideo_render.h106 * AddIncomingRenderStream(const uint32_t streamId,
116 DeleteIncomingRenderStream(const uint32_t streamId) = 0;
127 AddExternalRenderCallback(const uint32_t streamId,
141 GetIncomingRenderStreamProperties(const uint32_t streamId,
149 GetIncomingFrameRate(const uint32_t streamId) = 0;
160 HasIncomingRenderStream(const uint32_t streamId) const = 0;
167 RegisterRawFrameCallback(const uint32_t streamId,
174 GetLastRenderedFrame(const uint32_t streamId,
186 virtual int32_t StartRender(const uint32_t streamId) = 0;
191 virtual int32_t StopRender(const uint32_t streamId) = 0;
[all …]
/external/chromium_org/third_party/webrtc/modules/video_render/
Dvideo_render_impl.h70 * AddIncomingRenderStream(const uint32_t streamId,
78 DeleteIncomingRenderStream(const uint32_t streamId);
84 AddExternalRenderCallback(const uint32_t streamId,
91 GetIncomingRenderStreamProperties(const uint32_t streamId,
98 virtual uint32_t GetIncomingFrameRate(const uint32_t streamId);
108 virtual bool HasIncomingRenderStream(const uint32_t streamId) const;
114 RegisterRawFrameCallback(const uint32_t streamId,
117 virtual int32_t GetLastRenderedFrame(const uint32_t streamId,
132 virtual int32_t StartRender(const uint32_t streamId);
137 virtual int32_t StopRender(const uint32_t streamId);
[all …]
Dvideo_render_impl.cc402 uint32_t ModuleVideoRenderImpl::GetIncomingFrameRate(const uint32_t streamId) { in GetIncomingFrameRate() argument
405 IncomingVideoStreamMap::iterator it = _streamRenderMap.find(streamId); in GetIncomingFrameRate()
421 ModuleVideoRenderImpl::AddIncomingRenderStream(const uint32_t streamId, in AddIncomingRenderStream() argument
437 if (_streamRenderMap.find(streamId) != _streamRenderMap.end()) { in AddIncomingRenderStream()
445 _ptrRenderer->AddIncomingRenderStream(streamId, zOrder, left, top, in AddIncomingRenderStream()
457 streamId); in AddIncomingRenderStream()
471 _ptrRenderer->DeleteIncomingRenderStream(streamId); in AddIncomingRenderStream()
479 _streamRenderMap[streamId] = ptrIncomingStream; in AddIncomingRenderStream()
485 const uint32_t streamId) in DeleteIncomingRenderStream() argument
496 IncomingVideoStreamMap::iterator item = _streamRenderMap.find(streamId); in DeleteIncomingRenderStream()
[all …]
Di_video_render.h43 * AddIncomingRenderStream(const uint32_t streamId,
51 DeleteIncomingRenderStream(const uint32_t streamId) = 0;
54 GetIncomingRenderStreamProperties(const uint32_t streamId,
95 virtual uint32_t RenderFrameRate(const uint32_t streamId) = 0;
97 virtual int32_t SetStreamCropping(const uint32_t streamId,
103 virtual int32_t ConfigureRenderer(const uint32_t streamId,
/external/chromium_org/third_party/webrtc/modules/video_render/linux/
Dvideo_x11_render.cc63 int32_t streamId, in CreateX11RenderChannel() argument
74 _streamIdToX11ChannelMap.find(streamId); in CreateX11RenderChannel()
78 renderChannel = new VideoX11Channel(streamId); in CreateX11RenderChannel()
86 streamId); in CreateX11RenderChannel()
90 _streamIdToX11ChannelMap[streamId] = renderChannel; in CreateX11RenderChannel()
95 "Render Channel already exists for streamId: %d", streamId); in CreateX11RenderChannel()
102 int32_t VideoX11Render::DeleteX11RenderChannel(int32_t streamId) in DeleteX11RenderChannel() argument
107 _streamIdToX11ChannelMap.find(streamId); in DeleteX11RenderChannel()
122 streamId); in DeleteX11RenderChannel()
127 int32_t streamId, in GetIncomingStreamProperties() argument
[all …]
Dvideo_render_linux_impl.h48 * AddIncomingRenderStream(const uint32_t streamId,
54 DeleteIncomingRenderStream(const uint32_t streamId);
57 GetIncomingRenderStreamProperties(const uint32_t streamId,
92 virtual uint32_t RenderFrameRate(const uint32_t streamId);
94 virtual int32_t SetStreamCropping(const uint32_t streamId,
100 virtual int32_t ConfigureRenderer(const uint32_t streamId,
Dvideo_render_linux_impl.cc89 const uint32_t streamId, in AddIncomingRenderStream() argument
104 _ptrX11Render->CreateX11RenderChannel(streamId, zOrder, left, in AddIncomingRenderStream()
110 streamId); in AddIncomingRenderStream()
125 const uint32_t streamId) in DeleteIncomingRenderStream() argument
133 return _ptrX11Render->DeleteX11RenderChannel(streamId); in DeleteIncomingRenderStream()
139 const uint32_t streamId, in GetIncomingRenderStreamProperties() argument
152 return _ptrX11Render->GetIncomingStreamProperties(streamId, zOrder, in GetIncomingRenderStreamProperties()
229 const uint32_t streamId, in ConfigureRenderer() argument
/external/chromium_org/chrome/common/extensions/api/
Dcast_streaming_rtp_stream.idl71 callback CreateCallback = void (long streamId);
89 // |streamId| : The RTP stream ID.
90 [nocompile] static void destroy(long streamId);
95 // |streamId| : The RTP stream ID.
96 [nocompile] static RtpParams[] getSupportedParams(long streamId);
99 // |streamId| : The RTP stream ID.
101 [nocompile] static void start(long streamId, RtpParams params);
104 // |streamId| : The RTP stream ID.
105 [nocompile] static void stop(long streamId);
109 [nocompile] static void toggleLogging(long streamId, boolean enable);
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/
DMockSpdyPeer.java193 public int streamId; field in MockSpdyPeer.InFrame
224 @Override public void headers(boolean outFinished, boolean inFinished, int streamId, in headers() argument
231 this.streamId = streamId; in headers()
238 @Override public void data(boolean inFinished, int streamId, BufferedSource source, int length) in data() argument
243 this.streamId = streamId; in data()
247 @Override public void rstStream(int streamId, ErrorCode errorCode) { in rstStream() argument
250 this.streamId = streamId; in rstStream()
265 this.streamId = lastGoodStreamId; in goAway()
270 @Override public void windowUpdate(int streamId, long windowSizeIncrement) { in windowUpdate() argument
273 this.streamId = streamId; in windowUpdate()
[all …]
DBaseTestHandler.java26 @Override public void data(boolean inFinished, int streamId, BufferedSource source, int length) in data() argument
32 public void headers(boolean outFinished, boolean inFinished, int streamId, int associatedStreamId, in headers() argument
37 @Override public void rstStream(int streamId, ErrorCode errorCode) { in rstStream() argument
57 @Override public void windowUpdate(int streamId, long windowSizeIncrement) { in windowUpdate() argument
61 @Override public void priority(int streamId, int priority) { in priority() argument
66 public void pushPromise(int streamId, int associatedStreamId, List<Header> headerBlock) { in pushPromise() argument
/external/chromium_org/third_party/webrtc/modules/video_render/windows/
Dvideo_render_windows_impl.cc96 VideoRenderWindowsImpl::AddIncomingRenderStream(const uint32_t streamId, in AddIncomingRenderStream() argument
111 renderCallback = _ptrRendererWin->CreateChannel(streamId, zOrder, left, in AddIncomingRenderStream()
119 const uint32_t streamId) in DeleteIncomingRenderStream() argument
128 error = _ptrRendererWin->DeleteChannel(streamId); in DeleteIncomingRenderStream()
134 const uint32_t streamId, in GetIncomingRenderStreamProperties() argument
154 error = _ptrRendererWin->GetStreamSettings(streamId, 0, zOrder, left, in GetIncomingRenderStreamProperties()
238 const uint32_t streamId) in RenderFrameRate() argument
245 const uint32_t streamId, in SetStreamCropping() argument
258 error = _ptrRendererWin->SetCropping(streamId, 0, left, top, right, in SetStreamCropping()
265 const uint32_t streamId, in ConfigureRenderer() argument
[all …]
Dvideo_render_windows_impl.h56 * AddIncomingRenderStream(const uint32_t streamId,
62 DeleteIncomingRenderStream(const uint32_t streamId);
65 GetIncomingRenderStreamProperties(const uint32_t streamId,
100 virtual uint32_t RenderFrameRate(const uint32_t streamId);
102 virtual int32_t SetStreamCropping(const uint32_t streamId,
106 virtual int32_t ConfigureRenderer(const uint32_t streamId,
Dvideo_render_direct3d9.h48 virtual int32_t RenderFrame(const uint32_t streamId,
61 void SetStreamSettings(uint16_t streamId,
67 int GetStreamSettings(uint16_t streamId,
121 * CreateChannel(const uint32_t streamId,
128 virtual int32_t DeleteChannel(const uint32_t streamId);
131 const uint16_t streamId,
154 const uint16_t streamId,
159 const uint16_t streamId,
/external/chromium_org/third_party/webrtc/modules/video_render/external/
Dvideo_render_external_impl.h47 * AddIncomingRenderStream(const uint32_t streamId,
53 DeleteIncomingRenderStream(const uint32_t streamId);
56 GetIncomingRenderStreamProperties(const uint32_t streamId,
91 virtual uint32_t RenderFrameRate(const uint32_t streamId);
93 virtual int32_t SetStreamCropping(const uint32_t streamId,
97 virtual int32_t ConfigureRenderer(const uint32_t streamId,
119 virtual int32_t RenderFrame(const uint32_t streamId,
Dvideo_render_external_impl.cc49 VideoRenderExternalImpl::AddIncomingRenderStream(const uint32_t streamId, in AddIncomingRenderStream() argument
61 const uint32_t streamId) in DeleteIncomingRenderStream() argument
68 const uint32_t streamId, in GetIncomingRenderStreamProperties() argument
134 const uint32_t streamId) in RenderFrameRate() argument
141 const uint32_t streamId, in SetStreamCropping() argument
152 const uint32_t streamId, in ConfigureRenderer() argument
199 const uint32_t streamId, in RenderFrame() argument
/external/chromium_org/third_party/webrtc/modules/video_render/mac/
Dvideo_render_mac_carbon_impl.cc136 VideoRenderMacCarbonImpl::AddIncomingRenderStream(const uint32_t streamId, in AddIncomingRenderStream() argument
154 AGLChannel = _ptrCocoaRender->CreateNSGLChannel(streamId, zOrder, left, top, right, bottom); in AddIncomingRenderStream()
162 VideoRenderMacCarbonImpl::DeleteIncomingRenderStream(const uint32_t streamId) in DeleteIncomingRenderStream() argument
167 _ptrCarbonRender->DeleteAGLChannel(streamId); in DeleteIncomingRenderStream()
173 VideoRenderMacCarbonImpl::GetIncomingRenderStreamProperties(const uint32_t streamId, in GetIncomingRenderStreamProperties() argument
181 return _ptrCarbonRender->GetChannelProperties(streamId, zOrder, left, top, right, bottom); in GetIncomingRenderStreamProperties()
238 VideoRenderMacCarbonImpl::RenderFrameRate(const uint32_t streamId) in RenderFrameRate() argument
245 VideoRenderMacCarbonImpl::SetStreamCropping(const uint32_t streamId, in SetStreamCropping() argument
254 int32_t VideoRenderMacCarbonImpl::ConfigureRenderer(const uint32_t streamId, in ConfigureRenderer() argument
Dvideo_render_mac_cocoa_impl.h50 virtual VideoRenderCallback* AddIncomingRenderStream(const uint32_t streamId,
57 virtual int32_t DeleteIncomingRenderStream(const uint32_t streamId);
59 virtual int32_t GetIncomingRenderStreamProperties(const uint32_t streamId,
94 virtual uint32_t RenderFrameRate(const uint32_t streamId);
96 virtual int32_t SetStreamCropping(const uint32_t streamId,
102 virtual int32_t ConfigureRenderer(const uint32_t streamId,
Dvideo_render_mac_carbon_impl.h50 virtual VideoRenderCallback* AddIncomingRenderStream(const uint32_t streamId,
57 virtual int32_t DeleteIncomingRenderStream(const uint32_t streamId);
59 virtual int32_t GetIncomingRenderStreamProperties(const uint32_t streamId,
94 virtual uint32_t RenderFrameRate(const uint32_t streamId);
96 virtual int32_t SetStreamCropping(const uint32_t streamId,
102 virtual int32_t ConfigureRenderer(const uint32_t streamId,
/external/chromium_org/third_party/webrtc/modules/video_render/android/
Dvideo_render_android_impl.h57 const uint32_t streamId,
63 const uint32_t streamId);
66 const uint32_t streamId,
93 virtual uint32_t RenderFrameRate(const uint32_t streamId);
95 virtual int32_t SetStreamCropping(const uint32_t streamId,
101 virtual int32_t ConfigureRenderer(const uint32_t streamId,
123 int32_t streamId,

123