Loading core/java/android/os/logcat/ILogcatManagerService.aidl +45 −1 Original line number Diff line number Diff line Loading @@ -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); } Loading
core/java/android/os/logcat/ILogcatManagerService.aidl +45 −1 Original line number Diff line number Diff line Loading @@ -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); }