diff options
| author | 2022-02-17 15:48:32 +0000 | |
|---|---|---|
| committer | 2022-02-17 15:48:32 +0000 | |
| commit | 0818b03145e7709bec04549046bb1cce254b69fd (patch) | |
| tree | 3c581a4a8c208a2ab40dc3a3ec8253ce155fc820 | |
| parent | a602e0e7c2ce72c5f39eac2d7497ad0f2ca73ac3 (diff) | |
| parent | 31603e398fe938ecede1365f3d2b5eb7c5ec4c42 (diff) | |
Merge "LogcatManagerService: Update AIDL file"
| -rw-r--r-- | core/java/android/os/logcat/ILogcatManagerService.aidl | 46 |
1 files changed, 45 insertions, 1 deletions
diff --git a/core/java/android/os/logcat/ILogcatManagerService.aidl b/core/java/android/os/logcat/ILogcatManagerService.aidl index 02db2749bbe8..29b4570ac71e 100644 --- a/core/java/android/os/logcat/ILogcatManagerService.aidl +++ b/core/java/android/os/logcat/ILogcatManagerService.aidl @@ -19,10 +19,54 @@ package android.os.logcat; /** * @hide */ -interface ILogcatManagerService { +oneway interface ILogcatManagerService { + /** + * The function is called by logd to notify LogcatManagerService + * that a client makes privileged log data access request. + * + * @param uid The UID of client who makes the request. + * @param gid The GID of client who makes the request. + * @param pid The PID of client who makes the request. + * @param fd The FD (Socket) of client who makes the request. + */ void startThread(in int uid, in int gid, in int pid, in int fd); + + + /** + * The function is called by logd to notify LogcatManagerService + * that a client finished the privileged log data access. + * + * @param uid The UID of client who makes the request. + * @param gid The GID of client who makes the request. + * @param pid The PID of client who makes the request. + * @param fd The FD (Socket) of client who makes the request. + */ void finishThread(in int uid, in int gid, in int pid, in int fd); + + + /** + * The function is called by UX component to notify + * LogcatManagerService that the user approved + * the privileged log data access. + * + * @param uid The UID of client who makes the request. + * @param gid The GID of client who makes the request. + * @param pid The PID of client who makes the request. + * @param fd The FD (Socket) of client who makes the request. + */ void approve(in int uid, in int gid, in int pid, in int fd); + + + /** + * The function is called by UX component to notify + * LogcatManagerService that the user declined + * the privileged log data access. + * + * @param uid The UID of client who makes the request. + * @param gid The GID of client who makes the request. + * @param pid The PID of client who makes the request. + * @param fd The FD (Socket) of client who makes the request. + */ void decline(in int uid, in int gid, in int pid, in int fd); } |