Debian Codegraph @

core/java/android/os/logcat/ILogcatManagerService.aidl

raw
1 /*
2 * Copyright (C) 2021 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 package android.os.logcat;
18
19 /**
20 * @hide
21 */
22 oneway interface ILogcatManagerService {
23 /**
24 * The function is called by logd to notify LogcatManagerService
25 * that a client makes privileged log data access request.
26 *
27 * @param uid The UID of client who makes the request.
28 * @param gid The GID of client who makes the request.
29 * @param pid The PID of client who makes the request.
30 * @param fd The FD (Socket) of client who makes the request.
31 */
32 void startThread(in int uid, in int gid, in int pid, in int fd);
33
34
35 /**
36 * The function is called by logd to notify LogcatManagerService
37 * that a client finished the privileged log data access.
38 *
39 * @param uid The UID of client who makes the request.
40 * @param gid The GID of client who makes the request.
41 * @param pid The PID of client who makes the request.
42 * @param fd The FD (Socket) of client who makes the request.
43 */
44 void finishThread(in int uid, in int gid, in int pid, in int fd);
45 }