Skip navigation links
A C D E G I K L N O P S T V W X 

A

appendSection(String, String, String) - Static method in class xcrash.TombstoneManager
Append a customs section (a key-content pair) to the crash log file.

C

clearAllTombstones() - Static method in class xcrash.TombstoneManager
Delete all Java exception, native crash and ANR log files.
clearAnrTombstones() - Static method in class xcrash.TombstoneManager
Delete all ANR log files.
clearJavaTombstones() - Static method in class xcrash.TombstoneManager
Delete all Java exception log files.
clearNativeTombstones() - Static method in class xcrash.TombstoneManager
Delete all native crash log files.
CONTEXT_IS_NULL - Static variable in class xcrash.Errno
The context parameter is null.

D

d(String, String) - Method in interface xcrash.ILogger
Log a DEBUG message.
d(String, String, Throwable) - Method in interface xcrash.ILogger
Log a DEBUG message and the exception.
deleteTombstone(File) - Static method in class xcrash.TombstoneManager
Delete the tombstone file.
deleteTombstone(String) - Static method in class xcrash.TombstoneManager
Delete the tombstone file.
disableAnrCrashHandler() - Method in class xcrash.XCrash.InitParameters
Disable the ANR capture feature.
disableJavaCrashHandler() - Method in class xcrash.XCrash.InitParameters
Disable the Java exception capture feature.
disableNativeCrashHandler() - Method in class xcrash.XCrash.InitParameters
Disable the native crash capture feature.

E

e(String, String) - Method in interface xcrash.ILogger
Log a ERROR message.
e(String, String, Throwable) - Method in interface xcrash.ILogger
Log a ERROR message and the exception.
enableAnrCrashHandler() - Method in class xcrash.XCrash.InitParameters
Enable the ANR capture feature.
enableJavaCrashHandler() - Method in class xcrash.XCrash.InitParameters
Enable the Java exception capture feature.
enableNativeCrashHandler() - Method in class xcrash.XCrash.InitParameters
Enable the native crash capture feature.
Errno - Class in xcrash
The errno code for init() method of XCrash.

G

getAllTombstones() - Static method in class xcrash.TombstoneManager
Get all Java exception, native crash and ANR log files.
getAnrTombstones() - Static method in class xcrash.TombstoneManager
Get all ANR log files.
getJavaTombstones() - Static method in class xcrash.TombstoneManager
Get all Java exception log files.
getLogDir() - Static method in class xcrash.XCrash
 
getNativeTombstones() - Static method in class xcrash.TombstoneManager
Get all native crash log files.

I

i(String, String) - Method in interface xcrash.ILogger
Log a INFO message.
i(String, String, Throwable) - Method in interface xcrash.ILogger
Log a INFO message and the exception.
ICrashCallback - Interface in xcrash
Define the callback interface after the crash occurs.
ILibLoader - Interface in xcrash
Define the native library loader.
ILogger - Interface in xcrash
Define the logger interface used by xCrash.
init(Context) - Static method in class xcrash.XCrash
Initialize xCrash with default parameters.
init(Context, XCrash.InitParameters) - Static method in class xcrash.XCrash
Initialize xCrash with custom parameters.
INIT_LIBRARY_FAILED - Static variable in class xcrash.Errno
Initialize xCrash's native library failed.
InitParameters() - Constructor for class xcrash.XCrash.InitParameters
 
isAnr(File) - Static method in class xcrash.TombstoneManager
Determines if the current log file recorded an ANR.
isJavaCrash(File) - Static method in class xcrash.TombstoneManager
Determines if the current log file recorded a Java exception.
isNativeCrash(File) - Static method in class xcrash.TombstoneManager
Determines if the current log file recorded a native crash.

K

keyAbi - Static variable in class xcrash.TombstoneParser
Current ABI.
keyAbiList - Static variable in class xcrash.TombstoneParser
Supported ABI list.
keyAbortMessage - Static variable in class xcrash.TombstoneParser
Native crash abort message.
keyApiLevel - Static variable in class xcrash.TombstoneParser
Android API level.
keyAppId - Static variable in class xcrash.TombstoneParser
The name of this application's package.
keyAppVersion - Static variable in class xcrash.TombstoneParser
The version name of this package.
keyBacktrace - Static variable in class xcrash.TombstoneParser
Native crash backtrace.
keyBrand - Static variable in class xcrash.TombstoneParser
Brand.
keyBuildFingerprint - Static variable in class xcrash.TombstoneParser
Build fingerprint.
keyBuildId - Static variable in class xcrash.TombstoneParser
Native crash ELF's build-id and file size.
keyCode - Static variable in class xcrash.TombstoneParser
Native crash signal code.
keyCrashTime - Static variable in class xcrash.TombstoneParser
Crash or ANR time.
keyCrashType - Static variable in class xcrash.TombstoneParser
Crash type.
keyFaultAddr - Static variable in class xcrash.TombstoneParser
Native crash fault address.
keyForeground - Static variable in class xcrash.TombstoneParser
Is the app at the foreground? ("yes" or "no")
keyJavaStacktrace - Static variable in class xcrash.TombstoneParser
Native crash thread's Java stacktrace from JVM, or Java exception stacktrace.
keyKernelVersion - Static variable in class xcrash.TombstoneParser
Linux kernel version.
keyLogcat - Static variable in class xcrash.TombstoneParser
Logcat.
keyManufacturer - Static variable in class xcrash.TombstoneParser
Manufacturer.
keyMemoryInfo - Static variable in class xcrash.TombstoneParser
Memory info.
keyMemoryMap - Static variable in class xcrash.TombstoneParser
Native crash memory map.
keyMemoryNear - Static variable in class xcrash.TombstoneParser
Native crash memory near information.
keyModel - Static variable in class xcrash.TombstoneParser
Model.
keyNetworkInfo - Static variable in class xcrash.TombstoneParser
Network info.
keyOpenFiles - Static variable in class xcrash.TombstoneParser
FD list.
keyOsVersion - Static variable in class xcrash.TombstoneParser
Android OS version.
keyOtherThreads - Static variable in class xcrash.TombstoneParser
Other threads information for native crash, or traces which including all threads information for ANR.
keyProcessId - Static variable in class xcrash.TombstoneParser
Process ID.
keyProcessName - Static variable in class xcrash.TombstoneParser
Process name.
keyRegisters - Static variable in class xcrash.TombstoneParser
Native crash registers values.
keyRooted - Static variable in class xcrash.TombstoneParser
Whether this device has been rooted(jailbroken).
keySignal - Static variable in class xcrash.TombstoneParser
Native crash signal name.
keyStack - Static variable in class xcrash.TombstoneParser
Native crash stack.
keyStartTime - Static variable in class xcrash.TombstoneParser
APP Start time (xCrash initialized time).
keyThreadId - Static variable in class xcrash.TombstoneParser
Thread ID.
keyThreadName - Static variable in class xcrash.TombstoneParser
Thread name.
keyTombstoneMaker - Static variable in class xcrash.TombstoneParser
The tombstone file maker's library name and version.
keyXCrashError - Static variable in class xcrash.TombstoneParser
Error code from xCrash itself.
keyXCrashErrorDebug - Static variable in class xcrash.TombstoneParser
Error message from xCrash itself.

L

LOAD_LIBRARY_FAILED - Static variable in class xcrash.Errno
Load xCrash's native library failed.
loadLibrary(String) - Method in interface xcrash.ILibLoader
Loads the native library specified by the libName argument.

N

nativeLibDir - Static variable in class xcrash.XCrash
 

O

OK - Static variable in class xcrash.Errno
Initialization successful.
onCrash(String, String) - Method in interface xcrash.ICrashCallback
When a Java exception or native crash occurs, xCrash first captures and logs the crash information to a crash log file and then calls this method.

P

parse(File) - Static method in class xcrash.TombstoneParser
Parse a crash log file into an instance of Map.
parse(String) - Static method in class xcrash.TombstoneParser
Parse a crash log file into an instance of Map.
parse(String, String) - Static method in class xcrash.TombstoneParser
Parse a crash log file (with an emergency buffer) into an instance of Map.

S

setAnrCallback(ICrashCallback) - Method in class xcrash.XCrash.InitParameters
Set a callback to be executed when an ANR occurred.
setAnrCheckProcessState(boolean) - Method in class xcrash.XCrash.InitParameters
Set whether the process error state (from "ActivityManager#getProcessesInErrorState()") is a necessary condition for ANR.
setAnrDumpFds(boolean) - Method in class xcrash.XCrash.InitParameters
Set if dumping FD list when an ANR occurred.
setAnrDumpNetwork(boolean) - Method in class xcrash.XCrash.InitParameters
Set if dumping network info when an ANR occurred.
setAnrLogcatEventsLines(int) - Method in class xcrash.XCrash.InitParameters
Set the maximum number of rows to get from "logcat -b events" when an ANR occurred.
setAnrLogcatMainLines(int) - Method in class xcrash.XCrash.InitParameters
Set the maximum number of rows to get from "logcat -b main" when an ANR occurred.
setAnrLogcatSystemLines(int) - Method in class xcrash.XCrash.InitParameters
Set the maximum number of rows to get from "logcat -b system" when an ANR occurred.
setAnrLogCountMax(int) - Method in class xcrash.XCrash.InitParameters
Set the maximum number of ANR log files to save in the log directory.
setAnrRethrow(boolean) - Method in class xcrash.XCrash.InitParameters
Set whether xCrash should rethrow the ANR native signal to system after it has been handled.
setAppVersion(String) - Method in class xcrash.XCrash.InitParameters
Set App version.
setJavaCallback(ICrashCallback) - Method in class xcrash.XCrash.InitParameters
Set a callback to be executed when a Java exception occurred.
setJavaDumpAllThreads(boolean) - Method in class xcrash.XCrash.InitParameters
Set if dumping threads info (stacktrace) for all threads (not just the thread that has crashed) when a Java exception occurred.
setJavaDumpAllThreadsCountMax(int) - Method in class xcrash.XCrash.InitParameters
Set the maximum number of other threads to dump when a Java exception occurred.
setJavaDumpAllThreadsWhiteList(String[]) - Method in class xcrash.XCrash.InitParameters
Set a thread name (regular expression) whitelist to filter which threads need to be dumped when a Java exception occurred.
setJavaDumpFds(boolean) - Method in class xcrash.XCrash.InitParameters
Set if dumping FD list when a java crash occurred.
setJavaDumpNetworkInfo(boolean) - Method in class xcrash.XCrash.InitParameters
Set if dumping network info when a java crash occurred.
setJavaLogcatEventsLines(int) - Method in class xcrash.XCrash.InitParameters
Set the maximum number of rows to get from "logcat -b events" when a Java exception occurred.
setJavaLogcatMainLines(int) - Method in class xcrash.XCrash.InitParameters
Set the maximum number of rows to get from "logcat -b main" when a Java exception occurred.
setJavaLogcatSystemLines(int) - Method in class xcrash.XCrash.InitParameters
Set the maximum number of rows to get from "logcat -b system" when a Java exception occurred.
setJavaLogCountMax(int) - Method in class xcrash.XCrash.InitParameters
Set the maximum number of Java crash log files to save in the log directory.
setJavaRethrow(boolean) - Method in class xcrash.XCrash.InitParameters
Set whether xCrash should rethrow the Java exception to system after it has been handled.
setLibLoader(ILibLoader) - Method in class xcrash.XCrash.InitParameters
Set a libLoader implementation for xCrash to load native library.
setLogDir(String) - Method in class xcrash.XCrash.InitParameters
Set the directory to save crash log files.
setLogFileMaintainDelayMs(int) - Method in class xcrash.XCrash.InitParameters
Set delay in milliseconds before the log file maintain task is to be executed.
setLogger(ILogger) - Method in class xcrash.XCrash.InitParameters
Set a logger implementation for xCrash to log message and exception.
setNativeCallback(ICrashCallback) - Method in class xcrash.XCrash.InitParameters
Set a callback to be executed when a native crash occurred.
setNativeDumpAllThreads(boolean) - Method in class xcrash.XCrash.InitParameters
Set if dumping threads info (registers, backtrace and stack) for all threads (not just the thread that has crashed) when a native crash occurred.
setNativeDumpAllThreadsCountMax(int) - Method in class xcrash.XCrash.InitParameters
Set the maximum number of other threads to dump when a native crash occurred.
setNativeDumpAllThreadsWhiteList(String[]) - Method in class xcrash.XCrash.InitParameters
Set a thread name (regular expression) whitelist to filter which threads need to be dumped when a native crash occurred.
setNativeDumpElfHash(boolean) - Method in class xcrash.XCrash.InitParameters
Set if dumping ELF file's MD5 hash in Build-Id section when a native crash occurred.
setNativeDumpFds(boolean) - Method in class xcrash.XCrash.InitParameters
Set if dumping FD list when a native crash occurred.
setNativeDumpMap(boolean) - Method in class xcrash.XCrash.InitParameters
Set if dumping memory map when a native crash occurred.
setNativeDumpNetwork(boolean) - Method in class xcrash.XCrash.InitParameters
Set if dumping network info when a native crash occurred.
setNativeLogcatEventsLines(int) - Method in class xcrash.XCrash.InitParameters
Set the maximum number of rows to get from "logcat -b events" when a native crash occurred.
setNativeLogcatMainLines(int) - Method in class xcrash.XCrash.InitParameters
Set the maximum number of rows to get from "logcat -b main" when a native crash occurred.
setNativeLogcatSystemLines(int) - Method in class xcrash.XCrash.InitParameters
Set the maximum number of rows to get from "logcat -b system" when a native crash occurred.
setNativeLogCountMax(int) - Method in class xcrash.XCrash.InitParameters
Set the maximum number of native crash log files to save in the log directory.
setNativeRethrow(boolean) - Method in class xcrash.XCrash.InitParameters
Set whether xCrash should rethrow the crash native signal to system after it has been handled.
setPlaceholderCountMax(int) - Method in class xcrash.XCrash.InitParameters
Set the maximum number of placeholder files in the log directory.
setPlaceholderSizeKb(int) - Method in class xcrash.XCrash.InitParameters
Set the KB of each placeholder files in the log directory.

T

testJavaCrash(boolean) - Static method in class xcrash.XCrash
Force a java exception.
testNativeCrash(boolean) - Static method in class xcrash.XCrash
Force a native crash.
TombstoneManager - Class in xcrash
Tombstone (crash) log file manager.
TombstoneParser - Class in xcrash
Tombstone (crash) log file parser.

V

v(String, String) - Method in interface xcrash.ILogger
Log a VERBOSE message.
v(String, String, Throwable) - Method in interface xcrash.ILogger
Log a VERBOSE message and the exception.

W

w(String, String) - Method in interface xcrash.ILogger
Log a WARN message.
w(String, String, Throwable) - Method in interface xcrash.ILogger
Log a WARN message and the exception.

X

xcrash - package xcrash
 
XCrash - Class in xcrash
xCrash is a crash reporting library for Android APP.
XCrash.InitParameters - Class in xcrash
An initialization parameter set.
A C D E G I K L N O P S T V W X 
Skip navigation links