summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-04-11 02:06:39 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-04-11 02:06:39 +0000
commit5d3a10ed91b5240305a9a842101adde7aa6dee6c (patch)
tree3d067bafd423f0097ec0171b154957da17dbcdf6
parentc3f4bbb09397c4913fa4226c3ac9e93150cc1950 (diff)
parentd14dc964dfcad22d72136e41fab0224c9458dfe9 (diff)
downloadinterfaces-android11-tests-release.tar.gz
Snap for 6386750 from d14dc964dfcad22d72136e41fab0224c9458dfe9 to rvc-releaseandroid-vts-11.0_r9android-vts-11.0_r8android-vts-11.0_r7android-vts-11.0_r6android-vts-11.0_r5android-vts-11.0_r4android-vts-11.0_r3android-vts-11.0_r2android-vts-11.0_r16android-vts-11.0_r15android-vts-11.0_r14android-vts-11.0_r13android-vts-11.0_r12android-vts-11.0_r11android-vts-11.0_r10android-vts-11.0_r1android-security-11.0.0_r76android-security-11.0.0_r75android-security-11.0.0_r74android-security-11.0.0_r73android-security-11.0.0_r72android-security-11.0.0_r71android-security-11.0.0_r70android-security-11.0.0_r69android-security-11.0.0_r68android-security-11.0.0_r67android-security-11.0.0_r66android-security-11.0.0_r65android-security-11.0.0_r64android-security-11.0.0_r63android-security-11.0.0_r62android-security-11.0.0_r61android-security-11.0.0_r60android-security-11.0.0_r59android-security-11.0.0_r58android-security-11.0.0_r57android-security-11.0.0_r56android-security-11.0.0_r55android-security-11.0.0_r54android-security-11.0.0_r53android-security-11.0.0_r52android-security-11.0.0_r51android-security-11.0.0_r50android-security-11.0.0_r49android-security-11.0.0_r1android-platform-11.0.0_r2android-platform-11.0.0_r1android-cts-11.0_r9android-cts-11.0_r8android-cts-11.0_r7android-cts-11.0_r6android-cts-11.0_r5android-cts-11.0_r4android-cts-11.0_r3android-cts-11.0_r2android-cts-11.0_r16android-cts-11.0_r15android-cts-11.0_r14android-cts-11.0_r13android-cts-11.0_r12android-cts-11.0_r11android-cts-11.0_r10android-cts-11.0_r1android-11.0.0_r6android-11.0.0_r5android-11.0.0_r4android-11.0.0_r3android-11.0.0_r25android-11.0.0_r2android-11.0.0_r17android-11.0.0_r1android11-tests-releaseandroid11-security-releaseandroid11-s1-releaseandroid11-release
Change-Id: I62354a1a48f34406e32ac5a2de98d965802b4114
-rw-r--r--power/Android.bp1
-rw-r--r--power/aidl_api/pixel-power-ext/1/.hash1
-rw-r--r--power/aidl_api/pixel-power-ext/1/google/hardware/power/extension/pixel/IPowerExt.aidl25
3 files changed, 27 insertions, 0 deletions
diff --git a/power/Android.bp b/power/Android.bp
index 58b802a..5beaf51 100644
--- a/power/Android.bp
+++ b/power/Android.bp
@@ -12,4 +12,5 @@ aidl_interface {
platform_apis: true,
},
},
+ versions: ["1"],
}
diff --git a/power/aidl_api/pixel-power-ext/1/.hash b/power/aidl_api/pixel-power-ext/1/.hash
new file mode 100644
index 0000000..86ce27d
--- /dev/null
+++ b/power/aidl_api/pixel-power-ext/1/.hash
@@ -0,0 +1 @@
+3ce8c3ba6e332074ed51fa88088ac4af5d6c08a5
diff --git a/power/aidl_api/pixel-power-ext/1/google/hardware/power/extension/pixel/IPowerExt.aidl b/power/aidl_api/pixel-power-ext/1/google/hardware/power/extension/pixel/IPowerExt.aidl
new file mode 100644
index 0000000..cc9a7cb
--- /dev/null
+++ b/power/aidl_api/pixel-power-ext/1/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);
+}