NativeStackCallInfo
public
final
class
NativeStackCallInfo
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.device.server.NativeStackCallInfo |
Represents a stack call. This is used to return all of the call information as one object.
Summary
Public constructors | |
|---|---|
NativeStackCallInfo(long address, String lib, String method, String sourceFile)
Basic constructor with library, method, and sourcefile information |
|
Public methods | |
|---|---|
long
|
getAddress()
Returns the address of this stack frame. |
String
|
getLibraryName()
Returns the name of the library name. |
int
|
getLineNumber()
Returns the line number, or -1 if unknown. |
String
|
getMethodName()
Returns the name of the method. |
String
|
getSourceFile()
Returns the name of the source file. |
String
|
toString()
|
Public constructors
NativeStackCallInfo
public NativeStackCallInfo (long address,
String lib,
String method,
String sourceFile)Basic constructor with library, method, and sourcefile information
| Parameters | |
|---|---|
address |
long: address of this stack frame |
lib |
String: The name of the library |
method |
String: the name of the method |
sourceFile |
String: the name of the source file and the line number as
"[sourcefile]:[fileNumber]" |
Public methods
getAddress
public long getAddress ()
Returns the address of this stack frame.
| Returns | |
|---|---|
long |
|
getLibraryName
public String getLibraryName ()
Returns the name of the library name.
| Returns | |
|---|---|
String |
|
getLineNumber
public int getLineNumber ()
Returns the line number, or -1 if unknown.
| Returns | |
|---|---|
int |
|
getMethodName
public String getMethodName ()
Returns the name of the method.
| Returns | |
|---|---|
String |
|
getSourceFile
public String getSourceFile ()
Returns the name of the source file.
| Returns | |
|---|---|
String |
|
toString
public String toString ()
| Returns | |
|---|---|
String |
|