Merge "LogcatManagerService: Update AIDL file"

This commit is contained in:
Wenhao Wang
2022-02-17 15:48:32 +00:00
committed by Android (Google) Code Review

View File

@@ -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);
}