Home
last modified time | relevance | path

Searched refs:Stream (Results 1 – 25 of 75) sorted by relevance

123

/frameworks/base/media/jni/soundpool/
DStream.cpp29 Stream::~Stream() in ~Stream()
34 void Stream::autoPause() in autoPause()
47 void Stream::autoResume() in autoResume()
62 void Stream::mute(bool muting) in mute()
75 void Stream::pause(int32_t streamID) in pause()
89 void Stream::resume(int32_t streamID) in resume()
104 void Stream::setRate(int32_t streamID, float rate) in setRate()
116 void Stream::setVolume_l(float leftVolume, float rightVolume) in setVolume_l()
125 void Stream::setVolume(int32_t streamID, float leftVolume, float rightVolume) in setVolume()
133 void Stream::setPriority(int32_t streamID, int32_t priority) in setPriority()
[all …]
DStreamManager.h299 Stream* findStream(int32_t streamID) const;
305 void forEach(std::function<void(const Stream *)>f) const { in forEach()
311 void forEach(std::function<void(Stream *)>f) { in forEach()
319 Stream* getPairStream(const Stream* stream) const { in getPairStream()
325 size_t streamPosition(const Stream* stream) const; // no lock needed
332 int32_t getNextIdForStream(Stream* stream) const;
338 Stream* lookupStreamFromId(int32_t streamID) const;
357 std::unique_ptr<Stream[]> mStreamPool; // no lock needed for access.
376 std::unique_ptr<PerfectHash<int32_t, Stream *>> mPerfectHash;
411 void moveToRestartQueue(Stream* stream, int32_t activeStreamIDToMatch = 0);
[all …]
DStreamManager.cpp66 mStreamPool = std::make_unique<Stream[]>(mStreamPoolSize); // create array of streams. in StreamMap()
68 mPerfectHash = std::make_unique<PerfectHash<int32_t, Stream *>>(roundup(mStreamPoolSize * 2)); in StreamMap()
71 Stream* StreamMap::findStream(int32_t streamID) const in findStream()
73 Stream *stream = lookupStreamFromId(streamID); in findStream()
77 size_t StreamMap::streamPosition(const Stream* stream) const in streamPosition()
85 Stream* StreamMap::lookupStreamFromId(int32_t streamID) const in lookupStreamFromId()
90 int32_t StreamMap::getNextIdForStream(Stream* stream) const { in getNextIdForStream()
94 [] (Stream *stream) { in getNextIdForStream()
117 forEach([this](Stream *stream) { in StreamManager()
143 forEach([](Stream *stream) { stream->stop(); }); in ~StreamManager()
[all …]
DSoundPool.cpp148 mStreamManager.forEach([](soundpool::Stream *stream) { stream->autoPause(); }); in autoPause()
155 mStreamManager.forEach([](soundpool::Stream *stream) { stream->autoResume(); }); in autoResume()
162 mStreamManager.forEach([=](soundpool::Stream *stream) { stream->mute(muting); }); in mute()
169 if (soundpool::Stream* stream = mStreamManager.findStream(streamID)) { in pause()
178 if (soundpool::Stream* stream = mStreamManager.findStream(streamID)) { in resume()
187 soundpool::Stream* stream = mStreamManager.findStream(streamID); in stop()
198 if (soundpool::Stream* stream = mStreamManager.findStream(streamID)) { in setVolume()
208 if (soundpool::Stream* stream = mStreamManager.findStream(streamID)) { in setPriority()
218 if (soundpool::Stream* stream = mStreamManager.findStream(streamID)) { in setLoop()
228 if (soundpool::Stream* stream = mStreamManager.findStream(streamID)) { in setRate()
DStream.h57 class alignas(kCacheLineSize) Stream {
72 ~Stream();
96 Stream* playPairStream(std::vector<std::any>& garbage);
125 Stream* getPairStream() const;
134 StreamCallback(Stream * stream, bool toggle) : mStream(stream), mToggle(toggle) {} in StreamCallback()
151 Stream * const mStream;
/frameworks/compile/slang/BitWriter_2_9/
DBitcodeWriter.cpp121 unsigned AbbrevToUse, BitstreamWriter &Stream) { in WriteStringRecord() argument
132 Stream.EmitRecord(Code, Vals, AbbrevToUse); in WriteStringRecord()
137 BitstreamWriter &Stream) { in WriteAttributeTable() argument
141 Stream.EnterSubblock(bitc::PARAMATTR_BLOCK_ID, 3); in WriteAttributeTable()
152 Stream.EmitRecord(bitc::PARAMATTR_CODE_ENTRY_OLD, Record); in WriteAttributeTable()
156 Stream.ExitBlock(); in WriteAttributeTable()
160 BitstreamWriter &Stream) { in WriteTypeSymbolTable() argument
162 Stream.EnterSubblock(TYPE_SYMTAB_BLOCK_ID_OLD_3_0, 3); in WriteTypeSymbolTable()
171 unsigned V7Abbrev = Stream.EmitAbbrev(Abbv); in WriteTypeSymbolTable()
199 Stream.EmitRecord(bitc::VST_CODE_ENTRY, NameVals, is7Bit ? V7Abbrev : 0); in WriteTypeSymbolTable()
[all …]
/frameworks/compile/slang/BitWriter_3_2/
DBitcodeWriter.cpp144 unsigned AbbrevToUse, BitstreamWriter &Stream) { in WriteStringRecord() argument
155 Stream.EmitRecord(Code, Vals, AbbrevToUse); in WriteStringRecord()
160 BitstreamWriter &Stream) { in WriteAttributeTable() argument
164 Stream.EnterSubblock(bitc::PARAMATTR_BLOCK_ID, 3); in WriteAttributeTable()
175 Stream.EmitRecord(bitc::PARAMATTR_CODE_ENTRY_OLD, Record); in WriteAttributeTable()
179 Stream.ExitBlock(); in WriteAttributeTable()
184 BitstreamWriter &Stream) { in WriteTypeTable() argument
187 Stream.EnterSubblock(bitc::TYPE_BLOCK_ID_NEW, 4 /*count from # abbrevs */); in WriteTypeTable()
197 unsigned PtrAbbrev = Stream.EmitAbbrev(Abbv); in WriteTypeTable()
206 unsigned FunctionAbbrev = Stream.EmitAbbrev(Abbv); in WriteTypeTable()
[all …]
/frameworks/compile/slang/BitWriter_2_9_func/
DBitcodeWriter.cpp144 unsigned AbbrevToUse, BitstreamWriter &Stream) { in WriteStringRecord() argument
155 Stream.EmitRecord(Code, Vals, AbbrevToUse); in WriteStringRecord()
160 BitstreamWriter &Stream) { in WriteAttributeTable() argument
164 Stream.EnterSubblock(bitc::PARAMATTR_BLOCK_ID, 3); in WriteAttributeTable()
175 Stream.EmitRecord(bitc::PARAMATTR_CODE_ENTRY_OLD, Record); in WriteAttributeTable()
179 Stream.ExitBlock(); in WriteAttributeTable()
184 BitstreamWriter &Stream) { in WriteTypeTable() argument
187 Stream.EnterSubblock(bitc::TYPE_BLOCK_ID_NEW, 4 /*count from # abbrevs */); in WriteTypeTable()
197 unsigned PtrAbbrev = Stream.EmitAbbrev(Abbv); in WriteTypeTable()
206 unsigned FunctionAbbrev = Stream.EmitAbbrev(Abbv); in WriteTypeTable()
[all …]
/frameworks/ex/framesequence/jni/
DStream.cpp32 Stream::Stream() in Stream() function in Stream
38 Stream::~Stream() { in ~Stream()
42 size_t Stream::peek(void* buffer, size_t size) { in peek()
60 size_t Stream::read(void* buffer, size_t size) { in read()
82 uint8_t* Stream::getRawBufferAddr() { in getRawBufferAddr()
86 jobject Stream::getRawBuffer() { in getRawBuffer()
90 int Stream::getRawBufferSize() { in getRawBufferSize()
DStream.h24 class Stream {
26 Stream();
27 virtual ~Stream();
44 class MemoryStream : public Stream {
63 class FileStream : public Stream {
74 class JavaInputStream : public Stream {
DRegistry.h25 class Stream; variable
30 FrameSequence* (*createFrameSequence)(Stream* stream);
31 Decoder* (*createDecoder)(Stream* stream);
46 static const RegistryEntry* Find(Stream* stream);
DFrameSequence_gif.cpp27 Stream* stream = (Stream*) fileType->UserData; in streamReader()
47 FrameSequence_gif::FrameSequence_gif(Stream* stream) : in FrameSequence_gif()
351 static FrameSequence* createFramesequence(Stream* stream) { in createFramesequence()
DFrameSequence.cpp21 FrameSequence* FrameSequence::create(Stream* stream) { in create()
DFrameSequence.h44 static FrameSequence* create(Stream* stream);
/frameworks/av/media/libeffects/config/include/media/
DEffectsConfig.h67 struct Stream { struct
71 using OutputStream = Stream<audio_stream_type_t>; argument
72 using InputStream = Stream<audio_source_t>;
74 struct DeviceEffects : Stream<audio_devices_t> {
/frameworks/base/keystore/java/android/security/keystore2/
DKeyStoreCryptoOperationChunkedStreamer.java55 interface Stream { interface in KeyStoreCryptoOperationChunkedStreamer
90 private final Stream mKeyStoreStream;
98 KeyStoreCryptoOperationChunkedStreamer(Stream operation) { in KeyStoreCryptoOperationChunkedStreamer()
102 KeyStoreCryptoOperationChunkedStreamer(Stream operation, int chunkSizeThreshold) { in KeyStoreCryptoOperationChunkedStreamer()
106 KeyStoreCryptoOperationChunkedStreamer(Stream operation, int chunkSizeThreshold, in KeyStoreCryptoOperationChunkedStreamer()
212 public static class MainDataStream implements Stream {
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp191 BitstreamCursor Stream; member in __anon26ee47870111::BitcodeReader
838 if (Stream.EnterSubBlock(bitc::PARAMATTR_BLOCK_ID)) in ParseAttributeBlock()
850 BitstreamEntry Entry = Stream.advanceSkippingSubblocks(); in ParseAttributeBlock()
865 switch (Stream.readRecord(Entry.ID, Record)) { in ParseAttributeBlock()
896 if (Stream.EnterSubBlock(bitc::TYPE_BLOCK_ID_NEW)) in ParseTypeTable()
913 BitstreamEntry Entry = Stream.advanceSkippingSubblocks(); in ParseTypeTableBody()
931 switch (Stream.readRecord(Entry.ID, Record)) { in ParseTypeTableBody()
1105 if (Stream.EnterSubBlock(TYPE_BLOCK_ID_OLD_3_0)) in ParseOldTypeTable()
1115 BitstreamCursor StartOfTypeBlockCursor(Stream); in ParseOldTypeTable()
1126 unsigned Code = Stream.ReadCode(); in ParseOldTypeTable()
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/
DStream.cpp24 Stream::Stream(const string &/*mappingValue*/, in Stream() function in Stream
42 bool Stream::sendToHW(string & /*error*/) in sendToHW()
DStream.h27 class Stream : public CSubsystemObject
36 Stream(const std::string &mappingValue,
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp433 BitstreamCursor Stream; member in __anona20276410111::BitcodeReader
1113 if (Stream.EnterSubBlock(bitc::PARAMATTR_BLOCK_ID)) in ParseAttributeBlock()
1125 BitstreamEntry Entry = Stream.advanceSkippingSubblocks(); in ParseAttributeBlock()
1140 switch (Stream.readRecord(Entry.ID, Record)) { in ParseAttributeBlock()
1172 if (Stream.EnterSubBlock(bitc::TYPE_BLOCK_ID_NEW)) in ParseTypeTable()
1189 BitstreamEntry Entry = Stream.advanceSkippingSubblocks(); in ParseTypeTableBody()
1207 switch (Stream.readRecord(Entry.ID, Record)) { in ParseTypeTableBody()
1400 if (Stream.EnterSubBlock(TYPE_BLOCK_ID_OLD_3_0)) in ParseOldTypeTable()
1410 BitstreamCursor StartOfTypeBlockCursor(Stream); in ParseOldTypeTable()
1421 unsigned Code = Stream.ReadCode(); in ParseOldTypeTable()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/touch/
DDreamOverlayTouchMonitorTest.java65 import java.util.stream.Stream;
157 final Environment environment = new Environment(Stream.of(touchHandler) in testReportedDisplayBounds()
187 final Environment environment = new Environment(Stream.of(touchHandler) in testEntryTouchZone()
216 final Environment environment = new Environment(Stream.of(touchHandler, unzonedTouchHandler) in testSessionCount()
255 final Environment environment = new Environment(Stream.of(touchHandler) in testInputEventPropagation()
275 final Environment environment = new Environment(Stream.of(touchHandler) in testInputGesturePropagation()
294 final Environment environment = new Environment(Stream.of(touchHandler) in testGestureConsumption()
318 final Environment environment = new Environment(Stream.of(touchHandler, touchHandler2) in testBroadcast()
342 final Environment environment = new Environment(Stream.of(touchHandler) in testPush()
387 final Environment environment = new Environment(Stream.of(touchHandler) in testPop()
[all …]
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp127 KeyedVector<unsigned, sp<Stream> > mStreams;
142 struct ATSParser::Stream : public RefBase { struct in android::ATSParser
143 Stream(Program *program, unsigned PCR_PID, const StreamInfo &info);
184 virtual ~Stream();
253 DISALLOW_EVIL_CONSTRUCTORS(Stream);
406 KeyedVector<int32_t, sp<Stream> > temp; in switchPIDs()
704 sp<Stream> stream = mStreams.editValueAt(i); in parseProgramMap()
737 sp<Stream> stream = new Stream(this, PCR_PID, info); in parseProgramMap()
798 const sp<Stream> &stream = mStreams.valueAt(i); in hasSource()
841 sp<Stream> &stream = mStreams.editValueAt(i); in updateCasSessions()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/io/
DFiles.java30 import java.util.stream.Stream;
48 public Stream<String> lines(Path path) throws IOException { in lines()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DRemoteInputNotificationRebuilder.java33 import java.util.stream.Stream;
110 ? Stream.concat( in rebuildWithRemoteInputInserted()
111 Stream.of(newItem), in rebuildWithRemoteInputInserted()
/frameworks/base/core/java/android/hardware/radio/
DProgramSelector.java33 import java.util.stream.Stream;
275 if (Stream.of(secondaryIds).anyMatch(id -> id == null)) { in ProgramSelector()
384 Identifier[] secondaryIds = Stream.concat( in withSecondaryPreferred()
388 Stream.of(preferred)).toArray(Identifier[]::new); in withSecondaryPreferred()
519 if (Stream.of(mSecondaryIds).anyMatch(id -> id == null)) { in ProgramSelector()

123