1 ///////////////////////////////////////////////////////////////////////////////
2 // THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE.                          //
3 ///////////////////////////////////////////////////////////////////////////////
4 
5 // This file is a snapshot of an AIDL interface (or parcelable). Do not try to
6 // edit this file. It looks like you are doing that because you have modified
7 // an AIDL interface in a backward-incompatible way, e.g., deleting a function
8 // from an interface or a field from a parcelable and it broke the build. That
9 // breakage is intended.
10 //
11 // You must not make a backward incompatible changes to the AIDL files built
12 // with the aidl_interface module type with versions property set. The module
13 // type is used to build AIDL files in a way that they can be used across
14 // independently updatable components of the system. If a device is shipped
15 // with such a backward incompatible change, it has a high risk of breaking
16 // later when a module using the interface is updated, e.g., Mainline modules.
17 
18 package google.hardware.power.extension.pixel;
19 @VintfStability
20 interface IPowerExt {
setMode(in @tf8InCpp String mode, in boolean enabled)21   oneway void setMode(in @utf8InCpp String mode, in boolean enabled);
isModeSupported(in @tf8InCpp String mode)22   boolean isModeSupported(in @utf8InCpp String mode);
setBoost(in @tf8InCpp String boost, in int durationMs)23   oneway void setBoost(in @utf8InCpp String boost, in int durationMs);
isBoostSupported(in @tf8InCpp String boost)24   boolean isBoostSupported(in @utf8InCpp String boost);
25 }
26