universal7885: aidl-support: Mark unstable and fix errors

This commit is contained in:
roynatech2544 2022-10-05 09:59:34 +00:00
commit efc9f1063b
8 changed files with 26 additions and 3 deletions

View file

@ -0,0 +1,13 @@
// 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.

View file

@ -6,4 +6,5 @@ aidl_interface {
enabled: true,
},
},
unstable: true,
}

View file

@ -15,7 +15,6 @@
package vendor.eureka.hardware.fmradio;
import vendor.eureka.hardware.fmradio.Direction;
import vendor.eureka.hardware.fmradio.Status;
import vendor.eureka.hardware.fmradio.Space;
interface IFMRadio {

View file

@ -0,0 +1,11 @@
aidl_interface {
name: "vendor.eureka.hardware.parts",
srcs: ["vendor/eureka/hardware/parts/*.aidl"],
backend: {
ndk: {
enabled: true,
},
},
unstable: true,
}

View file

@ -15,10 +15,9 @@
package vendor.eureka.hardware.parts;
import vendor.eureka.hardware.parts.BatterySys;
import vendor.eureka.hardware.parts.Status;
interface IBatteryStats {
int getBatteryStats(in BatterySys stats);
void setBatteryWritable(in BatterySys stats, in Status value);
void setBatteryWritable(in BatterySys stats, in boolean value);
}