Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/util/
DTraceBuffer.java73 void write(S encapsulatingProto, Queue<T> buffer, OutputStream os) throws IOException; in write() argument
92 public void write(ProtoOutputStream encapsulatingProto, Queue<ProtoOutputStream> buffer, in write() argument
94 os.write(encapsulatingProto.getBytes()); in write()
159 public void writeTraceToFile(File traceFile, S encapsulatingProto) in writeTraceToFile() argument
165 mProtoProvider.write(encapsulatingProto, mBuffer, os); in writeTraceToFile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tracing/
DProtoTracer.java93 public byte[] serializeEncapsulatingProto(SystemUiTraceFileProto encapsulatingProto, in serializeEncapsulatingProto() argument
95 encapsulatingProto.magicNumber = MAGIC_NUMBER_VALUE; in serializeEncapsulatingProto()
96 encapsulatingProto.entry = buffer.toArray(new SystemUiTraceEntryProto[0]); in serializeEncapsulatingProto()
97 return MessageNano.toByteArray(encapsulatingProto); in serializeEncapsulatingProto()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/tracing/
DFrameProtoTracer.java73 public void write(S encapsulatingProto, Queue<T> buffer, OutputStream os)
75 os.write(mParams.serializeEncapsulatingProto(encapsulatingProto, buffer));
83 byte[] serializeEncapsulatingProto(S encapsulatingProto, Queue<T> buffer); in serializeEncapsulatingProto() argument