AppProcessInfo
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ข้อมูลเกี่ยวกับกระบวนการ ซึ่งประกอบด้วยชื่อกระบวนการ เวลาเริ่มต้น, Uid ของแอป, Pid ของแอป, แท็ก seinfo, แฮชของ APK พื้นฐาน
การแสดง JSON |
{
"processName": string,
"startTime": string,
"uid": integer,
"pid": integer,
"seinfo": string,
"apkSha256Hash": string,
"packageNames": [
string
]
} |
ช่อง |
processName |
string
ชื่อกระบวนการ
|
startTime |
string (Timestamp format)
เวลาเริ่มต้นของกระบวนการ ใช้ RFC 3339 ซึ่งเอาต์พุตที่สร้างขึ้นจะเป็นรูปแบบ Z-normalized เสมอ และใช้ตัวเลขทศนิยม 0, 3, 6 หรือ 9 ระบบยังยอมรับออฟเซตอื่นๆ นอกเหนือจาก "Z" ด้วย ตัวอย่างเช่น "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" หรือ "2014-10-02T15:01:23+05:30"
|
uid |
integer
UID ของแพ็กเกจ
|
pid |
integer
รหัสกระบวนการ
|
seinfo |
string
ข้อมูลนโยบาย SELinux
|
apkSha256Hash |
string
แฮช SHA-256 ของ APK หลักในรูปแบบเลขฐานสิบหก
|
packageNames[] |
string
ชื่อแพ็กเกจของแพ็กเกจทั้งหมดที่เชื่อมโยงกับรหัสผู้ใช้ที่เฉพาะเจาะจง ในกรณีส่วนใหญ่ จะเป็นชื่อแพ็กเกจเดียว ซึ่งเป็นแพ็กเกจที่ได้รับมอบหมายรหัสผู้ใช้ดังกล่าว หากแอปพลิเคชันหลายรายการใช้ UID เดียวกัน ระบบจะรวมแพ็กเกจทั้งหมดที่ใช้ UID เดียวกันนั้น
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eThe JSON representation provides essential information about a process, including its name, start time, app UID, app PID, seinfo tag, and the hash of the base APK.\u003c/p\u003e\n"],["\u003cp\u003eThe data is structured with specific fields, like processName, startTime, uid, pid, seinfo, apkSha256Hash, and packageNames, each with its corresponding data type.\u003c/p\u003e\n"],["\u003cp\u003estartTime is presented in Timestamp format for precise process start time representation.\u003c/p\u003e\n"],["\u003cp\u003epackageNames includes a list of all packages linked to the specific user ID, which could involve multiple applications sharing the same UID.\u003c/p\u003e\n"]]],["This JSON data describes a process, capturing its `processName`, `startTime` (RFC 3339 timestamp), `uid`, and `pid`. It includes security details with the `seinfo` tag and the base APK's `apkSha256Hash`. The `packageNames` array lists all package names sharing the process's user ID, which is often a single name, but can contain multiple packages if they share the same UID. This JSON provides comprehensive information about the current process.\n"],null,["- [JSON representation](#SCHEMA_REPRESENTATION)\n\nInformation about a process. It contains process name, start time, app Uid, app Pid, seinfo tag, hash of the base APK.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"processName\": string, \"startTime\": string, \"uid\": integer, \"pid\": integer, \"seinfo\": string, \"apkSha256Hash\": string, \"packageNames\": [ string ] } ``` |\n\n| Fields ||\n|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `processName` | `string` Process name. |\n| `startTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Process start time. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n| `uid` | `integer` UID of the package. |\n| `pid` | `integer` Process ID. |\n| `seinfo` | `string` SELinux policy info. |\n| `apkSha256Hash` | `string` SHA-256 hash of the base APK, in hexadecimal format. |\n| `packageNames[]` | `string` Package names of all packages that are associated with the particular user ID. In most cases, this will be a single package name, the package that has been assigned that user ID. If multiple application share a UID then all packages sharing UID will be included. |"]]