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 規格化,並使用 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
程序 ID。
|
seinfo |
string
SELinux 政策資訊。
|
apkSha256Hash |
string
以十六進位格式表示的基礎 APK 的 SHA-256 雜湊。
|
packageNames[] |
string
與特定使用者 ID 相關聯的所有套件名稱。在大多數情況下,這會是單一套件名稱,也就是已指派該使用者 ID 的套件。如果有多個應用程式共用 UID,則會納入所有共用 UID 的套件。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\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. |"]]