Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam. Lihat caranya.
Halaman ini diterjemahkan oleh Cloud Translation API.
Switch to English

LogReceiver

public class LogReceiver
extends Object

java.lang.Object
com.android.tradefed.log.LogReceiver


Ringkasan

Konstruktor publik

LogReceiver (ITestDevice device, String cmd, String desc)
LogReceiver (ITestDevice device, String cmd, String desc, long logcat_size, int delay_secs)

Metode publik

void clear ()
InputStreamSource getData ()
String getDescriptor ()
InputStreamSource getLogcatData (int maxBytes)
void postLog (ITestInvocationListener listener)
void start ()
void stop ()

Konstruktor publik

LogReceiver

public LogReceiver (ITestDevice device, 
                String cmd, 
                String desc)

Parameter
device ITestDevice

cmd String

desc String

LogReceiver

public LogReceiver (ITestDevice device, 
                String cmd, 
                String desc, 
                long logcat_size, 
                int delay_secs)

Parameter
device ITestDevice

cmd String

desc String

logcat_size long

delay_secs int

Metode publik

bersih

public void clear ()

getData

public InputStreamSource getData ()

Kembali
InputStreamSource

getDescriptor

public String getDescriptor ()

Kembali
String

getLogcatData

public InputStreamSource getLogcatData (int maxBytes)

Parameter
maxBytes int

Kembali
InputStreamSource

postLog

public void postLog (ITestInvocationListener listener)

Parameter
listener ITestInvocationListener

Mulailah

public void start ()

berhenti

public void stop ()