Searched defs:stream (Results 1 - 25 of 205) sorted by relevance

123456789

/frameworks/base/libs/hwui/tests/unit/
H A DOpDumperTests.cpp29 std::stringstream stream; local
30 OpDumper::dump(op, stream);
31 EXPECT_STREQ("RectOp [100 x 100]", stream.str().c_str());
33 stream.str("");
34 OpDumper::dump(op, stream, 2);
35 EXPECT_STREQ(" RectOp [100 x 100]", stream.str().c_str());
40 stream.str("");
41 OpDumper::dump(op, stream, 2);
42 EXPECT_STREQ(" RectOp [100 x 100] clip=[50 x 50] mode=0", stream.str().c_str());
/frameworks/ex/framesequence/jni/
H A DFrameSequence.cpp21 FrameSequence* FrameSequence::create(Stream* stream) { argument
22 const RegistryEntry* entry = Registry::Find(stream);
26 FrameSequence* frameSequence = entry->createFrameSequence(stream);
H A DRegistry.cpp35 const RegistryEntry* Registry::Find(Stream* stream) { argument
38 if (stream->getRawBuffer() != NULL) {
48 headerSize = stream->peek(header, headerSize);
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dstream.c18 * File: stream.c *
24 #include "stream.h"
26 void voAWB_InitFrameBuffer(FrameStream *stream) argument
28 stream->set_ptr = NULL;
29 stream->frame_ptr_bk = stream->frame_ptr;
30 stream->set_len = 0;
31 stream->framebuffer_len = 0;
32 stream->frame_storelen = 0;
36 FrameStream *stream,
35 voAWB_UpdateFrameBuffer( FrameStream *stream, VO_MEM_OPERATOR *pMemOP ) argument
50 voAWB_FlushFrameBuffer(FrameStream *stream) argument
[all...]
/frameworks/base/tools/aapt/tests/
H A DTestHelper.h27 inline std::ostream& operator<<(std::ostream& stream, const String8& str) { argument
28 return stream << str.string();
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DIVolumeCurvesCollection.h28 virtual void clearCurrentVolumeIndex(audio_stream_type_t stream) = 0;
29 virtual void addCurrentVolumeIndex(audio_stream_type_t stream, audio_devices_t device,
31 virtual bool canBeMuted(audio_stream_type_t stream) = 0;
32 virtual int getVolumeIndexMin(audio_stream_type_t stream) const = 0;
33 virtual int getVolumeIndex(audio_stream_type_t stream, audio_devices_t device) = 0;
34 virtual int getVolumeIndexMax(audio_stream_type_t stream) const = 0;
35 virtual float volIndexToDb(audio_stream_type_t stream, device_category device,
37 virtual status_t initStreamVolume(audio_stream_type_t stream, int indexMin, int indexMax) = 0;
41 virtual void restoreOriginVolumeCurve(audio_stream_type_t stream) argument
43 switchVolumeCurve(stream, strea
[all...]
H A DStreamDescriptor.h27 // stream descriptor used for volume control
60 bool mCanBeMuted; /**< true is the stream can be muted. */
64 * stream descriptors collection for volume control
72 virtual void clearCurrentVolumeIndex(audio_stream_type_t stream);
73 virtual void addCurrentVolumeIndex(audio_stream_type_t stream, audio_devices_t device,
75 virtual bool canBeMuted(audio_stream_type_t stream);
76 virtual int getVolumeIndexMin(audio_stream_type_t stream) const
78 return valueFor(stream).getVolumeIndexMin();
80 virtual int getVolumeIndex(audio_stream_type_t stream, audio_devices_t device) argument
82 return valueFor(stream)
93 hasVolumeIndexForDevice(audio_stream_type_t stream, audio_devices_t device) const argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Ddec_pred_intra_dc.cpp25 BitstreamDecVideo *stream,
41 status = PV_VlcDecIntraDCPredSize(stream, compnum, &DC_size);
52 code = (int) BitstreamReadBits16_INLINE(stream, DC_size);
66 if (DC_size > 8) BitstreamRead1Bits_INLINE(stream);
23 PV_DecodePredictedIntraDC( int compnum, BitstreamDecVideo *stream, int16 *INTRADC_delta) argument
H A Dbitstream.h33 PV_STATUS BitstreamFillBuffer(BitstreamDecVideo *stream);
34 PV_STATUS BitstreamFillCache(BitstreamDecVideo *stream);
35 void BitstreamReset(BitstreamDecVideo *stream, uint8 *buffer, int32 buffer_size);
36 int BitstreamOpen(BitstreamDecVideo *stream, int layer);
37 void BitstreamClose(BitstreamDecVideo *stream);
39 PV_STATUS BitstreamShowBits32(BitstreamDecVideo *stream, int nbits, uint32 *code);
40 uint32 BitstreamReadBits32(BitstreamDecVideo *stream, int nbits);
42 uint BitstreamReadBits16(BitstreamDecVideo *stream, int nbits);
43 uint BitstreamRead1Bits(BitstreamDecVideo *stream);
45 PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, in
51 BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code) argument
69 BitstreamShow15Bits(BitstreamDecVideo *stream, uint *code) argument
83 BitstreamShow13Bits(BitstreamDecVideo *stream, uint *code) argument
95 BitstreamReadBits16_INLINE(BitstreamDecVideo *stream, int nbits) argument
110 BitstreamRead1Bits_INLINE(BitstreamDecVideo *stream) argument
[all...]
H A Dpacket_util.cpp33 BitstreamDecVideo *stream = video->bitstream; local
47 status = PV_BitstreamShowBitsByteAlign(stream, resync_marker_length, &tmpvar32);
51 // DecNextStartCode(stream);
52 PV_BitstreamByteAlign(stream);
53 BitstreamReadBits32(stream, resync_marker_length);
55 *next_MB = (int) BitstreamReadBits16(stream, nbits);
65 quantizer = (int16) BitstreamReadBits16(stream, currVol->quantPrecision);
72 if (BitstreamRead1Bits(stream))
80 tmpvar16 = BitstreamRead1Bits(stream);
85 BitstreamRead1Bits(stream);
148 BitstreamDecVideo *stream = video->bitstream; local
199 BitstreamDecVideo *stream = video->bitstream; local
[all...]
/frameworks/wilhelm/src/desktop/
H A DSDL.cpp24 static void SDLCALL SDL_callback(void *context, Uint8 *stream, int len) argument
36 IOutputMixExt_FillBuffer(OutputMixExt, stream, (SLuint32) len);
38 memset(stream, 0, (size_t) len);
/frameworks/av/services/audioflinger/
H A DAudioStreamOut.h33 * Managed access to a HAL output stream.
41 sp<StreamOutHalInterface> stream; member in class:android::AudioStreamOut
/frameworks/base/core/java/android/webkit/
H A DPluginData.java26 * HTTP response. For this, it needs a stream with the response body,
38 * The content stream.
61 * @param stream The stream that supplies content for the plugin.
73 InputStream stream,
77 mStream = stream;
84 * Returns the input stream that contains the plugin content.
72 PluginData( InputStream stream, long length, Map<String, String[]> headers, int code) argument
/frameworks/base/tools/aapt/
H A DIndentPrinter.h6 explicit IndentPrinter(FILE* stream, int indentSize=2) argument
7 : mStream(stream)
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A DLayoutPullParser.java66 private void init(InputStream stream) throws XmlPullParserException { argument
68 setInput(stream, null);
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasRequestGetFolderListing.java59 protected void readResponse(InputStream stream) { argument
60 mResponse = new BluetoothMapFolderListing(stream);
H A DBluetoothMasRequestGetMessage.java60 protected void readResponse(InputStream stream) { argument
67 while ((len = stream.read(buf)) != -1) {
74 // Convert the input stream using UTF-8 since the attributes in the payload are all encoded
/frameworks/rs/
H A DrsAnimation.cpp24 void Animation::serialize(Context *rsc, OStream *stream) const {
27 Animation *Animation::createFromStream(Context *rsc, IStream *stream) { argument
H A DrsScriptC.h54 virtual void serialize(Context *rsc, OStream *stream) const { }
56 static Type *createFromStream(Context *rsc, IStream *stream) { return nullptr; } argument
/frameworks/av/media/libaaudio/src/binding/
H A DIAAudioService.cpp58 aaudio_handle_t stream; variable
59 err = reply.readInt32(&stream);
63 } else if (stream < 0) {
64 ALOGE("BpAAudioService::client OPEN_STREAM passed stream %d", stream);
65 return stream;
70 closeStream(stream); variable
73 return stream;
240 aaudio_handle_t stream; local
257 stream
[all...]
/frameworks/av/media/libnbaio/
H A DAudioStreamInSource.cpp27 AudioStreamInSource::AudioStreamInSource(sp<StreamInHalInterface> stream) : argument
29 mStream(stream),
34 ALOG_ASSERT(stream != 0);
/frameworks/base/core/jni/android/graphics/
H A DMovieImpl.cpp87 SkMemoryStream stream(data, length, false);
88 return Movie::DecodeStream(&stream);
92 std::unique_ptr<SkStreamRewindable> stream = SkStream::MakeFromFile(path); local
93 return stream ? Movie::DecodeStream(stream.get()) : nullptr;
/frameworks/base/libs/hwui/utils/
H A DStringUtils.h45 friend std::ostream& operator<<(std::ostream& stream, const SizePrinter& d) { argument
53 stream << std::fixed << std::setprecision(2) << temp << SUFFIXES[suffix];
54 return stream;
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/car/
H A DCarVolumeDialogController.java33 * {@link android.car.media.CarAudioManager} is the source of truth to get the stream volumes.
67 protected void setAudioManagerStreamVolume(int stream, int level, int flag) { argument
73 mCarAudioManager.setStreamVolume(stream, level, flag);
80 protected int getAudioManagerStreamVolume(int stream) { argument
87 return mCarAudioManager.getStreamVolume(stream);
95 protected int getAudioManagerStreamMaxVolume(int stream) { argument
102 return mCarAudioManager.getStreamMaxVolume(stream);
110 protected int getAudioManagerStreamMinVolume(int stream) { argument
117 return mCarAudioManager.getStreamMinVolume(stream);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DParserFactory.java59 InputStream stream = new FileInputStream(f);
60 return create(stream, f.getName(), f.length(), isLayout);
63 public static XmlPullParser create(@NonNull InputStream stream, @Nullable String name) argument
65 return create(stream, name, -1, false);
69 private static XmlPullParser create(@NonNull InputStream stream, @Nullable String name, argument
73 stream = readAndClose(stream, name, size);
75 parser.setInput(stream, null);
98 private static InputStream readAndClose(@NonNull InputStream stream, @Nullable String name, argument
107 BufferedInputStream bufferedStream = new BufferedInputStream(stream);
[all...]

Completed in 585 milliseconds

123456789