Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8707290b authored by Wenhao Wang's avatar Wenhao Wang Committed by Android (Google) Code Review
Browse files

Merge "Add logcat service to track logd access"

parents 24f779dc 256519a5
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -136,6 +136,7 @@ filegroup {
        ":libcamera_client_aidl",
        ":libcamera_client_aidl",
        ":libcamera_client_framework_aidl",
        ":libcamera_client_framework_aidl",
        ":libupdate_engine_aidl",
        ":libupdate_engine_aidl",
        ":logd_aidl",
        ":resourcemanager_aidl",
        ":resourcemanager_aidl",
        ":storaged_aidl",
        ":storaged_aidl",
        ":vold_aidl",
        ":vold_aidl",
+5 −0
Original line number Original line Diff line number Diff line
@@ -121,6 +121,11 @@ filegroup {
    ],
    ],
}
}


filegroup {
    name: "ILogcatManagerService_aidl",
    srcs: ["android/os/logcat/ILogcatManagerService.aidl"],
}

genrule {
genrule {
    name: "statslog-framework-java-gen",
    name: "statslog-framework-java-gen",
    tools: ["stats-log-api-gen"],
    tools: ["stats-log-api-gen"],
+26 −0
Original line number Original line Diff line number Diff line
/*
 * Copyright (C) 2021 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package android.os.logcat;

/**
 * @hide
 */
interface ILogcatManagerService {
    void startThread(in int uid, in int gid, in int pid, in int fd);
    void finishThread(in int uid, in int gid, in int pid, in int fd);
}
+1 −0
Original line number Original line Diff line number Diff line
include platform/frameworks/base:/services/core/java/com/android/server/logcat/OWNERS
+1 −0
Original line number Original line Diff line number Diff line
@@ -27,6 +27,7 @@ cc_library_shared {
    name: "libservices",
    name: "libservices",
    srcs: [
    srcs: [
        ":IDropBoxManagerService.aidl",
        ":IDropBoxManagerService.aidl",
        ":ILogcatManagerService_aidl",
        "src/content/ComponentName.cpp",
        "src/content/ComponentName.cpp",
        "src/os/DropBoxManager.cpp",
        "src/os/DropBoxManager.cpp",
    ],
    ],
Loading