AppProcessInfo
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Informations sur un processus. Il contient le nom du processus, l'heure de début, l'UID de l'application, le PID de l'application, la balise seinfo et le hachage de l'APK de base.
Représentation JSON |
{
"processName": string,
"startTime": string,
"uid": integer,
"pid": integer,
"seinfo": string,
"apkSha256Hash": string,
"packageNames": [
string
]
} |
Champs |
processName |
string
Nom du processus.
|
startTime |
string (Timestamp format)
Heure de début du traitement. Utilise la norme RFC 3339, où la sortie générée est toujours normalisée avec le suffixe Z et utilise 0, 3, 6 ou 9 chiffres décimaux. Les décalages autres que "Z" sont également acceptés. Exemples: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" ou "2014-10-02T15:01:23+05:30" .
|
uid |
integer
UID du package.
|
pid |
integer
ID du processus.
|
seinfo |
string
Informations sur les règles SELinux.
|
apkSha256Hash |
string
Hachage SHA-256 de l'APK de base, au format hexadécimal.
|
packageNames[] |
string
Noms de tous les packages associés à l'ID utilisateur spécifique. Dans la plupart des cas, il s'agit d'un seul nom de package, celui qui a été attribué à cet ID utilisateur. Si plusieurs applications partagent un UID, tous les packages qui le partagent seront inclus.
|
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[null,null,["Dernière mise à jour le 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. |"]]