ClientData
public
class
ClientData
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.device.server.ClientData |
มีข้อมูลของ ClientImpl
สรุป
คลาสเรียนที่ซ้อนกัน | |
|---|---|
class |
ClientData.HeapData
ข้อมูลฮีป |
class |
ClientData.HeapInfo
|
class |
ClientData.HprofData
|
interface |
ClientData.IAllocationTrackingHandler
|
interface |
ClientData.IHprofDumpHandler
ตัวแฮนเดิลที่ดำเนินการกับข้อมูลการทิ้ง HPROF ได้ |
interface |
ClientData.IMethodProfilingHandler
ตัวแฮนเดิลที่ดำเนินการกับข้อมูลการจัดทำโปรไฟล์เมธอดได้ |
class |
ClientData.Names
|
ค่าคงที่ | |
|---|---|
String |
FEATURE_HPROF
สตริงสำหรับฟีเจอร์ที่อนุญาตให้ทิ้งไฟล์ hprof |
String |
FEATURE_HPROF_STREAMING
สตริงสำหรับฟีเจอร์ที่อนุญาตให้สตรีมการทิ้ง hprof โดยตรง |
String |
FEATURE_OPENGL_TRACING
สตริงสำหรับฟีเจอร์ที่ระบุการรองรับการติดตามการเรียก OpenGL |
String |
FEATURE_PROFILING
สตริงสำหรับการเปิดใช้ฟีเจอร์การสร้างโปรไฟล์วิธีการเริ่มต้น/หยุด |
String |
FEATURE_PROFILING_STREAMING
สตริงสําหรับการเปิดใช้ฟีเจอร์การสตรีมข้อมูลการทำโปรไฟล์เมธอดโดยตรง |
String |
FEATURE_SAMPLING_PROFILER
สตริงสำหรับฟีเจอร์ที่เปิดใช้โปรไฟล์เลอร์แบบสุ่ม |
String |
FEATURE_VIEW_HIERARCHY
สตริงสำหรับฟีเจอร์ที่ระบุการรองรับการแสดงลำดับชั้นของมุมมอง |
String |
PRE_INITIALIZED
ชื่อชั่วคราวของ VM ที่จะละเว้น |
เครื่องมือสร้างสาธารณะ | |
|---|---|
ClientData(ClientImpl client, int pid)
เครื่องมือสร้างทั่วไป |
|
เมธอดสาธารณะ | |
|---|---|
void
|
addFeature(String feature)
|
void
|
addNativeAllocation(NativeAllocationInfo allocInfo)
เพิ่ม |
void
|
addNativeLibraryMapInfo(long startAddr, long endAddr, String library)
|
void
|
addThread(int threadId, String threadName)
เพิ่มเธรดใหม่ลงในรายการ |
void
|
clearHprofData()
|
void
|
clearNativeAllocationInfo()
ล้างข้อมูล malloc ปัจจุบัน |
void
|
clearThreads()
|
String
|
getAbi()
แสดงรสชาติ ABI (32 บิตหรือ 64 บิต) ของแอปพลิเคชัน หรือแสดงค่า Null หากไม่ทราบหรือไม่ตั้งค่า |
ClientData.AllocationTrackingStatus
|
getAllocationStatus()
แสดงสถานะการติดตามการจัดสรร |
static
ClientData.IAllocationTrackingHandler
|
getAllocationTrackingHandler()
|
AllocationInfo[]
|
getAllocations()
แสดงรายการการจัดสรรที่ติดตาม |
byte[]
|
getAllocationsData()
แสดงผลข้อมูลดิบสำหรับการจัดสรรที่ติดตาม |
String
|
getClientDescription()
แสดงผลคำอธิบายไคลเอ็นต์ |
String
|
getDataDir()
แสดงผลไดเรกทอรีข้อมูลของแอปพลิเคชัน |
ClientData.DebuggerStatus
|
getDebuggerConnectionStatus()
แสดงผลสถานะการเชื่อมต่อดีบักเกอร์ |
ClientData.HprofData
|
getHprofData()
|
static
ClientData.IHprofDumpHandler
|
getHprofDumpHandler()
|
String
|
getJvmFlags()
แสดงค่าสถานะ VM ที่ใช้งานอยู่ หรือแสดงค่า Null หากไม่รู้จัก |
|
getMappedNativeLibraries()
แสดงผลรายการไลบรารีเนทีฟที่แมปในหน่วยความจำสำหรับไคลเอ็นต์นี้ |
static
ClientData.IMethodProfilingHandler
|
getMethodProfilingHandler()
|
ClientData.MethodProfilingStatus
|
getMethodProfilingStatus()
แสดงผลสถานะการสร้างโปรไฟล์เมธอด |
|
getNativeAllocationList()
แสดงรายการ |
ClientData.HeapData
|
getNativeHeapData()
แสดงผลออบเจ็กต์ |
String
|
getPackageName()
แสดงชื่อแพ็กเกจจริงของแอปพลิเคชันหากมีการรองรับโปรโตคอล |
String
|
getPendingHprofDump()
แสดงเส้นทางไปยังไฟล์ hprof ฝั่งอุปกรณ์ที่กำลังเขียน |
String
|
getPendingMethodProfiling()
แสดงเส้นทางไปยังไฟล์การจัดโปรไฟล์เมธอดฝั่งอุปกรณ์ที่กำลังเขียน |
int
|
getPid()
แสดงรหัสกระบวนการ |
ThreadInfo
|
getThread(int threadId)
แสดง |
ThreadInfo[]
|
getThreads()
แสดงผลรายการเธรดเป็นออบเจ็กต์ |
int
|
getTotalNativeMemory()
แสดงผลหน่วยความจำดั้งเดิมทั้งหมด |
int
|
getUserId()
แสดงผลรหัสผู้ใช้ของไคลเอ็นต์ |
ClientData.HeapData
|
getVmHeapData()
แสดงผลออบเจ็กต์ |
|
getVmHeapIds()
แสดงผลตัววนซ้ำในรายการรหัสฮีป VM ที่รู้จัก |
ClientData.HeapInfo
|
getVmHeapInfo(int heapId)
แสดงค่าข้อมูลล่าสุดสำหรับฮีป VM ที่ระบุ |
String
|
getVmIdentifier()
แสดงผลตัวระบุ VM ของไคลเอ็นต์ |
boolean
|
hasFeature(String feature)
แสดงค่าจริงหาก |
boolean
|
hasPendingHprofDump()
|
boolean
|
isNativeDebuggable()
|
boolean
|
isValidUserId()
แสดงผลเป็นจริงหากมีการตั้งค่ารหัสผู้ใช้ของไคลเอ็นต์นี้ |
void
|
removeThread(int threadId)
นำเธรดออกจากรายการ |
void
|
setAbi(String abi)
|
void
|
setAllocationStatus(ClientData.AllocationTrackingStatus status)
|
static
void
|
setAllocationTrackingHandler(ClientData.IAllocationTrackingHandler handler)
เลิกใช้วิธีนี้แล้ว |
void
|
setAllocationsData(byte[] data)
|
void
|
setDebuggerConnectionStatus(ClientData.DebuggerStatus status)
ตั้งค่าสถานะการเชื่อมต่อดีบักเกอร์ |
void
|
setHeapInfo(int heapId, long maxSizeInBytes, long sizeInBytes, long bytesAllocated, long objectsAllocated, long timeStamp, byte reason)
ตั้งค่าข้อมูลฮีปปัจจุบันสำหรับฮีปที่ระบุ |
void
|
setHprofData(String filename)
|
void
|
setHprofData(byte[] data)
|
static
void
|
setHprofDumpHandler(ClientData.IHprofDumpHandler handler)
ตั้งค่าตัวแฮนเดิลเพื่อรับการแจ้งเตือนเมื่อการทิ้ง HPROF สำเร็จหรือไม่สำเร็จ |
void
|
setJvmFlags(String jvmFlags)
|
static
void
|
setMethodProfilingHandler(ClientData.IMethodProfilingHandler handler)
ตั้งค่าตัวแฮนเดิลเพื่อรับการแจ้งเตือนเมื่อการทิ้ง HPROF สำเร็จหรือไม่สำเร็จ |
void
|
setMethodProfilingStatus(ClientData.MethodProfilingStatus status)
|
void
|
setNames(ClientData.Names names)
ตั้งค่ากระบวนการ รหัสผู้ใช้ (เช่น |
void
|
setNativeDebuggable(boolean nativeDebuggable)
|
void
|
setPendingHprofDump(String pendingHprofDump)
กำหนดเส้นทางฝั่งอุปกรณ์ไปยังไฟล์ hprof ที่กำลังเขียน |
void
|
setPendingMethodProfiling(String pendingMethodProfiling)
ตั้งค่าเส้นทางฝั่งอุปกรณ์ไปยังไฟล์โปรไฟล์วิธีการที่กำลังเขียน |
void
|
setTotalNativeMemory(int totalMemory)
|
void
|
setVmIdentifier(String ident)
ตั้งค่าตัวระบุ VM |
ค่าคงที่
FEATURE_HPROF
public static final String FEATURE_HPROF
สตริงสำหรับฟีเจอร์ที่อนุญาตให้ทิ้งไฟล์ hprof
ดูเพิ่มเติม:
ค่าคงที่: "hprof-heap-dump"
FEATURE_HPROF_STREAMING
public static final String FEATURE_HPROF_STREAMING
สตริงสำหรับฟีเจอร์ที่อนุญาตให้สตรีมการทิ้ง hprof โดยตรง
ดูเพิ่มเติม:
ค่าคงที่: "hprof-heap-dump-streaming"
FEATURE_OPENGL_TRACING
public static final String FEATURE_OPENGL_TRACING
สตริงสำหรับฟีเจอร์ที่ระบุการรองรับการติดตามการเรียก OpenGL
ดูเพิ่มเติม:
ค่าคงที่: "opengl-tracing"
การสร้างโปรไฟล์ฟีเจอร์
public static final String FEATURE_PROFILING
สตริงสำหรับการเปิดใช้ฟีเจอร์การสร้างโปรไฟล์วิธีการเริ่มต้น/หยุด
ดูเพิ่มเติม:
ค่าคงที่ "method-trace-profiling"
FEATURE_PROFILING_STREAMING
public static final String FEATURE_PROFILING_STREAMING
สตริงสําหรับการเปิดใช้ฟีเจอร์การสตรีมข้อมูลการทำโปรไฟล์เมธอดโดยตรง
ดูเพิ่มเติม:
ค่าคงที่ "method-trace-profiling-streaming"
FEATURE_SAMPLING_PROFILER
public static final String FEATURE_SAMPLING_PROFILER
สตริงสำหรับฟีเจอร์ที่เปิดใช้โปรไฟล์เลอร์แบบสุ่ม
ดูเพิ่มเติม:
ค่าคงที่ "method-sample-profiling"
FEATURE_VIEW_HIERARCHY
public static final String FEATURE_VIEW_HIERARCHY
สตริงสำหรับฟีเจอร์ที่ระบุการรองรับการแสดงลำดับชั้นของมุมมอง
ดูเพิ่มเติม:
ค่าคงที่: "view-hierarchy"
PRE_INITIALIZED
public static final String PRE_INITIALIZED
ชื่อชั่วคราวของ VM ที่จะละเว้น
ค่าคงที่: "
เครื่องมือสร้างสาธารณะ
ClientData
public ClientData (ClientImpl client, int pid)
เครื่องมือสร้างทั่วไป
| พารามิเตอร์ | |
|---|---|
client |
ClientImpl |
pid |
int |
เมธอดสาธารณะ
addFeature
public void addFeature (String feature)
| พารามิเตอร์ | |
|---|---|
feature |
String |
addNativeAllocation
public void addNativeAllocation (NativeAllocationInfo allocInfo)
เพิ่มNativeAllocationInfoใหม่ลงในClientImpl
| พารามิเตอร์ | |
|---|---|
allocInfo |
NativeAllocationInfo: NativeAllocationInfo ที่จะเพิ่ม |
addNativeLibraryMapInfo
public void addNativeLibraryMapInfo (long startAddr,
long endAddr,
String library)| พารามิเตอร์ | |
|---|---|
startAddr |
long |
endAddr |
long |
library |
String |
addThread
public void addThread (int threadId,
String threadName)เพิ่มเธรดใหม่ลงในรายการ
| พารามิเตอร์ | |
|---|---|
threadId |
int |
threadName |
String |
clearHprofData
public void clearHprofData ()
clearNativeAllocationInfo
public void clearNativeAllocationInfo ()
ล้างข้อมูล malloc ปัจจุบัน
clearThreads
public void clearThreads ()
getAbi
public String getAbi ()
แสดงรสชาติ ABI (32 บิตหรือ 64 บิต) ของแอปพลิเคชัน หรือแสดงค่า Null หากไม่ทราบหรือไม่ตั้งค่า
| คิกรีเทิร์น | |
|---|---|
String |
|
getAllocationStatus
public ClientData.AllocationTrackingStatus getAllocationStatus ()
แสดงสถานะการติดตามการจัดสรร
| คิกรีเทิร์น | |
|---|---|
ClientData.AllocationTrackingStatus |
|
ดูเพิ่มเติม:
getAllocationTrackingHandler
public static ClientData.IAllocationTrackingHandler getAllocationTrackingHandler ()
| คิกรีเทิร์น | |
|---|---|
ClientData.IAllocationTrackingHandler |
|
getAllocations
public AllocationInfo[] getAllocations ()
แสดงรายการการจัดสรรที่ติดตาม
| คิกรีเทิร์น | |
|---|---|
AllocationInfo[] |
|
ดูเพิ่มเติม:
getAllocationsData
public byte[] getAllocationsData ()
แสดงผลข้อมูลดิบสำหรับการจัดสรรที่ติดตาม
| คิกรีเทิร์น | |
|---|---|
byte[] |
|
ดูเพิ่มเติม:
getClientDescription
public String getClientDescription ()
แสดงผลคำอธิบายไคลเอ็นต์
โดยทั่วไปจะเป็นชื่อของแพ็กเกจที่กำหนดไว้ใน AndroidManifest.xml
| คิกรีเทิร์น | |
|---|---|
String |
รายละเอียดไคลเอ็นต์หรือ null หากไคลเอ็นต์ยังไม่ได้ส่งรายละเอียด
|
getDataDir
public String getDataDir ()
แสดงผลไดเรกทอรีข้อมูลของแอปพลิเคชัน
| คิกรีเทิร์น | |
|---|---|
String |
|
getDebuggerConnectionStatus
public ClientData.DebuggerStatus getDebuggerConnectionStatus ()
แสดงสถานะการเชื่อมต่อดีบักเกอร์
| คิกรีเทิร์น | |
|---|---|
ClientData.DebuggerStatus |
|
getHprofDumpHandler
public static ClientData.IHprofDumpHandler getHprofDumpHandler ()
| คิกรีเทิร์น | |
|---|---|
ClientData.IHprofDumpHandler |
|
getJvmFlags
public String getJvmFlags ()
แสดงค่าสถานะ VM ที่ใช้งานอยู่ หรือแสดงค่า Null หากไม่รู้จัก
| คิกรีเทิร์น | |
|---|---|
String |
|
getMappedNativeLibraries
publicgetMappedNativeLibraries ()
แสดงผลรายการไลบรารีเนทีฟที่แมปในหน่วยความจำสำหรับไคลเอ็นต์นี้
| คิกรีเทิร์น | |
|---|---|
|
|
getMethodProfilingHandler
public static ClientData.IMethodProfilingHandler getMethodProfilingHandler ()
| คิกรีเทิร์น | |
|---|---|
ClientData.IMethodProfilingHandler |
|
getMethodProfilingStatus
public ClientData.MethodProfilingStatus getMethodProfilingStatus ()
แสดงผลสถานะการสร้างโปรไฟล์เมธอด
| คิกรีเทิร์น | |
|---|---|
ClientData.MethodProfilingStatus |
|
ดูเพิ่มเติม:
getNativeAllocationList
publicgetNativeAllocationList ()
แสดงรายการ NativeAllocationInfo
| คิกรีเทิร์น | |
|---|---|
|
|
ดูเพิ่มเติม:
getNativeHeapData
public ClientData.HeapData getNativeHeapData ()
แสดงผลออบเจ็กต์ HeapData สำหรับโค้ดดั้งเดิม
| คิกรีเทิร์น | |
|---|---|
ClientData.HeapData |
|
getPackageName
public String getPackageName ()
แสดงชื่อแพ็กเกจจริงของแอปพลิเคชันหากมีการรองรับโปรโตคอล หากไม่มีการรองรับโปรโตคอล จะแสดงผลการพยายามหาชื่อแพ็กเกจจากชื่อแอป (เพื่อ รักษาความเข้ากันได้แบบย้อนหลัง) หรือชื่อแอปหากไม่สำเร็จ
| คิกรีเทิร์น | |
|---|---|
String |
|
getPendingHprofDump
public String getPendingHprofDump ()
แสดงเส้นทางไปยังไฟล์ hprof ฝั่งอุปกรณ์ที่กำลังเขียน
| คิกรีเทิร์น | |
|---|---|
String |
|
getPendingMethodProfiling
public String getPendingMethodProfiling ()
แสดงเส้นทางไปยังไฟล์การจัดโปรไฟล์เมธอดฝั่งอุปกรณ์ที่กำลังเขียน
| คิกรีเทิร์น | |
|---|---|
String |
|
getPid
public int getPid ()
แสดงรหัสกระบวนการ
| คิกรีเทิร์น | |
|---|---|
int |
|
getThread
public ThreadInfo getThread (int threadId)
แสดง ThreadInfo ตามรหัสชุดข้อความ
| พารามิเตอร์ | |
|---|---|
threadId |
int |
| คิกรีเทิร์น | |
|---|---|
ThreadInfo |
|
getThreads
public ThreadInfo[] getThreads ()
แสดงผลรายการเธรดเป็นออบเจ็กต์ ThreadInfo
รายการจะว่างเปล่าจนกว่าจะมีการขออัปเดตเธรดด้วย ClientImpl.requestThreadUpdate()
| คิกรีเทิร์น | |
|---|---|
ThreadInfo[] |
|
getTotalNativeMemory
public int getTotalNativeMemory ()
แสดงผลหน่วยความจำดั้งเดิมทั้งหมด
| คิกรีเทิร์น | |
|---|---|
int |
|
ดูเพิ่มเติม:
getUserId
public int getUserId ()
แสดงผลรหัสผู้ใช้ของไคลเอ็นต์
| คิกรีเทิร์น | |
|---|---|
int |
รหัสผู้ใช้หากตั้งค่าไว้ หรือ -1 หากไม่ได้ตั้งค่า |
getVmHeapData
public ClientData.HeapData getVmHeapData ()
แสดงผลออบเจ็กต์ HeapData สำหรับ VM
| คิกรีเทิร์น | |
|---|---|
ClientData.HeapData |
|
getVmHeapIds
publicgetVmHeapIds ()
แสดงผลตัววนซ้ำในรายการรหัสฮีป VM ที่รู้จัก
ผู้เรียกใช้ต้องซิงค์กับออบเจ็กต์ ClientData ขณะทำซ้ำ
| คิกรีเทิร์น | |
|---|---|
|
ตัววนซ้ำในรายการรหัสฮีป |
getVmHeapInfo
public ClientData.HeapInfo getVmHeapInfo (int heapId)
แสดงค่าข้อมูลล่าสุดสำหรับฮีป VM ที่ระบุ
| พารามิเตอร์ | |
|---|---|
heapId |
int: ฮีปที่ควรแสดงข้อมูล |
| คิกรีเทิร์น | |
|---|---|
ClientData.HeapInfo |
แผนที่ที่มีค่าข้อมูลสำหรับฮีปที่ระบุ แสดงผล null หาก
ไม่ทราบรหัสฮีป |
getVmIdentifier
public String getVmIdentifier ()
แสดงผลตัวระบุ VM ของไคลเอ็นต์
| คิกรีเทิร์น | |
|---|---|
String |
|
hasFeature
public boolean hasFeature (String feature)
แสดงค่าจริงหาก ClientImpl รองรับ feature ที่ระบุ
| พารามิเตอร์ | |
|---|---|
feature |
String: ฟีเจอร์ที่จะทดสอบ |
| คิกรีเทิร์น | |
|---|---|
boolean |
จริง หากรองรับฟีเจอร์ |
ดูเพิ่มเติม:
hasPendingHprofDump
public boolean hasPendingHprofDump ()
| คิกรีเทิร์น | |
|---|---|
boolean |
|
isNativeDebuggable
public boolean isNativeDebuggable ()
| คิกรีเทิร์น | |
|---|---|
boolean |
|
isValidUserId
public boolean isValidUserId ()
แสดงผลเป็นจริงหากมีการตั้งค่ารหัสผู้ใช้ของไคลเอ็นต์นี้ เฉพาะอุปกรณ์ที่รองรับผู้ใช้หลายราย เท่านั้นที่จะส่งรหัสผู้ใช้ไปยัง ddms สำหรับอุปกรณ์อื่นๆ/รุ่นเก่า ระบบจะไม่ตั้งค่านี้
| คิกรีเทิร์น | |
|---|---|
boolean |
|
removeThread
public void removeThread (int threadId)
นำเธรดออกจากรายการ
| พารามิเตอร์ | |
|---|---|
threadId |
int |
setAbi
public void setAbi (String abi)
| พารามิเตอร์ | |
|---|---|
abi |
String |
setAllocationStatus
public void setAllocationStatus (ClientData.AllocationTrackingStatus status)
| พารามิเตอร์ | |
|---|---|
status |
ClientData.AllocationTrackingStatus |
setAllocationTrackingHandler
public static void setAllocationTrackingHandler (ClientData.IAllocationTrackingHandler handler)
เลิกใช้วิธีนี้แล้ว โปรดลงทะเบียน AndroidDebugBridge.IClientChangeListener กับ AndroidDebugBridge.addClientChangeListener(com.android.tradefed.device.server.AndroidDebugBridge.IClientChangeListener)
| พารามิเตอร์ | |
|---|---|
handler |
ClientData.IAllocationTrackingHandler |
setAllocationsData
public void setAllocationsData (byte[] data)
| พารามิเตอร์ | |
|---|---|
data |
byte |
setDebuggerConnectionStatus
public void setDebuggerConnectionStatus (ClientData.DebuggerStatus status)
ตั้งค่าสถานะการเชื่อมต่อดีบักเกอร์
| พารามิเตอร์ | |
|---|---|
status |
ClientData.DebuggerStatus |
setHeapInfo
public void setHeapInfo (int heapId,
long maxSizeInBytes,
long sizeInBytes,
long bytesAllocated,
long objectsAllocated,
long timeStamp,
byte reason)ตั้งค่าข้อมูลฮีปปัจจุบันสำหรับฮีปที่ระบุ
| พารามิเตอร์ | |
|---|---|
heapId |
int: ฮีปที่จะอัปเดตข้อมูล |
maxSizeInBytes |
long |
sizeInBytes |
long: ขนาดของฮีปในหน่วยไบต์ |
bytesAllocated |
long: จำนวนไบต์ที่จัดสรรในฮีปในขณะนี้ |
objectsAllocated |
long: จำนวนออบเจ็กต์ที่จัดสรรอยู่ในขณะนี้ |
setHprofData
public void setHprofData (String filename)
| พารามิเตอร์ | |
|---|---|
filename |
String |
setHprofData
public void setHprofData (byte[] data)
| พารามิเตอร์ | |
|---|---|
data |
byte |
setHprofDumpHandler
public static void setHprofDumpHandler (ClientData.IHprofDumpHandler handler)
ตั้งค่าตัวแฮนเดิลเพื่อรับการแจ้งเตือนเมื่อการทิ้ง HPROF สำเร็จหรือไม่สำเร็จ เลิกใช้งานวิธีนี้แล้ว โปรดลงทะเบียนเครื่องมือตรวจสอบไคลเอ็นต์และรอรับเหตุการณ์ CHANGE_HPROF
| พารามิเตอร์ | |
|---|---|
handler |
ClientData.IHprofDumpHandler |
setJvmFlags
public void setJvmFlags (String jvmFlags)
| พารามิเตอร์ | |
|---|---|
jvmFlags |
String |
setMethodProfilingHandler
public static void setMethodProfilingHandler (ClientData.IMethodProfilingHandler handler)
ตั้งค่าตัวแฮนเดิลเพื่อรับการแจ้งเตือนเมื่อการทิ้ง HPROF สำเร็จหรือไม่สำเร็จ เลิกใช้งานวิธีนี้แล้ว โปรดลงทะเบียนเครื่องมือตรวจสอบไคลเอ็นต์และรอรับเหตุการณ์ CHANGE_HPROF
| พารามิเตอร์ | |
|---|---|
handler |
ClientData.IMethodProfilingHandler |
setMethodProfilingStatus
public void setMethodProfilingStatus (ClientData.MethodProfilingStatus status)
| พารามิเตอร์ | |
|---|---|
status |
ClientData.MethodProfilingStatus |
setNames
public void setNames (ClientData.Names names)
ตั้งค่ากระบวนการ รหัสผู้ใช้ (เช่น โปรไฟล์ส่วนตัวเทียบกับโปรไฟล์งาน) และชื่อแพ็กเกจ
อาจมีการแข่งขันระหว่าง HELO กับ APNM เราจะไม่บังคับการเรียงลำดับในอุปกรณ์ แต่จะไม่อนุญาตให้ชื่อที่กำหนดไว้ล่วงหน้าแทนที่ชื่อที่ระบุ
| พารามิเตอร์ | |
|---|---|
names |
ClientData.Names |
setNativeDebuggable
public void setNativeDebuggable (boolean nativeDebuggable)
| พารามิเตอร์ | |
|---|---|
nativeDebuggable |
boolean |
setPendingHprofDump
public void setPendingHprofDump (String pendingHprofDump)
กำหนดเส้นทางฝั่งอุปกรณ์ไปยังไฟล์ hprof ที่กำลังเขียน
| พารามิเตอร์ | |
|---|---|
pendingHprofDump |
String: ไฟล์ไปยังไฟล์ hprof |
setPendingMethodProfiling
public void setPendingMethodProfiling (String pendingMethodProfiling)
ตั้งค่าเส้นทางฝั่งอุปกรณ์ไปยังไฟล์โปรไฟล์วิธีการที่กำลังเขียน
| พารามิเตอร์ | |
|---|---|
pendingMethodProfiling |
String: ไฟล์ที่กำลังเขียน |
setTotalNativeMemory
public void setTotalNativeMemory (int totalMemory)
| พารามิเตอร์ | |
|---|---|
totalMemory |
int |
setVmIdentifier
public void setVmIdentifier (String ident)
ตั้งค่าตัวระบุ VM
| พารามิเตอร์ | |
|---|---|
ident |
String |