Searched refs:stream (Results 151 - 175 of 209) sorted by relevance

123456789

/frameworks/support/renderscript/v8/rs_support/
H A DrsAllocation.h113 virtual void serialize(Context *rsc, OStream *stream) const;
115 static Allocation *createFromStream(Context *rsc, IStream *stream);
155 void packVec3Allocation(Context *rsc, OStream *stream) const;
H A DrsScript.cpp102 void ScriptKernelID::serialize(Context *rsc, OStream *stream) const {
119 void ScriptFieldID::serialize(Context *rsc, OStream *stream) const {
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Ddatapart_encode.cpp159 status = BitstreamAppendPacket(currVol->stream, bs1); /* Put Packet to Buffer */
189 status = BitstreamAppendPacket(currVol->stream, bs1); /* Put Packet to Buffer */
248 status = BitstreamAppendPacketNoOffset(currVol->stream, bs1);
399 status = BitstreamAppendPacketNoOffset(currVol->stream, bs1);
457 status = BitstreamAppendPacketNoOffset(currVol->stream, bs1);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DEriManager.java158 FileInputStream stream = null;
163 stream = new FileInputStream(
166 parser.setInput(stream, null);
233 if (stream != null) {
234 stream.close();
/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java107 FileInputStream stream = null;
109 stream = new FileInputStream(filePath);
110 FileDescriptor fd = stream.getFD();
132 if (stream != null) {
133 stream.close();
303 * a new input stream will be created using specified ContentResolver.
H A DAudioManager.java101 * @hide Broadcast intent when the volume for a particular stream type changes.
102 * Includes the stream, the new volume and previous volumes.
160 * @hide The stream type for the volume changed intent.
165 * @hide The volume associated with the stream for the volume changed intent.
171 * @hide The previous volume associated with the stream for the volume changed intent.
197 /** The audio stream for phone calls */
199 /** The audio stream for system sounds */
201 /** The audio stream for the phone ring */
203 /** The audio stream for music playback */
205 /** The audio stream fo
440 preDispatchKeyEvent(KeyEvent event, int stream) argument
466 handleKeyDown(KeyEvent event, int stream) argument
507 handleKeyUp(KeyEvent event, int stream) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpvdec_api.cpp73 BitstreamDecVideo *stream; local
169 stream = IMEM_BitstreamDecVideo;
183 stream = (BitstreamDecVideo *) oscl_malloc(sizeof(BitstreamDecVideo));
186 if (stream == NULL)
194 if ((buffer_size = BitstreamOpen(stream, idx)) < 0)
201 video->vol[idx]->bitstream = stream;
209 BitstreamReset(stream, decCtrl->volbuf[idx], decCtrl->volbuf_size[idx]);
886 if (oscl_memcmp(h263_prefix, video_buffer, 3) == 0) /* we have short header stream */
1036 BitstreamDecVideo *stream; local
1065 stream
[all...]
/frameworks/av/services/audioflinger/
H A DAudioFlinger.h127 virtual status_t setStreamVolume(audio_stream_type_t stream, float value,
129 virtual status_t setStreamMute(audio_stream_type_t stream, bool muted);
131 virtual float streamVolume(audio_stream_type_t stream,
133 virtual bool streamMute(audio_stream_type_t stream) const;
173 virtual status_t setStreamOutput(audio_stream_type_t stream, audio_io_handle_t output);
583 virtual audio_stream_t* stream() const = 0;
894 volatile float mCachedVolume; // combined master volume and stream type volume;
1070 void setStreamVolume(audio_stream_type_t stream, float value);
1071 void setStreamMute(audio_stream_type_t stream, bool muted);
1073 float streamVolume(audio_stream_type_t stream) cons
1969 audio_stream_out_t* const stream; member in struct:android::AudioFlinger::AudioStreamOut
1979 audio_stream_in_t* const stream; member in struct:android::AudioFlinger::AudioStreamIn
[all...]
/frameworks/base/core/java/android/net/http/
H A DAndroidHttpClient.java212 * Gets the input stream from a response entity. If the entity is gzipped
213 * then this will get a stream over the uncompressed data.
216 * @return the input stream to read from
441 ByteArrayOutputStream stream = new ByteArrayOutputStream();
442 entity.writeTo(stream);
445 String base64 = Base64.encodeToString(stream.toByteArray(), Base64.NO_WRAP);
449 String entityString = stream.toString();
/frameworks/base/services/java/com/android/server/
H A DWallpaperManagerService.java1001 FileOutputStream stream = null;
1003 stream = new FileOutputStream(journal.chooseForWrite(), false);
1005 out.setOutput(stream, "utf-8");
1020 stream.close();
1024 if (stream != null) {
1025 stream.close();
1051 FileInputStream stream = null;
1064 stream = new FileInputStream(file);
1066 parser.setInput(stream, null);
1111 if (stream !
[all...]
H A DAppWidgetServiceImpl.java1486 FileInputStream stream = file.openRead();
1487 readStateFromFileLocked(stream);
1489 if (stream != null) {
1491 stream.close();
1503 FileOutputStream stream;
1505 stream = file.startWrite();
1506 if (writeStateToFileLocked(stream)) {
1507 file.finishWrite(stream);
1509 file.failWrite(stream);
1517 boolean writeStateToFileLocked(FileOutputStream stream) { argument
1592 readStateFromFileLocked(FileInputStream stream) argument
[all...]
/frameworks/rs/
H A DrsScript.cpp102 void ScriptKernelID::serialize(Context *rsc, OStream *stream) const {
119 void ScriptFieldID::serialize(Context *rsc, OStream *stream) const {
H A DrsProgramVertex.cpp151 void ProgramVertex::serialize(Context *rsc, OStream *stream) const {
154 ProgramVertex *ProgramVertex::createFromStream(Context *rsc, IStream *stream) { argument
/frameworks/base/tools/orientationplot/
H A Dorientationplot.py38 # Non-blocking stream wrapper.
40 def __init__(self, stream):
41 fcntl.fcntl(stream, fcntl.F_SETFL, os.O_NONBLOCK)
42 self.stream = stream
57 chunk = os.read(self.stream.fileno(), 4096)
/frameworks/base/core/java/android/webkit/
H A DBrowserFrame.java668 InputStream stream = mContext.getContentResolver()
670 size = stream.available();
671 stream.close();
689 InputStream stream = mContext.getContentResolver()
691 size = stream.available();
694 stream.read(buffer, offset, size);
698 stream.close();
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s25 ; * the bit stream buffer
39 ; * bit stream syntax
46 ; * stream buffer
254 M_BD_VREAD8 mvVerResidual,temp,T1,T2 ;// Get mvVerResidual from bit stream if fcodeForward>1 and mnVerData!=0
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s25 ; * the bit stream buffer
39 ; * bit stream syntax
46 ; * stream buffer
254 M_BD_VREAD8 mvVerResidual,temp,T1,T2 ;// Get mvVerResidual from bit stream if fcodeForward>1 and mnVerData!=0
/frameworks/base/keystore/java/android/security/
H A DAndroidKeyStore.java498 public void engineStore(OutputStream stream, char[] password) throws IOException, argument
504 public void engineLoad(InputStream stream, char[] password) throws IOException, argument
506 if (stream != null) {
/frameworks/base/core/java/android/widget/
H A DSuggestionsAdapter.java572 InputStream stream = mProviderContext.getContentResolver().openInputStream(uri);
573 if (stream == null) {
577 return Drawable.createFromStream(stream, null);
580 stream.close();
582 Log.e(LOG_TAG, "Error closing icon stream for " + uri, ex);
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java863 * @param stream The outputstream to write the compressed data.
864 * @return true if successfully compressed to the specified stream.
866 public boolean compress(CompressFormat format, int quality, OutputStream stream) { argument
869 if (stream == null) {
876 stream, new byte[WORKING_COMPRESS_STORAGE]);
1402 int quality, OutputStream stream,
1401 nativeCompress(int nativeBitmap, int format, int quality, OutputStream stream, byte[] tempStorage) argument
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
H A DScoAudioTest.java116 name.setText("VOICE_CALL stream");
325 SimplePlayerController(Context context, int playPausebuttonId, int stopButtonId, String fileName, int stream) { argument
330 mStreamType = stream;
335 SimplePlayerController(Context context, int playPausebuttonId, int stopButtonId, int fileResId, int stream) { argument
340 mStreamType = stream;
/frameworks/av/media/libstagefright/codecs/amrwbenc/
H A DAndroid.mk46 src/stream.c \
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.cpp24 bool YuvToJpegEncoder::encode(SkWStream* stream, void* inYuv, int width, argument
28 skjpeg_destination_mgr sk_wstream(stream);
/frameworks/av/media/libstagefright/mpeg2ts/
H A DATSParser.cpp333 ALOGI("uh oh. stream PIDs have changed.");
343 sp<Stream> stream = mStreams.editValueAt(i);
345 ALOGI("PID 0x%08x => type 0x%02x", stream->pid(), stream->type());
402 sp<Stream> stream = new Stream( local
405 mStreams.add(info.mPID, stream);
501 ALOGV("new stream PID 0x%02x, type 0x%02x", elementaryPID, streamType);
523 ALOGI("discontinuity on stream pid 0x%04x", mElementaryPID);
825 ALOGV("flushing stream 0x%04x size = %d", mElementaryPID, mBuffer->size());
1123 // MPEG2 transport stream packe
[all...]
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp160 SkMemoryStream stream(buffer, len);
161 SkImageDecoder* codec = SkImageDecoder::Factory(&stream);
164 codec->decode(&stream, &bitmap,

Completed in 2540 milliseconds

123456789