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

1234567891011>>

/frameworks/av/media/libnbaio/include/media/nbaio/
H A DAudioStreamOutSink.h30 AudioStreamOutSink(sp<StreamOutHalInterface> stream);
56 sp<StreamOutHalInterface> stream() const { return mStream; }
/frameworks/av/services/oboeservice/
H A DAAudioServiceEndpointShared.h45 aaudio_result_t startStream(android::sp<AAudioServiceStreamBase> stream,
48 aaudio_result_t stopStream(android::sp<AAudioServiceStreamBase> stream,
H A DAAudioServiceEndpoint.h52 aaudio_result_t registerStream(android::sp<AAudioServiceStreamBase> stream);
54 aaudio_result_t unregisterStream(android::sp<AAudioServiceStreamBase> stream);
56 virtual aaudio_result_t startStream(android::sp<AAudioServiceStreamBase> stream,
59 virtual aaudio_result_t stopStream(android::sp<AAudioServiceStreamBase> stream,
108 * @return return true if a stream with the given portHandle is registered
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
H A DUsbACEndpoint.java29 // Interface Descriptor, not the stream.
46 public int parseRawDescriptors(ByteStream stream) { argument
47 mSubtype = stream.getByte();
/frameworks/base/tools/aapt/
H A DIndentPrinter.h6 explicit IndentPrinter(FILE* stream, int indentSize=2) argument
7 : mStream(stream)
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
H A DHSFriendlyNameElementTest.java48 * Helper function for appending a Operator Name to an output stream.
50 * @param stream Stream to write to
54 private void appendOperatorName(ByteArrayOutputStream stream, String operator) argument
58 stream.write((byte) length);
59 stream.write(TEST_LANGUAGE.getBytes(StandardCharsets.US_ASCII));
60 stream.write(new byte[]{(byte) 0x0}); // Padding for language code.
61 stream.write(nameBytes);
71 ByteArrayOutputStream stream = new ByteArrayOutputStream();
73 appendOperatorName(stream, name);
75 return stream
[all...]
H A DI18NameTest.java51 ByteArrayOutputStream stream = new ByteArrayOutputStream();
52 stream.write(language.getBytes(StandardCharsets.US_ASCII));
53 stream.write(new byte[]{(byte) 0x0}); // Padding for language code.
54 stream.write(text.getBytes(StandardCharsets.UTF_8));
55 return stream.toByteArray();
H A DThreeGPPNetworkElementTest.java70 ByteArrayOutputStream stream = new ByteArrayOutputStream();
72 stream.write((byte) version);
73 stream.write((byte) totalIeiSize);
75 stream.write(iei);
77 return stream.toByteArray();
/frameworks/rs/
H A DrsAnimation.h39 virtual void serialize(Context *rsc, OStream *stream) const;
41 static Animation *createFromStream(Context *rsc, IStream *stream);
H A DrsComponent.h48 void serialize(OStream *stream) const;
49 void loadFromStream(IStream *stream);
H A DrsProgramFragment.h37 virtual void serialize(Context *rsc, OStream *stream) const;
39 static ProgramFragment *createFromStream(Context *rsc, IStream *stream);
/frameworks/av/media/img_utils/include/img_utils/
H A DStripSource.h38 * Write count bytes to the stream.
42 virtual status_t writeToStream(Output& stream, uint32_t count) = 0;
/frameworks/av/services/audiopolicy/
H A DAudioPolicyInterface.h45 // - process volume control requests: the stream volume is converted from an index value (received from UI) to a float value
115 // request an output appropriate for playback of the supplied stream type and parameters
116 virtual audio_io_handle_t getOutput(audio_stream_type_t stream) = 0;
120 audio_stream_type_t *stream,
126 // indicates to the audio policy manager that the output starts being used by corresponding stream.
128 audio_stream_type_t stream,
130 // indicates to the audio policy manager that the output stops being used by corresponding stream.
132 audio_stream_type_t stream,
136 audio_stream_type_t stream,
165 // initialises stream volum
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DRandomBlock.java43 InputStream stream = null;
45 stream = new FileInputStream(filename);
46 return fromStream(stream);
48 close(stream);
/frameworks/ex/framesequence/jni/
H A DFrameSequence.h40 * Creates a FrameSequence using data from the data stream
42 * Type determined by header information in the stream
44 static FrameSequence* create(Stream* stream);
/frameworks/base/core/java/android/gesture/
H A DGestureStore.java221 public void save(OutputStream stream) throws IOException { argument
222 save(stream, false);
225 public void save(OutputStream stream, boolean closeStream) throws IOException { argument
236 out = new DataOutputStream((stream instanceof BufferedOutputStream) ? stream :
237 new BufferedOutputStream(stream, GestureConstants.IO_BUFFER_SIZE));
274 public void load(InputStream stream) throws IOException { argument
275 load(stream, false);
278 public void load(InputStream stream, boolean closeStream) throws IOException { argument
281 in = new DataInputStream((stream instanceo
[all...]
/frameworks/base/core/jni/android/graphics/
H A DBitmapRegionDecoder.cpp46 static jobject createBitmapRegionDecoder(JNIEnv* env, std::unique_ptr<SkStreamRewindable> stream) { argument
48 SkBitmapRegionDecoder::Create(stream.release(),
65 std::unique_ptr<SkMemoryStream> stream(new SkMemoryStream(ar.ptr() + offset, length, true));
67 // the decoder owns the stream.
68 jobject brd = createBitmapRegionDecoder(env, std::move(stream));
85 std::unique_ptr<SkMemoryStream> stream(new SkMemoryStream(std::move(data)));
87 // the decoder owns the stream.
88 jobject brd = createBitmapRegionDecoder(env, std::move(stream));
98 std::unique_ptr<SkStreamRewindable> stream(CopyJavaInputStream(env, is, storage));
100 if (stream) {
[all...]
/frameworks/base/libs/hwui/utils/
H A DStringUtils.h43 friend std::ostream& operator<<(std::ostream& stream, const SizePrinter& d) { argument
51 stream << std::fixed << std::setprecision(2) << temp << SUFFIXES[suffix];
52 return stream;
/frameworks/av/include/media/
H A DAudioSystem.h68 // set/get stream volume on specified output
69 static status_t setStreamVolume(audio_stream_type_t stream, float value,
71 static status_t getStreamVolume(audio_stream_type_t stream, float* volume,
74 // mute/unmute stream
75 static status_t setStreamMute(audio_stream_type_t stream, bool mute);
76 static status_t getStreamMute(audio_stream_type_t stream, bool* mute);
81 // returns true in *state if tracks are active on the specified stream or have been active
83 static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs);
85 // on the specified stream or have been active in the past inPastMs milliseconds. Remote
87 static status_t isStreamActiveRemotely(audio_stream_type_t stream, boo
[all...]
/frameworks/av/media/libaudioclient/include/media/
H A DAudioSystem.h68 // set/get stream volume on specified output
69 static status_t setStreamVolume(audio_stream_type_t stream, float value,
71 static status_t getStreamVolume(audio_stream_type_t stream, float* volume,
74 // mute/unmute stream
75 static status_t setStreamMute(audio_stream_type_t stream, bool mute);
76 static status_t getStreamMute(audio_stream_type_t stream, bool* mute);
81 // returns true in *state if tracks are active on the specified stream or have been active
83 static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs);
85 // on the specified stream or have been active in the past inPastMs milliseconds. Remote
87 static status_t isStreamActiveRemotely(audio_stream_type_t stream, boo
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DAtomicFile.java151 FileInputStream stream = openRead();
154 int avail = stream.available();
157 int amt = stream.read(data, pos, data.length-pos);
166 avail = stream.available();
174 stream.close();
/frameworks/base/graphics/java/android/graphics/
H A DBitmapRegionDecoder.java91 * Create a BitmapRegionDecoder from an input stream.
92 * The stream's position will be where ever it was after the encoded data
96 * @param is The input stream that holds the raw data to be decoded into a
146 InputStream stream = null;
149 stream = new FileInputStream(pathName);
150 decoder = newInstance(stream, isShareable);
152 if (stream != null) {
154 stream.close();
/frameworks/base/libs/hwui/
H A DGpuMemoryTracker.cpp91 void GpuMemoryTracker::dump(std::ostream& stream) { argument
94 stream << TYPE_NAMES[type];
95 stream << " is using " << SizePrinter{stats.totalSize};
96 stream << ", count = " << stats.count;
97 stream << std::endl;
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioOutputDescriptor.h37 // and keep track of the usage of this output by each audio stream type.
58 audio_stream_type_t stream,
62 virtual void changeRefCount(audio_stream_type_t stream, int delta);
65 bool isStreamActive(audio_stream_type_t stream,
83 float mCurVolume[AUDIO_STREAM_CNT]; // current stream volume in dB
112 virtual void changeRefCount(audio_stream_type_t stream, int delta);
114 audio_stream_type_t stream,
126 audio_stream_type_t stream,
129 // Called when a stream is about to be started
132 // Called after a stream i
[all...]
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyInterfaceImpl.cpp154 audio_io_handle_t AudioPolicyService::getOutput(audio_stream_type_t stream) argument
156 if (uint32_t(stream) >= AUDIO_STREAM_PUBLIC_CNT) {
165 return mAudioPolicyManager->getOutput(stream);
171 audio_stream_type_t *stream,
193 status_t result = mAudioPolicyManager->getOutputForAttr(attr, output, session, stream, uid,
203 mAudioPolicyManager->releaseOutput(*output, *stream, session);
207 result = mAudioPolicyManager->getOutputForAttr(attr, output, session, stream, uid,
215 audio_stream_type_t stream,
218 if (uint32_t(stream) >= AUDIO_STREAM_CNT) {
231 // create audio processors according to stream
168 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session, audio_stream_type_t *stream, pid_t pid, uid_t uid, const audio_config_t *config, audio_output_flags_t flags, audio_port_handle_t *selectedDeviceId, audio_port_handle_t *portId) argument
214 startOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument
242 stopOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument
257 doStopOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument
279 releaseOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument
290 doReleaseOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument
642 initStreamVolume(audio_stream_type_t stream, int indexMin, int indexMax) argument
661 setStreamVolumeIndex(audio_stream_type_t stream, int index, audio_devices_t device) argument
681 getStreamVolumeIndex(audio_stream_type_t stream, int *index, audio_devices_t device) argument
698 getStrategyForStream(audio_stream_type_t stream) argument
712 getDevicesForStream(audio_stream_type_t stream) argument
770 isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const argument
783 isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const argument
1004 getStreamVolumeDB( audio_stream_type_t stream, int index, audio_devices_t device) argument
[all...]

Completed in 1272 milliseconds

1234567891011>>