/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
Fingerprint.java | 39 // Version 1 streamId prefix. 104 public static Fingerprint fromStreamId(String streamId) { 105 if ((streamId == null) 106 || !streamId.startsWith(STREAM_ID_CS_PREFIX) 107 || (streamId.length() != STREAM_ID_CS_01_LENGTH)) { 108 throw new IllegalArgumentException("bad streamId: " + streamId); 116 int value = (toDigit(streamId, idx) << 4) | toDigit(streamId, idx + 1); 123 * Scans a list of strings for a valid streamId [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
SpdyConnection.java | 134 synchronized SpdyStream removeStream(int streamId) { 135 SpdyStream stream = streams.remove(streamId); 171 int streamId; 178 streamId = nextStreamId; 180 stream = new SpdyStream(streamId, this, flags, priority, slot, requestHeaders, settings); 182 streams.put(streamId, stream); 187 spdyWriter.synStream(flags, streamId, associatedStreamId, priority, slot, requestHeaders); 193 void writeSynReply(int streamId, int flags, List<String> alternating) throws IOException { 194 spdyWriter.synReply(flags, streamId, alternating); 204 void writeSynResetLater(final int streamId, final int statusCode) [all...] |
SpdyReader.java | 148 int streamId = w1 & 0x7fffffff; 149 handler.data(flags, streamId, in, length); 158 int streamId = w1 & 0x7fffffff; 163 handler.synStream(flags, streamId, associatedStreamId, priority, slot, nameValueBlock); 168 int streamId = w1 & 0x7fffffff; 170 handler.synReply(flags, streamId, nameValueBlock); 175 int streamId = in.readInt() & 0x7fffffff; 177 handler.rstStream(flags, streamId, statusCode); 182 int streamId = w1 & 0x7fffffff; 184 handler.headers(flags, streamId, nameValueBlock) [all...] |
SpdyWriter.java | 45 public synchronized void synStream(int flags, int streamId, int associatedStreamId, int priority, 54 out.writeInt(streamId & 0x7fffffff); 61 public synchronized void synReply(int flags, int streamId, List<String> nameValueBlock) 69 out.writeInt(streamId & 0x7fffffff); 74 public synchronized void headers(int flags, int streamId, List<String> nameValueBlock) 82 out.writeInt(streamId & 0x7fffffff); 87 public synchronized void rstStream(int streamId, int statusCode) throws IOException { 93 out.writeInt(streamId & 0x7fffffff); 98 public synchronized void data(int flags, int streamId, byte[] data) throws IOException { 100 out.writeInt(streamId & 0x7fffffff) [all...] |
/frameworks/av/camera/ |
ProCamera.cpp | 168 status_t ProCamera::deleteStream(int streamId) 173 status_t s = c->deleteStream(streamId); 175 mStreams.removeItem(streamId); 183 int* streamId) 185 *streamId = -1; 196 streamId); 202 int* streamId) { 203 *streamId = -1; 214 streamId); 217 StreamInfo s(*streamId); [all...] |
IProCameraUser.cpp | 235 virtual status_t deleteStream(int streamId) 239 data.writeInt32(streamId); 248 int* streamId) 262 if (streamId) { 263 *streamId = sId; 362 int streamId = data.readInt32(); 363 reply->writeInt32(deleteStream(streamId)); 377 int streamId = -1; 379 ret = createStream(width, height, format, bp, &streamId); 381 reply->writeInt32(streamId); [all...] |
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/ |
MockSpdyPeer.java | 166 public int streamId; 189 public void synStream(int flags, int streamId, int associatedStreamId, int priority, int slot, 194 this.streamId = streamId; 201 @Override public void synReply(int flags, int streamId, List<String> nameValueBlock) { 204 this.streamId = streamId; 209 @Override public void headers(int flags, int streamId, List<String> nameValueBlock) { 212 this.streamId = streamId; [all...] |
SpdyConnectionTest.java | 87 assertEquals(1, synStream.streamId); 152 assertEquals(2, reply.streamId); 211 assertEquals(2, ping.streamId); 232 assertEquals(1, pingFrame.streamId); 249 assertEquals(2, ping2.streamId); 251 assertEquals(4, ping4.streamId); 323 assertEquals(42, rstStream.streamId); 326 assertEquals(2, ping.streamId); 344 assertEquals(42, rstStream.streamId); 347 assertEquals(2, ping.streamId); [all...] |
/frameworks/av/include/camera/ |
ProCamera.h | 76 virtual void onFrameAvailable(int /*streamId*/, 155 status_t requestStream(int streamId); 167 status_t deleteStream(int streamId); 177 int* streamId); 187 int* streamId); 192 int* streamId); 198 int* streamId); 216 int waitForFrameBuffer(int streamId); 234 // BAD_VALUE - invalid streamId or count passed 235 int dropFrameBuffer(int streamId, int count) [all...] |
IProCameraUser.h | 64 virtual status_t deleteStream(int streamId) = 0; 69 int* streamId) = 0;
|
/frameworks/av/camera/tests/ |
ProCameraTests.cpp | 264 virtual void onFrameAvailable(int streamId, 277 dout << "Frame received on streamId = " << streamId << 284 dout << "Frame received on streamId = " << streamId << std::endl; 679 int streamId = -1; 681 TEST_FORMAT_MAIN, surface, &streamId)); 682 EXPECT_NE(-1, streamId); 709 uint8_t allStreams[] = { streamId, depthStreamId }; 755 int streamId = -1 [all...] |
/device/generic/goldfish/camera/fake-pipeline2/ |
Base.h | 37 int streamId;
|
JpegCompressor.cpp | 127 } else if (b.streamId <= 0) { 210 if ( (*mBuffers)[i].streamId == (int)id ) return true; 243 if (mAuxBuffer.streamId == 0) {
|
/frameworks/av/services/camera/libcameraservice/ |
ProCamera2Client.h | 51 virtual status_t deleteStream(int streamId); 59 int* streamId);
|
ProCamera2Client.cpp | 237 status_t ProCamera2Client::deleteStream(int streamId) { 239 ALOGV("%s (streamId = 0x%x)", __FUNCTION__, streamId); 254 return mDevice->deleteStream(streamId); 260 int* streamId) 262 if (streamId) { 263 *streamId = -1; 284 streamId);
|
/hardware/ti/omap3/omx/system/src/openmax_il/common/inc/ |
TIDspOmx.h | 676 OMX_U32 streamId; /* streamId */ 683 OMX_U32 streamId; /* streamId */
|
/device/generic/goldfish/camera/ |
EmulatedFakeCamera2.h | 143 const Stream &getStreamInfo(uint32_t streamId); 144 const ReprocessStream &getReprocessStreamInfo(uint32_t streamId); 174 bool isStreamInUse(uint32_t streamId); 178 bool isReprocessStreamInUse(uint32_t streamId);
|
EmulatedFakeCamera2.cpp | 783 if ((*mNextBuffers)[i].streamId == (int)id) return true; 914 int streamId = streams.data.u8[i]; 915 const Stream &s = mParent->getStreamInfo(streamId); 918 "is included in a request!", __FUNCTION__, streamId); 923 b.streamId = streams.data.u8[i]; 931 i, b.streamId, b.width, b.height, b.format, b.stride); 1044 int streamId = reprocessStreams.data.u8[i]; 1045 const ReprocessStream &s = mParent->getReprocessStreamInfo(streamId); 1053 b.streamId = -streamId; [all...] |
/frameworks/av/libvideoeditor/vss/common/inc/ |
M4AMRR_CoreReader.h | 123 * M4OSA_ERR M4AMRR_nextAU(M4OSA_Context Context, M4SYS_StreamID StreamID, M4SYS_AccessUnit* pAu); 128 * @param StreamID(IN) : Selects the stream 142 M4OSA_ERR M4AMRR_nextAU(M4OSA_Context Context, M4SYS_StreamID StreamID, M4SYS_AccessUnit* pAu); 146 * M4OSA_ERR M4AMRR_freeAU(M4OSA_Context Context, M4SYS_StreamID StreamID, M4SYS_AccessUnit* pAu); 151 * @param StreamID(IN) : Selects the stream 162 M4OSA_ERR M4AMRR_freeAU(M4OSA_Context Context, M4SYS_StreamID StreamID, M4SYS_AccessUnit* pAu); 168 * @brief The function seeks the targeted time in the give stream by streamId. 172 * @param StreamID(IN) : Array of stream IDs. 205 * M4OSA_ERR M4AMRR_getState(M4OSA_Context Context, M4AMRR_State* pState, M4SYS_StreamID streamId); 209 * @param streamId(IN) : Selects the stream 0 for al [all...] |
/hardware/libhardware/tests/camera2/ |
camera2.cpp | 418 int streamId; 421 width, height, format, &streamId) ); 430 uint32_t outputStreams = streamId; 504 ASSERT_NO_FATAL_FAILURE(disconnectStream(streamId)); 552 int streamId; 555 width, height, format, &streamId) ); 564 uint32_t outputStreams = streamId; 721 int streamId; 724 width, height, format, &streamId) ); 733 uint32_t outputStreams = streamId; [all...] |
/hardware/ti/omap3/omx/system/src/openmax_il/lcml/src/ |
LCML_DspCodec.c | [all...] |
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
SampleMediaRouteProvider.java | 234 String streamId = generateStreamId(); 242 result.putString(MediaControlIntent.EXTRA_ITEM_ID, streamId);
|
SampleMediaRouterActivity.java | 197 String streamId = data != null ? data.getString( 200 Log.d(TAG, "Play request succeeded: data=" + data + " , streamId=" + streamId);
|
/external/tcpdump/ |
sctpHeader.h | 298 u_int16_t streamId;
|
/frameworks/av/libvideoeditor/vss/src/ |
M4AMRR_CoreReader.c | 344 pStreamDesc->streamID = 1; 365 pStreamContext->m_pStreamHandler->streamID = 1; 461 M4OSA_ERR M4AMRR_nextAU(M4OSA_Context Context, M4SYS_StreamID StreamID, M4SYS_AccessUnit* pAu) 477 if ( StreamID != 1 ) 556 M4OSA_ERR M4AMRR_freeAU(M4OSA_Context Context, M4SYS_StreamID StreamID, M4SYS_AccessUnit* pAu) 567 if (( StreamID != 1 ) && ( StreamID != 0)) 858 M4OSA_ERR M4AMRR_getState(M4OSA_Context Context, M4AMRR_State* pState, M4SYS_StreamID streamId) 866 if (( streamId != 1 ) && ( streamId != 0) [all...] |