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)
หยุดการบันทึกการติดตามที่สมบูรณ์แบบบนอุปกรณ์
พารามิเตอร์ | |
---|---|
device | ITestDevice : อุปกรณ์สำหรับหยุดการบันทึก @Return ส่งคืนไฟล์การติดตามที่สมบูรณ์แบบ |
การส่งคืน | |
---|---|
File |