Commit graph

4 commits

Author SHA1 Message Date
Sebastiano Barezzi
543ade588a compat: interfaces: backend: radio: config: Use a macro to declare the libs
Change-Id: I03251612315270d15474b740078ada17e17e522d
2024-05-06 18:05:22 +00:00
Yumi Yukimura
201615cf7c compat: Add android.hardware.radio.c_shim@1.{0..3}
* They're copied from `android.hardware.radio.config@1.{0..3}.so`,
  renamed to `android.hardware.radio.c_shim@1.{0..3}.so`, and
  hexedited hidl interface descriptor to
  `lineage.hardware.radio.config@1.{0..3}::IRadioConfig`
* For making stock RIL service register radio.config service to
  `lineage.hardware.radio.config` interface instead, so that we can
  add a wrapper that registers to `android.hardware.radio.config`
* Example usage on extract-files.sh:
```
        vendor/lib64/libril-qc-hal-qmi.so)
            for v in 1.{0..2}; do
                sed -i "s|android.hardware.radio.config@${v}.so|android.hardware.radio.c_shim@${v}.so|g" "${2}"
            done
            ;;
```

Change-Id: Ie8c48c0164c1787c851d4b3c0ccd334e0d405cd4
2024-03-28 06:12:21 +08:00
R0rt1z2
d549dba0e3 compat: Add GNSS interface type shim
Change-Id: I2c1afc2be03871efb391a65ae775f2f4632a5731
2023-09-25 16:58:58 +00:00
R0rt1z2
844cbbb2d3
compat: Add some HIDL interfaces types shims
* toString is a static function, do some magic to export it to the
  vtable

Change-Id: Iae53ef6e9c02c526218ae8b8de981130473b9f67
2023-07-17 21:53:55 +02:00