diff options
author | Wei Wang <wvw@google.com> | 2020-03-30 21:32:09 -0700 |
---|---|---|
committer | Wei Wang <wvw@google.com> | 2020-03-30 21:32:09 -0700 |
commit | 94e15a33d9ad7c529033a8d3a13999ca7e90ccc3 (patch) | |
tree | c3c2afd9756e939a40180d6af69277dfd0ff4cf8 | |
parent | baccd059d8db4f5c4f00675678f9c9a353127352 (diff) | |
download | interfaces-94e15a33d9ad7c529033a8d3a13999ca7e90ccc3.tar.gz |
Update the current API dump
All aidl_interface modules should by default considered as stable, in
case it is used across system and vendor partitions, or across modules.
Like other API surfaces, we need to have a dump for the current
(yet-to-be-released) version and update it when there is an API change.
This is done via .
Then the owner of the interface can freeze the current version as a
numbered version via .
This change shal be rejected only when the owner is certain that the
interface is not used across the updatable boundaries.
Bug: 152655547
Test: build
Change-Id: I87b8325ad08b45379dc18e7bbd0eb27828288eea
-rw-r--r-- | power/aidl_api/pixel-power-ext/current/google/hardware/power/extension/pixel/IPowerExt.aidl | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/power/aidl_api/pixel-power-ext/current/google/hardware/power/extension/pixel/IPowerExt.aidl b/power/aidl_api/pixel-power-ext/current/google/hardware/power/extension/pixel/IPowerExt.aidl new file mode 100644 index 0000000..cc9a7cb --- /dev/null +++ b/power/aidl_api/pixel-power-ext/current/google/hardware/power/extension/pixel/IPowerExt.aidl @@ -0,0 +1,25 @@ +/////////////////////////////////////////////////////////////////////////////// +// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // +/////////////////////////////////////////////////////////////////////////////// + +// This file is a snapshot of an AIDL interface (or parcelable). Do not try to +// edit this file. It looks like you are doing that because you have modified +// an AIDL interface in a backward-incompatible way, e.g., deleting a function +// from an interface or a field from a parcelable and it broke the build. That +// breakage is intended. +// +// You must not make a backward incompatible changes to the AIDL files built +// with the aidl_interface module type with versions property set. The module +// type is used to build AIDL files in a way that they can be used across +// independently updatable components of the system. If a device is shipped +// with such a backward incompatible change, it has a high risk of breaking +// later when a module using the interface is updated, e.g., Mainline modules. + +package google.hardware.power.extension.pixel; +@VintfStability +interface IPowerExt { + oneway void setMode(in @utf8InCpp String mode, in boolean enabled); + boolean isModeSupported(in @utf8InCpp String mode); + oneway void setBoost(in @utf8InCpp String boost, in int durationMs); + boolean isBoostSupported(in @utf8InCpp String boost); +} |