Searched refs:stream (Results 101 - 125 of 260) sorted by relevance

1234567891011

/frameworks/base/media/tests/omxjpegdecoder/
H A Domx_jpeg_decoder.cpp99 bool OmxJpegImageDecoder::onDecode(SkStream* stream, argument
101 sp<MediaSource> source = prepareMediaSource(stream);
126 JPEGSource* OmxJpegImageDecoder::prepareMediaSource(SkStream* stream) { argument
128 sp<DataSource> dataSource = new StreamSource(stream);
/frameworks/ex/framesequence/jni/
H A DFrameSequenceJNI.cpp56 MemoryStream stream(bytes + offset, length);
57 FrameSequence* frameSequence = FrameSequence::create(&stream);
64 JavaInputStream stream(env, istream, byteArray);
65 FrameSequence* frameSequence = FrameSequence::create(&stream);
/frameworks/rs/
H A DrsAdapter.cpp44 void Adapter1D::serialize(Context *rsc, OStream *stream) const {
47 Adapter1D *Adapter1D::createFromStream(Context *rsc, IStream *stream) { argument
117 void Adapter2D::serialize(Context *rsc, OStream *stream) const {
120 Adapter2D *Adapter2D::createFromStream(Context *rsc, IStream *stream) { argument
H A DrsElement.cpp107 void Element::serialize(Context *rsc, OStream *stream) const {
109 stream->addU32((uint32_t)getClassId());
110 stream->addString(getName());
112 mComponent.serialize(stream);
115 stream->addU32(mFieldCount);
117 stream->addString(mFields[ct].name);
118 stream->addU32(mFields[ct].arraySize);
119 mFields[ct].e->serialize(rsc, stream);
123 Element *Element::createFromStream(Context *rsc, IStream *stream) { argument
125 RsA3DClassID classID = (RsA3DClassID)stream
[all...]
H A DrsPath.h46 virtual void serialize(Context *rsc, OStream *stream) const;
/frameworks/base/core/java/android/webkit/
H A DCacheManager.java178 * Gets the input stream to the content of this cache entry, to allow
182 * @return an input stream to the content of this cache entry
189 * Gets an output stream to the content of this cache entry, to allow
193 * @return an output stream to the content of this cache entry
202 * Sets an input stream to the content of this cache entry.
204 * @param stream an input stream to the content of this cache entry
206 public void setInputStream(InputStream stream) { argument
207 this.inStream = stream;
280 * The input stream o
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
H A DBluetoothPbapRequestPullPhoneBook.java91 protected void readResponse(InputStream stream) throws IOException { argument
94 mResponse = new BluetoothPbapVcardList(stream, mFormat);
H A DBluetoothPbapRequestPullVcardListing.java86 protected void readResponse(InputStream stream) throws IOException { argument
89 mResponse = new BluetoothPbapVcardListing(stream);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmp4dec_lib.h76 PV_STATUS FillFrameBufferNew(BitstreamDecVideo *stream);
77 PV_STATUS FillFrameBuffer(BitstreamDecVideo *stream, int short_header);
82 PV_STATUS PV_DecodePredictedIntraDC(int compnum, BitstreamDecVideo *stream,
118 PV_STATUS RecoverPacketError(BitstreamDecVideo *stream, int marker_length, int32 *nextVop);
119 PV_STATUS RecoverGOBError(BitstreamDecVideo *stream, int marker_length, int32 *vopPos);
273 PV_STATUS DecodeGOVHeader(BitstreamDecVideo *stream, uint32 *time_base);
H A Dconceal.cpp34 BitstreamDecVideo *stream = video->bitstream; local
38 movePointerTo(stream, startFirstPartition);
48 PV_VlcDecMCBPC_com_intra(stream);
/frameworks/av/services/audiopolicy/
H A DAudioPolicyClientImpl.cpp126 status_t AudioPolicyService::AudioPolicyClient::setStreamVolume(audio_stream_type_t stream, argument
130 return mAudioPolicyService->setStreamVolume(stream, volume, output,
134 status_t AudioPolicyService::AudioPolicyClient::invalidateStream(audio_stream_type_t stream) argument
141 return af->invalidateStream(stream);
159 audio_stream_type_t stream)
161 return mAudioPolicyService->startTone(tone, stream);
158 startTone(audio_policy_tone_t tone, audio_stream_type_t stream) argument
H A DAudioPolicyManager.h84 virtual audio_io_handle_t getOutput(audio_stream_type_t stream,
97 audio_stream_type_t stream,
100 audio_stream_type_t stream,
120 virtual void initStreamVolume(audio_stream_type_t stream,
123 virtual status_t setStreamVolumeIndex(audio_stream_type_t stream,
126 virtual status_t getStreamVolumeIndex(audio_stream_type_t stream,
130 // return the strategy corresponding to a given stream type
131 virtual uint32_t getStrategyForStream(audio_stream_type_t stream);
135 // return the enabled output devices for the given stream type
136 virtual audio_devices_t getDevicesForStream(audio_stream_type_t stream);
[all...]
H A DAudioPolicyManager.cpp491 // request to reuse existing output stream if one is already opened to reach the RX device
538 // request to reuse existing output stream if one is already opened to reach the TX
578 for (int stream = 0; stream < AUDIO_STREAM_CNT; stream++) {
579 handleIncallSonification((audio_stream_type_t)stream, false, true);
675 for (int stream = 0; stream < AUDIO_STREAM_CNT; stream++) {
676 handleIncallSonification((audio_stream_type_t)stream, tru
818 getOutput(audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
860 audio_stream_type_t stream = streamTypefromAttributesInt(attr); local
865 getOutputForDevice( audio_devices_t device, audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
1111 startOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument
1179 stopOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument
1549 initStreamVolume(audio_stream_type_t stream, int indexMin, int indexMax) argument
1562 setStreamVolumeIndex(audio_stream_type_t stream, int index, audio_devices_t device) argument
1602 getStreamVolumeIndex(audio_stream_type_t stream, int *index, audio_devices_t device) argument
1797 isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const argument
1809 isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const argument
3861 getStrategyForStream(audio_stream_type_t stream) argument
3865 getDevicesForStream(audio_stream_type_t stream) argument
3894 getStrategy( audio_stream_type_t stream) argument
3959 handleNotificationRoutingForStream(audio_stream_type_t stream) argument
4982 computeVolume(audio_stream_type_t stream, int index, audio_io_handle_t output, audio_devices_t device) argument
5036 checkAndSetVolume(audio_stream_type_t stream, int index, audio_io_handle_t output, audio_devices_t device, int delayMs, bool force) argument
5127 setStreamMute(audio_stream_type_t stream, bool on, audio_io_handle_t output, int delayMs, audio_devices_t device) argument
5167 handleIncallSonification(audio_stream_type_t stream, bool starting, bool stateChange) argument
5292 changeRefCount(audio_stream_type_t stream, int delta) argument
5341 isStreamActive(audio_stream_type_t stream, uint32_t inPastMs, nsecs_t sysTime) const argument
[all...]
H A DAudioPolicyClientImplLegacy.cpp238 int aps_invalidate_stream(void *service __unused, audio_stream_type_t stream) argument
245 return af->invalidateStream(stream);
275 int aps_set_stream_volume(void *service, audio_stream_type_t stream, argument
281 return audioPolicyService->setStreamVolume(stream, volume, output,
286 audio_stream_type_t stream)
290 return audioPolicyService->startTone(tone, stream);
285 aps_start_tone(void *service, audio_policy_tone_t tone, audio_stream_type_t stream) argument
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DSimplePlayer.java65 int stopButtonId, ImageView stopButton, TextView sessionText, String fileName, int stream, int session)
67 set(context, playPausebuttonId, playPausebutton, stopButtonId, stopButton, sessionText, stream, session);
72 int stopButtonId, ImageView stopButton, TextView sessionText, int fileResId, int stream, int session) {
73 set(context, playPausebuttonId, playPausebutton, stopButtonId, stopButton, sessionText, stream, session);
79 int stopButtonId, ImageView stopButton, TextView sessionText, int stream, int session) {
92 mStreamType = stream;
64 SimplePlayer(Context context, int playPausebuttonId, ImageView playPausebutton, int stopButtonId, ImageView stopButton, TextView sessionText, String fileName, int stream, int session) argument
71 SimplePlayer(Context context, int playPausebuttonId, ImageView playPausebutton, int stopButtonId, ImageView stopButton, TextView sessionText, int fileResId, int stream, int session) argument
78 set(Context context, int playPausebuttonId, ImageView playPausebutton, int stopButtonId, ImageView stopButton, TextView sessionText, int stream, int session) argument
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_context.cpp59 GLTraceState::GLTraceState(TCPStream *stream) { argument
61 mStream = stream;
121 BufferedOutputStream *stream = new BufferedOutputStream(mStream, DEFAULT_BUFFER_SIZE); local
122 GLTraceContext *traceContext = new GLTraceContext(id, version, this, stream);
133 BufferedOutputStream *stream) :
140 mBufferedOutputStream(stream),
132 GLTraceContext(int id, int version, GLTraceState *state, BufferedOutputStream *stream) argument
/frameworks/av/services/audioflinger/
H A DThreads.cpp1229 for (audio_stream_type_t stream = AUDIO_STREAM_MIN; stream < AUDIO_STREAM_CNT;
1230 stream = (audio_stream_type_t) (stream + 1)) {
1231 mStreamTypes[stream].volume = mAudioFlinger->streamVolume_l(stream);
1232 mStreamTypes[stream].mute = mAudioFlinger->streamMute_l(stream);
1348 mOutput->stream->common.set_parameters(&mOutput->stream
1594 setStreamVolume(audio_stream_type_t stream, float value) argument
1601 setStreamMute(audio_stream_type_t stream, bool muted) argument
2018 audio_stream_t* AudioFlinger::PlaybackThread::stream() const function in class:android::AudioFlinger::PlaybackThread
[all...]
H A DAudioFlinger.h140 virtual status_t setStreamVolume(audio_stream_type_t stream, float value,
142 virtual status_t setStreamMute(audio_stream_type_t stream, bool muted);
144 virtual float streamVolume(audio_stream_type_t stream,
146 virtual bool streamMute(audio_stream_type_t stream) const;
188 virtual status_t invalidateStream(audio_stream_type_t stream);
539 bool streamMute_l(audio_stream_type_t stream) const
540 { return mStreamTypes[stream].mute; }
541 // no range check, doesn't check per-thread stream volume, AudioFlinger::mLock held
542 float streamVolume_l(audio_stream_type_t stream) const
543 { return mStreamTypes[stream]
631 audio_stream_out_t* const stream; member in struct:android::AudioFlinger::AudioStreamOut
642 audio_stream_in_t* const stream; member in struct:android::AudioFlinger::AudioStreamIn
[all...]
/frameworks/base/core/jni/android/graphics/
H A DBitmapFactory.cpp209 static jobject doDecode(JNIEnv* env, SkStreamRewindable* stream, jobject padding, jobject options) { argument
256 SkImageDecoder* decoder = SkImageDecoder::Factory(stream);
318 if (!decoder->decode(stream, &decodingBitmap, prefColorType, decodeMode)) {
456 // trying to determine the stream's format. Currently the most is 64, read by
465 SkAutoTUnref<SkStream> stream(CreateJavaInputStreamAdaptor(env, is, storage));
467 if (stream.get()) {
469 SkFrontBufferedStream::Create(stream, BYTES_TO_BUFFER));
500 // Use a buffered stream. Although an SkFILEStream can be rewound, this
503 SkAutoTUnref<SkStreamRewindable> stream(SkFrontBufferedStream::Create(fileStream,
506 return doDecode(env, stream, paddin
524 SkMemoryStream* stream = new SkMemoryStream(ar.ptr() + offset, length, false); local
[all...]
H A DFontFamily.cpp101 SkStream* stream = new AssetStreamAdaptor(asset, local
104 SkTypeface* face = SkTypeface::CreateFromStream(stream);
105 // Note: SkTypeface::CreateFromStream holds its own reference to the stream
106 stream->unref();
/frameworks/av/include/media/
H A DIAudioFlinger.h116 /* set/get stream type state. This will probably be used by
119 virtual status_t setStreamVolume(audio_stream_type_t stream, float value,
121 virtual status_t setStreamMute(audio_stream_type_t stream, bool muted) = 0;
123 virtual float streamVolume(audio_stream_type_t stream,
125 virtual bool streamMute(audio_stream_type_t stream) const = 0;
170 virtual status_t invalidateStream(audio_stream_type_t stream) = 0;
209 // that looks on primary device for a stream with fast flag, primary flag, or first one.
/frameworks/base/graphics/java/android/graphics/
H A DBitmapFactory.java80 * resource or as a stream) must be in jpeg or png format. Only equal
388 InputStream stream = null;
390 stream = new FileInputStream(pathName);
391 bm = decodeStream(stream, null, opts);
396 Log.e("BitmapFactory", "Unable to decode stream: " + e);
398 if (stream != null) {
400 stream.close();
574 * Decode an input stream into a bitmap. If the input stream is null, or
576 * The stream'
[all...]
/frameworks/base/cmds/screencap/
H A Dscreencap.cpp181 SkDynamicMemoryWStream stream; local
182 SkImageEncoder::EncodeStream(&stream, b,
184 SkData* streamData = stream.copyToData();
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSipAudioCall.java931 * represents the RTP stream that carries the audio data to and from the
936 * @return the {@link AudioStream} object or null if the RTP stream has not
955 * @return the {@link AudioGroup} object or null if the RTP stream has not
1019 AudioStream stream = mAudioStream;
1040 stream.associate(InetAddress.getByName(address),
1043 stream.setDtmfType(-1);
1044 stream.setCodec(codec);
1050 stream.setDtmfType(type);
1056 stream.setMode(RtpStream.MODE_NORMAL);
1058 stream
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaMetadataRetrieverTest.java92 java.io.OutputStream stream = new FileOutputStream(MediaNames.THUMBNAIL_METADATA_TEST_FILES[i] + ".jpg");
93 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, stream);
94 stream.close();
150 java.io.OutputStream stream = new FileOutputStream("/sdcard/thumbnailout.jpg");
151 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, stream);
152 stream.close();

Completed in 3206 milliseconds

1234567891011