diff options
| author | Luca Stefani <luca.stefani.ge1@gmail.com> | 2021-10-07 12:30:07 +0200 |
|---|---|---|
| committer | Luca Stefani <luca.stefani.ge1@gmail.com> | 2021-10-07 12:30:29 +0200 |
| commit | bf1967cd88e766ff59836caaf940ec6526815068 (patch) | |
| tree | 8357c6d9c20da4964e7ba4af453df4341a447315 | |
| parent | cfcb4c8a978a8627a5d6913089d9bb92d7356877 (diff) | |
power: Remove 1.0 HIDL
* All the user must migrate to AIDL
Change-Id: I3fe112a682b2c4eccc75213f0dc53610037947ae
| -rw-r--r-- | power/1.0/Android.bp | 15 | ||||
| -rw-r--r-- | power/1.0/ILineagePower.hal | 27 | ||||
| -rw-r--r-- | power/1.0/types.hal | 32 |
3 files changed, 0 insertions, 74 deletions
diff --git a/power/1.0/Android.bp b/power/1.0/Android.bp deleted file mode 100644 index 4b1e577..0000000 --- a/power/1.0/Android.bp +++ /dev/null @@ -1,15 +0,0 @@ -// This file is autogenerated by hidl-gen -Landroidbp. - -hidl_interface { - name: "vendor.lineage.power@1.0", - root: "vendor.lineage", - system_ext_specific: true, - srcs: [ - "types.hal", - "ILineagePower.hal", - ], - interfaces: [ - "android.hidl.base@1.0", - ], - gen_java: true, -} diff --git a/power/1.0/ILineagePower.hal b/power/1.0/ILineagePower.hal deleted file mode 100644 index 8396b46..0000000 --- a/power/1.0/ILineagePower.hal +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2018 The LineageOS 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 vendor.lineage.power@1.0; - -interface ILineagePower { - /** - * getFeature() is called to get the current value of a particular - * feature or capability from the hardware or PowerHAL - * - * @param feature Feature which needs to get - * @return the state of power states the device supports - */ - getFeature(LineageFeature feature) generates (int32_t value); -}; diff --git a/power/1.0/types.hal b/power/1.0/types.hal deleted file mode 100644 index d9e98ee..0000000 --- a/power/1.0/types.hal +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2018 The LineageOS 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 vendor.lineage.power@1.0; - -/** Power hint identifiers passed to powerHint() */ -enum LineagePowerHint : uint32_t { - /** - * An operation is happening where it would be ideal for the CPU to - * be boosted for a specific duration. The data parameter is an - * integer value of the boost duration in microseconds. - */ - CPU_BOOST = 0x00000110, - - SET_PROFILE = 0x00000111 -}; - -enum LineageFeature : uint32_t { - SUPPORTED_PROFILES = 0x00001000 -}; |
