Commit graph

544 commits

Author SHA1 Message Date
nharold
eb4c7ce68b Merge "Update HIDL makefiles" am: c01ecb318a am: bb21a0f555
am: 61f8d0be12

Change-Id: I8e06523b6c536d95384d22bf54d220c46e2fb930
2018-02-12 20:56:50 +00:00
nharold
61f8d0be12 Merge "Update HIDL makefiles" am: c01ecb318a
am: bb21a0f555

Change-Id: I5f0394a33781e5d5663fbb37b12a937fe6895371
2018-02-12 20:32:30 +00:00
Nathan Harold
01c807fcc7 Update HIDL makefiles
Bug: 73175801
Test: compilation
Change-Id: I41510ffc7b7db4c09ed4e4f390775b9b9d0f79d6
2018-02-09 16:54:59 -08:00
Takumi Hori
eec1544af3 Merge "Displaying HD audio indicator for GSM/CDMA calls" am: 62bd6006e9 am: 68bd6ae440
am: 1c57d9c53a

Change-Id: I986cf5d08147dc3dd72b9ff009b391a852a4d121
2018-02-02 06:58:25 +00:00
Takumi Hori
1c57d9c53a Merge "Displaying HD audio indicator for GSM/CDMA calls" am: 62bd6006e9
am: 68bd6ae440

Change-Id: I0ea2dba4f84c5be97b72b7724cf0243e994f692b
2018-02-02 04:22:43 +00:00
Jack Yu
f32d1978cd Merge "HIDL changes for IWLAN refactoring" am: 4365f2e6bc am: fd428d8f4d
am: c77519448b

Change-Id: Ia8f014fb1492eb9276ed56e80a23744000f90625
2018-01-26 01:45:58 +00:00
Takumi Hori
5e2330370f Displaying HD audio indicator for GSM/CDMA calls
Return audio quality information during a voice call along with call
details from RIL. This information is expected to be used to display
HD audio indicator when wide band speech codec is notified.
This feature is necessary to fulfill some carriers requirement.

Test: manual - Checked that HD audio indicator is displayed on UI in
GSM/CDMA calls.
Bug: 30207043

Change-Id: Ic6518b7b5c37c4b9cfcd83bd0c5b836acd3f60da
2018-01-25 15:22:23 -08:00
Jack Yu
c77519448b Merge "HIDL changes for IWLAN refactoring" am: 4365f2e6bc
am: fd428d8f4d

Change-Id: Id0f6e64d592cd362303cb366823d1c36f4457b76
2018-01-25 22:42:42 +00:00
sqian
985866db5c Merge "Add None into cancelPendingUssd" into oreo-vts-dev am: 4ccc3b0140 am: efebbbeeea am: e7da333a91
am: 9b544fb083

Change-Id: I9b54f0d11f9150f22ad79daaa4b32b551ee1e763
2018-01-25 03:44:52 +00:00
sqian
9b544fb083 Merge "Add None into cancelPendingUssd" into oreo-vts-dev am: 4ccc3b0140 am: efebbbeeea
am: e7da333a91

Change-Id: Ia62e2a8ae1e8975ef33203142a4ebe20b45d60b9
2018-01-25 03:10:50 +00:00
sqian
efebbbeeea Merge "Add None into cancelPendingUssd" into oreo-vts-dev
am: 4ccc3b0140

Change-Id: Iad35b1764095d6b4bdd52dfd8f8e6a73940bfab5
2018-01-25 02:40:26 +00:00
Jack Yu
76499e9be5 HIDL changes for IWLAN refactoring
Added few more parameters required for IWLAN handover to
the existing data call setup/deactive APIs.

Test: Telephony sanity tests
bug: 64132030
Change-Id: I7bb04fc5f32908fa064370d5123252022a166abc
2018-01-24 10:48:08 -08:00
Eric Schwarzenbach
6919c7be72 Add bandwidth to cell info. am: 0f2a7358d6 am: f8db2ebfc9
am: 2f366fbd91

Change-Id: I945669b31e42757deb70308c29bf54f1093bbfa0
2018-01-24 18:08:08 +00:00
Eric Schwarzenbach
ec64368354 Add physical channel configuration indication. am: 20fd2c70ff am: 7aa11892d8
am: 3e00f1e3cd

Change-Id: Id423d89faf7e48c015376f94df0ddd5aee192e53
2018-01-24 18:08:01 +00:00
Eric Schwarzenbach
510697241f Add reporting criteria to radio interface. am: 21c6dc3548 am: 816f2643aa
am: 6f2b113bb3

Change-Id: I9b5e30cb9af04e4726366dccc2a11dd4602833a4
2018-01-24 18:07:54 +00:00
Eric Schwarzenbach
2f366fbd91 Add bandwidth to cell info. am: 0f2a7358d6
am: f8db2ebfc9

Change-Id: I86d64c6817452570a18d2d6748b8db6e3ef4ec78
2018-01-24 18:05:51 +00:00
Eric Schwarzenbach
3e00f1e3cd Add physical channel configuration indication. am: 20fd2c70ff
am: 7aa11892d8

Change-Id: I8122c92e0464bec24c6436218db6c1e4c6101fac
2018-01-24 18:05:47 +00:00
Eric Schwarzenbach
6f2b113bb3 Add reporting criteria to radio interface. am: 21c6dc3548
am: 816f2643aa

Change-Id: I166cdd4fb5cca05f78074d3dbe675a79e4b3a3fc
2018-01-24 18:05:20 +00:00
Eric Schwarzenbach
0f2a7358d6 Add bandwidth to cell info.
Bug: 70638175
Test: make
Change-Id: I1a4259542176cf44556131bb2b57107d51b2410e
2018-01-24 03:06:55 +00:00
Eric Schwarzenbach
20fd2c70ff Add physical channel configuration indication.
Also adds the new requisite types and an IndicationFilter for reporting.

Bug: 70638175
Test: n/a
Change-Id: I29f5fba4d1b21af3e7fda876c9a5c911936aeada
2018-01-24 03:06:47 +00:00
Eric Schwarzenbach
21c6dc3548 Add reporting criteria to radio interface.
Enables setting various reporting criteria for unsolicited signal
strength and LCE reports. Creates a new LCE report including both up and
down bandwidths. Updates documentation for various IndicationFilter bits
to add clarity.

Bug: 70638175
Test: n/a
Change-Id: If8141fbd89baf85ed5ee65d589f111907a9bf8b4
2018-01-24 03:06:37 +00:00
yinxu
127d537520 Merge "Add default implementation for radio config HAL" am: 19940c6778 am: 80a245f007
am: 8a146f7890

Change-Id: I65452d9b2e530b41b0ead60110ff2e2f1bb7dc38
2018-01-24 02:39:11 +00:00
yinxu
8a146f7890 Merge "Add default implementation for radio config HAL" am: 19940c6778
am: 80a245f007

Change-Id: I9715e1b4e562f79adb3058a558e2f20d4f73001e
2018-01-24 02:34:40 +00:00
sqian
40c4ff77c6 Add None into cancelPendingUssd
Bug: 67834975
Test: Compile
2018-01-23 16:36:05 -08:00
sqian
d4c4a4edfb Set time delay in the vts test setup
Bug: 69398018
Test: run vts
Change-Id: Ibe1e8f1b08342f1b0b867bfa7bcf1b2fe4a85622
Merged-In: Ibe1e8f1b08342f1b0b867bfa7bcf1b2fe4a85622
(cherry picked from commit 1a5c25dd95)
2018-01-23 22:38:12 +00:00
sqian
1d93dbfb3b Add REQUEST_NOT_SUPPORTED / SIM_ABSENT for vts tests
Bug: 65230472
Test: run vts
Merged-In: I1fab6f49f04a04a7f1cd3b613fe7049f927171d1
Change-Id: I1fab6f49f04a04a7f1cd3b613fe7049f927171d1
(cherry picked from commit 83cc3ab888)
2018-01-23 22:31:26 +00:00
Sanket Padawe
71620817a9 Fix VTS test which turns off radio.
Since the purpose of most of the test cases in current VTS is to check
if proper errors are returned and there is no crash seen in vendor code,
updating setRadioPower test case to turn on the radio instead of
turning off. We want to avoid test cases which turn off
radio or leads to modem shut down as those test cases affect other tests.

Test: VTS
Change-Id: I4fb9f18884f7ef21162015a0032c4431444f7025
Merged-In: I4fb9f18884f7ef21162015a0032c4431444f7025
Bug: 65230472
(cherry picked from commit 9a721b8087)
(cherry picked from commit 536818d17a)
2018-01-23 22:31:01 +00:00
sqian
40d93997b5 Add EMPTY_RECORD for getDeviceIdentity
Remove same unit test case with arguments "","0" for:
- sendEnvelope
- sendTerminalResponseToSim
- sendEnvelopeWithStatus

Test: verified by vendor, treehuger
Bug: 62926561
Change-Id: I5f535bdfc5821275a7ea2571d411374e0d7a8822
Merged-In: I5f535bdfc5821275a7ea2571d411374e0d7a8822
(cherry picked from commit 67901bf2ce)
2018-01-23 22:19:46 +00:00
sqian
fce53868fd Add corresponding error code to fix vts test
Test: run vts
Bug: 63152815
Bug: 62989786
Bug: 64041522
Change-Id: Ifbd17f85b39221de31ec7884b30dc176e1cbd3ab
Merged-In: Ifbd17f85b39221de31ec7884b30dc176e1cbd3ab
(cherry picked from commit 1e5b695016)
2018-01-23 22:11:47 +00:00
Legler Wu
a945baae7f Update VTS tests so that Mediatek pass more VTS for O.
Bug: b/62926561
Test: vts tests

Change-Id: Ic927f9efd437c6411fb14feac8c681334e4b5e60
Merged-in: Ic927f9efd437c6411fb14feac8c681334e4b5e60
(cherry picked from commit b36443a864)
2018-01-23 22:11:13 +00:00
sqian
4e81e1f726 Add Sim absent assertion in the 1.0 setup
Currently the VTS tests for radio are for Sim Absent only. Adding this
assertion in the set up before running VTS tests clarifies the current
tests running is for sim absent only.

Test: run vts
Bug: 63898623
Merged-In: Ie09fb8bcedfd0b35b14f0a70952f44b6f6b082aa
Change-Id: Ie09fb8bcedfd0b35b14f0a70952f44b6f6b082aa
(cherry picked from commit 69cfb0aa38)
2018-01-23 22:11:01 +00:00
sqian
44bd0bb4f4 Fix some VTS for 2017 devices
- sendDeviceState
- setIndicationFilter

Mentioned in b/63148938
- getNeighboringCids

Add Request_not_support for Apis mentioned in Bugs:
 - 62989786
 - 62986286
 - 62987946

Test: run vts
Bug: 63130111
Bug: 63148938
Bug: 62989786
Bug: 62986286
Bug: 62987946
Change-Id: Ib51f67d403bb27f409018a98c07d6aa6aa6d19f8
Merged-In: Ib51f67d403bb27f409018a98c07d6aa6aa6d19f8
(cherry picked from commit fe0699535e)
(cherry picked from commit c699ba3901)
2018-01-23 22:10:42 +00:00
sqian
01d37ff8a1 Update IRadioResponse.hal documentation
Update the error codes

A copy of https://partner-android-review.googlesource.com/#/c/836552/
+ some missed updated error codes
+ request_not_supported

Test: Manual
Bug: 35671595
Change-Id: I2880b442b5fd56149abc83949c12e2eba5ee67df
Merged-In: I2880b442b5fd56149abc83949c12e2eba5ee67df
(cherry picked from commit be63f4b89e)
2018-01-23 12:22:43 -08:00
yinxu
26487e7a11 Add default implementation for radio config HAL
Bug: 64131518
Test: Basic telephony sanity
Change-Id: I6bd6c6c46f8f70fd13b6c02ddfe399e04190133a
2018-01-23 10:29:28 -08:00
Ying Xu
23dc2b493d Merge "Migrate the slot related APIs" am: 92b3386572 am: 1d09401370
am: 4b88130367

Change-Id: I40a2716908da06f4f01008778cd2bb83bf6239e9
2018-01-23 02:36:46 +00:00
Ying Xu
4b88130367 Merge "Migrate the slot related APIs" am: 92b3386572
am: 1d09401370

Change-Id: I540bb4ada6bdf30f44c4ce7e581c945261df3d81
2018-01-23 02:24:57 +00:00
yinxu
7fd46a30f3 Migrate the slot related APIs
SIM slot related APIs are not related to any radio/modem, so they need
to be migrate to a different HAL which is not related to any
radio/modem.

Bug: 64131518
Test: Basic telephony sanity

Change-Id: I626f13c5f6fb39091f6bddd5b6d373f09561af90
2018-01-22 10:36:53 -08:00
Cassie Han
e94fe99745 Merge "Add cellInfoList_1_2 in 1.2/IRadioIndication.hal." am: ab6101db50 am: 04369bf047
am: d37fb504b2

Change-Id: Id5468c308927d96c1866a97be59eef637f5d93cc
2018-01-11 17:59:52 +00:00
Cassie Han
d37fb504b2 Merge "Add cellInfoList_1_2 in 1.2/IRadioIndication.hal." am: ab6101db50
am: 04369bf047

Change-Id: I53a62cf2196dafc7952db534cca5a92f706c0d9c
2018-01-11 17:56:45 +00:00
Cassie Han
ab6101db50 Merge "Add cellInfoList_1_2 in 1.2/IRadioIndication.hal." 2018-01-11 17:47:42 +00:00
Cassie
3fb7617b69 Add cellInfoList_1_2 in 1.2/IRadioIndication.hal.
As part of the new NetworkScan API project, we need to add V1_2
cellInfoList in RadioIndication to support the V1_2 CellInfo as well.

Bug: 63984327, 69058403
Test: Basic telephony sanity
Change-Id: I53deb0d3b6ba58a86a8f734618841ff91d6dc6fa
2018-01-10 09:46:20 -08:00
sqian
a598754bf7 Remove unused functions am: 910a238c21
am: 6d06a6f7a9

Change-Id: Id4a9cb4e5b01c0529abd63ce768070be1e7037d9
2018-01-04 21:40:35 +00:00
sqian
910a238c21 Remove unused functions
Test: Compile
Bug: 63760809
Change-Id: I582c259ca0787a701d434eea9592c9e8d7351f08
Merged-In: I582c259ca0787a701d434eea9592c9e8d7351f08
(cherry picked from commit 3ba20e6b6b)
2018-01-04 12:13:33 -08:00
Sandeep Gutta
2a4fba8b7a Merge "SIM slot related interface changes" am: 384fa7b6dc am: 8a52ba05e2
am: 14d0000c78

Change-Id: Idcb6b457289f4afc7959849cd8ffd882d4022745
2018-01-02 22:46:34 +00:00
Sandeep Gutta
14d0000c78 Merge "SIM slot related interface changes" am: 384fa7b6dc
am: 8a52ba05e2

Change-Id: I11e2bdfbf5e58f8095db017ffde9a643a5a8adaf
2018-01-02 22:36:04 +00:00
Treehugger Robot
384fa7b6dc Merge "SIM slot related interface changes" 2018-01-02 22:17:21 +00:00
sqian
e611e86fec Modify VTS error check so that the error code can be displayed am: 7fe9365e6f
am: e93516c086

Change-Id: I7079a49624a6aed546c01fa3affd15f25b14769d
2018-01-02 19:35:59 +00:00
sqian
7fe9365e6f Modify VTS error check so that the error code can be displayed
- Add AssertionResult in gtest to display logs
- Refactor all the error checks

- Replace INTERNAL_ERR with INVALID_ARGUMENT for
requestIsimAuthentication

- Add missing SIM_ABSENT from ag/2582439/

- Fix incorrect indentation

Bug: 63760809
Bug: 65150146
Test: run vts
Change-Id: Id3d876ea515f47998e3e45be11db5edf306ffc24
Merged-In: Id3d876ea515f47998e3e45be11db5edf306ffc24
(cherry picked from commit e986b85fdd)
2017-12-28 20:20:24 +00:00
Sandeep Gutta
4a4d8cc197 SIM slot related interface changes
Add below new interfaces, corresponding response interface and structures.
- getSimSlotsStatus()
- setSimSlotsMapping()
- simSlotsStatusChanged()

Bug: 68998818
Test: compliation

Change-Id: Ia532c502782ef4d08d27f18ee0321a3ceaa94dcf
2017-12-22 11:29:06 -08:00
sqian
3ba20e6b6b Remove unused functions
Test: Compile
Bug: 63760809
Change-Id: I582c259ca0787a701d434eea9592c9e8d7351f08
2017-12-21 21:36:20 +00:00