Home
last modified time | relevance | path

Searched refs:mSink (Results 1 – 3 of 3) sorted by relevance

/device/generic/goldfish/gnss/
DGnssHwListener.cpp77 GnssHwListener::GnssHwListener(IDataSink& sink): mSink(sink) { in GnssHwListener()
79 mSink.onGnssStatusCb(IGnssCallback::GnssStatusValue::ENGINE_ON); in GnssHwListener()
83 mSink.onGnssStatusCb(IGnssCallback::GnssStatusValue::ENGINE_OFF); in ~GnssHwListener()
108 mSink.onGnssNmeaCb(timestampMs, std::string(mBuffer.data(), mBuffer.size())); in consume1()
213 mSink.onGnssLocationCb(loc); in parseGPRMC()
290 mSink.onGnssSvStatusCb(std::move(svInfo)); in parseGPGGA()
DGnssHwListener.h52 IDataSink& mSink; variable
/device/generic/goldfish/audio/
Dstream_out.cpp108 if (mSink == nullptr) { in getPresentationPosition()
114 return mSink->getPresentationPosition(frames, ts); in getPresentationPosition()
139 mSink.reset(); in threadLoop()
143 if (!mSink) { in threadLoop()
152 mSink = std::move(sink); in threadLoop()
217 mSink->write(mStream->getEffectiveVolume(), mDataMQ.availableToRead(), reader); in doWrite()
232 status.retval = mSink->getPresentationPosition( in doGetPresentationPosition()
270 std::unique_ptr<DevicePortSink> mSink; member in android::hardware::audio::CPP_VERSION::implementation::__anon5160085e0111::WriteThread