PerfettoTraceRecorder.

public class PerfettoTraceRecorder
extends Object

java.lang.Object
com.android.tradefed.util.PerfettoTraceRecorder


คลาสยูทิลิตี้สำหรับการบันทึกการติดตาม Perfetto บน ITestDevice

สรุป

ผู้รับเหมาก่อสร้างสาธารณะ

PerfettoTraceRecorder ()

วิธีการสาธารณะ

void startTrace ( ITestDevice device, extraConfigs) startTrace ( ITestDevice device, extraConfigs)

เริ่มบันทึกการติดตามที่สมบูรณ์แบบบนอุปกรณ์

File stopTrace ( ITestDevice device)

หยุดการบันทึกการติดตามที่สมบูรณ์แบบบนอุปกรณ์

ผู้รับเหมาก่อสร้างสาธารณะ

PerfettoTraceRecorder.

public PerfettoTraceRecorder ()

วิธีการสาธารณะ

startTrace

public void startTrace (ITestDevice device, 
                 extraConfigs)

เริ่มบันทึกการติดตามที่สมบูรณ์แบบบนอุปกรณ์ ต้องเรียก stopTrace(com.android.tradefed.device.ITestDevice) หลังจากนั้นเพื่อหยุดการบันทึกการติดตาม

พารามิเตอร์
device ITestDevice : ITestDevice ที่จะบันทึกการติดตาม

extraConfigs : แมปของการกำหนดค่าพิเศษที่ต้องเพิ่มในไฟล์กำหนดค่าการติดตาม

หยุดการติดตาม

public File stopTrace (ITestDevice device)

หยุดการบันทึกการติดตามที่สมบูรณ์แบบบนอุปกรณ์

ต้องเคยเรียก ERROR(PerfettoTraceRecorder#startTrace(ITestDevice, Map)/com.android.tradefed.util.PerfettoTraceRecorder#startTrace(com.android.tradefed.device.ITestDevice,Map) PerfettoTraceRecorder#startTrace(ITestDevice, Map))

พารามิเตอร์
device ITestDevice : อุปกรณ์สำหรับหยุดการบันทึก @Return ส่งคืนไฟล์การติดตามที่สมบูรณ์แบบ

การส่งคืน
File