Home
last modified time | relevance | path

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

/packages/modules/adb/
Dcompression_utils.h39 enum class EncodeResult { enum
79 virtual EncodeResult Encode(Block* output) = 0;
113 EncodeResult Encode(Block* output) final { in Encode()
130 return finished_ ? EncodeResult::Done : EncodeResult::NeedInput; in Encode()
132 return EncodeResult::MoreOutput; in Encode()
188 EncodeResult Encode(Block* output) final { in Encode()
206 return EncodeResult::Error; in Encode()
217 return EncodeResult::Done; in Encode()
222 return EncodeResult::MoreOutput; in Encode()
224 return EncodeResult::NeedInput; in Encode()
[all …]
/packages/modules/adb/daemon/
Dfile_sync_service.cpp692 EncodeResult result = encoder->Encode(&output); in recv_impl()
693 if (result == EncodeResult::Error) { in recv_impl()
706 if (result == EncodeResult::Done) { in recv_impl()
709 } else if (result == EncodeResult::NeedInput) { in recv_impl()
711 } else if (result == EncodeResult::MoreOutput) { in recv_impl()
/packages/modules/adb/client/
Dfile_sync_client.cpp691 EncodeResult result = encoder->Encode(&output); in SendLargeFile()
692 if (result == EncodeResult::Error) { in SendLargeFile()
703 if (result == EncodeResult::Done) { in SendLargeFile()
706 } else if (result == EncodeResult::NeedInput) { in SendLargeFile()
708 } else if (result == EncodeResult::MoreOutput) { in SendLargeFile()