Home
last modified time | relevance | path

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

/external/libbrillo/brillo/streams/
Dfake_stream.cc362 bool read_requested = stream_utils::IsReadAccessMode(mode); in WaitForData() local
365 if ((read_requested && !CanRead()) || (write_requested && !CanWrite())) in WaitForData()
368 if (read_requested && IsReadBufferEmpty()) in WaitForData()
374 GetMinDelayAndMode(clock_->Now(), read_requested, delay_input_until_, in WaitForData()
385 bool read_requested = stream_utils::IsReadAccessMode(in_mode); in WaitForDataBlocking() local
388 if ((read_requested && !CanRead()) || (write_requested && !CanWrite())) in WaitForDataBlocking()
392 GetMinDelayAndMode(clock_->Now(), read_requested, delay_input_until_, in WaitForDataBlocking()