/frameworks/base/libs/hwui/tests/unit/ |
H A D | OpDumperTests.cpp | 29 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 D | FrameSequence.cpp | 21 FrameSequence* FrameSequence::create(Stream* stream) { argument 22 const RegistryEntry* entry = Registry::Find(stream); 26 FrameSequence* frameSequence = entry->createFrameSequence(stream);
|
H A D | Registry.cpp | 35 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 D | stream.c | 18 * 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 D | TestHelper.h | 27 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 D | IVolumeCurvesCollection.h | 28 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 D | StreamDescriptor.h | 27 // 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/support/documents-archive/src/android/support/provider/ |
H A D | IoUtils.java | 42 static void closeQuietly(@Nullable InputStream stream) { argument 43 if (stream != null) { 45 stream.close();
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | dec_pred_intra_dc.cpp | 25 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 D | bitstream.h | 33 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 D | packet_util.cpp | 33 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 D | SDL.c | 24 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 D | AudioStreamOut.h | 33 * Managed access to a HAL output stream. 41 audio_stream_out_t *stream; member in class:android::AudioStreamOut
|
/frameworks/base/core/java/android/webkit/ |
H A D | PluginData.java | 26 * 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/libs/hwui/utils/ |
H A D | StringUtils.h | 41 friend std::ostream& operator<<(std::ostream& stream, const SizePrinter& d) { argument 49 stream << std::fixed << std::setprecision(2) << temp << SUFFIXES[suffix]; 50 return stream;
|
/frameworks/base/tools/aapt/ |
H A D | IndentPrinter.h | 6 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 D | LayoutPullParser.java | 64 private void init(InputStream stream) throws XmlPullParserException { argument 66 setInput(stream, null);
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
H A D | BluetoothMasRequestGetFolderListing.java | 59 protected void readResponse(InputStream stream) { argument 60 mResponse = new BluetoothMapFolderListing(stream);
|
H A D | BluetoothMasRequestGetMessage.java | 60 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 D | rsAnimation.cpp | 24 void Animation::serialize(Context *rsc, OStream *stream) const { 27 Animation *Animation::createFromStream(Context *rsc, IStream *stream) { argument
|
H A D | rsScriptC.h | 54 virtual void serialize(Context *rsc, OStream *stream) const { } 56 static Type *createFromStream(Context *rsc, IStream *stream) { return nullptr; } argument
|
H A D | rsComponent.cpp | 259 void Component::serialize(OStream *stream) const { 260 stream->addU8((uint8_t)mType); 261 stream->addU8((uint8_t)mKind); 262 stream->addU8((uint8_t)(mNormalized ? 1 : 0)); 263 stream->addU32(mVectorSize); 266 void Component::loadFromStream(IStream *stream) { argument 267 mType = (RsDataType)stream->loadU8(); 268 mKind = (RsDataKind)stream->loadU8(); 269 uint8_t temp = stream->loadU8(); 271 mVectorSize = stream [all...] |
/frameworks/av/media/libnbaio/ |
H A D | AudioStreamInSource.cpp | 26 AudioStreamInSource::AudioStreamInSource(audio_stream_in *stream) : argument 28 mStream(stream), 33 ALOG_ASSERT(stream != NULL);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | ParserFactory.java | 61 InputStream stream = new FileInputStream(f); 62 return create(stream, f.getName(), f.length(), isLayout); 65 public static XmlPullParser create(@NonNull InputStream stream, @Nullable String name) argument 67 return create(stream, name, -1, false); 71 private static XmlPullParser create(@NonNull InputStream stream, @Nullable String name, argument 75 stream = readAndClose(stream, name, size); 77 parser.setInput(stream, ENCODING); 100 private static InputStream readAndClose(@NonNull InputStream stream, @Nullable String name, argument 109 BufferedInputStream bufferedStream = new BufferedInputStream(stream); [all...] |
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | AtomicFile.java | 116 * Call when you have successfully finished writing to the stream 119 * will return the new file stream. 134 * Call when you have failed for some reason at writing to the stream 136 * write stream, and roll back to the previous state of the file. 176 FileInputStream stream = openRead(); 179 int avail = stream.available(); 182 int amt = stream.read(data, pos, data.length-pos); 191 avail = stream.available(); 199 stream.close(); 203 static boolean sync(FileOutputStream stream) { argument [all...] |