diff --git a/universal7885-common/apps/FMRadio/Android.bp b/universal7885-common/apps/FMRadio/Android.bp index 52ea885..c8b29c2 100644 --- a/universal7885-common/apps/FMRadio/Android.bp +++ b/universal7885-common/apps/FMRadio/Android.bp @@ -13,7 +13,7 @@ android_app { "androidx.transition_transition", "kotlinx_coroutines_android", "androidx.coordinatorlayout_coordinatorlayout", - "vendor.eureka.hardware.fmradio-java", + "vendor.eureka.hardware.fmradio-V1-java", ], required: [ "vendor.eureka.hardware.fmradio-service", diff --git a/universal7885-common/apps/SamsungParts/Android.bp b/universal7885-common/apps/SamsungParts/Android.bp index 34264d3..f33ebb1 100644 --- a/universal7885-common/apps/SamsungParts/Android.bp +++ b/universal7885-common/apps/SamsungParts/Android.bp @@ -8,7 +8,7 @@ android_app { jni_libs: ["libSwapStorageHelper"], static_libs: [ "androidx.preference_preference", - "vendor.eureka.hardware.parts-java", + "vendor.eureka.hardware.parts-V1-java", ], defaults: ["SettingsLibDefaults"], required: ["vendor.eureka.hardware.parts-service"], diff --git a/universal7885-common/apps/aidl-support/fm/Android.bp b/universal7885-common/apps/aidl-support/fm/Android.bp index efc32ef..0f033bb 100644 --- a/universal7885-common/apps/aidl-support/fm/Android.bp +++ b/universal7885-common/apps/aidl-support/fm/Android.bp @@ -1,10 +1,17 @@ aidl_interface { name: "vendor.eureka.hardware.fmradio", srcs: ["vendor/eureka/hardware/fmradio/*.aidl"], + stability: "vintf", backend: { ndk: { enabled: true, }, }, - unstable: true, + versions_with_info: [ + { + version: "1", + imports: [], + }, + ], + } diff --git a/universal7885-common/apps/aidl-support/fm/aidl_api/vendor.eureka.hardware.fmradio/1/.hash b/universal7885-common/apps/aidl-support/fm/aidl_api/vendor.eureka.hardware.fmradio/1/.hash new file mode 100644 index 0000000..4cb3bdb --- /dev/null +++ b/universal7885-common/apps/aidl-support/fm/aidl_api/vendor.eureka.hardware.fmradio/1/.hash @@ -0,0 +1,3 @@ +c3526b25ff642236758dcaad007a7e232f87efa9 +c3526b25ff642236758dcaad007a7e232f87efa9 +953afbf98105208eed602421a0cb5c39f5e7b69e diff --git a/universal7885-common/apps/aidl-support/fm/aidl_api/vendor.eureka.hardware.fmradio/1/vendor/eureka/hardware/fmradio/GetType.aidl b/universal7885-common/apps/aidl-support/fm/aidl_api/vendor.eureka.hardware.fmradio/1/vendor/eureka/hardware/fmradio/GetType.aidl new file mode 100644 index 0000000..4bbb328 --- /dev/null +++ b/universal7885-common/apps/aidl-support/fm/aidl_api/vendor.eureka.hardware.fmradio/1/vendor/eureka/hardware/fmradio/GetType.aidl @@ -0,0 +1,27 @@ +// Copyright (C) 2022 Eureka Team +// +// 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.eureka.hardware.fmradio; + +@Backing(type="int") +@VintfStability +enum GetType { + GET_TYPE_FM_FREQ, + GET_TYPE_FM_UPPER_LIMIT, + GET_TYPE_FM_LOWER_LIMIT, + GET_TYPE_FM_RMSSI, + GET_TYPE_FM_BEFORE_CHANNEL, + GET_TYPE_FM_NEXT_CHANNEL, + GET_TYPE_FM_SYSFS_IF, +} diff --git a/universal7885-common/apps/aidl-support/fm/aidl_api/vendor.eureka.hardware.fmradio/1/vendor/eureka/hardware/fmradio/IFMDevControl.aidl b/universal7885-common/apps/aidl-support/fm/aidl_api/vendor.eureka.hardware.fmradio/1/vendor/eureka/hardware/fmradio/IFMDevControl.aidl new file mode 100644 index 0000000..02f095e --- /dev/null +++ b/universal7885-common/apps/aidl-support/fm/aidl_api/vendor.eureka.hardware.fmradio/1/vendor/eureka/hardware/fmradio/IFMDevControl.aidl @@ -0,0 +1,31 @@ +// Copyright (C) 2022 Eureka Team +// +// 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.eureka.hardware.fmradio; + +import vendor.eureka.hardware.fmradio.GetType; +import vendor.eureka.hardware.fmradio.SetType; + +@VintfStability +interface IFMDevControl { + oneway void open(); + + int getValue(in GetType type); + + oneway void setValue(in SetType type, int value); + + int[] getFreqsList(); + + oneway void close(); +} diff --git a/universal7885-common/apps/aidl-support/fm/aidl_api/vendor.eureka.hardware.fmradio/1/vendor/eureka/hardware/fmradio/SetType.aidl b/universal7885-common/apps/aidl-support/fm/aidl_api/vendor.eureka.hardware.fmradio/1/vendor/eureka/hardware/fmradio/SetType.aidl new file mode 100644 index 0000000..b1c9d21 --- /dev/null +++ b/universal7885-common/apps/aidl-support/fm/aidl_api/vendor.eureka.hardware.fmradio/1/vendor/eureka/hardware/fmradio/SetType.aidl @@ -0,0 +1,27 @@ +// Copyright (C) 2022 Eureka Team +// +// 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.eureka.hardware.fmradio; + +@Backing(type="int") +@VintfStability +enum SetType { + SET_TYPE_FM_FREQ, + SET_TYPE_FM_MUTE, + SET_TYPE_FM_VOLUME, + SET_TYPE_FM_THREAD, + SET_TYPE_FM_RMSSI, + SET_TYPE_FM_SEARCH_CANCEL, + SET_TYPE_FM_SPEAKER_ROUTE, +} diff --git a/universal7885-common/apps/aidl-support/fm/aidl_api/vendor.eureka.hardware.fmradio/current/vendor/eureka/hardware/fmradio/GetType.aidl b/universal7885-common/apps/aidl-support/fm/aidl_api/vendor.eureka.hardware.fmradio/current/vendor/eureka/hardware/fmradio/GetType.aidl new file mode 100644 index 0000000..5aaae78 --- /dev/null +++ b/universal7885-common/apps/aidl-support/fm/aidl_api/vendor.eureka.hardware.fmradio/current/vendor/eureka/hardware/fmradio/GetType.aidl @@ -0,0 +1,42 @@ +// Copyright (C) 2022 Eureka Team +// +// 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. +/////////////////////////////////////////////////////////////////////////////// +// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // +/////////////////////////////////////////////////////////////////////////////// + +// This file is a snapshot of an AIDL file. Do not edit it manually. There are +// two cases: +// 1). this is a frozen version file - do not edit this in any case. +// 2). this is a 'current' file. If you make a backwards compatible change to +// the interface (from the latest frozen version), the build system will +// prompt you to update this file with `m -update-api`. +// +// You must not make a backward incompatible change to any AIDL file 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 vendor.eureka.hardware.fmradio; +@Backing(type="int") @VintfStability +enum GetType { + GET_TYPE_FM_FREQ = 0, + GET_TYPE_FM_UPPER_LIMIT = 1, + GET_TYPE_FM_LOWER_LIMIT = 2, + GET_TYPE_FM_RMSSI = 3, + GET_TYPE_FM_BEFORE_CHANNEL = 4, + GET_TYPE_FM_NEXT_CHANNEL = 5, + GET_TYPE_FM_SYSFS_IF = 6, +} diff --git a/universal7885-common/apps/aidl-support/fm/aidl_api/vendor.eureka.hardware.fmradio/current/vendor/eureka/hardware/fmradio/IFMDevControl.aidl b/universal7885-common/apps/aidl-support/fm/aidl_api/vendor.eureka.hardware.fmradio/current/vendor/eureka/hardware/fmradio/IFMDevControl.aidl new file mode 100644 index 0000000..1737a0b --- /dev/null +++ b/universal7885-common/apps/aidl-support/fm/aidl_api/vendor.eureka.hardware.fmradio/current/vendor/eureka/hardware/fmradio/IFMDevControl.aidl @@ -0,0 +1,40 @@ +// Copyright (C) 2022 Eureka Team +// +// 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. +/////////////////////////////////////////////////////////////////////////////// +// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // +/////////////////////////////////////////////////////////////////////////////// + +// This file is a snapshot of an AIDL file. Do not edit it manually. There are +// two cases: +// 1). this is a frozen version file - do not edit this in any case. +// 2). this is a 'current' file. If you make a backwards compatible change to +// the interface (from the latest frozen version), the build system will +// prompt you to update this file with `m -update-api`. +// +// You must not make a backward incompatible change to any AIDL file 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 vendor.eureka.hardware.fmradio; +@VintfStability +interface IFMDevControl { + oneway void open(); + int getValue(in vendor.eureka.hardware.fmradio.GetType type); + oneway void setValue(in vendor.eureka.hardware.fmradio.SetType type, int value); + int[] getFreqsList(); + oneway void close(); +} diff --git a/universal7885-common/apps/aidl-support/fm/aidl_api/vendor.eureka.hardware.fmradio/current/vendor/eureka/hardware/fmradio/SetType.aidl b/universal7885-common/apps/aidl-support/fm/aidl_api/vendor.eureka.hardware.fmradio/current/vendor/eureka/hardware/fmradio/SetType.aidl new file mode 100644 index 0000000..4efaf57 --- /dev/null +++ b/universal7885-common/apps/aidl-support/fm/aidl_api/vendor.eureka.hardware.fmradio/current/vendor/eureka/hardware/fmradio/SetType.aidl @@ -0,0 +1,42 @@ +// Copyright (C) 2022 Eureka Team +// +// 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. +/////////////////////////////////////////////////////////////////////////////// +// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // +/////////////////////////////////////////////////////////////////////////////// + +// This file is a snapshot of an AIDL file. Do not edit it manually. There are +// two cases: +// 1). this is a frozen version file - do not edit this in any case. +// 2). this is a 'current' file. If you make a backwards compatible change to +// the interface (from the latest frozen version), the build system will +// prompt you to update this file with `m -update-api`. +// +// You must not make a backward incompatible change to any AIDL file 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 vendor.eureka.hardware.fmradio; +@Backing(type="int") @VintfStability +enum SetType { + SET_TYPE_FM_FREQ = 0, + SET_TYPE_FM_MUTE = 1, + SET_TYPE_FM_VOLUME = 2, + SET_TYPE_FM_THREAD = 3, + SET_TYPE_FM_RMSSI = 4, + SET_TYPE_FM_SEARCH_CANCEL = 5, + SET_TYPE_FM_SPEAKER_ROUTE = 6, +} diff --git a/universal7885-common/apps/aidl-support/fm/default/Android.bp b/universal7885-common/apps/aidl-support/fm/default/Android.bp index 0a3d985..12c77b2 100644 --- a/universal7885-common/apps/aidl-support/fm/default/Android.bp +++ b/universal7885-common/apps/aidl-support/fm/default/Android.bp @@ -30,7 +30,7 @@ cc_binary { "libaudioclient", "libaudiopolicy", "libaudiomanager", - "vendor.eureka.hardware.fmradio-ndk", + "vendor.eureka.hardware.fmradio-V1-ndk", ], header_libs: ["libaudioclient_headers"], init_rc: ["vendor.eureka.hardware.fmradio-service.rc"], diff --git a/universal7885-common/apps/aidl-support/fm/vendor/eureka/hardware/fmradio/GetType.aidl b/universal7885-common/apps/aidl-support/fm/vendor/eureka/hardware/fmradio/GetType.aidl index 0649c0a..4bbb328 100644 --- a/universal7885-common/apps/aidl-support/fm/vendor/eureka/hardware/fmradio/GetType.aidl +++ b/universal7885-common/apps/aidl-support/fm/vendor/eureka/hardware/fmradio/GetType.aidl @@ -15,6 +15,7 @@ package vendor.eureka.hardware.fmradio; @Backing(type="int") +@VintfStability enum GetType { GET_TYPE_FM_FREQ, GET_TYPE_FM_UPPER_LIMIT, diff --git a/universal7885-common/apps/aidl-support/fm/vendor/eureka/hardware/fmradio/IFMDevControl.aidl b/universal7885-common/apps/aidl-support/fm/vendor/eureka/hardware/fmradio/IFMDevControl.aidl index 1185032..02f095e 100644 --- a/universal7885-common/apps/aidl-support/fm/vendor/eureka/hardware/fmradio/IFMDevControl.aidl +++ b/universal7885-common/apps/aidl-support/fm/vendor/eureka/hardware/fmradio/IFMDevControl.aidl @@ -17,14 +17,15 @@ package vendor.eureka.hardware.fmradio; import vendor.eureka.hardware.fmradio.GetType; import vendor.eureka.hardware.fmradio.SetType; +@VintfStability interface IFMDevControl { - void open(); + oneway void open(); int getValue(in GetType type); - void setValue(in SetType type, int value); + oneway void setValue(in SetType type, int value); int[] getFreqsList(); - void close(); + oneway void close(); } diff --git a/universal7885-common/apps/aidl-support/fm/vendor/eureka/hardware/fmradio/SetType.aidl b/universal7885-common/apps/aidl-support/fm/vendor/eureka/hardware/fmradio/SetType.aidl index 5a98ebb..b1c9d21 100644 --- a/universal7885-common/apps/aidl-support/fm/vendor/eureka/hardware/fmradio/SetType.aidl +++ b/universal7885-common/apps/aidl-support/fm/vendor/eureka/hardware/fmradio/SetType.aidl @@ -15,6 +15,7 @@ package vendor.eureka.hardware.fmradio; @Backing(type="int") +@VintfStability enum SetType { SET_TYPE_FM_FREQ, SET_TYPE_FM_MUTE, diff --git a/universal7885-common/apps/aidl-support/parts/Android.bp b/universal7885-common/apps/aidl-support/parts/Android.bp index b61c474..3be2f6c 100644 --- a/universal7885-common/apps/aidl-support/parts/Android.bp +++ b/universal7885-common/apps/aidl-support/parts/Android.bp @@ -1,11 +1,17 @@ aidl_interface { name: "vendor.eureka.hardware.parts", srcs: ["vendor/eureka/hardware/parts/*.aidl"], + stability: "vintf", backend: { ndk: { enabled: true, }, }, - unstable: true, -} + versions_with_info: [ + { + version: "1", + imports: [], + }, + ], +} diff --git a/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/1/.hash b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/1/.hash new file mode 100644 index 0000000..5a068a5 --- /dev/null +++ b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/1/.hash @@ -0,0 +1,2 @@ +d0dc9a61b9e829ce23dde2a79aedf7518f145d85 +ac0a24199a0e9719d70fb254e0b5d6faab72dd1a diff --git a/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/1/vendor/eureka/hardware/parts/BatterySys.aidl b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/1/vendor/eureka/hardware/parts/BatterySys.aidl new file mode 100644 index 0000000..8319e13 --- /dev/null +++ b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/1/vendor/eureka/hardware/parts/BatterySys.aidl @@ -0,0 +1,26 @@ +// Copyright (C) 2022 Eureka Team +// +// 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.eureka.hardware.parts; + +@Backing(type="int") +@VintfStability +enum BatterySys { + CAPACITY_MAX, + TEMP, + CAPACITY_CURRENT, + CURRENT, + FASTCHARGE, + CHARGE, +} diff --git a/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/1/vendor/eureka/hardware/parts/DisplaySys.aidl b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/1/vendor/eureka/hardware/parts/DisplaySys.aidl new file mode 100644 index 0000000..ea24a3e --- /dev/null +++ b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/1/vendor/eureka/hardware/parts/DisplaySys.aidl @@ -0,0 +1,22 @@ +// Copyright (C) 2022 Eureka Team +// +// 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.eureka.hardware.parts; + +@Backing(type="int") +@VintfStability +enum DisplaySys { + DOUBLE_TAP, + GLOVE_MODE, +} diff --git a/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/1/vendor/eureka/hardware/parts/IBatteryStats.aidl b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/1/vendor/eureka/hardware/parts/IBatteryStats.aidl new file mode 100644 index 0000000..2344946 --- /dev/null +++ b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/1/vendor/eureka/hardware/parts/IBatteryStats.aidl @@ -0,0 +1,24 @@ +// Copyright (C) 2022 Eureka Team +// +// 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.eureka.hardware.parts; + +import vendor.eureka.hardware.parts.BatterySys; + +@VintfStability +interface IBatteryStats { + int getBatteryStats(in BatterySys stats); + + oneway void setBatteryWritable(in BatterySys stats, in boolean value); +} diff --git a/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/1/vendor/eureka/hardware/parts/IDisplayConfigs.aidl b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/1/vendor/eureka/hardware/parts/IDisplayConfigs.aidl new file mode 100644 index 0000000..d89b3ff --- /dev/null +++ b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/1/vendor/eureka/hardware/parts/IDisplayConfigs.aidl @@ -0,0 +1,22 @@ +// Copyright (C) 2022 Eureka Team +// +// 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.eureka.hardware.parts; + +import vendor.eureka.hardware.parts.DisplaySys; + +@VintfStability +interface IDisplayConfigs { + oneway void writeDisplay(in boolean enable, in DisplaySys type); +} diff --git a/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/1/vendor/eureka/hardware/parts/IFlashBrightness.aidl b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/1/vendor/eureka/hardware/parts/IFlashBrightness.aidl new file mode 100644 index 0000000..05efc7c --- /dev/null +++ b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/1/vendor/eureka/hardware/parts/IFlashBrightness.aidl @@ -0,0 +1,24 @@ +// Copyright (C) 2022 Eureka Team +// +// 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.eureka.hardware.parts; + +@VintfStability +interface IFlashBrightness { + int readFlashlightstats(in boolean s2mu106); + + oneway void setFlashlightEnable(in boolean enable); + + oneway void setFlashlightWritable(in int value); +} diff --git a/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/1/vendor/eureka/hardware/parts/ISmartCharge.aidl b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/1/vendor/eureka/hardware/parts/ISmartCharge.aidl new file mode 100644 index 0000000..4cdcb12 --- /dev/null +++ b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/1/vendor/eureka/hardware/parts/ISmartCharge.aidl @@ -0,0 +1,28 @@ +// Copyright (C) 2022 Eureka Team +// +// 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.eureka.hardware.parts; + +@VintfStability +interface ISmartCharge { + int getLimitCnt(); + + int getRestartCnt(); + + oneway void setConfig(in int limit, in int restart); + + oneway void start(); + + oneway void stop(); +} diff --git a/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/1/vendor/eureka/hardware/parts/ISwapOnData.aidl b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/1/vendor/eureka/hardware/parts/ISwapOnData.aidl new file mode 100644 index 0000000..73a69a1 --- /dev/null +++ b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/1/vendor/eureka/hardware/parts/ISwapOnData.aidl @@ -0,0 +1,30 @@ +// Copyright (C) 2022 Eureka Team +// +// 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.eureka.hardware.parts; + +@VintfStability +interface ISwapOnData { + boolean getSwapOnResult(); + + boolean isMutexLocked(); + + oneway void removeSwapFile(); + + oneway void setSwapOff(); + + oneway void setSwapOn(); + + oneway void setSwapSize(in int size); +} diff --git a/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/current/vendor/eureka/hardware/parts/BatterySys.aidl b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/current/vendor/eureka/hardware/parts/BatterySys.aidl new file mode 100644 index 0000000..ed1ad55 --- /dev/null +++ b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/current/vendor/eureka/hardware/parts/BatterySys.aidl @@ -0,0 +1,41 @@ +// Copyright (C) 2022 Eureka Team +// +// 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. +/////////////////////////////////////////////////////////////////////////////// +// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // +/////////////////////////////////////////////////////////////////////////////// + +// This file is a snapshot of an AIDL file. Do not edit it manually. There are +// two cases: +// 1). this is a frozen version file - do not edit this in any case. +// 2). this is a 'current' file. If you make a backwards compatible change to +// the interface (from the latest frozen version), the build system will +// prompt you to update this file with `m -update-api`. +// +// You must not make a backward incompatible change to any AIDL file 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 vendor.eureka.hardware.parts; +@Backing(type="int") @VintfStability +enum BatterySys { + CAPACITY_MAX = 0, + TEMP = 1, + CAPACITY_CURRENT = 2, + CURRENT = 3, + FASTCHARGE = 4, + CHARGE = 5, +} diff --git a/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/current/vendor/eureka/hardware/parts/DisplaySys.aidl b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/current/vendor/eureka/hardware/parts/DisplaySys.aidl new file mode 100644 index 0000000..4a538cc --- /dev/null +++ b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/current/vendor/eureka/hardware/parts/DisplaySys.aidl @@ -0,0 +1,37 @@ +// Copyright (C) 2022 Eureka Team +// +// 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. +/////////////////////////////////////////////////////////////////////////////// +// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // +/////////////////////////////////////////////////////////////////////////////// + +// This file is a snapshot of an AIDL file. Do not edit it manually. There are +// two cases: +// 1). this is a frozen version file - do not edit this in any case. +// 2). this is a 'current' file. If you make a backwards compatible change to +// the interface (from the latest frozen version), the build system will +// prompt you to update this file with `m -update-api`. +// +// You must not make a backward incompatible change to any AIDL file 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 vendor.eureka.hardware.parts; +@Backing(type="int") @VintfStability +enum DisplaySys { + DOUBLE_TAP = 0, + GLOVE_MODE = 1, +} diff --git a/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/current/vendor/eureka/hardware/parts/IBatteryStats.aidl b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/current/vendor/eureka/hardware/parts/IBatteryStats.aidl new file mode 100644 index 0000000..c9a3e20 --- /dev/null +++ b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/current/vendor/eureka/hardware/parts/IBatteryStats.aidl @@ -0,0 +1,37 @@ +// Copyright (C) 2022 Eureka Team +// +// 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. +/////////////////////////////////////////////////////////////////////////////// +// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // +/////////////////////////////////////////////////////////////////////////////// + +// This file is a snapshot of an AIDL file. Do not edit it manually. There are +// two cases: +// 1). this is a frozen version file - do not edit this in any case. +// 2). this is a 'current' file. If you make a backwards compatible change to +// the interface (from the latest frozen version), the build system will +// prompt you to update this file with `m -update-api`. +// +// You must not make a backward incompatible change to any AIDL file 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 vendor.eureka.hardware.parts; +@VintfStability +interface IBatteryStats { + int getBatteryStats(in vendor.eureka.hardware.parts.BatterySys stats); + oneway void setBatteryWritable(in vendor.eureka.hardware.parts.BatterySys stats, in boolean value); +} diff --git a/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/current/vendor/eureka/hardware/parts/IDisplayConfigs.aidl b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/current/vendor/eureka/hardware/parts/IDisplayConfigs.aidl new file mode 100644 index 0000000..5227b21 --- /dev/null +++ b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/current/vendor/eureka/hardware/parts/IDisplayConfigs.aidl @@ -0,0 +1,36 @@ +// Copyright (C) 2022 Eureka Team +// +// 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. +/////////////////////////////////////////////////////////////////////////////// +// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // +/////////////////////////////////////////////////////////////////////////////// + +// This file is a snapshot of an AIDL file. Do not edit it manually. There are +// two cases: +// 1). this is a frozen version file - do not edit this in any case. +// 2). this is a 'current' file. If you make a backwards compatible change to +// the interface (from the latest frozen version), the build system will +// prompt you to update this file with `m -update-api`. +// +// You must not make a backward incompatible change to any AIDL file 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 vendor.eureka.hardware.parts; +@VintfStability +interface IDisplayConfigs { + oneway void writeDisplay(in boolean enable, in vendor.eureka.hardware.parts.DisplaySys type); +} diff --git a/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/current/vendor/eureka/hardware/parts/IFlashBrightness.aidl b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/current/vendor/eureka/hardware/parts/IFlashBrightness.aidl new file mode 100644 index 0000000..125d695 --- /dev/null +++ b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/current/vendor/eureka/hardware/parts/IFlashBrightness.aidl @@ -0,0 +1,38 @@ +// Copyright (C) 2022 Eureka Team +// +// 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. +/////////////////////////////////////////////////////////////////////////////// +// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // +/////////////////////////////////////////////////////////////////////////////// + +// This file is a snapshot of an AIDL file. Do not edit it manually. There are +// two cases: +// 1). this is a frozen version file - do not edit this in any case. +// 2). this is a 'current' file. If you make a backwards compatible change to +// the interface (from the latest frozen version), the build system will +// prompt you to update this file with `m -update-api`. +// +// You must not make a backward incompatible change to any AIDL file 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 vendor.eureka.hardware.parts; +@VintfStability +interface IFlashBrightness { + int readFlashlightstats(in boolean s2mu106); + oneway void setFlashlightEnable(in boolean enable); + oneway void setFlashlightWritable(in int value); +} diff --git a/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/current/vendor/eureka/hardware/parts/ISmartCharge.aidl b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/current/vendor/eureka/hardware/parts/ISmartCharge.aidl new file mode 100644 index 0000000..4c51f6e --- /dev/null +++ b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/current/vendor/eureka/hardware/parts/ISmartCharge.aidl @@ -0,0 +1,40 @@ +// Copyright (C) 2022 Eureka Team +// +// 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. +/////////////////////////////////////////////////////////////////////////////// +// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // +/////////////////////////////////////////////////////////////////////////////// + +// This file is a snapshot of an AIDL file. Do not edit it manually. There are +// two cases: +// 1). this is a frozen version file - do not edit this in any case. +// 2). this is a 'current' file. If you make a backwards compatible change to +// the interface (from the latest frozen version), the build system will +// prompt you to update this file with `m -update-api`. +// +// You must not make a backward incompatible change to any AIDL file 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 vendor.eureka.hardware.parts; +@VintfStability +interface ISmartCharge { + int getLimitCnt(); + int getRestartCnt(); + oneway void setConfig(in int limit, in int restart); + oneway void start(); + oneway void stop(); +} diff --git a/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/current/vendor/eureka/hardware/parts/ISwapOnData.aidl b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/current/vendor/eureka/hardware/parts/ISwapOnData.aidl new file mode 100644 index 0000000..2ecce88 --- /dev/null +++ b/universal7885-common/apps/aidl-support/parts/aidl_api/vendor.eureka.hardware.parts/current/vendor/eureka/hardware/parts/ISwapOnData.aidl @@ -0,0 +1,41 @@ +// Copyright (C) 2022 Eureka Team +// +// 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. +/////////////////////////////////////////////////////////////////////////////// +// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // +/////////////////////////////////////////////////////////////////////////////// + +// This file is a snapshot of an AIDL file. Do not edit it manually. There are +// two cases: +// 1). this is a frozen version file - do not edit this in any case. +// 2). this is a 'current' file. If you make a backwards compatible change to +// the interface (from the latest frozen version), the build system will +// prompt you to update this file with `m -update-api`. +// +// You must not make a backward incompatible change to any AIDL file 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 vendor.eureka.hardware.parts; +@VintfStability +interface ISwapOnData { + boolean getSwapOnResult(); + boolean isMutexLocked(); + oneway void removeSwapFile(); + oneway void setSwapOff(); + oneway void setSwapOn(); + oneway void setSwapSize(in int size); +} diff --git a/universal7885-common/apps/aidl-support/parts/default/Android.bp b/universal7885-common/apps/aidl-support/parts/default/Android.bp index 893c1c6..f0a9fb1 100644 --- a/universal7885-common/apps/aidl-support/parts/default/Android.bp +++ b/universal7885-common/apps/aidl-support/parts/default/Android.bp @@ -15,7 +15,7 @@ cc_binary { "libbase", "libbinder_ndk", "libfileio", - "vendor.eureka.hardware.parts-ndk", + "vendor.eureka.hardware.parts-V1-ndk", ], init_rc: ["vendor.eureka.hardware.parts-service.rc"], vintf_fragments: ["vendor.eureka.hardware.parts.xml"], diff --git a/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/BatterySys.aidl b/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/BatterySys.aidl index 0f68e54..8319e13 100644 --- a/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/BatterySys.aidl +++ b/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/BatterySys.aidl @@ -15,6 +15,7 @@ package vendor.eureka.hardware.parts; @Backing(type="int") +@VintfStability enum BatterySys { CAPACITY_MAX, TEMP, diff --git a/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/DisplaySys.aidl b/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/DisplaySys.aidl index a2b151d..ea24a3e 100644 --- a/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/DisplaySys.aidl +++ b/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/DisplaySys.aidl @@ -15,6 +15,7 @@ package vendor.eureka.hardware.parts; @Backing(type="int") +@VintfStability enum DisplaySys { DOUBLE_TAP, GLOVE_MODE, diff --git a/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/IBatteryStats.aidl b/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/IBatteryStats.aidl index 43269c8..2344946 100644 --- a/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/IBatteryStats.aidl +++ b/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/IBatteryStats.aidl @@ -16,8 +16,9 @@ package vendor.eureka.hardware.parts; import vendor.eureka.hardware.parts.BatterySys; +@VintfStability interface IBatteryStats { int getBatteryStats(in BatterySys stats); - void setBatteryWritable(in BatterySys stats, in boolean value); + oneway void setBatteryWritable(in BatterySys stats, in boolean value); } diff --git a/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/IDisplayConfigs.aidl b/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/IDisplayConfigs.aidl index 8d9d0d3..d89b3ff 100644 --- a/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/IDisplayConfigs.aidl +++ b/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/IDisplayConfigs.aidl @@ -16,6 +16,7 @@ package vendor.eureka.hardware.parts; import vendor.eureka.hardware.parts.DisplaySys; +@VintfStability interface IDisplayConfigs { - void writeDisplay(in boolean enable, in DisplaySys type); + oneway void writeDisplay(in boolean enable, in DisplaySys type); } diff --git a/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/IFlashBrightness.aidl b/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/IFlashBrightness.aidl index f749427..05efc7c 100644 --- a/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/IFlashBrightness.aidl +++ b/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/IFlashBrightness.aidl @@ -14,10 +14,11 @@ package vendor.eureka.hardware.parts; +@VintfStability interface IFlashBrightness { int readFlashlightstats(in boolean s2mu106); - void setFlashlightEnable(in boolean enable); + oneway void setFlashlightEnable(in boolean enable); - void setFlashlightWritable(in int value); + oneway void setFlashlightWritable(in int value); } diff --git a/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/ISmartCharge.aidl b/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/ISmartCharge.aidl index 02a7536..4cdcb12 100644 --- a/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/ISmartCharge.aidl +++ b/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/ISmartCharge.aidl @@ -14,14 +14,15 @@ package vendor.eureka.hardware.parts; +@VintfStability interface ISmartCharge { int getLimitCnt(); int getRestartCnt(); - void setConfig(in int limit, in int restart); + oneway void setConfig(in int limit, in int restart); - void start(); + oneway void start(); - void stop(); + oneway void stop(); } diff --git a/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/ISwapOnData.aidl b/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/ISwapOnData.aidl index a0635ce..73a69a1 100644 --- a/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/ISwapOnData.aidl +++ b/universal7885-common/apps/aidl-support/parts/vendor/eureka/hardware/parts/ISwapOnData.aidl @@ -14,16 +14,17 @@ package vendor.eureka.hardware.parts; +@VintfStability interface ISwapOnData { boolean getSwapOnResult(); boolean isMutexLocked(); - void removeSwapFile(); + oneway void removeSwapFile(); - void setSwapOff(); + oneway void setSwapOff(); - void setSwapOn(); + oneway void setSwapOn(); - void setSwapSize(in int size); + oneway void setSwapSize(in int size); }