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

Commit 3feefa8b authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "trusty: Add IStatsSetter interface"

parents a4aab526 2de07e82
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
// Copyright (C) 2023 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 {
    default_applicable_licenses: ["Android-Apache-2.0"],
}

aidl_interface {
    name: "android.trusty.stats.nw.setter",
    unstable: true,
    vendor_available: true,
    srcs: [
        "android/trusty/stats/nw/setter/IStatsSetter.aidl",
    ],
    imports: ["android.frameworks.stats-V1"],
    backend: {
        cpp: {
            enabled: true,
        },
        java: {
            enabled: false,
            platform_apis: false,
        },
        ndk: {
            enabled: false,
        },
    },
}
+28 −0
Original line number Diff line number Diff line
//
// Copyright (C) 2023 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.trusty.stats.nw.setter;

import android.frameworks.stats.IStats;

interface IStatsSetter {
    /**
     * Set the IStats interface facet.
     *
     * @param istats The IStats facet provided by the caller for the remote
     *        service to report IStats' VendorAtom.
     */
    void setInterface(in IStats istats);
}