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 的所有软件包。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):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. |"]]