Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DLoggingPrintStream.java49 private ByteBuffer encodedBytes; field in LoggingPrintStream
125 encodedBytes = ByteBuffer.allocate(80); in write()
136 int numBytes = Math.min(encodedBytes.remaining(), end - start); in write()
137 encodedBytes.put(bytes, start, numBytes); in write()
140 encodedBytes.flip(); in write()
144 coderResult = decoder.decode(encodedBytes, decodedChars, false); in write()
151 encodedBytes.compact(); in write()
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusEnc.cpp284 int encodedBytes = opus_multistream_encode( in drainEncoder() local
286 if (encodedBytes > mOutputBlock->capacity()) { in drainEncoder()
292 ALOGV("encoded %i Opus bytes from %zu PCM bytes", encodedBytes, in drainEncoder()
296 return encodedBytes; in drainEncoder()
472 int encodedBytes = in process() local
475 ALOGV("encoded %i Opus bytes from %zu PCM bytes", encodedBytes, in process()
478 if (encodedBytes < 0 || encodedBytes > (kMaxPayload - mBytesEncoded)) { in process()
479 ALOGE("opus_encode failed, encodedBytes : %d", encodedBytes); in process()
492 if (encodedBytes > 0) { in process()
494 createLinearBuffer(mOutputBlock, mBytesEncoded, encodedBytes); in process()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
DAsn1Node.java88 public Builder addChildren(byte[] encodedBytes) throws InvalidAsn1DataException { in addChildren() argument
89 Asn1Decoder subDecoder = new Asn1Decoder(encodedBytes, 0, encodedBytes.length); in addChildren()