Home
last modified time | relevance | path

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

/external/perfetto/src/tracing/test/
Dfake_packet.cc106 FakeChunk::FakeChunk(TraceBuffer* t, ProducerID p, WriterID w, ChunkID c) in FakeChunk() function in perfetto::FakeChunk
109 FakeChunk& FakeChunk::AddPacket(size_t size, char seed, uint8_t packet_flag) { in AddPacket()
123 FakeChunk& FakeChunk::AddPacket(std::initializer_list<uint8_t> raw) { in AddPacket()
129 FakeChunk& FakeChunk::IncrementNumPackets() { in IncrementNumPackets()
134 FakeChunk& FakeChunk::ClearBytes(size_t offset, size_t len) { in ClearBytes()
140 FakeChunk& FakeChunk::SetUID(uid_t u) { in SetUID()
145 FakeChunk& FakeChunk::PadTo(size_t chunk_size) { in PadTo()
155 size_t FakeChunk::CopyIntoTraceBuffer(bool chunk_complete) { in CopyIntoTraceBuffer()
Dfake_packet.h52 class FakeChunk {
54 FakeChunk(TraceBuffer* t, ProducerID p, WriterID w, ChunkID c);
60 FakeChunk& AddPacket(size_t size, char seed, uint8_t packet_flag = 0);
63 FakeChunk& AddPacket(std::initializer_list<uint8_t>);
66 FakeChunk& IncrementNumPackets();
68 FakeChunk& ClearBytes(size_t offset, size_t len);
70 FakeChunk& SetUID(uid_t);
73 FakeChunk& PadTo(size_t chunk_size);
/external/perfetto/src/tracing/core/
Dtrace_buffer_unittest.cc53 FakeChunk CreateChunk(ProducerID p, WriterID w, ChunkID c) { in CreateChunk()
54 return FakeChunk(trace_buffer_.get(), p, w, c); in CreateChunk()