/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_app.c | 338 mm_camera_stream_t *stream = (mm_camera_stream_t *)user_data; local 343 stream->offset = *frame_offset_info; 345 __func__, stream->s_id, frame_offset_info->frame_len); 347 pBufs = (mm_camera_buf_def_t *)malloc(sizeof(mm_camera_buf_def_t) * stream->num_of_bufs); 348 reg_flags = (uint8_t *)malloc(sizeof(uint8_t) * stream->num_of_bufs); 360 rc = mm_app_alloc_bufs(&stream->s_bufs[0], 362 stream->num_of_bufs, 372 for (i = 0; i < stream->num_of_bufs; i++) { 373 /* mapping stream bufs first */ 374 pBufs[i] = stream->s_bufs[i].buf 409 mm_camera_stream_t *stream = (mm_camera_stream_t *)user_data; local 425 mm_camera_stream_t *stream = (mm_camera_stream_t *)user_data; local 432 mm_camera_stream_t *stream = (mm_camera_stream_t *)user_data; local 652 mm_camera_stream_t *stream = NULL; local [all...] |
/developers/samples/android/background/alarms/Scheduler/src/com/example/android/scheduler/ |
SampleSchedulingService.java | 98 InputStream stream = null; local 102 stream = downloadUrl(urlString); 103 str = readIt(stream); 105 if (stream != null) { 106 stream.close(); 114 * an input stream. 129 InputStream stream = conn.getInputStream(); local 130 return stream; 135 * @param stream InputStream containing HTML from www.google.com. 139 private String readIt(InputStream stream) throws IOException [all...] |
/developers/samples/android/connectivity/network/NetworkConnect/NetworkConnectSample/src/main/java/com/example/android/networkconnect/ |
MainActivity.java | 119 InputStream stream = null; local 123 stream = downloadUrl(urlString); 124 str = readIt(stream, 500); 126 if (stream != null) { 127 stream.close(); 135 * an input stream. 150 InputStream stream = conn.getInputStream(); local 151 return stream; 156 * @param stream InputStream containing HTML from targeted site. 162 private String readIt(InputStream stream, int len) throws IOException, UnsupportedEncodingException [all...] |
/development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/ |
MainActivity.java | 119 InputStream stream = null; local 123 stream = downloadUrl(urlString); 124 str = readIt(stream, 500); 126 if (stream != null) { 127 stream.close(); 135 * an input stream. 150 InputStream stream = conn.getInputStream(); local 151 return stream; 156 * @param stream InputStream containing HTML from targeted site. 162 private String readIt(InputStream stream, int len) throws IOException, UnsupportedEncodingException [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
ANTLRIntStream.h | 34 // Tell the stream to start buffering if it hasn't already. Return 38 // TODO: problem in that lexer stream returns not index but some marker 47 // Reset the stream so that next call to index would return marker. 49 // just a marker to indicate what state the stream was in. This is 52 // like a stack. Assume the state the stream was in when this marker 59 // stream to keep bookkeeping objects around for a marker that is 66 // normally used to seek ahead in the input stream. No buffering is 67 // required to do this unless you know your stream will use seek to 72 // For char streams, seeking forward must update the stream state such 83 * might be useful to display the entire stream or for testing. Thi [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
ANTLRIntStream.h | 34 // Tell the stream to start buffering if it hasn't already. Return 38 // TODO: problem in that lexer stream returns not index but some marker 47 // Reset the stream so that next call to index would return marker. 49 // just a marker to indicate what state the stream was in. This is 52 // like a stack. Assume the state the stream was in when this marker 59 // stream to keep bookkeeping objects around for a marker that is 66 // normally used to seek ahead in the input stream. No buffering is 67 // required to do this unless you know your stream will use seek to 72 // For char streams, seeking forward must update the stream state such 83 * might be useful to display the entire stream or for testing. Thi [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
ANTLRIntStream.h | 34 // Tell the stream to start buffering if it hasn't already. Return 38 // TODO: problem in that lexer stream returns not index but some marker 47 // Reset the stream so that next call to index would return marker. 49 // just a marker to indicate what state the stream was in. This is 52 // like a stack. Assume the state the stream was in when this marker 59 // stream to keep bookkeeping objects around for a marker that is 66 // normally used to seek ahead in the input stream. No buffering is 67 // required to do this unless you know your stream will use seek to 72 // For char streams, seeking forward must update the stream state such 83 * might be useful to display the entire stream or for testing. Thi [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRIntStream.h | 38 // Tell the stream to start buffering if it hasn't already. Return 42 // TODO: problem in that lexer stream returns not index but some marker 55 // Reset the stream so that next call to index would return marker. 57 // just a marker to indicate what state the stream was in. This is 60 // like a stack. Assume the state the stream was in when this marker 67 // stream to keep bookkeeping objects around for a marker that is 74 // normally used to seek ahead in the input stream. No buffering is 75 // required to do this unless you know your stream will use seek to 80 // For char streams, seeking forward must update the stream state such 91 * might be useful to display the entire stream or for testing. Thi [all...] |
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
rtpdump.h | 36 #include "talk/base/stream.h" 89 explicit RtpDumpReader(talk_base::StreamInterface* stream) 90 : stream_(stream), 116 // RtpDumpLoopReader reads RTP dump packets from the input stream and rewinds 117 // the stream when it ends. RtpDumpLoopReader maintains the elapsed time, the 123 explicit RtpDumpLoopReader(talk_base::StreamInterface* stream); 128 // count, timestamps, and sequence number, of the input stream. 147 // How many RTP packets and how many payload frames in the input stream. RTP 153 // the previous dump packets in the input stream. 166 explicit RtpDumpWriter(talk_base::StreamInterface* stream); [all...] |
/external/chromium_org/content/browser/renderer_host/media/ |
audio_mirroring_manager_unittest.cc | 149 MockDiverter* const stream = CreateStream(kRenderProcessId, kRenderViewId, 1); local 153 KillStream(kRenderProcessId, kRenderViewId, stream); 159 MockDiverter* const stream = CreateStream(kRenderProcessId, kRenderViewId, 1); local 160 KillStream(kRenderProcessId, kRenderViewId, stream); 165 MockDiverter* const stream = CreateStream(kRenderProcessId, kRenderViewId, 2); local 172 KillStream(kRenderProcessId, kRenderViewId, stream); 178 MockDiverter* const stream = CreateStream(kRenderProcessId, kRenderViewId, 2); local 182 KillStream(kRenderProcessId, kRenderViewId, stream); 202 // has one stream mirrored to one destination. 204 MockDiverter* const stream local [all...] |
/external/chromium_org/content/renderer/media/ |
media_stream_impl_unittest.cc | 43 const WebKit::WebMediaStream& stream, 46 last_generated_stream_ = stream; 90 if (!extra_data || !extra_data->stream().get()) { 95 EXPECT_EQ(1u, extra_data->stream()->GetAudioTracks().size()); 96 EXPECT_EQ(1u, extra_data->stream()->GetVideoTracks().size()); 97 EXPECT_NE(extra_data->stream()->GetAudioTracks()[0]->id(), 98 extra_data->stream()->GetVideoTracks()[0]->id()); 140 // Test a stream with both audio and video. 143 // Test a stream with audio only. 146 // Test a stream with video only [all...] |
video_destination_handler.cc | 171 WebKit::WebMediaStream stream; local 173 stream = registry->GetMediaStream(url); 175 stream = 178 if (stream.isNull() || !stream.extraData()) { 183 // Create a new native video track and add it to |stream|. 185 // According to spec, a media stream track's id should be globally unique. 191 if (!factory->AddNativeVideoMediaTrack(track_id, &stream, writer)) { 198 static_cast<MediaStreamExtraData*>(stream.extraData()); 199 webrtc::MediaStreamInterface* native_stream = extra_data->stream().get() [all...] |
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
peerconnection.h | 113 virtual void OnAddRemoteStream(MediaStreamInterface* stream) OVERRIDE; 114 virtual void OnRemoveRemoteStream(MediaStreamInterface* stream) OVERRIDE; 116 virtual void OnAddRemoteAudioTrack(MediaStreamInterface* stream, 119 virtual void OnAddRemoteVideoTrack(MediaStreamInterface* stream, 123 MediaStreamInterface* stream, 126 MediaStreamInterface* stream, 128 virtual void OnAddLocalAudioTrack(MediaStreamInterface* stream, 131 virtual void OnAddLocalVideoTrack(MediaStreamInterface* stream, 135 MediaStreamInterface* stream, 138 MediaStreamInterface* stream, [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
streamparams.cc | 133 for (StreamParamsVec::const_iterator stream = streams.begin(); 134 stream != streams.end(); ++stream) { 135 if (selector.Matches(*stream)) { 137 *stream_out = *stream; 160 for (StreamParamsVec::iterator stream = streams->begin(); 161 stream != streams->end(); ) { 162 if (selector.Matches(*stream)) { 163 stream = streams->erase(stream); [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkTypeface.cpp | 89 SkTypeface* SkTypeface::CreateFromStream(SkStream* stream) { 90 return SkFontHost::CreateTypefaceFromStream(stream); 106 int ttcIndex; // TODO: write this to the stream? 120 SkTypeface* SkTypeface::Deserialize(SkStream* stream) { 121 SkFontDescriptor desc(stream); 122 size_t length = stream->readPackedUInt(); 129 if (stream->read(addr, length) == length) { 133 // If this is because of EOF, all subsequent reads from the stream will be EOF. 134 // If this is because of a stream error, the stream is in an error state [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
FingerPrintGraph.java | 127 void print(String url, PrintStream stream) { 128 stream.print(" echo '<area shape=\"RECT\""); 130 stream.print(" title=\""+this.title+"\""); 132 stream.print("coords=\""); 133 stream.print(this.zone.x); 134 stream.print(','); 135 stream.print(this.zone.y); 136 stream.print(','); 137 stream.print(this.zone.x+this.zone.width); 138 stream.print(',') [all...] |
/external/freetype/include/freetype/internal/ |
ftrfork.h | 54 FT_Stream stream, 130 /* stream :: */ 131 /* A file stream containing the resource fork. */ 155 FT_Stream stream, 177 /* stream :: */ 178 /* A file stream containing the resource fork. */ 195 FT_Stream stream, 215 /* stream :: */ 216 /* A file stream containing the resource fork. */ 229 /* The stream offsets for the resource data specified by `tag'. * [all...] |
/external/freetype/src/sfnt/ |
ttmtx.c | 49 /* stream :: The input stream. */ 58 FT_Stream stream, 80 error = face->goto_table( face, tag, stream, &table_size ); 103 /* stream :: The input stream. */ 112 FT_Stream stream, 150 error = face->goto_table( face, TTAG_vhea, stream, 0 ); 158 error = face->goto_table( face, TTAG_hhea, stream, 0 ); 209 FT_Stream stream = face->root.stream local [all...] |
/external/skia/src/core/ |
SkTypeface.cpp | 89 SkTypeface* SkTypeface::CreateFromStream(SkStream* stream) { 90 return SkFontHost::CreateTypefaceFromStream(stream); 106 int ttcIndex; // TODO: write this to the stream? 120 SkTypeface* SkTypeface::Deserialize(SkStream* stream) { 121 SkFontDescriptor desc(stream); 122 size_t length = stream->readPackedUInt(); 129 if (stream->read(addr, length) == length) { 133 // If this is because of EOF, all subsequent reads from the stream will be EOF. 134 // If this is because of a stream error, the stream is in an error state [all...] |
/external/smack/src/org/xbill/DNS/ |
DNSOutput.java | 70 * Resets the current position of the output stream to the specified index. 84 * Saves the current state of the output stream. 93 * Restores the input stream to its state before the call to {@link #save}. 105 * Writes an unsigned 8 bit value to the stream. 116 * Writes an unsigned 16 bit value to the stream. 128 * Writes an unsigned 16 bit value to the specified position in the stream. 143 * Writes an unsigned 32 bit value to the stream. 157 * Writes a byte array to the stream. 170 * Writes a byte array to the stream. 179 * Writes a counted string from the stream. A counted string is a one byt [all...] |
/frameworks/av/include/media/ |
IAudioPolicyService.h | 52 virtual audio_io_handle_t getOutput(audio_stream_type_t stream, 59 audio_stream_type_t stream, 62 audio_stream_type_t stream, 73 virtual status_t initStreamVolume(audio_stream_type_t stream, 76 virtual status_t setStreamVolumeIndex(audio_stream_type_t stream, 79 virtual status_t getStreamVolumeIndex(audio_stream_type_t stream, 82 virtual uint32_t getStrategyForStream(audio_stream_type_t stream) = 0; 83 virtual audio_devices_t getDevicesForStream(audio_stream_type_t stream) = 0; 92 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const = 0; 93 virtual bool isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs = 0 [all...] |
/frameworks/av/services/camera/libcameraservice/common/ |
CameraDeviceBase.h | 80 * Create an output stream of the requested size and format. 86 * equal to the size in bytes of the buffers to allocate for the stream. For 94 * Create an input reprocess stream that uses buffers from an existing 95 * output stream. 100 * Get information about a given stream. 106 * Set stream gralloc buffer transform 111 * Delete stream. Must not be called if there are requests in flight which 112 * reference that stream. 117 * Delete reprocess stream. Must not be called if there are requests in 118 * flight which reference that stream [all...] |
/frameworks/base/core/java/android/app/backup/ |
BackupDataInput.java | 32 * The agent must consume every entity in the data stream, otherwise the 91 * Extract the next entity header from the restore stream. After this method 96 * restore stream, <code>false</code> if the restore stream has been fully consumed. 97 * @throws IOException if an error occurred while reading the restore stream 117 * Report the key associated with the current entity in the restore stream 131 * restore stream. 145 * Read a record's raw data from the restore stream. The record's header must first 153 * when read from the stream 157 * @throws IOException if an error occurred when trying to read the restore data stream [all...] |
/frameworks/base/core/jni/android/graphics/ |
CreateJavaOutputStreamAdaptor.cpp | 128 SkStream* CreateJavaInputStreamAdaptor(JNIEnv* env, jobject stream, 130 return new JavaInputStreamAdaptor(env, stream, storage); 134 static SkMemoryStream* adaptor_to_mem_stream(SkStream* stream) { 135 SkASSERT(stream != NULL); 141 while ((len = stream->read(data + streamLen, 156 SkStreamRewindable* CopyJavaInputStream(JNIEnv* env, jobject stream, 158 SkAutoTUnref<SkStream> adaptor(CreateJavaInputStreamAdaptor(env, stream, storage)); 172 SkJavaOutputStream(JNIEnv* env, jobject stream, jbyteArray storage) 173 : fEnv(env), fJavaOutputStream(stream), fJavaByteArray(storage) { 222 SkWStream* CreateJavaOutputStreamAdaptor(JNIEnv* env, jobject stream, [all...] |
/hardware/libhardware/modules/audio/ |
audio_policy.c | 98 audio_stream_type_t stream, 109 audio_stream_type_t stream, int session) 115 audio_stream_type_t stream, int session) 149 audio_stream_type_t stream, int index_min, 155 audio_stream_type_t stream, 162 audio_stream_type_t stream, 169 audio_stream_type_t stream, 177 audio_stream_type_t stream, 185 audio_stream_type_t stream) 191 audio_stream_type_t stream) [all...] |