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

Commit 62574f71 authored by Collin Fijalkovich's avatar Collin Fijalkovich Committed by Automerger Merge Worker
Browse files

Merge "Introduce TracingServiceProxy System Services" am: 4512e77b am:...

Merge "Introduce TracingServiceProxy System Services" am: 4512e77b am: a8d0cc25 am: 0f7ec99e am: f6b292cc

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1527766

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie5760b2397e35ac392b45cf671cc892f1f289e82
parents 7c2b4e99 f6b292cc
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -7,3 +7,8 @@ filegroup {
    name: "IDropBoxManagerService.aidl",
    srcs: ["com/android/internal/os/IDropBoxManagerService.aidl"],
}

filegroup {
    name: "ITracingServiceProxy.aidl",
    srcs: ["android/tracing/ITracingServiceProxy.aidl"],
}
+32 −0
Original line number Diff line number Diff line
/**
 * Copyright (c) 2020, 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.tracing;

/**
 * Binder interface for the TracingServiceProxy running in system_server.
 *
 * {@hide}
 */
interface ITracingServiceProxy
{
    /**
     * Notifies system tracing app that a tracing session has ended. If a session is repurposed
     * for use in a bugreport, sessionStolen can be set to indicate that tracing has ended but
     * there is no buffer available to dump.
     */
    oneway void notifyTraceSessionEnded(boolean sessionStolen);
}
+2 −0
Original line number Diff line number Diff line
cfijalkovich@google.com
carmenjackson@google.com
+2 −0
Original line number Diff line number Diff line
@@ -487,6 +487,8 @@ applications that come with the platform
        <permission name="android.permission.START_FOREGROUND_SERVICES_FROM_BACKGROUND"/>
        <!-- Permissions required for quick settings tile -->
        <permission name="android.permission.STATUS_BAR"/>
        <!-- Permissions required to query Betterbug -->
        <permission name="android.permission.QUERY_ALL_PACKAGES"/>
    </privapp-permissions>

    <privapp-permissions package="com.android.tv">
+42 −0
Original line number Diff line number Diff line
// Copyright (C) 2020 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.

// Provides C++ wrappers for system services.

cc_library_shared {
    name: "libtracingproxy",

    aidl: {
        export_aidl_headers: true,
        include_dirs: [
            "frameworks/base/core/java",
        ],
    },

    srcs: [
        ":ITracingServiceProxy.aidl",
    ],

    shared_libs: [
        "libbinder",
        "libutils",
    ],

    cflags: [
        "-Wall",
        "-Werror",
        "-Wunused",
        "-Wunreachable-code",
    ],
}
Loading