Commit graph

1027 commits

Author SHA1 Message Date
Daniel Bright
ea8d801f54 Add Handover Failure Mode to Radio Hal
On a handover request failure, the modem can now determine
whether or not to fallback.  There is also the option to revert
to the legacy logic.  Following the legacy logic is the default
behavior.

Test: FrameworkTelephonyTests
Bug: 161572465
Change-Id: Iad778e83ffc264ee25f57f54ff58532d6a8c5cbf
2020-09-23 13:15:39 -07:00
Shuo Qian
7bceb8da04 Merge "Check emergency dialing result in DSDS or TSTS only if slot is in service or emergency only." into rvc-qpr-dev am: e48f759713 am: eefc950629
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12411657

Change-Id: I98923d5773a6312266327e629886e6e3b4a6ccb7
2020-08-26 17:19:05 +00:00
Shuo Qian
eefc950629 Merge "Check emergency dialing result in DSDS or TSTS only if slot is in service or emergency only." into rvc-qpr-dev am: e48f759713
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12411657

Change-Id: I1d26d4fa94aaaa25b8951ab5d00bdc2e708ad11b
2020-08-26 17:05:50 +00:00
Jayachandran Chinnakkannu
a6db29df2f Merge "Add indication APIs to expose QOS from LTE and NR bearers" am: 0ba3a5e2e5 am: adb91855aa am: 6858cab8e9 am: 74c6dcd8c5 am: b56710c097
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1368896

Change-Id: I95558d8fe5db08b6717c53aac7ea09dafddaf6ca
2020-08-26 02:52:47 +00:00
Jayachandran Chinnakkannu
6858cab8e9 Merge "Add indication APIs to expose QOS from LTE and NR bearers" am: 0ba3a5e2e5 am: adb91855aa
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1368896

Change-Id: I6197583f041cd51a9947e5a687182247173f2a04
2020-08-26 00:33:27 +00:00
Shuo Qian
9eea6d5a73 Check emergency dialing result in DSDS or TSTS only if slot is in service or emergency only.
Test: vts
Bug: 156525817
Change-Id: Ic4c735e6d920fc3df28eda7bc3f0b958782bf42d
2020-08-21 22:19:08 +00:00
Jayachandran Chinnakkannu
0ba3a5e2e5 Merge "Add indication APIs to expose QOS from LTE and NR bearers" 2020-08-17 22:02:52 +00:00
Jayachandran C
9bc276b2c3 Add indication APIs to expose QOS from LTE and NR bearers
Add indication APIs to expose Quality Of Service (QOS) information
from LTE and NR default as well as dedicated bearers. The QOS is
added to the existing SetupDataCallResult structure so that the
baseband can notify whenever there is a change in QoS on a PDN.

The baseband vendor shall notify the {@link Qos} of the default
bearer at the time of setup data call success. The dedicated bearer
QOS shall be notified whenever network establishes or modfies a
dedicated bearer using dataCallListChanged() API. When network tears
down the dedicated bearer, vendor shall update the same with a empty
{@link QosSession} for the particular data call.

Bug: 158315614
Test: make, VTS
Change-Id: I58cd3fd2cf354de8916aeed1292cd7071e79e184
2020-08-14 14:58:20 -07:00
Howard Chen
63d15026a0 Merge "Move HIDL interfaces not included in mainline_system.mk to system_ext" am: 3fec2daf23 am: 4a4e0595b5 am: 53ebabb8ae am: 37bc606245 am: fa11086f8b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1371698

Change-Id: I64379b54be64fbe0dd0529ffa51fff3e160dde03
2020-08-04 04:21:52 +00:00
Howard Chen
53ebabb8ae Merge "Move HIDL interfaces not included in mainline_system.mk to system_ext" am: 3fec2daf23 am: 4a4e0595b5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1371698

Change-Id: I8ecf926c8756827bb351668b237add81d6db5a08
2020-08-04 03:07:52 +00:00
Howard Chen
3fec2daf23 Merge "Move HIDL interfaces not included in mainline_system.mk to system_ext" 2020-08-04 02:26:11 +00:00
Howard Chen
a831d6495a Move HIDL interfaces not included in mainline_system.mk to system_ext
Test: aosp_wembley-userdebug
Bug: 161688072
Change-Id: If5f9419697bbd89d35dcd0220b1a80355835a3d1
2020-08-01 16:12:29 +08:00
Sarah Chin
44fde6386b Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for
reference

Test: build
Bug: 161896447
Change-Id: I3c0d02e1ee94c575c3a18291d438b464d7396463
Merged-In: I3c0d02e1ee94c575c3a18291d438b464d7396463
2020-07-30 21:24:53 +00:00
Sarah Chin
e442f7f4a7 Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for
reference

Test: build
Bug: 161896447
Change-Id: I3c0d02e1ee94c575c3a18291d438b464d7396463
Merged-In: I3c0d02e1ee94c575c3a18291d438b464d7396463
2020-07-30 18:51:17 +00:00
Sarah Chin
5352926251 Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for
reference

Test: build
Bug: 161896447
Change-Id: I3c0d02e1ee94c575c3a18291d438b464d7396463
2020-07-29 21:20:24 -07:00
Dan Shi
9eaab747fe Suppress gtest error for tests without any instance am: ba4d532fee am: 73122cd284 am: e5c9b5e722 am: 1a52c0eb25 am: 1a3e0f86eb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1374050

Change-Id: I6ddea2dcb636e3ba67ad11d53b9fe12c51314c7a
2020-07-29 06:36:31 +00:00
Dan Shi
e5c9b5e722 Suppress gtest error for tests without any instance am: ba4d532fee am: 73122cd284
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1374050

Change-Id: Ie5e956d4613f5e947c36ba4f1048f0c3aa8944ba
2020-07-29 05:45:58 +00:00
Dan Shi
ba4d532fee Suppress gtest error for tests without any instance
Bug: 162052785
Test: m -j vts
Change-Id: I8c1a48e6fbd7c8161137902b5332911fa0d7b8b3
2020-07-28 15:12:32 -07:00
Jayachandran Chinnakkannu
57a7b5d484 Merge "Create IRadio 1.6 folder, empty files and VTS framework" am: ea1a77442f am: c7bcb04a04 am: 63b0e0e7d7 am: a8b5bf1f37 am: e717aac795
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1371046

Change-Id: I885c98b60ccd7e0bfef1e9be883604701a02862b
2020-07-24 02:42:54 +00:00
Jayachandran Chinnakkannu
63b0e0e7d7 Merge "Create IRadio 1.6 folder, empty files and VTS framework" am: ea1a77442f am: c7bcb04a04
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1371046

Change-Id: I7c49b37150701134d851732d410af40695adc7bd
2020-07-24 01:55:47 +00:00
Jayachandran Chinnakkannu
ea1a77442f Merge "Create IRadio 1.6 folder, empty files and VTS framework" 2020-07-24 01:31:34 +00:00
Jayachandran C
262b606c1b Create IRadio 1.6 folder, empty files and VTS framework
Bug: 158315614
Test: build
Change-Id: I5d7f7205933ea1b0e4bd70fa6ae006dacb67954f
2020-07-23 11:10:16 -07:00
Sarah Chin
96f358efda Update VTS tests to use GeranBands P900 and 850 instead
Also call stopNetworkScan to prevent DEVICE_IN_USE error

Test: run vts VtsHalRadioV1_4Target, VtsHalRadioV1_5Target
Bug: 159582104
Change-Id: If27cb00fe9eb5cf3ce2e73107ed6463c1ebb7cfd
Merged-In: If27cb00fe9eb5cf3ce2e73107ed6463c1ebb7cfd
2020-07-22 16:00:42 -07:00
Shuo Qian
32a90a06f4 Merge "Change range of SS-RSRQ per 3gpp" 2020-07-15 17:43:24 +00:00
Shuo Qian
a639d459a8 Merge "Change range of SS-RSRQ per 3gpp" 2020-07-15 17:43:09 +00:00
sqian
b09dd7ab44 Change range of SS-RSRQ per 3gpp
Bug: 159761054
Test: VTS
Merged-In: I377ef00015876b706ffeb20d9255c1b1ebf66c15
(cherry picked from commit cd3fd87d47)
Change-Id: I7f9526e7073188c1a4c553da9c38d7892c55078d
2020-07-15 00:46:43 +00:00
Shuo Qian
f4f6ef3a75 Change range of SS-RSRQ per 3gpp
Bug: 159761054
Test: VTS
Merged-In: I377ef00015876b706ffeb20d9255c1b1ebf66c15
(cherry picked from commit 074d9041e0)
Change-Id: I1b1335ecffde2d625cb099d7631e9115f6582b6c
2020-07-15 00:41:53 +00:00
Shuo Qian
cd3fd87d47 Change range of SS-RSRQ per 3gpp
Bug: 159761054
Test: VTS
Change-Id: I377ef00015876b706ffeb20d9255c1b1ebf66c15
2020-07-13 13:52:22 -07:00
Shuo Qian
25db0b9353 Change range of SS-RSRQ per 3gpp am: 074d9041e0 am: 4ddea05849
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12109456

Change-Id: I71e148bf3937edd4bee17b6aecce9e9c28aabad3
2020-07-09 22:57:22 +00:00
Shuo Qian
f884fadddd Change range of SS-RSRQ per 3gpp am: 074d9041e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12109456

Change-Id: Ia206b023cd4c36467bd9c154d936c1899440f175
2020-07-09 22:45:42 +00:00
Shuo Qian
074d9041e0 Change range of SS-RSRQ per 3gpp
Bug: 159761054
Test: VTS
Change-Id: I377ef00015876b706ffeb20d9255c1b1ebf66c15
2020-07-08 17:56:49 +00:00
Jooyung Han
d610435ac4 update hidl .bp
HIDL libs are not necessarily part of VNDK now. Because some are
used by VNDK libs, they are still VNDK. But rest are now just
vendor-available.

.hidl_for_test files are also removed because they are used to exclude
test-purpose hidl libs from VNDK libs.

Instead, .hidl_for_system_ext files are added to tests/lazy to
distinguish them from others which are installed /system.

Bug: 143933769
Test: update-makefiles.sh && m com.android.vndk.current
Merged-In: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
Change-Id: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
(cherry picked from commit b0907a6bb8)
2020-07-07 16:22:36 +09:00
Jooyung Han
d18cba85fe update hidl .bp
HIDL libs are not necessarily part of VNDK now. Because some are
used by VNDK libs, they are still VNDK. But rest are now just
vendor-available.

.hidl_for_test files are also removed because they are used to exclude
test-purpose hidl libs from VNDK libs.

Instead, .hidl_for_system_ext files are added to tests/lazy to
distinguish them from others which are installed /system.

Bug: 143933769
Test: update-makefiles.sh && m com.android.vndk.current
Merged-In: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
Change-Id: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
(cherry picked from commit b0907a6bb8)
2020-07-02 12:26:37 +09:00
TreeHugger Robot
dabaad71f7 Merge "Update VTS tests to use GeranBands P900 and 850 instead" into rvc-dev 2020-06-29 21:00:53 +00:00
Sarah Chin
5836f407aa Update VTS tests to use GeranBands P900 and 850 instead
Also call stopNetworkScan to prevent DEVICE_IN_USE error

Test: run vts VtsHalRadioV1_4Target, VtsHalRadioV1_5Target
Bug: 159582104
Change-Id: If27cb00fe9eb5cf3ce2e73107ed6463c1ebb7cfd
2020-06-29 11:58:00 -07:00
Jordan Liu
efab6b568f Override gtest timeout and add logging
Note that this just increases the gtest time to match our
highest wait times. Each test still has wait times fitted for the
expected length of that test.

Bug: 159289514
Test: atest VtsHalRadioV1_0TargetTest
Change-Id: I0825305258bae20ea6e13e9b9a65ce30b7153611
Merged-In: I0825305258bae20ea6e13e9b9a65ce30b7153611
2020-06-29 11:43:00 -07:00
TreeHugger Robot
00f17b9616 Merge "Override gtest timeout and add logging" into rvc-dev 2020-06-26 23:52:06 +00:00
Jordan Liu
fffbdfa1eb Override gtest timeout and add logging
Note that this just increases the gtest time to match our
highest wait times. Each test still has wait times fitted for the
expected length of that test.

Bug: 159289514
Test: atest VtsHalRadioV1_0TargetTest
Change-Id: I0825305258bae20ea6e13e9b9a65ce30b7153611
2020-06-26 22:51:58 +00:00
Nathan Harold
25d2378734 Allow Unsupported BarringInfo in RVC for Radio 1.5
Allow devices launching with IRadio 1.5 this year to
not support BarringInfo.

Bug: 159582898
Test: atest VtsHalRadioV1_5TargetTest -- -t getBarringInfo
Change-Id: I05b749fa3cfb3648148fd2666d7eb6f43f3c45d2
2020-06-24 15:23:39 -07:00
Sarah Chin
27c9426eb1 Merge "Fix the failed case for the VtsHalRadioV1_5TargetTest.PerInstance/RadioHidlTest_v1_5#sendCdmaSmsExpectMore/0_slot1" into rvc-dev 2020-06-17 02:04:22 +00:00
yan.cao
62ffe870a2 Fix the failed case for the VtsHalRadioV1_5TargetTest.PerInstance/RadioHidlTest_v1_5#sendCdmaSmsExpectMore/0_slot1
Sendcdmasexpectmoreresponse to the request sendcdmasexpectmore
did not accept the return parameter responseinfo, which caused
the VTS system to wait for a response until it exceeded 60 seconds,
and the VTS determined No test results.
so we can add parameters to receive the parameters of
sendcdmasexpectmoreresponse,and then make subsequent judgment.

Bug: 158542706
Test: run vts -m VtsHalRadioV1_5TargetTest
Change-Id: I1d6214f58850d707520b80634cb93d0e0cc712bb
Merged-In: I1d6214f58850d707520b80634cb93d0e0cc712bb
2020-06-16 15:14:11 -07:00
Treehugger Robot
6d4d3a20da Merge "Fix the failed case for the VtsHalRadioV1_5TargetTest.PerInstance/RadioHidlTest_v1_5# sendCdmaSmsExpectMore/0_slot1" 2020-06-16 22:13:04 +00:00
Jordan Liu
9ed871fc20 Fix bad merge of aosp/1220298
Bug: 158872011
Test: atest
Change-Id: Ife92d607df5442febab86ed61c3edc24d904b36b
2020-06-12 14:43:22 -07:00
yan.cao
268ddbf5a2 Fix the failed case for the
VtsHalRadioV1_5TargetTest.PerInstance/RadioHidlTest_v1_5#
sendCdmaSmsExpectMore/0_slot1

Sendcdmasexpectmoreresponse to the request sendcdmasexpectmore
did not accept the return parameter responseinfo, which caused
the VTS system to wait for a response until it exceeded 60 seconds,
and the VTS determined No test results.
so we can add parameters to receive the parameters of
sendcdmasexpectmoreresponse,and then make subsequent judgment.

Bug: 158542706
Test: run vts -m VtsHalRadioV1_5TargetTest
Change-Id: I1d6214f58850d707520b80634cb93d0e0cc712bb
2020-06-09 18:12:46 +08:00
Dan Shi
b2dd35aaf2 Disable framework for some VTS tests
The test doesn't need framework. It seems that the test can be flaky
when framework was stop/started earlier.

Bug: 154445273
Test: atest -a VtsHalBluetoothV1_0TargetTest \
  VtsHalSapV1_0TargetTest \
  VtsHalAudioV4_0TargetTest

Change-Id: I60f62923cfb826c5e33e9885ea08efdbe4c8f57e
2020-05-29 15:40:38 -07:00
Shuo Qian
41084e7ef4 Merge "Skip voice call VTS for devices that don't support voice call with new Util" 2020-05-16 02:52:07 +00:00
Shuo Qian
f2ed9ffcb9 Skip voice call VTS for devices that don't support voice call with new Util
Bug: 154867827
Test: VtsHalRadio1_4Target
Change-Id: I888d4d4ffbff5d24bfe2b9b3cb878eb5f1e1762f
Merged-In: I888d4d4ffbff5d24bfe2b9b3cb878eb5f1e1762f
(cherry picked from commit 4e866a3020)
2020-05-16 01:29:07 +00:00
Shuo Qian
4e866a3020 Skip voice call VTS for devices that don't support voice call with new Util
Bug: 154867827
Test: VtsHalRadio1_4Target
Change-Id: I888d4d4ffbff5d24bfe2b9b3cb878eb5f1e1762f
2020-05-13 01:30:01 +00:00
Steven Moreland
0b4b27183c Radio tests: root before multi-sim preparation.
These tests assumed that they were rooted before running, and due to
a combination of b/152655658 and b/154638140, these appeared to work
when a device already happened to be rooted and the test failures showed
up as problems with the test rather than as problems with the target
preparer.

This is the same workaround being used elsewhere.

Fixes: 154445273 # specifically about VtsHalSapV1_0TargetTest
Test: atest VtsHalSapV1_0TargetTest # passes 100%

The following tests, I confirm MultiSimTargetPreparer works, although my
test device has no SIM so I cannot get fully useful results.
Test: atest VtsHalRadioV1_0TargetTest # slot2 cases can now pass
Test: atest VtsHalRadioV1_1TargetTest # slot2 cases can now pass
Test: atest VtsHalRadioV1_2TargetTest # slot2 cases can now pass
Test: atest VtsHalRadioV1_3TargetTest # fully passes
Test: atest VtsHalRadioV1_4TargetTest # fully passes

Change-Id: Id62cb2e1b7a95552b560ab1d4ff2f63c0a7569a3
2020-05-06 14:17:05 -07:00
Nazanin Bakhshi
401a246feb Merge "Remove requirement for VtsHalRadioV1_3 tests for sim to be present" 2020-04-16 20:30:12 +00:00