Searched refs:stream (Results 126 - 150 of 209) sorted by relevance

123456789

/frameworks/base/tools/velocityplot/
H A Dvelocityplot.py42 # Non-blocking stream wrapper.
44 def __init__(self, stream):
45 fcntl.fcntl(stream, fcntl.F_SETFL, os.O_NONBLOCK)
46 self.stream = stream
61 chunk = os.read(self.stream.fileno(), 4096)
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp464 ALOGE("createTrack() invalid stream type %d", streamType);
770 status_t AudioFlinger::setStreamVolume(audio_stream_type_t stream, float value, argument
778 if (uint32_t(stream) >= AUDIO_STREAM_CNT) {
779 ALOGE("setStreamVolume() invalid stream %d", stream);
792 mStreamTypes[stream].volume = value;
796 mPlaybackThreads.valueAt(i)->setStreamVolume(stream, value);
799 thread->setStreamVolume(stream, value);
805 status_t AudioFlinger::setStreamMute(audio_stream_type_t stream, bool muted) argument
812 if (uint32_t(stream) >
826 streamVolume(audio_stream_type_t stream, audio_io_handle_t output) const argument
1926 setStreamVolume(audio_stream_type_t stream, float value) argument
1932 setStreamMute(audio_stream_type_t stream, bool muted) argument
2201 audio_stream_t* AudioFlinger::PlaybackThread::stream() const function in class:android::AudioFlinger::PlaybackThread
6825 audio_stream_t* AudioFlinger::RecordThread::stream() const function in class:android::AudioFlinger::RecordThread
7247 setStreamOutput(audio_stream_type_t stream, audio_io_handle_t output) argument
8203 audio_stream_t *stream = thread->stream(); local
8545 audio_stream_t *stream = thread->stream(); local
8581 audio_stream_t *stream = thread->stream(); local
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmp4lib_int.h276 PV_STATUS(*vlcDecCoeffIntra)(BitstreamDecVideo *stream, Tcoef *pTcoef/*, int intra_luma*/);
277 PV_STATUS(*vlcDecCoeffInter)(BitstreamDecVideo *stream, Tcoef *pTcoef);
H A Dvlc_dequant.cpp23 typedef PV_STATUS(*VlcDecFuncP)(BitstreamDecVideo *stream, Tcoef *pTcoef);
55 BitstreamDecVideo *stream = video->bitstream; local
114 return_status = (*vlcDecCoeff)(stream, &run_level);
387 BitstreamDecVideo *stream = video->bitstream; local
419 return_status = (*vlcDecCoeff)(stream, &run_level);
505 BitstreamDecVideo *stream = video->bitstream; local
560 return_status = (*vlcDecCoeff)(stream, &run_level);
807 BitstreamDecVideo *stream = video->bitstream; local
872 return_status = (*vlcDecCoeff)(stream, &run_level);
945 return_status = (*vlcDecCoeff)(stream,
1069 BitstreamDecVideo *stream = video->bitstream; local
[all...]
/frameworks/base/core/java/android/provider/
H A DDrmStore.java59 * The data stream for the file
131 * Utility function for inserting a file stream into the DRM content provider.
150 InputStream stream = content.getContentInputStream(rights);
174 while ((count = stream.read(buffer)) != -1) {
/frameworks/base/core/java/android/webkit/
H A DCacheManager.java192 * Gets the input stream to the content of this cache entry, to allow
196 * @return an input stream to the content of this cache entry
203 * Gets an output stream to the content of this cache entry, to allow
207 * @return an output stream to the content of this cache entry
216 * Sets an input stream to the content of this cache entry.
218 * @param stream an input stream to the content of this cache entry
220 public void setInputStream(InputStream stream) { argument
221 this.inStream = stream;
310 * The input stream o
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DFileA3D.java171 FileA3D(int id, RenderScript rs, InputStream stream) { argument
173 mInputStream = stream;
302 throw new RSRuntimeException("Unsupported asset stream");
/frameworks/base/tests/CoreTests/android/core/
H A DSSLSocketTest.java345 InputStream stream = socket.getInputStream();
672 InputStream stream = clientSocket.getInputStream();
675 int j = stream.read();
682 stream.close();
738 OutputStream stream = socket.getOutputStream();
741 stream.write(i);
744 stream.flush();
745 stream.close();
/frameworks/rs/
H A DrsElement.h108 virtual void serialize(Context *rsc, OStream *stream) const;
110 static Element *createFromStream(Context *rsc, IStream *stream);
H A DrsProgramFragment.cpp79 void ProgramFragment::serialize(Context *rsc, OStream *stream) const {
82 ProgramFragment *ProgramFragment::createFromStream(Context *rsc, IStream *stream) { argument
H A DrsProgramStore.cpp66 void ProgramStore::serialize(Context *rsc, OStream *stream) const {
69 ProgramStore *ProgramStore::createFromStream(Context *rsc, IStream *stream) { argument
H A DrsSampler.cpp71 void Sampler::serialize(Context *rsc, OStream *stream) const {
74 Sampler *Sampler::createFromStream(Context *rsc, IStream *stream) { argument
H A DrsType.h102 virtual void serialize(Context *rsc, OStream *stream) const;
104 static Type *createFromStream(Context *rsc, IStream *stream);
H A DrsObjectBase.h61 virtual void serialize(Context *rsc, OStream *stream) const = 0;
H A DrsScriptGroup.h89 virtual void serialize(Context *rsc, OStream *stream) const;
H A DrsAllocation.h116 virtual void serialize(Context *rsc, OStream *stream) const;
118 static Allocation *createFromStream(Context *rsc, IStream *stream);
164 void packVec3Allocation(Context *rsc, OStream *stream) const;
/frameworks/support/renderscript/v8/rs_support/
H A DrsElement.h108 virtual void serialize(Context *rsc, OStream *stream) const;
110 static Element *createFromStream(Context *rsc, IStream *stream);
H A DrsSampler.cpp71 void Sampler::serialize(Context *rsc, OStream *stream) const {
74 Sampler *Sampler::createFromStream(Context *rsc, IStream *stream) { argument
H A DrsType.h102 virtual void serialize(Context *rsc, OStream *stream) const;
104 static Type *createFromStream(Context *rsc, IStream *stream);
H A DrsObjectBase.h61 virtual void serialize(Context *rsc, OStream *stream) const = 0;
H A DrsScriptGroup.h89 virtual void serialize(Context *rsc, OStream *stream) const;
/frameworks/av/cmds/stagefright/
H A DAndroid.mk103 stream.cpp \
117 LOCAL_MODULE:= stream
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dcod_main.h30 #include "stream.h"
93 FrameStream *stream; member in struct:__anon608
/frameworks/base/core/java/android/net/
H A DLocalSocketImpl.java46 * An input stream for local sockets. Needed because we may
100 * An output stream for local sockets. Needed because we may
154 private native FileDescriptor create_native(boolean stream) argument
205 * @param stream true if this should be a stream socket, false for
209 public void create (boolean stream) throws IOException { argument
213 fd = create_native(stream);
283 * Retrieves the input stream for this instance.
285 * @return input stream
304 * Retrieves the output stream fo
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DUsageStatsService.java306 FileInputStream stream = new FileInputStream(file);
307 byte[] raw = readFully(stream);
311 stream.close();
565 FileOutputStream stream = new FileOutputStream(file);
569 stream.write(out.marshall());
571 stream.flush();
573 FileUtils.sync(stream);
574 stream.close();
835 static byte[] readFully(FileInputStream stream) throws java.io.IOException { argument
837 int avail = stream
[all...]

Completed in 6243 milliseconds

123456789