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

Commit 6ebe9769 authored by Matt Buckley's avatar Matt Buckley Committed by Android (Google) Code Review
Browse files

Merge "Update HintManager to use NDK backend" into main

parents b39f70ce 58977725
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -355,8 +355,11 @@ java_defaults {
            "packages/modules/Media/apex/aidl/stable",
            "hardware/interfaces/biometrics/common/aidl",
            "hardware/interfaces/biometrics/fingerprint/aidl",
            "hardware/interfaces/common/aidl",
            "hardware/interfaces/common/fmq/aidl",
            "hardware/interfaces/graphics/common/aidl",
            "hardware/interfaces/keymaster/aidl",
            "hardware/interfaces/power/aidl",
            "system/hardware/interfaces/media/aidl",
        ],
    },
+3 −0
Original line number Diff line number Diff line
@@ -342,8 +342,11 @@ stubs_defaults {
            "packages/modules/Media/apex/aidl/stable",
            "hardware/interfaces/biometrics/common/aidl",
            "hardware/interfaces/biometrics/fingerprint/aidl",
            "hardware/interfaces/common/aidl",
            "hardware/interfaces/common/fmq/aidl",
            "hardware/interfaces/graphics/common/aidl",
            "hardware/interfaces/keymaster/aidl",
            "hardware/interfaces/power/aidl",
            "system/hardware/interfaces/media/aidl",
        ],
    },
+1 −4
Original line number Diff line number Diff line
@@ -34179,9 +34179,8 @@ package android.os {
    method @RequiresPermission(android.Manifest.permission.VIBRATE) public final void vibrate(@NonNull android.os.CombinedVibration, @Nullable android.os.VibrationAttributes);
  }
  @FlaggedApi("android.os.adpf_gpu_report_actual_work_duration") public final class WorkDuration implements android.os.Parcelable {
  @FlaggedApi("android.os.adpf_gpu_report_actual_work_duration") public final class WorkDuration {
    ctor public WorkDuration();
    method public int describeContents();
    method public long getActualCpuDurationNanos();
    method public long getActualGpuDurationNanos();
    method public long getActualTotalDurationNanos();
@@ -34190,8 +34189,6 @@ package android.os {
    method public void setActualGpuDurationNanos(long);
    method public void setActualTotalDurationNanos(long);
    method public void setWorkPeriodStartTimestampNanos(long);
    method public void writeToParcel(@NonNull android.os.Parcel, int);
    field @NonNull public static final android.os.Parcelable.Creator<android.os.WorkDuration> CREATOR;
  }
  public class WorkSource implements android.os.Parcelable {
+24 −2
Original line number Diff line number Diff line
@@ -135,8 +135,6 @@ filegroup {
    srcs: [
        "android/os/Temperature.aidl",
        "android/os/CoolingDevice.aidl",
        "android/os/IHintManager.aidl",
        "android/os/IHintSession.aidl",
        "android/os/IThermalEventListener.aidl",
        "android/os/IThermalStatusListener.aidl",
        "android/os/IThermalService.aidl",
@@ -145,6 +143,30 @@ filegroup {
    ],
}

aidl_interface {
    name: "android.os.hintmanager_aidl",
    srcs: [
        "android/os/IHintManager.aidl",
        "android/os/IHintSession.aidl",
    ],
    unstable: true,
    backend: {
        java: {
            sdk_version: "module_current",
            enabled: true,
        },
        cpp: {
            enabled: false,
        },
        ndk: {
            enabled: true,
        },
    },
    imports: [
        "android.hardware.power-V5",
    ],
}

aidl_library {
    name: "ILogcatManagerService_aidl",
    srcs: ["android/os/logcat/ILogcatManagerService.aidl"],
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@

package android.os;

import android.os.WorkDuration;
import android.hardware.power.WorkDuration;

/** {@hide} */
oneway interface IHintSession {
Loading