Searched refs:stream (Results 201 - 225 of 530) sorted by relevance

1234567891011>>

/frameworks/ex/framesequence/jni/
H A DFrameSequence_webp.cpp87 FrameSequence_webp::FrameSequence_webp(Stream* stream) argument
91 if (stream->getRawBuffer() != NULL) {
92 mData.size = stream->getRawBufferSize();
93 mData.bytes = stream->getRawBufferAddr();
94 mRawByteBuffer = stream->getRawBuffer();
98 if (stream->read(riff_header, RIFF_HEADER_SIZE) != RIFF_HEADER_SIZE) {
118 if (stream->read(remaining_bytes, remaining_size) != remaining_size) {
393 static FrameSequence* createFramesequence(Stream* stream) { argument
394 return new FrameSequence_webp(stream);
H A DFrameSequence_gif.cpp27 Stream* stream = (Stream*) fileType->UserData; local
28 return (int) stream->read(out, size);
47 FrameSequence_gif::FrameSequence_gif(Stream* stream) : argument
49 mGif = DGifOpen(stream, streamReader, NULL);
351 static FrameSequence* createFramesequence(Stream* stream) { argument
352 return new FrameSequence_gif(stream);
/frameworks/av/media/libaaudio/tests/
H A Dtest_timestamps.cpp58 AAudioStream *stream,
71 aaudio_direction_t direction = AAudioStream_getDirection(stream);
86 timestamp->result = AAudioStream_getTimestamp(stream,
92 ? AAudioStream_getFramesWritten(stream)
93 : AAudioStream_getFramesRead(stream);
143 // Request stream properties.
158 // Check to see what kind of stream we actually got.
271 // There is normally a delay between a real user stopping and restarting a stream.
57 timestampDataCallbackProc( AAudioStream *stream, void *userData, void *audioData __unused, int32_t numFrames ) argument
H A Dtest_open_params.cpp30 AAudioStream *stream,
35 (void) stream;
66 // Request stream properties.
84 // Check to see what kind of stream we actually got.
29 MyDataCallbackProc( AAudioStream *stream, void *userData, void *audioData, int32_t numFrames ) argument
/frameworks/av/media/libaudiohal/2.0/
H A DStreamHalHidl.cpp47 StreamHalHidl::StreamHalHidl(IStream *stream) argument
49 mStream(stream),
244 The callback only keeps a weak reference to the stream. The stream is owned
250 StreamOutCallback(const wp<StreamOutHalHidl>& stream) : mStream(stream) {} argument
254 sp<StreamOutHalHidl> stream = mStream.promote(); variable
255 if (stream != 0) {
256 stream->onWriteReady();
262 sp<StreamOutHalHidl> stream variable
270 sp<StreamOutHalHidl> stream = mStream.promote(); variable
283 StreamOutHalHidl(const sp<IStreamOut>& stream) argument
[all...]
H A DStreamHalLocal.h33 // Return size of input/output buffer in bytes for this stream - eg. 4800.
46 // Set audio stream parameters.
49 // Get audio stream parameters.
52 // Add or remove the effect on the stream.
61 // Start a stream operating in mmap mode.
64 // Stop a stream operating in mmap mode.
80 StreamHalLocal(audio_stream_t *stream, sp<DeviceHalLocal> device);
82 // The destructor automatically closes the stream.
96 // Return the frame size (number of bytes per sample) of a stream.
139 // Start a stream operatin
[all...]
/frameworks/av/media/libaudiohal/4.0/
H A DStreamHalHidl.cpp55 StreamHalHidl::StreamHalHidl(IStream *stream) argument
57 mStream(stream),
255 The callback only keeps a weak reference to the stream. The stream is owned
261 StreamOutCallback(const wp<StreamOutHalHidl>& stream) : mStream(stream) {} argument
265 sp<StreamOutHalHidl> stream = mStream.promote(); variable
266 if (stream != 0) {
267 stream->onWriteReady();
273 sp<StreamOutHalHidl> stream variable
281 sp<StreamOutHalHidl> stream = mStream.promote(); variable
294 StreamOutHalHidl(const sp<IStreamOut>& stream) argument
613 StreamInHalHidl(const sp<IStreamIn>& stream) argument
[all...]
H A DStreamHalLocal.h34 // Return size of input/output buffer in bytes for this stream - eg. 4800.
47 // Set audio stream parameters.
50 // Get audio stream parameters.
53 // Add or remove the effect on the stream.
62 // Start a stream operating in mmap mode.
65 // Stop a stream operating in mmap mode.
81 StreamHalLocal(audio_stream_t *stream, sp<DeviceHalLocal> device);
83 // The destructor automatically closes the stream.
97 // Return the frame size (number of bytes per sample) of a stream.
140 // Start a stream operatin
[all...]
H A DStreamHalLocal.cpp30 StreamHalLocal::StreamHalLocal(audio_stream_t *stream, sp<DeviceHalLocal> device) argument
32 mStream(stream) {
116 StreamOutHalLocal::StreamOutHalLocal(audio_stream_out_t *stream, sp<DeviceHalLocal> device) argument
117 : StreamHalLocal(&stream->common, device), mStream(stream) {
270 StreamInHalLocal::StreamInHalLocal(audio_stream_in_t *stream, sp<DeviceHalLocal> device) argument
271 : StreamHalLocal(&stream->common, device), mStream(stream) {
/frameworks/av/services/audiopolicy/engineconfigurable/src/
H A DEngine.cpp155 * the isStreamActive() method only informs about the activity of a stream, not
178 bool Engine::PluginInterfaceImpl::setVolumeProfileForStream(const audio_stream_type_t &stream, argument
181 if (mPolicyEngine->setPropertyForKey<audio_stream_type_t, audio_stream_type_t>(stream,
183 mPolicyEngine->mApmObserver->getVolumeCurves().switchVolumeCurve(profile, stream);
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DFastXmlSerializerTest.java46 final ByteArrayOutputStream stream = new ByteArrayOutputStream();
49 out.setOutput(stream, "utf-8");
61 + "<string name=\"meow\"></string>\n", stream.toString());
/frameworks/base/media/java/android/media/
H A DAsyncPlayer.java162 * @param stream the AudioStream to use.
166 public void play(Context context, Uri uri, boolean looping, int stream) { argument
167 PlayerBase.deprecateStreamTypeForPlayback(stream, "AsyncPlayer", "play()");
173 new AudioAttributes.Builder().setInternalLegacyStreamType(stream).build());
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/
H A DDataBindingBuilder.java83 InputStream stream = getClass().getResourceAsStream("/data_binding_version_info.properties");
85 props.load(stream);
88 IOUtils.closeQuietly(stream);
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DStatusBar.java100 InputStream stream = iconLoader.getIcon();
102 if (stream != null) {
105 ParserFactory.create(stream, null), (BridgeContext) mContext, true);
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
H A DTimedStatement.java73 FileOutputStream stream = new FileOutputStream(tmpFile);
83 stream.write(buffer);
85 stream.close();
/frameworks/native/libs/binder/
H A DStatus.cpp192 std::stringstream& operator<< (std::stringstream& stream, const Status& s) { argument
193 stream << s.toString8().string();
194 return stream;
/frameworks/native/services/vr/performanced/
H A Dtask.cpp23 std::ostringstream stream; local
24 stream << kProcBase << "/" << task_id;
27 open(stream.str().c_str(), O_RDONLY | O_DIRECTORY));
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSipAudioCall.java931 * represents the RTP stream that carries the audio data to and from the
936 * @return the {@link AudioStream} object or null if the RTP stream has not
955 * @return the {@link AudioGroup} object or null if the RTP stream has not
1019 AudioStream stream = mAudioStream;
1040 stream.associate(InetAddress.getByName(address),
1043 stream.setDtmfType(-1);
1044 stream.setCodec(codec);
1050 stream.setDtmfType(type);
1056 stream.setMode(RtpStream.MODE_NORMAL);
1058 stream
[all...]
/frameworks/av/services/oboeservice/
H A DAAudioServiceEndpointMMAP.cpp153 // Open HAL stream. Set mMmapStream
226 // Get information about the stream and pass it back to the caller.
281 aaudio_result_t AAudioServiceEndpointMMAP::startStream(sp<AAudioServiceStreamBase> stream, argument
291 ALOGV("%s(%p) mPortHandle = %d", __func__, stream.get(), mPortHandle);
295 aaudio_result_t AAudioServiceEndpointMMAP::stopStream(sp<AAudioServiceStreamBase> stream, argument
302 // when the stream is stopped.
306 ALOGV("%s(%p) mPortHandle = %d", __func__, stream.get(), mPortHandle);
358 // This is called by AudioFlinger when it wants to destroy a stream.
361 // Are we tearing down the EXCLUSIVE MMAP stream?
366 // Must be a SHARED stream
[all...]
/frameworks/base/core/java/android/widget/
H A DTextClock.java637 protected void encodeProperties(@NonNull ViewHierarchyEncoder stream) { argument
638 super.encodeProperties(stream);
641 stream.addProperty("format12Hour", s == null ? null : s.toString());
644 stream.addProperty("format24Hour", s == null ? null : s.toString());
645 stream.addProperty("format", mFormat == null ? null : mFormat.toString());
646 stream.addProperty("hasSeconds", mHasSeconds);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaMetadataRetrieverTest.java92 java.io.OutputStream stream = new FileOutputStream(MediaNames.THUMBNAIL_METADATA_TEST_FILES[i] + ".jpg");
93 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, stream);
94 stream.close();
150 java.io.OutputStream stream = new FileOutputStream("/sdcard/thumbnailout.jpg");
151 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, stream);
152 stream.close();
/frameworks/base/core/tests/benchmarks/src/android/util/
H A DStreamsBenchmark.java30 import java.util.stream.Collectors;
86 getOpenSessionCallsList(calls).stream().sorted(
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DPipeManager.java86 mDescriptors[1].closeWithError("Failed to stream a file.");
102 try (final ParcelFileDescriptor.AutoCloseOutputStream stream =
105 stream.write(mManager.getThumbnail(
108 mDescriptors[1].closeWithError("Failed to stream a thumbnail.");
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DPipeManagerTest.java85 try (final ParcelFileDescriptor.AutoCloseInputStream stream =
88 assertEquals(expectedBytes.length, stream.read(results));
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardClockAccessibilityDelegateTest.java106 return texts.stream().allMatch(this::isAscii);
110 return texts.stream().allMatch(TextUtils::isEmpty);

Completed in 565 milliseconds

1234567891011>>