Commit graph

1539 commits

Author SHA1 Message Date
Tomasz Wasilczyk
edd5a0b119 Fix minor TODOs in HIDL-AIDL translation shim am: 9c922979d2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1937405

Change-Id: Id1bcea1e483f4bd15ecbe8fbff3ff9c59c874697
2022-01-06 18:08:16 +00:00
Tomasz Wasilczyk
e807d37229 Port ID is always 0 for HIDL HAL.
Bug: 203699028
Test: Build and boot Cuttlefish
Change-Id: Ie948537d63a68e1c9e6c99422b4868e86dee9de9
2022-01-06 03:25:49 +00:00
Tomasz Wasilczyk
9c922979d2 Fix minor TODOs in HIDL-AIDL translation shim
Bug: 203699028
Bug: 210498497
Test: build and boot Cuttlefish
Change-Id: I82dd52f313b5768cfccf0d6a7705b28dfcff24fa
2022-01-06 03:25:37 +00:00
Chen Xu
409b8f7dbf Merge "HAL doc: iccOpenLogicalChannel for MEP-A" am: 93cb928676 am: d0fbd7606f am: 106d4db4f1 am: 170cb308cb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1936878

Change-Id: I70d194e9dfa9b22579f77a512ced61eae5bf06c8
2022-01-05 23:14:08 +00:00
Tomasz Wasilczyk
5960c25ade Merge changes Iac870a24,I74afe105,I7db17475,I1e0cd95f am: bf3f93bbf4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1936783

Change-Id: I269fbedaddd0f36c8725f94d82b16c97b2885cad
2022-01-05 22:34:34 +00:00
Tomasz Wasilczyk
648548660f Set HAL response functions after framework sets all of theirs. am: 963a56f74e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1936782

Change-Id: I0445bfb4e0733d35fe5690bee0ea64c9b04dee0c
2022-01-05 22:34:33 +00:00
Tomasz Wasilczyk
fc09a73a4a Use most recent available HAL methods. am: 571542b4be
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1936781

Change-Id: I9e35b472bf5f584a35101e634700ea709ff85e17
2022-01-05 22:34:33 +00:00
Tomasz Wasilczyk
a1aa491864 Use AIDL callbacks directly. am: 60638572b2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1936780

Change-Id: If51b527d8346b25638fa18573001b4c2910664c4
2022-01-05 22:34:31 +00:00
Chen Xu
d0fbd7606f Merge "HAL doc: iccOpenLogicalChannel for MEP-A" am: 93cb928676
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1936878

Change-Id: I694db8ec7c48862a097287a0cab8f16e85d3dc59
2022-01-05 22:31:56 +00:00
Sarah Chin
91997ac089 Finish IRadio 1.6/IRadioConfig 1.3 AIDL VTS
Implement IRadioConfig VTS and helper methods
Verify that VtsHalRadioTargetTest passes

Bug: 210712359
Test: atest VtsHalRadioTargetTest
Change-Id: Ic82ffd2feacc107e9b291ef3aab861d0c1496489
Merged-In: Ic82ffd2feacc107e9b291ef3aab861d0c1496489
2022-01-05 14:29:35 -08:00
Sarah Chin
c9d3b7b9d6 Convert hidl_bitfield and bitfield to int
The previous API surface replaced bitfields of enums with the enum,
which only allows one value at a time. Instead of using the enum,
replace with int instead.

Test: build
Bug: 210712359
Change-Id: I2963200311494718ae89af8deade0b1dd41354f8
Merged-In: I2963200311494718ae89af8deade0b1dd41354f8
2022-01-05 14:28:57 -08:00
Tomasz Wasilczyk
bf3f93bbf4 Merge changes Iac870a24,I74afe105,I7db17475,I1e0cd95f
* changes:
  Move Radio HAL compat shim logs to radio buffer
  Set HAL response functions after framework sets all of theirs.
  Use most recent available HAL methods.
  Use AIDL callbacks directly.
2022-01-05 22:22:35 +00:00
Chen Xu
93cb928676 Merge "HAL doc: iccOpenLogicalChannel for MEP-A" 2022-01-05 22:14:08 +00:00
Sarah Chin
a371db6531 Merge "VTS for IRadio AIDL" 2022-01-05 21:02:29 +00:00
Tomasz Wasilczyk
6155d5f969 Move Radio HAL compat shim logs to radio buffer
Test: adb logcat -b radio | grep -i radiocompat
Change-Id: Iac870a24d619db8a86ce91029f25c50ef862a268
Merged-In: Iac870a24d619db8a86ce91029f25c50ef862a268
2022-01-05 12:38:46 -08:00
Tomasz Wasilczyk
963a56f74e Set HAL response functions after framework sets all of theirs.
Bug: 207695009
Test: Build with ag/16322062 and a handful of patches from b/207695009,
      try to use telephony stack
Change-Id: I74afe105a22a24efa0c38de20c75beffc58b144f
Merged-In: I74afe105a22a24efa0c38de20c75beffc58b144f
2022-01-05 12:38:39 -08:00
Tomasz Wasilczyk
571542b4be Use most recent available HAL methods.
Bug: 207695009
Test: Build with ag/16322062 and a handful of patches from b/207695009,
      try to use telephony stack
Change-Id: I7db1747550493a634290a968e3f5bbada66f322f
Merged-In: I7db1747550493a634290a968e3f5bbada66f322f
2022-01-05 12:38:30 -08:00
Tomasz Wasilczyk
60638572b2 Use AIDL callbacks directly.
Bug: 210498497
Test: build cuttlefish with ag/16322062, watch logs
Change-Id: I1e0cd95f5f9a911564d14be2d8bbb328572de8c8
Merged-In: I1e0cd95f5f9a911564d14be2d8bbb328572de8c8
2022-01-05 12:38:20 -08:00
Sarah Chin
932926691a Merge changes from topic "usage-setting-hal"
* changes:
  UsageSetting Compat Stubs
  Add UsageSetting to IRadioNetwork
2022-01-05 20:06:19 +00:00
Chen Xu
d85b45fb26 Merge "HAL docuement: clarify iccSlotStatus when sim state absent or error." am: fad941adfd am: c8a9612f2b am: 45ced745b9 am: d72d7300c9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1936877

Change-Id: I58a438efdbd5a5616c3bdc57e930fa335358d410
2022-01-05 19:51:38 +00:00
Chen Xu
4b55679d39 HAL doc: iccOpenLogicalChannel for MEP-A
Bug: 206348634
Test: Build
Change-Id: I6d3bb5adb6d08add642468936abbab90edaed983
2022-01-05 06:34:57 +00:00
Chen Xu
7aca942e8a HAL docuement: clarify iccSlotStatus when sim state absent or error.
Bug: 206348634
Test: Build
Change-Id: Iceb33ea876ce675d286806971c76f704e415edc2
2022-01-04 16:57:55 -08:00
Sarah Chin
c83bce4cc9 Finish IRadio 1.6/IRadioConfig 1.3 AIDL VTS
Implement IRadioConfig VTS and helper methods
Verify that VtsHalRadioTargetTest passes

Bug: 210712359
Test: atest VtsHalRadioTargetTest
Change-Id: Ic82ffd2feacc107e9b291ef3aab861d0c1496489
2022-01-04 21:06:30 +00:00
Sarah Chin
6d8e49a05e Convert hidl_bitfield and bitfield to int
The previous API surface replaced bitfields of enums with the enum,
which only allows one value at a time. Instead of using the enum,
replace with int instead.

Test: build
Bug: 210712359
Change-Id: I2963200311494718ae89af8deade0b1dd41354f8
2022-01-04 11:32:36 -08:00
Sarah Chin
3d7d0d2926 Merge "Add TrafficDescriptor to DataProfileInfo" 2022-01-04 17:27:40 +00:00
Tomasz Wasilczyk
d1d52fac2a Move Radio HAL compat shim logs to radio buffer
Test: adb logcat -b radio | grep -i radiocompat
Change-Id: Iac870a24d619db8a86ce91029f25c50ef862a268
2021-12-29 18:08:30 +00:00
Nathan Harold
5dad8ffb50 UsageSetting Compat Stubs
Bug: 210023167
Test: make android.hardware.radio-library.compat
Merged-In: Iea5e016878f375608a167ad0fdc232fd2e743fa6
Change-Id: Iea5e016878f375608a167ad0fdc232fd2e743fa6
(cherry picked from commit 055c02fcfb)
2021-12-29 09:43:13 -08:00
Nathan Harold
ead01a029d Add UsageSetting to IRadioNetwork
Add usage setting to IRadioNetwork(Response) and the associated
enum.

Expose the cellular usage setting to Android to be able to query and
set the modem to operate in a data-centric mode or a voice-centric
mode.
This facilitates "companion" subscriptions that might be data-only and
allows voice-centric devices to operate in data-centric mode on networks
that do not support voice service.

Bug: 210023167
Test: compilation
Merged-In: I61b559589a51d139374dc52599201b6412d93da5
Change-Id: I61b559589a51d139374dc52599201b6412d93da5
(cherry picked from commit 3e777942d8)
2021-12-29 09:43:02 -08:00
Sarah Chin
02d2df7135 Merge "Add new fields to DataProfile" 2021-12-28 23:06:10 +00:00
Sarah Chin
d2a4119e2a VTS for IRadio AIDL
Test: build
Bug: 1932997
Change-Id: Ia2fa0df840ff26b4e58d9e44567909815fb5edf5
Merged-In: I4ee665519bfd2fc818fb68beee1f158b10e46176
2021-12-23 17:33:03 -08:00
Sarah Chin
e98dd0e943 Add TrafficDescriptor to DataProfileInfo
Test: build
Bug: 208651109
Change-Id: Ic5e5edab9be1087044e1a303735a59a4cef8ee89
Merged-In: Ic5e5edab9be1087044e1a303735a59a4cef8ee89
2021-12-23 17:30:36 -08:00
Sarah Chin
c7b6c928a0 Add new fields to DataProfile
Test: build
Bug: 198822816
Change-Id: I6c756d42616149a2eed0ba705ffaaeb17d7a014f
Merged-In: I6c756d42616149a2eed0ba705ffaaeb17d7a014f
2021-12-23 17:30:09 -08:00
Sarah Chin
3a16f8fe50 Merge "Revert "VTS for IRadio AIDL"" 2021-12-24 01:20:09 +00:00
Sarah Chin
128849dcff Revert "VTS for IRadio AIDL"
This reverts commit 90c6bf5616.

Reason for revert: broken build due to ag/16428798 not merged into AOSP

Change-Id: Id418e4de248968db17f7ddc711c2137d41ffd0d7
2021-12-24 00:26:08 +00:00
Sarah Chin
eec392805b Merge "VTS for IRadio AIDL" 2021-12-23 23:54:42 +00:00
Sarah Chin
90c6bf5616 VTS for IRadio AIDL
Test: build
Bug: 210712359
Change-Id: I4ee665519bfd2fc818fb68beee1f158b10e46176
Merged-In: I4ee665519bfd2fc818fb68beee1f158b10e46176
2021-12-23 14:35:33 -08:00
Treehugger Robot
41ab883603 Merge "Config the number of live modems based on current multisim number." into android12-tests-dev 2021-12-22 23:31:53 +00:00
Nathan Harold
244423c76b VTS for UsageSetting
Add tests to check that usage setting can be
retrived and set as well as ensuring that invalid
values cannot be set.

Bug: 205595503
Test: make VtsHalRadioTargetTest
Change-Id: I26a68d4b6be4810fab9302b58a3be7f65fc82c83
2021-12-22 14:40:34 -08:00
Sarah Chin
fc5603b7ec VTS for IRadio AIDL
Test: build
Bug: 210712359
Change-Id: I4ee665519bfd2fc818fb68beee1f158b10e46176
2021-12-22 14:29:42 -08:00
Tomasz Wasilczyk
8579f1d1cb Set HAL response functions after framework sets all of theirs.
Bug: 207695009
Test: Build with ag/16322062 and a handful of patches from b/207695009,
      try to use telephony stack
Change-Id: I74afe105a22a24efa0c38de20c75beffc58b144f
2021-12-21 00:12:10 +00:00
Tomasz Wasilczyk
31f6fab3cc Use most recent available HAL methods.
Bug: 207695009
Test: Build with ag/16322062 and a handful of patches from b/207695009,
      try to use telephony stack
Change-Id: I7db1747550493a634290a968e3f5bbada66f322f
2021-12-21 00:11:59 +00:00
Tomasz Wasilczyk
6902a75773 Use AIDL callbacks directly.
Bug: 210498497
Test: build cuttlefish with ag/16322062, watch logs
Change-Id: I1e0cd95f5f9a911564d14be2d8bbb328572de8c8
2021-12-21 00:11:44 +00:00
Tomasz Wasilczyk
d2c6d679f4 Merge "Add OWNERS file for AIDL-HIDL compat shim layer" am: ceb3a960ed am: 3d98be7bd3 am: 2271baa693 am: 4ae017c44b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1927638

Change-Id: I60d2ce1ac94f7d137f5733977601476c327e2f90
2021-12-20 23:16:40 +00:00
Tomasz Wasilczyk
0675bafd42 Add OWNERS file for AIDL-HIDL compat shim layer
Bug: 203699028
Test: N/A
Change-Id: I02650c8d1f0af58df7094a7316d65599bf0512f1
2021-12-20 12:33:30 -08:00
Sarah Chin
0595b36095 Merge "Add TrafficDescriptor to DataProfileInfo" 2021-12-16 21:31:57 +00:00
Seongho Kim
41a7f94f87 Cherry pick "Gate gsm/cdma radio feature only for emergency dial" sc-v2-dev
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1908681

Bug: 207920538
Change-Id: I4eb369495d27e697679ecb3d4381f0b3e0cef758
Merged-In: I388bc51e58b5680b5b5c806d88a338822af0c8a7
2021-12-15 22:41:41 +00:00
Shuo Qian
dc58ca4d2a Config the number of live modems based on current multisim number.
Test: atest VtsHalRadioConfigV1_1TargetTest
Bug: 200889748
Change-Id: If2aca6add38b801be011797c1da4c8de32f1bef6
Merged-In: If2aca6add38b801be011797c1da4c8de32f1bef6
(cherry picked from commit 400ce4ff76)
(cherry picked from commit b96b0ec884)
2021-12-14 05:30:40 +00:00
Nathan Harold
d394ed451c Merge changes from topic "usage-setting-hal"
* changes:
  UsageSetting Compat Stubs
  Add UsageSetting to IRadioNetwork
2021-12-14 00:29:04 +00:00
Nathan Harold
055c02fcfb UsageSetting Compat Stubs
Bug: 210023167
Test: make android.hardware.radio-library.compat
Change-Id: Iea5e016878f375608a167ad0fdc232fd2e743fa6
2021-12-13 14:16:01 -08:00
Nathan Harold
3e777942d8 Add UsageSetting to IRadioNetwork
Add usage setting to IRadioNetwork(Response) and the associated
enum.

Expose the cellular usage setting to Android to be able to query and
set the modem to operate in a data-centric mode or a voice-centric
mode.
This facilitates "companion" subscriptions that might be data-only and
allows voice-centric devices to operate in data-centric mode on networks
that do not support voice service.

Bug: 210023167
Test: compilation
Change-Id: I61b559589a51d139374dc52599201b6412d93da5
2021-12-13 14:15:05 -08:00
Seongho Kim
82a892c110 Gate gsm/cdma radio feature only for emergency dial
Test: vts
Bug: 207920538
Signed-off-by: Seongho Kim <sh_tiger.kim@samsung.com>
Change-Id: I388bc51e58b5680b5b5c806d88a338822af0c8a7
Merged-In: I388bc51e58b5680b5b5c806d88a338822af0c8a7
(cherry picked from commit a0b33745b5)
2021-12-13 18:54:31 +00:00
Treehugger Robot
ee18fa3bad Merge "Improve getModemActivityInfo API" am: aa8c59bea2 am: b60680edf3 am: 0331c954fc am: ab61ace977
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1895248

Change-Id: Ie15c0b7648f8414d3ca95d9f52f6e08bf7669dec
2021-12-13 04:46:41 +00:00
Gary Jian
2ea9241a0e Improve getModemActivityInfo API
Add optional fields to allow modem to report activity information
of different technologies

Bug: 202413770
Test: m android.hardware.radio.modem-update-api

Change-Id: I3bb76c030222868ce881487fb17692a476c5f846
2021-12-10 12:16:45 +08:00
Sarah Chin
ba427352e2 Add TrafficDescriptor to DataProfileInfo
Test: build
Bug: 208651109
Change-Id: Ic5e5edab9be1087044e1a303735a59a4cef8ee89
2021-12-09 14:04:24 -08:00
Treehugger Robot
a15bdb9413 Merge changes I670f78af,Ie2dce95b,Ic44227c9,I5770ee41,I82d27049, ...
* changes:
  Implement RadioModem for AIDL-HIDL Telephony HAL translator
  Implement RadioVoice for AIDL-HIDL Telephony HAL translator
  Implement RadioNetwork for AIDL-HIDL Telephony HAL translator
  Implement RadioData for AIDL-HIDL Telephony HAL translator
  Implement RadioSim for AIDL-HIDL Telephony HAL translator
  Implement RadioMessaging for AIDL-HIDL Telephony HAL translator
  Initial implementation of HIDL-AIDL Telephony HAL translator
2021-12-08 20:52:51 +00:00
Seongho Kim
a9e769e7db Gate gsm/cdma radio feature only for emergency dial am: a0b33745b5 am: ae34a9c583 am: 7a8af7d60d am: 6b984f6344
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1908681

Change-Id: I7003b53a6107c465420fc9c204ccc04299f3d9cf
2021-12-07 04:19:58 +00:00
Seongho Kim
a0b33745b5 Gate gsm/cdma radio feature only for emergency dial
Test: vts
Bug: 207920538
Signed-off-by: Seongho Kim <sh_tiger.kim@samsung.com>
Change-Id: I388bc51e58b5680b5b5c806d88a338822af0c8a7
2021-12-07 03:10:52 +00:00
Tomasz Wasilczyk
dcbae487dd Implement RadioModem for AIDL-HIDL Telephony HAL translator
Bug: 203699028
Test: Boot and grep logcat against radiocompat
Change-Id: I670f78af2cd7a0ce0b49dfc802fd363f47d9b6a6
2021-12-02 09:55:33 -08:00
Tomasz Wasilczyk
6e084181d1 Implement RadioVoice for AIDL-HIDL Telephony HAL translator
Bug: 203699028
Test: Boot and grep logcat against radiocompat
Change-Id: Ie2dce95ba1a468c10d92a74bfdca03d2a8d744b0
2021-12-02 09:55:23 -08:00
Tomasz Wasilczyk
70ac7bfb86 Implement RadioNetwork for AIDL-HIDL Telephony HAL translator
Bug: 203699028
Test: Boot and grep logcat against radiocompat
Change-Id: Ic44227c9e2cd38ead97d3f3dda2e028052876568
2021-12-02 09:55:14 -08:00
Tomasz Wasilczyk
0716169065 Implement RadioData for AIDL-HIDL Telephony HAL translator
Bug: 203699028
Test: Boot and grep logcat against radiocompat
Change-Id: I5770ee4125cd9e6f118200ecee889ad785e8929f
2021-12-02 09:55:06 -08:00
Tomasz Wasilczyk
7f51a9ad1e Implement RadioSim for AIDL-HIDL Telephony HAL translator
Bug: 203699028
Test: Boot and grep logcat against radiocompat
Change-Id: I82d27049858e578522b83811a787b259e67d00a4
2021-12-02 09:54:56 -08:00
Tomasz Wasilczyk
9ddc87f6af Implement RadioMessaging for AIDL-HIDL Telephony HAL translator
Bug: 203699028
Test: Boot and grep logcat against radiocompat
Change-Id: I10f0fc0b871fbaf26145c83211770a82af6adc61
2021-12-02 09:54:48 -08:00
Tomasz Wasilczyk
bff3b5b4c3 Initial implementation of HIDL-AIDL Telephony HAL translator
Bug: 203699028
Test: Boot and grep logcat against radiocompat
Change-Id: I182edf3b1fa39b30818e79a68fc586f12b677d19
2021-12-02 09:54:35 -08:00
Sarah Chin
5d29ada486 Merge "Add new fields to DataProfile" 2021-12-02 05:40:42 +00:00
Tomasz Wasilczyk
535f30c8ac Implement RadioModem for AIDL-HIDL Telephony HAL translator
Bug: 203699028
Test: Boot and grep logcat against radiocompat
Change-Id: I670f78af2cd7a0ce0b49dfc802fd363f47d9b6a6
2021-11-23 21:31:42 -08:00
Tomasz Wasilczyk
9375f3a7e4 Implement RadioVoice for AIDL-HIDL Telephony HAL translator
Bug: 203699028
Test: Boot and grep logcat against radiocompat
Change-Id: Ie2dce95ba1a468c10d92a74bfdca03d2a8d744b0
2021-11-23 21:31:42 -08:00
Tomasz Wasilczyk
61213fead4 Implement RadioNetwork for AIDL-HIDL Telephony HAL translator
Bug: 203699028
Test: Boot and grep logcat against radiocompat
Change-Id: Ic44227c9e2cd38ead97d3f3dda2e028052876568
2021-11-23 21:31:41 -08:00
Tomasz Wasilczyk
d2e7459b24 Implement RadioData for AIDL-HIDL Telephony HAL translator
Bug: 203699028
Test: Boot and grep logcat against radiocompat
Change-Id: I5770ee4125cd9e6f118200ecee889ad785e8929f
2021-11-23 21:31:41 -08:00
Tomasz Wasilczyk
fb10e00a4f Implement RadioSim for AIDL-HIDL Telephony HAL translator
Bug: 203699028
Test: Boot and grep logcat against radiocompat
Change-Id: I82d27049858e578522b83811a787b259e67d00a4
2021-11-23 21:31:41 -08:00
Tomasz Wasilczyk
1f16d3a315 Implement RadioMessaging for AIDL-HIDL Telephony HAL translator
Bug: 203699028
Test: Boot and grep logcat against radiocompat
Change-Id: I10f0fc0b871fbaf26145c83211770a82af6adc61
2021-11-23 21:31:41 -08:00
Tomasz Wasilczyk
6301e8fba8 Initial implementation of HIDL-AIDL Telephony HAL translator
Bug: 203699028
Test: Boot and grep logcat against radiocompat
Change-Id: I182edf3b1fa39b30818e79a68fc586f12b677d19
2021-11-23 21:31:35 -08:00
Serik Beketayev
23692c7e20 [IRadioConfig] Removing SimSlotStatus.cardActive
Cleaning this up, since structure was changed for AIDL.

Bug: 205585789
Test: m
Change-Id: Ia59a1f1e3b66cd45f8ad9d1f4c2fb3af5fb09dc0
Merged-In: Ia59a1f1e3b66cd45f8ad9d1f4c2fb3af5fb09dc0
2021-11-19 16:06:12 -08:00
Serik Beketayev
c3e4e2c054 [IRadioConfig] Removing SimSlotStatus.cardActive
Cleaning this up, since structure was changed for AIDL.

Bug: 205585789
Test: m
Change-Id: Ia59a1f1e3b66cd45f8ad9d1f4c2fb3af5fb09dc0
2021-11-17 17:18:29 -08:00
Sarah Chin
1657db8206 Add new fields to DataProfile
Test: build
Bug: 198822816
Change-Id: I6c756d42616149a2eed0ba705ffaaeb17d7a014f
2021-11-17 16:19:39 -08:00
Gary Jian
0955e0154c Add new VoNR api into IRadioVoice module
-isVoNrEnabled
-setVoNrEnabled

Bug: 203162440
Test: make
Change-Id: Iae3e17c8ff5aa25ca0398bd179879c49deca71f5
2021-11-15 16:25:04 +08:00
Sarah Chin
2d1a006ae4 Merge "Remove deprecated/unused APIs from IRadio AIDL" 2021-11-12 23:53:09 +00:00
Treehugger Robot
6c6116a542 Merge "Support multiple RANs in one request for setSignalStrengthReportingCriteria" 2021-11-11 21:58:00 +00:00
Rambo Wang
59de6eb636 Support multiple RANs in one request for setSignalStrengthReportingCriteria
- Move AccessNetwork (RAN) into SignalThresholdInfo to be better organized
- Support specifying multiple RANs and measurement types in one request

Bug: 200055871
Test: m -j
Merged-In: Ic6762e8ca488a119b1103319e7443c4342530f8c
Change-Id: Ic6762e8ca488a119b1103319e7443c4342530f8c
(cherry picked from commit 9073f55722)
2021-11-11 12:43:19 -08:00
Sarah Chin
e5b79b8e30 Remove deprecated/unused APIs from IRadio AIDL
Test: build
Bug: 199433581
Change-Id: I6cc0e2103803f3d56a9ed451645b6d8bab29e507
Merged-In: I6cc0e2103803f3d56a9ed451645b6d8bab29e507
2021-11-11 02:11:47 -08:00
Sarah Chin
1ffcc2f351 Merge "Remove deprecated/unused APIs from IRadio AIDL" 2021-11-11 10:08:50 +00:00
Sarah Chin
1f6aff847a Remove deprecated/unused APIs from IRadio AIDL
Test: build
Bug: 199433581
Change-Id: I6cc0e2103803f3d56a9ed451645b6d8bab29e507
2021-11-10 16:14:11 -08:00
Chen Xu
e5fa861264 Merge "Replacing SimPortInfo.portState enum with portActive flag" am: 4c718b3da6 am: e2b1c7c0c3 am: 9059a92d16 am: 91eb3c269b am: 9a48be209f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1875273

Change-Id: I2bec327f5f5d15a711baf69c88be87421ce51b2e
2021-11-10 21:50:21 +00:00
Chen Xu
4c718b3da6 Merge "Replacing SimPortInfo.portState enum with portActive flag" 2021-11-10 20:34:22 +00:00
Jayachandran C
4b18fff621 Add some delay for SIM power up and down delay for setSimCardPower_1_6 API
Bug: 203031664
Test: VTS
Change-Id: I68e7352ed95a8487dee291de493c78cf1491d569
Merged-In: I68e7352ed95a8487dee291de493c78cf1491d569
2021-11-10 19:46:51 +00:00
Jayachandran C
f59f4c6dcf Add some delay for SIM power up and down delay for setSimCardPower_1_6 API
Bug: 203031664
Test: VTS
Change-Id: I68e7352ed95a8487dee291de493c78cf1491d569
Merged-In: I68e7352ed95a8487dee291de493c78cf1491d569
2021-11-10 19:32:56 +00:00
Jayachandran Chinnakkannu
91164fea59 Merge "Add some delay for SIM power up and down delay for setSimCardPower_1_6 API" am: 5916cc0beb am: 79692ed849 am: 5a725c7f0f am: a85a824d61 am: 71aee51065
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1884528

Change-Id: I21fef46f77b70bf01504075ea8ef06d6b4b09e2e
2021-11-10 18:29:05 +00:00
sandeepjs
34a675a1fd Replacing SimPortInfo.portState enum with portActive flag
Test: build
Bug: 205666689
Change-Id: I81a880f6e4f5646faaeb76b48c746c3cbdb2ce27
2021-11-09 07:57:58 +00:00
Jayachandran C
5c1aa7972f Add some delay for SIM power up and down delay for setSimCardPower_1_6 API
Bug: 203031664
Test: VTS
Change-Id: I68e7352ed95a8487dee291de493c78cf1491d569
2021-11-08 07:52:44 +00:00
Jayachandran Chinnakkannu
7806f5f837 Merge "Do not assert CardState::PRESENT on sim power down" into sc-v2-dev am: 3958c69775 am: f28fa6d29d
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16103432

Change-Id: I403adc49652ccf08b0f4e56f4a9a10598752a92d
2021-10-28 01:37:08 +00:00
Jayachandran Chinnakkannu
f28fa6d29d Merge "Do not assert CardState::PRESENT on sim power down" into sc-v2-dev am: 3958c69775
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16103432

Change-Id: I8b355676363fd44ef3cbd76406189205b06950fc
2021-10-28 01:18:26 +00:00
Jordan Liu
3c3b6410e8 Do not assert CardState::PRESENT on sim power down
Bug: 203031664
Test: manual
Change-Id: I6c9cbad7cd4fd19eb0b77c55ff37298b97f32050
Merged-In: I6c9cbad7cd4fd19eb0b77c55ff37298b97f32050
2021-10-28 00:56:21 +00:00
Jayachandran Chinnakkannu
b311ffdb2a Merge "Do not assert CardState::PRESENT on sim power down" 2021-10-28 00:56:00 +00:00
Jordan Liu
13d864a421 Do not assert CardState::PRESENT on sim power down
Bug: 203031664
Test: manual
Change-Id: I6c9cbad7cd4fd19eb0b77c55ff37298b97f32050
Merged-In: I6c9cbad7cd4fd19eb0b77c55ff37298b97f32050
2021-10-28 00:55:51 +00:00
Jayachandran Chinnakkannu
3958c69775 Merge "Do not assert CardState::PRESENT on sim power down" into sc-v2-dev 2021-10-28 00:54:41 +00:00
Sooraj Sasindran
69dd544797 Merge "NITZ API improvement" am: bb347323d0 am: 4d791aef1b am: 66b9465fc8 am: 1050f3afcc am: 379cc3cb78
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1839798

Change-Id: I33edb19d4b6145f39e1ea43499d98fedfb0f1548
2021-10-27 21:32:35 +00:00
Aaron Tsai
5b5514b12d NITZ API improvement
- change the parameter description of "receivedTime"
 - add a parameter "ageMs" to represent the caching time in RIL and modem

Bug: 195418175
Test: build pass
Change-Id: I0fabbfabc18aa6acc0285527e254290d8291d9c8
2021-10-26 09:45:39 +00:00
Jordan Liu
f7069c658c Do not assert CardState::PRESENT on sim power down
Bug: 203031664
Test: manual
Change-Id: I6c9cbad7cd4fd19eb0b77c55ff37298b97f32050
2021-10-21 20:27:39 +00:00
Yomna Nasser
849d924d6d VTS fix for getAllowedNetworkTypesBitmap and setAllowedNetworkTypesBitmap
Fix VTS for getAllowedNetworkTypesBitmap and
setAllowedNetworkTypesBitmap, which should not rely on
getRadioHalCapabilities.

Bug: b/199809900
Test: atest VtsHalRadioV1_6TargetTest
Change-Id: I0b50e7e6c0d406a62f7a1e2ea8ac9bc3a71d8aeb
Merged-In: I0b50e7e6c0d406a62f7a1e2ea8ac9bc3a71d8aeb
2021-10-21 15:05:11 +00:00
Treehugger Robot
3802da9b0a Merge "VtsHalRadioV1_4Target.setPreferredNetworkTypeBitmap" into android10-tests-dev am: 620eeefa43 am: 7c54196967
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1136701

Change-Id: Ie8ef97de3380d7aa9afb3fba0fb2bb7d068d3cb6
2021-10-20 02:18:56 +00:00
Yomna Nasser
86493c563e VTS fix for getAllowedNetworkTypesBitmap and setAllowedNetworkTypesBitmap
Fix VTS for getAllowedNetworkTypesBitmap and
setAllowedNetworkTypesBitmap, which should not rely on
getRadioHalCapabilities.

Bug: b/199809900
Test: atest VtsHalRadioV1_6TargetTest
Change-Id: I0b50e7e6c0d406a62f7a1e2ea8ac9bc3a71d8aeb
2021-10-19 00:24:22 +00:00
Yomna Nasser
8076e436b0 Merge "VTS fix for getAllowedNetworkTypesBitmap and setAllowedNetworkTypesBitmap" am: b1e7ca32c6 am: 181f064c5b am: 1e9479c3d2 am: e7c197ef10 am: 48098b8140
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1844579

Change-Id: I3c6ad007ed34396d518b4faf3adc6e46abfaa63a
2021-10-16 03:25:10 +00:00
Yomna Nasser
b1e7ca32c6 Merge "VTS fix for getAllowedNetworkTypesBitmap and setAllowedNetworkTypesBitmap" 2021-10-16 02:21:12 +00:00
Treehugger Robot
bb095b935a Merge "Backfill OWNERS for VtsHalRadio*." am: 176144714e am: 77faf3af63 am: edd93aae4d am: ab7358a5ef am: 5c128aba1c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1792995

Change-Id: Id333e2af6d3332a73abe6337b596525ed8899dbb
2021-10-13 00:22:59 +00:00
Treehugger Robot
176144714e Merge "Backfill OWNERS for VtsHalRadio*." 2021-10-12 23:30:58 +00:00
Jack Nudelman
e0f7bd7197 Accept NONE as a response for setDataThrottling during VTS.
Bug: 199809900
Test: b/199809900
Change-Id: I3b71401c28eb2f06c020f549a28ef5970282c855
2021-10-11 14:05:48 -07:00
Jack Nudelman
d2eb4019c4 Accept NONE as a response for setDataThrottling during VTS.
Bug: 199809900
Test: b/199809900
Change-Id: I3b71401c28eb2f06c020f549a28ef5970282c855
(cherry picked from commit a784a1c963)
2021-10-08 21:14:46 +00:00
Shuo Qian
1ea58ef3a4 Merge "Config the number of live modems based on current multisim number." 2021-10-08 18:32:00 +00:00
Shuo Qian
07f1c21f4a Skip slot 2 for other radio modules in single sim mode
Bug: 199986032
Test: atest
Change-Id: Idc115954c8ccb26a6127a80d466f22559be641d2
Merged-In: Idc115954c8ccb26a6127a80d466f22559be641d2
(cherry picked from commit c6a7143b1d)
2021-10-08 16:26:21 +00:00
Shuo Qian
b96b0ec884 Config the number of live modems based on current multisim number.
Test: atest VtsHalRadioConfigV1_1TargetTest
Bug: 200889748
Change-Id: If2aca6add38b801be011797c1da4c8de32f1bef6
Merged-In: If2aca6add38b801be011797c1da4c8de32f1bef6
(cherry picked from commit 400ce4ff76)
2021-10-08 16:25:26 +00:00
Xin Li
59772dd098 Merge "Merge Android 12" 2021-10-07 23:49:53 +00:00
Sandeep Jawalkar
0e19d16d29 Merge "[Android T][MEP]: HAL changes for MEP feature" am: d45fd704fe am: 7ab5066b55 am: 8dd67c7184 am: c09b62b380 am: 1cef1a3aee
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1839796

Change-Id: I804c3a9226885af7f8fbdb270cbc4979f1466d57
2021-10-07 17:46:08 +00:00
Sandeep Jawalkar
c09b62b380 Merge "[Android T][MEP]: HAL changes for MEP feature" am: d45fd704fe am: 7ab5066b55 am: 8dd67c7184
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1839796

Change-Id: Id2466cfa4b9a5a76b79e9f1812f5a0a80abbe4b9
2021-10-07 17:20:34 +00:00
Sandeep Jawalkar
8dd67c7184 Merge "[Android T][MEP]: HAL changes for MEP feature" am: d45fd704fe am: 7ab5066b55
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1839796

Change-Id: I4e072734ed53c886dbdce260b8828f97128bd004
2021-10-07 17:06:21 +00:00
Sandeep Jawalkar
7ab5066b55 Merge "[Android T][MEP]: HAL changes for MEP feature" am: d45fd704fe
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1839796

Change-Id: I82d5dd278ec07ad4a934107ec0c9d5681a63f784
2021-10-07 16:50:01 +00:00
Sandeep Jawalkar
d45fd704fe Merge "[Android T][MEP]: HAL changes for MEP feature" 2021-10-07 16:38:43 +00:00
Yiming Pan
d0717e1fd4 Backfill OWNERS for VtsHalRadio*.
Owner information is backfilled for the following modules:
VtsHalRadioV1_0TargetTest
VtsHalRadioV1_1TargetTest
VtsHalRadioV1_2TargetTest
VtsHalRadioV1_3TargetTest
VtsHalRadioV1_4TargetTest
VtsHalRadioV1_5TargetTest
VtsHalRadioConfigV1_1TargetTest
VtsHalRadioConfigV1_2TargetTest

Test: Tree Hugger
Bug: 143903671
Change-Id: I1e5e293a303ee554bde054ade9c8419fd0800b0d
2021-10-05 22:27:55 +00:00
sandeepjs
e4bee9de18 [Android T][MEP]: HAL changes for MEP feature
Test: build
Bug: 199559065
Change-Id: I533c73bed0235fe58a583f04ca66d4bc9e08ced0
2021-10-05 02:57:17 +00:00
Yomna Nasser
20aa01c238 VTS fix for getAllowedNetworkTypesBitmap and setAllowedNetworkTypesBitmap
Fix VTS for getAllowedNetworkTypesBitmap and
setAllowedNetworkTypesBitmap, which should not rely on
getRadioHalCapabilities.

Bug: b/199809900
Test: atest VtsHalRadioV1_6TargetTest
Change-Id: I0b50e7e6c0d406a62f7a1e2ea8ac9bc3a71d8aeb
2021-10-04 21:55:12 +00:00
Treehugger Robot
5e000b8ac8 Merge "Accept NONE as a response for setDataThrottling during VTS." am: 83398c025f am: bfeb55a6f4 am: fe628882bc am: 11312c1620 am: 7fab484bfc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1839433

Change-Id: If52c1e4f86c9168aa58f35ccfe19d333ea53eebf
2021-10-04 18:51:50 +00:00
Treehugger Robot
11312c1620 Merge "Accept NONE as a response for setDataThrottling during VTS." am: 83398c025f am: bfeb55a6f4 am: fe628882bc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1839433

Change-Id: I4f8a7eba5465ac3314880a636f9223f01a22c3a8
2021-10-04 18:20:14 +00:00
Treehugger Robot
fe628882bc Merge "Accept NONE as a response for setDataThrottling during VTS." am: 83398c025f am: bfeb55a6f4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1839433

Change-Id: Ifcbce13cfff2749d2389bf57ae9c8b50b95f9b57
2021-10-04 18:04:09 +00:00
Treehugger Robot
bfeb55a6f4 Merge "Accept NONE as a response for setDataThrottling during VTS." am: 83398c025f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1839433

Change-Id: Ia202c31172b3858a641759999d581c0213a89c1a
2021-10-04 17:48:09 +00:00
Shuo Qian
85d1fd2c81 Skip slot 2 for other radio modules in single sim mode am: c6a7143b1d am: c8bf2210fa am: 12464cc3b8
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15953283

Change-Id: Id11e0b24d5804b7572eda3968a4cdae3941feca0
2021-10-01 18:06:33 +00:00
Shuo Qian
8b19b18fc5 Skip slot 2 for other radio modules in single sim mode am: c6a7143b1d am: c8bf2210fa am: b1ef775f42
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15953283

Change-Id: Ia266fdac61fa8acf884306409d1098032abf30e4
2021-10-01 18:06:02 +00:00
Shuo Qian
64ad328378 Skip slot 2 for other radio modules in single sim mode am: c6a7143b1d am: c8bf2210fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15953283

Change-Id: I9f797546b818cbbf0d22d26ccd2d9b75f0737edb
2021-10-01 17:58:03 +00:00
Shuo Qian
12464cc3b8 Skip slot 2 for other radio modules in single sim mode am: c6a7143b1d am: c8bf2210fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15953283

Change-Id: Ie8db8be80562aa93319e65f85b2048a82caefd48
2021-10-01 17:57:06 +00:00
Shuo Qian
c6a7143b1d Skip slot 2 for other radio modules in single sim mode
Bug: 199986032
Test: atest
Change-Id: Idc115954c8ccb26a6127a80d466f22559be641d2
2021-10-01 00:22:55 +00:00
Rambo Wang
f533a4cf0a Merge "Support multiple RANs in one request for setSignalStrengthReportingCriteria" 2021-09-28 23:05:09 +00:00
Jack Nudelman
a784a1c963 Accept NONE as a response for setDataThrottling during VTS.
Bug: 199809900
Test: b/199809900
Change-Id: I3b71401c28eb2f06c020f549a28ef5970282c855
2021-09-28 14:22:20 -07:00
Shuo Qian
4136d05ffe Config the number of live modems based on current multisim number. am: 400ce4ff76
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15924337

Change-Id: I626a1c2f8451feeab95b1b651787a7c72549e425
2021-09-28 17:53:51 +00:00
Rambo Wang
9073f55722 Support multiple RANs in one request for setSignalStrengthReportingCriteria
- Move AccessNetwork (RAN) into SignalThresholdInfo to be better organized
- Support specifying multiple RANs and measurement types in one request

Bug: 200055871
Test: m -j
Change-Id: Ic6762e8ca488a119b1103319e7443c4342530f8c
2021-09-27 17:59:40 -07:00
Shuo Qian
400ce4ff76 Config the number of live modems based on current multisim number.
Test: atest VtsHalRadioConfigV1_1TargetTest
Bug: 200889748
Change-Id: If2aca6add38b801be011797c1da4c8de32f1bef6
2021-09-27 19:27:39 +00:00
Sarah Chin
a41b0d590f Merge "Move IRadioConfig into IRadio" am: 8a6c970904
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1836255

Change-Id: I7f70cdcc60f51513906111826f5d55ec70064e8e
2021-09-27 17:28:04 +00:00
Sarah Chin
719715821d Move IRadioConfig into IRadio
Test: build
Bug: 198331451
Change-Id: I884aab7c6d76ef9610e3d239e9fbfe9e6568bfff
2021-09-23 23:18:15 -07:00
Aaron Tsai
121ff3c5ef Sending SMS via 1.6 APIs in VTS 1.6
Bug: 195097899
Test: atest VtsHalRadioV1_6TargetTest -- --test-arg com.android.tradefed.testtype.GTest:native-test-flag:"--gtest_filter=*send*/0_slot1"

Ignore-AOSP-First: cherry-pick from AOSP
Change-Id: I19ead8a4e1ab2f1e4ddb3f55edacd4b51990f9cd
Merged-In: I19ead8a4e1ab2f1e4ddb3f55edacd4b51990f9cd
2021-09-23 04:12:54 +00:00
Sarah Chin
bca4e6c104 Create IRadio modules
Test: build
Bug: 198331451
Change-Id: I6721498d5a0f535fa2fdfac7485765c740e82682
Merged-In: I6721498d5a0f535fa2fdfac7485765c740e82682
2021-09-23 03:54:28 +00:00
Sarah Chin
bd8e476148 Create IRadio modules
Test: build
Bug: 198331451
Change-Id: I6721498d5a0f535fa2fdfac7485765c740e82682
2021-09-22 12:57:43 -07:00
Serik Beketayev
92152ac1a1 [IRadioConfig] Generating AIDL definitions
Generated IRadioConfig.aidl and dependencies using tool
hidl2aidl.

Bug: 198331805
Test: m android.hardware.radio.config
Change-Id: I231f9b2eff50e7a0558dd79e85613b626c7cfb52
Merged-In: I231f9b2eff50e7a0558dd79e85613b626c7cfb52
2021-09-21 04:52:30 +00:00
Serik Beketayev
c2117d0c68 [IRadioConfig] Generating AIDL definitions
Generated IRadioConfig.aidl and dependencies using tool
hidl2aidl.

Bug: 198331805
Test: m android.hardware.radio.config
Change-Id: I231f9b2eff50e7a0558dd79e85613b626c7cfb52
Merged-In: I231f9b2eff50e7a0558dd79e85613b626c7cfb52
2021-09-20 17:32:19 -07:00
Shuo Qian
f110703384 Skip Slot 2 in Radio VTS 1.0 in single sim mode am: 5ecd476e5a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1831913

Change-Id: I7732da84bed2043922f4464c4b2c3bd7de10d44e
2021-09-20 22:47:08 +00:00
Sooraj Sasindran
9a7de0696a Allow not supported for setNrDualConenctivity
Allow not supported for setNrDualConenctivity

Bug: 193101785
Test: verified on 4G only device
Merged-In: I7c7e926819d305d210da988503716eb5d3c2e333
Change-Id: I7c7e926819d305d210da988503716eb5d3c2e333
2021-09-20 17:58:14 +00:00
Shuo Qian
5ecd476e5a Skip Slot 2 in Radio VTS 1.0 in single sim mode
Test: atest VtsHalRadioV1_0TargetTest
Bug: 199986032
Change-Id: If296df349aa7f87932f5bb24896f0a3fdd347f5d
Merged-In: If296df349aa7f87932f5bb24896f0a3fdd347f5d
(cherry picked from commit 6a56b7fa87)
2021-09-20 17:58:10 +00:00
Shuo Qian
6a56b7fa87 Skip Slot 2 in Radio VTS 1.0 in single sim mode
Test: atest VtsHalRadioV1_0TargetTest
Bug: 199986032
Change-Id: If296df349aa7f87932f5bb24896f0a3fdd347f5d
2021-09-17 23:53:21 +00:00
Bob Badour
e180b3db5c [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces am: b8995451aa
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1826012

Change-Id: I010e5711d6ab29aadb262799de8f04df08145453
2021-09-14 19:28:50 +00:00
Treehugger Robot
aba41870f2 Merge "Allow not supported for setNrDualConenctivity" am: de1aba4e76
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1824213

Change-Id: I13735fe37dbf32ed734a60102926f83e57ce8634
2021-09-14 00:53:59 +00:00
Bob Badour
b8995451aa [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  bluetooth/1.0/default/test/fuzzer/Android.bp
  keymaster/4.0/support/fuzzer/Android.bp
  radio/aidl/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: Id9c8b253a2402a07637f96281bcdaffbf3afc3c3
2021-09-13 17:50:14 -07:00
Treehugger Robot
de1aba4e76 Merge "Allow not supported for setNrDualConenctivity" 2021-09-14 00:33:23 +00:00
Treehugger Robot
4d36e553a3 Merge "Sending SMS via 1.6 APIs in VTS 1.6" am: eb133de2e1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1784600

Change-Id: Ic019f11dec79bbffb17ac8b9bd5593b096cadd9a
2021-09-13 23:23:52 +00:00
Treehugger Robot
eb133de2e1 Merge "Sending SMS via 1.6 APIs in VTS 1.6" 2021-09-13 23:13:02 +00:00