Commit Graph

117 Commits

Author SHA1 Message Date
Nathan Harold
2e0754c8d0 Merge "Update UsageSetting Cache before comparison in VTS" am: 630637627f am: af9e5f36a9 am: 5227cdb664 am: 8a5ce406f8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1973539

Change-Id: I901713e998da0f12a9aa00b12ad5106a64d7b4a1
2022-02-07 23:02:43 +00:00
Tomasz Wasilczyk
896b7ab730 Expose response methods for services using compat library
Bug: 211819471
Test: it builds
Change-Id: I1fecf05fa8c5c862f18cbc6c974bb9d6a6d39892
2022-02-07 10:13:01 -08:00
Nathan Harold
374bec341f Update UsageSetting Cache before comparison in VTS
The final step of the RadioNewtorkTest#setUsageSetting
is to restore the original value to the modem in case it was
changed. After doing that, the locally cached value in the
VTS layer needs to be updated before comparing it with the
originally queried value to ensure that the modem was
restored to its initial state.

Bug: 211819471
Test: m VtsHalRadioTargetTest
Change-Id: Ibdd584d91b16bb779a0cefa2f45d2704cdcf7288
2022-02-04 14:41:00 -08:00
Sarah Chin
56afc52333 Merge "Make TrafficDescriptor nonnull in DataProfileInfo" am: a2932530f3 am: 5488a5343c am: b0c525caac am: 893ba1f650
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1965507

Change-Id: Ibb0e6fa80eedc585fdee10a70c532175453ce3f8
2022-01-31 22:19:47 +00:00
Sarah Chin
f746a91d93 Final API changes for IRadio
Remove CarrierRestrictions#priority
Move USSD from messaging -> voice
Rename DataProfileInfo#TYPE_THREE_GPP/2 -> TYPE_3GPP2
Remove neighboring CID APIs

Test: atest VtsHalRadioTargetTest
Bug: 199433581
Bug: 216688606
Change-Id: I621d99b8024f92709bcb675b667bcba678eede9b
Merged-In: I621d99b8024f92709bcb675b667bcba678eede9b
2022-01-31 13:29:03 -08:00
Sarah Chin
a2932530f3 Merge "Make TrafficDescriptor nonnull in DataProfileInfo" 2022-01-31 21:22:42 +00:00
Sarah Chin
363bb087bb Make TrafficDescriptor nonnull in DataProfileInfo
Test: build
Bug: 215717256
Change-Id: I02a5d5fbcc0a3ae22431fcc8615ac68d6df7b628
2022-01-31 11:22:38 -08:00
Sarah Chin
609ecb43e8 Merge "Final API changes for IRadio" 2022-01-31 18:25:14 +00:00
Sarah Chin
52de0adbd1 Add all prior VTS tests
Test: atest VtsHalRadioTargetTest
Bug: 210712359
Change-Id: Ib7ace442ee2bf8d203df9899d8e8331b26af74ad
Merged-In: Ib7ace442ee2bf8d203df9899d8e8331b26af74ad
2022-01-28 22:07:24 -08:00
Treehugger Robot
350d762bcc Merge "VTS for UsageSetting" 2022-01-29 05:57:39 +00:00
Sarah Chin
02ab7331ac Merge "Allow null DataProfileInfo for IA APN to clear" 2022-01-29 01:46:13 +00:00
Nathan Harold
ccc496b7bf 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
Merged-In: I26a68d4b6be4810fab9302b58a3be7f65fc82c83
Change-Id: I26a68d4b6be4810fab9302b58a3be7f65fc82c83
(cherry picked from commit 244423c76b)
2022-01-28 17:10:34 -08:00
Sarah Chin
ca421a6c70 Final API changes for IRadio
Remove CarrierRestrictions#priority
Move USSD from messaging -> voice
Rename DataProfileInfo#TYPE_THREE_GPP/2 -> TYPE_3GPP2
Remove neighboring CID APIs

Test: atest VtsHalRadioTargetTest
Bug: 199433581
Bug: 216688606
Change-Id: I621d99b8024f92709bcb675b667bcba678eede9b
2022-01-28 15:56:10 -08:00
Sarah Chin
4ae4e1723f Allow null DataProfileInfo for IA APN to clear
Test: build
Bug: 216357727
Change-Id: If003316192f579a3970ac48eaf50cb714cf757e6
Merged-In: If003316192f579a3970ac48eaf50cb714cf757e6
2022-01-28 15:15:23 -08:00
Treehugger Robot
7b5b7fc97e Merge "Add owners for IRadio VTS" am: 32a10e4c95 am: 7a3b8adb6a am: 5f8c41798a am: 5cc95e1e01
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1964601

Change-Id: I9ef2b793b4f324ace6b5d3825deb3935a67118df
2022-01-28 21:48:30 +00:00
Sarah Chin
19b4005495 Merge "Allow null DataProfileInfo for IA APN to clear" 2022-01-28 21:12:45 +00:00
Treehugger Robot
32a10e4c95 Merge "Add owners for IRadio VTS" 2022-01-28 20:45:36 +00:00
Sarah Chin
1755f21ff2 Add owners for IRadio VTS
Test: build
Bug: 210712359
Change-Id: I9a6cafa49de5f84647de624c69781314ceada7a1
2022-01-28 10:51:59 -08:00
Sarah Chin
fbc5d731ca Allow null DataProfileInfo for IA APN to clear
Test: build
Bug: 216357727
Change-Id: If003316192f579a3970ac48eaf50cb714cf757e6
2022-01-28 10:48:10 -08:00
Sarah Chin
912bdf343c Add all prior VTS tests
Test: atest VtsHalRadioTargetTest
Bug: 210712359
Change-Id: Ib7ace442ee2bf8d203df9899d8e8331b26af74ad
2022-01-28 01:02:46 -08:00
TreeHugger Robot
2513ac7045 Merge "Add ApnType.ENTERPRISE" 2022-01-19 03:24:17 +00:00
Ling Ma
9918ede8ce Add ApnType.ENTERPRISE
Test: build succeed
Bug: 214240937
Change-Id: I718ff225c7fc9b9667f6360ae623e5d8bbf1f03c
2022-01-14 15:08:53 +00:00
Sooraj Sasindran
5ac9829abb Merge "add slicingConfigChanged api" am: 4e9056b70f am: 3011217292 am: fe44256cd3 am: 144ac58630
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1945390

Change-Id: I7dbb30c6e11ebb01d3784e728605283c2aa19f5e
2022-01-14 04:27:54 +00:00
Sooraj Sasindran
d561cc3391 add slicingConfigChanged api
add slicing config changed api to be sent
by modem whenever there is a slice config change

Test: build, vts tracked using bug 214043323
Bug: 194332512
Change-Id: I86e8ab8ac5aa782b099434f1a04ce314631b7f4e
2022-01-13 11:40:54 -08:00
Sarah Chin
fd593414cd Merge changes Ic82ffd2f,I29632003
* changes:
  Finish IRadio 1.6/IRadioConfig 1.3 AIDL VTS
  Convert hidl_bitfield and bitfield to int
2022-01-06 21:52:35 +00:00
Tomasz Wasilczyk
d13a93ef9b Port ID is always 0 for HIDL HAL. am: e807d37229 am: 16827ce18b am: 0597996a93 am: 61834cd237
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1937406

Change-Id: I62fbe841c9e18b8db012aa449361ced66fada0d1
2022-01-06 18:49:17 +00:00
Tomasz Wasilczyk
0f15e74ce0 Fix minor TODOs in HIDL-AIDL translation shim am: 9c922979d2 am: edd5a0b119 am: fe0b32992f am: 2bc3674685
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1937405

Change-Id: I012ed8302b5ef50099f943851cb0da9008ea7d71
2022-01-06 18:49:15 +00:00
Tomasz Wasilczyk
16827ce18b Port ID is always 0 for HIDL HAL. am: e807d37229
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1937406

Change-Id: I1349c5232478512f494360e45d7929fda2af2c27
2022-01-06 18:08:17 +00:00
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