TombstoneParser

public class TombstoneParser
extends Object

java.lang.Object
   ↳ com.android.sts.common.util.TombstoneParser


Parses tombstones and from a tombstone file or logcat.

Summary

Public constructors

TombstoneParser()

Public methods

static final List<TombstoneProtos.Tombstone> parseLogcat(String logcat)

Parse a logcat snippet and build a list of tombstones

static long parsePointer(String pointerString)
static boolean parseTombstone(String tombstoneBlob, TombstoneProtos.Tombstone.Builder tombstoneBuilder)

Public constructors

TombstoneParser

public TombstoneParser ()

Public methods

parseLogcat

public static final List<TombstoneProtos.Tombstone> parseLogcat (String logcat)

Parse a logcat snippet and build a list of tombstones

Parameters
logcat String

Returns
List<TombstoneProtos.Tombstone>

parsePointer

public static long parsePointer (String pointerString)

Parameters
pointerString String

Returns
long

parseTombstone

public static boolean parseTombstone (String tombstoneBlob, 
                TombstoneProtos.Tombstone.Builder tombstoneBuilder)

Parameters
tombstoneBlob String

tombstoneBuilder TombstoneProtos.Tombstone.Builder

Returns
boolean