Home
last modified time | relevance | path

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

1234

/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.h303 Stream* findStream(int32_t streamID) const;
309 void forEach(std::function<void(const Stream *)>f) const { in forEach()
315 void forEach(std::function<void(Stream *)>f) { in forEach()
323 Stream* getPairStream(const Stream* stream) const { in getPairStream()
329 size_t streamPosition(const Stream* stream) const; // no lock needed
336 int32_t getNextIdForStream(Stream* stream) const;
342 Stream* lookupStreamFromId(int32_t streamID) const;
361 std::unique_ptr<Stream[]> mStreamPool; // no lock needed for access.
380 std::unique_ptr<PerfectHash<int32_t, Stream *>> mPerfectHash;
415 void moveToRestartQueue(Stream* stream, int32_t activeStreamIDToMatch = 0);
[all …]
DStreamManager.cpp65 mStreamPool = std::make_unique<Stream[]>(mStreamPoolSize); // create array of streams. in StreamMap()
67 mPerfectHash = std::make_unique<PerfectHash<int32_t, Stream *>>(roundup(mStreamPoolSize * 2)); in StreamMap()
70 Stream* StreamMap::findStream(int32_t streamID) const in findStream()
72 Stream *stream = lookupStreamFromId(streamID); in findStream()
76 size_t StreamMap::streamPosition(const Stream* stream) const in streamPosition()
84 Stream* StreamMap::lookupStreamFromId(int32_t streamID) const in lookupStreamFromId()
89 int32_t StreamMap::getNextIdForStream(Stream* stream) const { in getNextIdForStream()
93 [] (Stream *stream) { in getNextIdForStream()
119 forEach([this](Stream *stream) { in __anon2eef97d60302()
146 forEach([](Stream *stream) { stream->stop(); }); in ~StreamManager()
[all …]
DSoundPool.cpp149 mStreamManager.forEach([](soundpool::Stream *stream) { stream->autoPause(); }); in autoPause()
156 mStreamManager.forEach([](soundpool::Stream *stream) { stream->autoResume(); }); in autoResume()
163 mStreamManager.forEach([=](soundpool::Stream *stream) { stream->mute(muting); }); in mute()
170 if (soundpool::Stream* stream = mStreamManager.findStream(streamID)) { in pause()
179 if (soundpool::Stream* stream = mStreamManager.findStream(streamID)) { in resume()
188 soundpool::Stream* stream = mStreamManager.findStream(streamID); in stop()
199 if (soundpool::Stream* stream = mStreamManager.findStream(streamID)) { in setVolume()
209 if (soundpool::Stream* stream = mStreamManager.findStream(streamID)) { in setPriority()
219 if (soundpool::Stream* stream = mStreamManager.findStream(streamID)) { in setLoop()
229 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,
126 Stream* getPairStream() const;
135 StreamCallback(Stream * stream, bool toggle) : mStream(stream), mToggle(toggle) {} in StreamCallback()
152 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/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp191 BitstreamCursor Stream; member in __anon2dda30ef0111::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/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/av/media/libeffects/config/include/media/
DEffectsConfig.h70 struct Stream { struct
74 using OutputStream = Stream<audio_stream_type_t>; argument
75 using InputStream = Stream<audio_source_t>;
77 struct DeviceEffects : Stream<audio_devices_t> {
/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 __anona8ee5fa90111::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/ambient/touch/
DTouchMonitorTest.java79 import java.util.stream.Stream;
218 final Environment environment = new Environment(Stream.of(touchHandler) in testConfigurationListenerUpdatesBounds()
240 final Environment environment = new Environment(Stream.of(touchHandler) in testReportedDisplayBounds()
271 final Environment environment = new Environment(Stream.of(touchHandler) in testEntryTouchZone()
300 final Environment environment = new Environment(Stream.of(touchHandler, unzonedTouchHandler) in testSessionCount()
342 final Environment environment = new Environment(Stream.of(touchHandler) in testNoActiveSessionWhenHandlerDisabled()
358 final Environment environment = new Environment(Stream.of(touchHandler) in testInputEventPropagation()
378 final Environment environment = new Environment(Stream.of(touchHandler) in testInputEventPropagationAfterRemoval()
402 final Environment environment = new Environment(Stream.of(touchHandler) in testInputGesturePropagation()
421 final Environment environment = new Environment(Stream.of(touchHandler) in testGestureConsumption()
[all …]
/frameworks/av/services/camera/virtualcamera/
DVirtualCameraStream.h42 const ::aidl::android::hardware::camera::device::Stream& stream);
64 ::aidl::android::hardware::camera::device::Stream getStreamConfig() const;
70 const ::aidl::android::hardware::camera::device::Stream mStreamConfig;
DVirtualCameraSessionContext.cc31 using ::aidl::android::hardware::camera::device::Stream;
36 const ::aidl::android::hardware::camera::device::Stream& stream) { in initializeStream()
104 for (const Stream& stream : streamConfiguration.streams) { in removeStreamsNotInStreamConfiguration()
123 std::optional<Stream> VirtualCameraSessionContext::getStreamConfig( in getStreamConfig()
130 return std::optional<Stream>(); in getStreamConfig()
DVirtualCameraSession.cc87 using ::aidl::android::hardware::camera::device::Stream;
177 HalStream getHalStream(const Stream& stream) { in getHalStream()
199 Stream getHighestResolutionStream(const std::vector<Stream>& streams) { in getHighestResolutionStream()
201 [](const Stream& a, const Stream& b) { in getHighestResolutionStream()
206 Resolution resolutionFromStream(const Stream& stream) { in resolutionFromStream()
237 const std::vector<Stream>& requestedStreams, in pickInputConfigurationForStreams()
239 Stream maxResolutionStream = getHighestResolutionStream(requestedStreams); in pickInputConfigurationForStreams()
DVirtualCameraSessionContext.h42 const ::aidl::android::hardware::camera::device::Stream& stream)
65 std::optional<::aidl::android::hardware::camera::device::Stream>
DVirtualCameraStream.cc39 using ::aidl::android::hardware::camera::device::Stream;
101 VirtualCameraStream::VirtualCameraStream(const Stream& stream) in VirtualCameraStream()
159 Stream VirtualCameraStream::getStreamConfig() const { in getStreamConfig()
/frameworks/av/services/camera/virtualcamera/tests/
DVirtualCameraDeviceTest.cc48 using ::aidl::android::hardware::camera::device::Stream;
67 const Stream kVgaYUV420Stream = Stream{
74 const Stream kVgaJpegStream = Stream{
151 .streams = std::vector<Stream>{Stream{ in TEST_P()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DRemoteInputNotificationRebuilder.java36 import java.util.stream.Stream;
134 ? Stream.concat( in rebuildWithRemoteInputInserted()
149 ? Stream.concat( in rebuildWithRemoteInputInserted()
150 Stream.of(newItem), in rebuildWithRemoteInputInserted()
/frameworks/av/media/module/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();
252 DISALLOW_EVIL_CONSTRUCTORS(Stream);
405 KeyedVector<int32_t, sp<Stream> > temp; in switchPIDs()
783 sp<Stream> stream = mStreams.editValueAt(i); in parseProgramMap()
816 sp<Stream> stream = new Stream(this, PCR_PID, info); in parseProgramMap()
877 const sp<Stream> &stream = mStreams.valueAt(i); in hasSource()
920 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/policy/
DHeadsUpManager.kt10 import java.util.stream.Stream
19 val allEntries: Stream<NotificationEntry>
206 override val allEntries = Stream.empty<NotificationEntry>() in onHeadsUpAnimatingAwayStateChanged()

1234