mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 20:45:31 -04:00
universal7885: Import radio hals
* Build them from source * Drop prebuilts on vendor tree
This commit is contained in:
parent
0282f1e3a9
commit
d97d8b7bfe
15 changed files with 455 additions and 7 deletions
18
universal7885-common/hidl/radio/2.1/Android.bp
Normal file
18
universal7885-common/hidl/radio/2.1/Android.bp
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
// This file is autogenerated by hidl-gen -Landroidbp.
|
||||
|
||||
hidl_interface {
|
||||
name: "vendor.samsung.hardware.radio@2.1",
|
||||
root: "vendor.samsung.hardware",
|
||||
srcs: [
|
||||
"ISehRadio.hal",
|
||||
"ISehRadioIndication.hal",
|
||||
"ISehRadioResponse.hal",
|
||||
"types.hal"
|
||||
],
|
||||
interfaces: [
|
||||
"android.hardware.radio@1.0",
|
||||
"android.hidl.base@1.0",
|
||||
"vendor.samsung.hardware.radio@2.0",
|
||||
],
|
||||
gen_java: true,
|
||||
}
|
||||
9
universal7885-common/hidl/radio/2.1/ISehRadio.hal
Normal file
9
universal7885-common/hidl/radio/2.1/ISehRadio.hal
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
package vendor.samsung.hardware.radio@2.1;
|
||||
|
||||
import vendor.samsung.hardware.radio@2.0::ISehRadio;
|
||||
|
||||
interface ISehRadio extends @2.0::ISehRadio {
|
||||
oneway setNrMode(int32_t serial, int32_t mode);
|
||||
oneway getNrMode(int32_t serial);
|
||||
oneway getNrIconType(int32_t serial);
|
||||
};
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
package vendor.samsung.hardware.radio@2.1;
|
||||
|
||||
import @2.0::ISehRadioIndication;
|
||||
|
||||
interface ISehRadioIndication extends @2.0::ISehRadioIndication {};
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
package vendor.samsung.hardware.radio@2.1;
|
||||
|
||||
import @2.0::ISehRadioResponse;
|
||||
|
||||
interface ISehRadioResponse extends @2.0::ISehRadioResponse {};
|
||||
9
universal7885-common/hidl/radio/2.1/types.hal
Normal file
9
universal7885-common/hidl/radio/2.1/types.hal
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
package vendor.samsung.hardware.radio@2.1;
|
||||
|
||||
import @2.0::SehCardStatus;
|
||||
|
||||
struct SehCardStatus {
|
||||
@2.0::SehCardStatus base;
|
||||
string eid;
|
||||
};
|
||||
|
||||
Loading…
Reference in a new issue