Searched refs:stream (Results 251 - 275 of 530) sorted by relevance

<<11121314151617181920>>

/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/rs/
H A DrsAllocation.cpp428 void Allocation::packVec3Allocation(Context *rsc, OStream *stream) const {
436 stream->addByteArray(dst, getPackedSize());
442 void Allocation::serialize(Context *rsc, OStream *stream) const {
444 stream->addU32((uint32_t)getClassId());
445 stream->addString(getName());
449 mHal.state.type->serialize(rsc, stream);
455 stream->addU32(packedSize);
458 stream->addByteArray(rsc->mHal.funcs.allocation.lock1D(rsc, this), dataSize);
462 packVec3Allocation(rsc, stream);
466 Allocation *Allocation::createFromStream(Context *rsc, IStream *stream) { argument
[all...]
H A DrsElement.h101 virtual void serialize(Context *rsc, OStream *stream) const;
103 static Element *createFromStream(Context *rsc, IStream *stream);
H A DrsProgramFragment.cpp80 void ProgramFragment::serialize(Context *rsc, OStream *stream) const {
83 ProgramFragment *ProgramFragment::createFromStream(Context *rsc, IStream *stream) { argument
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp339 StreamType stream, sp<ABuffer> *accessUnit) {
341 sp<AnotherPacketSource> packetSource = mPacketSources.valueFor(stream);
343 ssize_t streamIdx = typeToIndex(stream);
347 const char *streamStr = getNameForStream(stream);
386 if (stream == STREAMTYPE_AUDIO || stream == STREAMTYPE_VIDEO) {
441 } else if (stream == STREAMTYPE_SUBTITLES) {
450 } else if (stream == STREAMTYPE_METADATA) {
469 status_t LiveSession::getStreamFormatMeta(StreamType stream, sp<MetaData> *meta) { argument
470 if (!(mStreamMask & stream)) {
338 dequeueAccessUnit( StreamType stream, sp<ABuffer> *accessUnit) argument
546 StreamType stream = indexToType(i); local
612 StreamType stream = indexToType(i); local
1970 swapPacketSource(StreamType stream) argument
2002 StreamType stream = indexToType(idx); local
2027 StreamType stream = (StreamType) (extraStreams & ~(extraStreams - 1)); local
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpStorageManager.java37 import java.util.stream.Stream;
361 Stream<MtpObject> objs = Stream.concat(mRoots.values().stream(),
362 mObjects.values().stream());
498 * @return A stream of matched objects, or null if error
512 return Stream.of(streamList).flatMap(Collection::stream).reduce(Stream::concat)
526 Stream<MtpObject> ret = Stream.of(children).flatMap(Collection::stream);
539 ret = Stream.of(streamList).filter(Objects::nonNull).flatMap(Collection::stream)
568 try (DirectoryStream<Path> stream = Files.newDirectoryStream(dir)) {
569 for (Path file : stream) {
699 try (DirectoryStream<Path> stream
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp351 sp<Camera3StreamInterface> stream = weakStream.promote(); local
352 if (stream != nullptr) {
354 __FUNCTION__, stream->getId(), stream->getStrongCount() - 1);
453 ALOGE("%s: Unknown stream rotation %d", __FUNCTION__, rotation);
469 ALOGE("%s: Unknown stream configuration mode %d", __FUNCTION__, operationMode);
641 lines.appendFormat(" No input stream.\n");
832 // With no surface list passed in, stream and surface will have 1-to-1
833 // mapping. So the surface index is 0 for each stream in the surfaceMap.
1037 ALOGE("%s: Frame %d: Buffer %zu: Invalid output stream i
1999 sp<Camera3StreamInterface> stream; local
2027 sp<Camera3StreamInterface> stream; local
2051 sp<Camera3StreamInterface> stream; local
2122 sp<Camera3OutputStreamInterface> stream = mOutputStreams[idx]; local
2174 sp<Camera3OutputStreamInterface> stream = mOutputStreams[idx]; local
2199 sp<Camera3OutputStreamInterface> stream = mOutputStreams.editValueAt(idx); local
2259 sp<Camera3OutputStreamInterface> stream = local
2718 Camera3Stream *stream = Camera3Stream::cast(outputBuffers[i].stream); local
3186 Camera3Stream *stream = local
3258 Camera3Stream *stream = local
4918 isStreamPending( sp<Camera3StreamInterface>& stream) argument
5500 prepare(int maxCount, sp<Camera3StreamInterface>& stream) argument
[all...]
H A DCamera3Stream.h37 * A class for managing a single stream of input or output data from the camera
40 * The stream has an internal state machine to track whether it's
45 * STATE_ERROR: A serious error has occurred, stream is unusable. Outstanding
48 * STATE_CONSTRUCTED: The stream is ready for configuration, but buffers cannot
56 * STATE_IN_RE_CONFIG: Configuration has started, and the stream has been
61 * HAL (if necessary). The stream's getBuffer/returnBuffer work. The priv
64 * STATE_PREPARING: The stream's buffers are being pre-allocated for use. On
73 * while the input stream has an outstanding buffer. All other streams should not
90 * When startConfiguration() is called again, after making sure stream is
97 * When disconnect() is called after making sure stream i
[all...]
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/archive/
H A DArchive.kt95 val stream = BufferedOutputStream(FileOutputStream(file))
96 writeSelfTo(stream)
97 stream.close()
156 // Cannot close the zip stream at this moment as that would close also any parent zip
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyEffects.cpp233 audio_stream_type_t stream,
239 // create audio processors according to stream
242 if (stream >= AUDIO_STREAM_PUBLIC_CNT) {
243 stream = AUDIO_STREAM_MUSIC;
245 ssize_t index = mOutputStreams.indexOfKey(stream);
247 ALOGV("addOutputSessionEffects(): no output processing needed for this stream");
279 ALOGV("addOutputSessionEffects(): added Fx %s on session: %d for stream: %d",
280 effect->mName, audioSession, (int32_t)stream);
291 audio_stream_type_t stream,
296 (void) stream; // argumen
232 addOutputSessionEffects(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t audioSession) argument
290 releaseOutputSessionEffects(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t audioSession) argument
645 audio_stream_type_t stream = streamNameToEnum(node->name); local
[all...]
H A DAudioPolicyEffects.h77 audio_stream_type_t stream,
80 // release all output effects associated with this output stream and audiosession
82 audio_stream_type_t stream,
/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);
/frameworks/base/core/java/android/hardware/radio/
H A DUtils.java88 set.stream().forEach(elem -> dest.writeTypedObject(elem, 0));
106 set.stream().forEach(elem -> dest.writeInt(Objects.requireNonNull(elem)));
/frameworks/base/core/java/android/view/
H A DViewHierarchyEncoder.java15 * view hierarchies (the view tree, along with the properties for each view) to a stream.
32 * <p>On the stream, a snippet such as the above gets encoded as a series of Map's (one
68 public ViewHierarchyEncoder(@NonNull ByteArrayOutputStream stream) { argument
69 mStream = new DataOutputStream(stream);
140 // does not happen since the stream simply wraps a ByteArrayOutputStream
153 // does not happen since the stream simply wraps a ByteArrayOutputStream
162 // does not happen since the stream simply wraps a ByteArrayOutputStream
171 // does not happen since the stream simply wraps a ByteArrayOutputStream
180 // does not happen since the stream simply wraps a ByteArrayOutputStream
198 // does not happen since the stream simpl
[all...]
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfDocument.cpp90 void write(SkWStream* stream) { argument
91 sk_sp<SkDocument> document = SkDocument::MakePDF(stream);
/frameworks/base/core/tests/utiltests/src/android/util/
H A DMetadataReaderTest.java90 InputStream stream = new FileInputStream("badString");
91 MetadataReader.getMetadata(mData, stream, "image/jpg", null);
/frameworks/base/media/java/android/media/session/
H A DISessionManager.aidl40 int stream, boolean musicOnly);
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DMtpManagerTest.java139 try (final ParcelFileDescriptor.AutoCloseOutputStream stream =
141 stream.write(expectedBytes);
/frameworks/base/rs/java/android/renderscript/
H A DFileA3D.java170 FileA3D(long id, RenderScript rs, InputStream stream) { argument
172 mInputStream = stream;
302 throw new RSRuntimeException("Unsupported asset stream");
/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioServiceEvents.java102 VolumeEvent(int op, int stream, int val1, int val2, String caller) { argument
104 mStream = stream;
121 return new StringBuilder("adjustStreamVolume(stream:")
128 return new StringBuilder("setStreamVolume(stream:")
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
H A DTunerCallback.java37 import java.util.stream.Collectors;
168 Set<RadioManager.ProgramInfo> modifiedSet = modified.stream().collect(Collectors.toSet());
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
H A DBroadcastRadioService.java37 import java.util.stream.Collectors;
78 return mModules.values().stream().map(module -> module.mProperties).
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/
H A DServerMain.java39 import java.util.stream.Collectors;
83 List<String> arguments = runtimeMxBean.getInputArguments().stream()
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp101 status_t MonitoredProducer::setSidebandStream(const sp<NativeHandle>& stream) { argument
102 return mProducer->setSidebandStream(stream);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DRatRatcheter.java65 int ssAggregateBandwidth = Arrays.stream(serviceState.getCellBandwidths()).sum();
66 int newAggregateBandwidth = Arrays.stream(bandwidths).sum();

Completed in 1349 milliseconds

<<11121314151617181920>>