Home
last modified time | relevance | path

Searched refs:sink_ (Results 1 – 6 of 6) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Dcow_decompress.h49 void set_sink(IByteSink* sink) { sink_ = sink; } in set_sink()
53 IByteSink* sink_ = nullptr; variable
Dcow_decompress.cpp37 uint8_t* buffer = reinterpret_cast<uint8_t*>(sink_->GetBuffer(buffer_size, &buffer_size)); in Decompress()
55 if (!sink_->ReturnData(buffer_pos, read)) { in Decompress()
130 reinterpret_cast<uint8_t*>(sink_->GetBuffer(request_size, &output_buffer_remaining_)); in GetFreshBuffer()
188 if (!sink_->ReturnData(output_buffer_, returned)) { in DecompressInput()
251 if (!sink_->ReturnData(output_buffer, output_buffer_ - output_buffer)) { in DecompressInput()
/system/bt/audio_hal_interface/
Dle_audio_software.cc460 if (sink_ == nullptr) { in GetSink()
461 sink_ = new Sink(); in GetSink()
480 delete sink_; in GetSink()
481 sink_ = nullptr; in GetSink()
486 return sink_; in GetSink()
489 bool LeAudioClientInterface::IsSinkAcquired() { return sink_ != nullptr; } in IsSinkAcquired()
492 if (sink != sink_) { in ReleaseSink()
499 delete (sink_); in ReleaseSink()
500 sink_ = nullptr; in ReleaseSink()
Dle_audio_software.h103 Sink* sink_ = nullptr; variable
Dclient_interface.h261 return sink_; in GetTransportInstance()
268 IBluetoothSinkTransportInstance* sink_;
Dclient_interface.cc427 sink_(sink) {
435 (sink_->GetSessionType_2_1() != SessionType_2_1::UNKNOWN)) {
803 sink_->LogBytesRead(total_read); in ReadAudioData()