Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/util/
DArtBinaryXmlSerializer.java22 import com.android.modules.utils.FastDataOutput;
37 protected FastDataOutput obtainFastDataOutput(@NonNull OutputStream os) { in obtainFastDataOutput()
DArtFastDataOutput.java22 import com.android.modules.utils.FastDataOutput;
38 public class ArtFastDataOutput extends FastDataOutput {
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DFastDataTest.java28 import com.android.modules.utils.FastDataOutput;
89 private FastDataOutput createFastDataOutput(@NonNull OutputStream out, int bufferSize) { in createFastDataOutput()
93 return new FastDataOutput(out, bufferSize); in createFastDataOutput()
139 try (FastDataOutput out = createFastDataOutput(new ByteArrayOutputStream(), BOUNCE_SIZE)) { in testUTF_Bounds()
175 final FastDataOutput out = createFastDataOutput(outStream, BOUNCE_SIZE); in testTranscode()
332 final FastDataOutput fastData = FastDataOutput.obtain(fastStream); in testBounce_UTF_Exhaustive()
441 private void doBounce(@NonNull ThrowingConsumer<FastDataOutput> out, in doBounce()
446 private void doBounce(@NonNull ThrowingConsumer<FastDataOutput> out, in doBounce()
449 final FastDataOutput outData = createFastDataOutput(outStream, BOUNCE_SIZE); in doBounce()
/frameworks/base/apct-tests/perftests/core/src/com/android/internal/util/
DFastDataPerfTest.java26 import com.android.modules.utils.FastDataOutput;
74 final FastDataOutput out = ArtFastDataOutput.obtain(os); in timeWrite_LocalUsing4ByteSequences()
90 final FastDataOutput out = FastDataOutput.obtain(os); in timeWrite_LocalUsing3ByteSequences()
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DFastDataOutput.java38 public class FastDataOutput implements DataOutput, Flushable, Closeable { class
54 public FastDataOutput(@NonNull OutputStream out, int bufferSize) { in FastDataOutput() method in FastDataOutput
74 public static FastDataOutput obtain(@NonNull OutputStream out) { in obtain()
75 return new FastDataOutput(out, DEFAULT_BUFFER_SIZE); in obtain()
DBinaryXmlSerializer.java19 import static com.android.modules.utils.FastDataOutput.MAX_UNSIGNED_SHORT;
95 private FastDataOutput mOut;
130 protected FastDataOutput obtainFastDataOutput(@NonNull OutputStream os) { in obtainFastDataOutput()
131 return FastDataOutput.obtain(os); in obtainFastDataOutput()
DAndroid.bp79 "FastDataOutput.java",
/frameworks/base/ravenwood/texts/
Dravenwood-framework-policies.txt38 class com.android.modules.utils.FastDataOutput keepclass