Commit graph

679 commits

Author SHA1 Message Date
Pengquan Meng
72c84bc2c0 Merge "Add a bitmap version for get/set PreferredNetworkType" am: d25bffff74 am: 8af0650ece
am: 45791a3457

Change-Id: I85cfda3c776d7d9fbe237807612bb7ebc8ab63b3
2018-12-13 22:40:12 -08:00
Treehugger Robot
d25bffff74 Merge "Add a bitmap version for get/set PreferredNetworkType" 2018-12-14 06:06:30 +00:00
Pengquan Meng
1ed39240a9 Add a bitmap version for get/set PreferredNetworkType
Bug: 111453000
Test: build
Change-Id: I42af8de62484c8f8e310b520574d0114901ed452
2018-12-10 18:28:19 -08:00
sqian
ee5598dc2e Add mnc and modify docs for emergencyDial
Test: Treehugger
Bug: 112657134
Change-Id: Ia731ed350184fc35663a7bee54144a3ee7febcbe
2018-12-07 22:45:54 -08:00
Keun Soo YIM
68ae05dd2d pack VTS cc_test binaries as general-tests
Test: make general-tests
Bug: 120093339
Merged-In: I363450d205868f900e4925ccff1430e2a569f2a4
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
2018-12-07 10:49:56 -08:00
Xiangyu/Malcolm Chen
fc49fad3f5 Merge "Define CBRS HAL interfaces in IRadio 1.3 and IRadioConfig 1.1." am: 60d34da5f0 am: 9d6ce92c53
am: 43e475743e

Change-Id: I6e32125f186cb8249179cce8a68845f9bd7a7fb8
2018-12-05 12:06:14 -08:00
Xiangyu/Malcolm Chen
60d34da5f0 Merge "Define CBRS HAL interfaces in IRadio 1.3 and IRadioConfig 1.1." 2018-12-05 19:24:31 +00:00
Malcolm Chen
ded4399940 Define CBRS HAL interfaces in IRadio 1.3 and IRadioConfig 1.1.
Bug: 117805040
Test: build and telephony unittest
Change-Id: I79e188ef742c3d5167f32c359e86e435f55f4a75
2018-12-04 19:25:16 -08:00
Pengquan Meng
2a17dd7a6b Merge "Add E-UTRA-NR Dual Connectivity indicator to DataRegStateResult" am: e88e8fa08f am: 7bd3456eb4
am: 9c90800fbd

Change-Id: I8ee4c2a7dcc30d60ea04f263beb14596c097df9a
2018-12-03 15:35:39 -08:00
Bryan Henry
c0e9a57bae Revert "Define CBRS HAL interfaces in IRadio 1.3 and IRadioConfig 1.1."
This reverts commit e61e3b7c09.

Reason for revert: Broke multiple build targets as of ab/5158614

Change-Id: Iaa7a954762395c6f4e84e5781bb98ff763923b57
2018-12-02 01:15:19 +00:00
Xiangyu/Malcolm Chen
e665264cfd Merge "Define CBRS HAL interfaces in IRadio 1.3 and IRadioConfig 1.1." 2018-12-01 19:30:42 +00:00
Pengquan Meng
41fb074832 Add E-UTRA-NR Dual Connectivity indicator to DataRegStateResult
Bug: 111454000
Test: build
Change-Id: Ib664f589e1514f6fe9b7dba70d161f4e2103be6f
2018-11-30 11:57:31 -08:00
Malcolm Chen
e61e3b7c09 Define CBRS HAL interfaces in IRadio 1.3 and IRadioConfig 1.1.
Bug: 117805040
Test: build and telephony unittest
Change-Id: I79e188ef742c3d5167f32c359e86e435f55f4a75
2018-11-30 11:12:41 -08:00
Steven Moreland
4fb17ff880 Merge "Update makefiles." am: 2f3c139981 am: 464839dc43
am: a3beee1be9

Change-Id: I5ff7f3a71d3b2ae503f347ffd50b94797dc92a7e
2018-11-30 01:19:22 -08:00
Steven Moreland
6b110994d2 Update makefiles.
Bug: N/A
Test: N/A
Change-Id: Ie4ccc7f7638e9eca3bcd43c36c16f2f0053ac596
2018-11-29 18:05:35 -08:00
Keun Soo YIM
ff84c37bc1 pack VTS cc_test binaries as general-tests
Test: make general-tests
Bug: 120093339
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
2018-11-27 16:11:41 -08:00
Malcolm Chen
fd5aca9399 Migration of IRadioConfig 1.1 types to 1.2.
To better test CBRS, we want IRadio 1.1 to be Android P plus CBRS
HAL interfaces, while 1.2 will be 1.1 plus all other Android Q
interfaces. So we are creating V1_2 folder and moving everything
currently defined in android.hardware.radio.config.V1_1 there.

Bug: 117805040
Test: build and telephony unittest
Change-Id: Ia221258b62351d1190e78fa0e5faafc36163f4a9
Merged-In: Ia221258b62351d1190e78fa0e5faafc36163f4a9
2018-11-27 19:24:06 +00:00
Malcolm Chen
f168f0b364 Migration of IRadio 1.3 types to 1.4.
To better test CBRS, we want IRadio 1.3 to be Android P plus CBRS
HAL interfaces, while 1.4 will be 1.3 plus all other Android Q
interfaces. So we are creating V1_4 folder and moving everything
currently defined in android.hardware.radio.V1_3 there.

Part 2: re-create 1.3 folder.

Bug: 117805040
Test: build and telephony unittest
Change-Id: If177cd24d8275e22c18d9b5b907cd65ac13a4461
Merged-In: If177cd24d8275e22c18d9b5b907cd65ac13a4461
2018-11-27 19:17:35 +00:00
Malcolm Chen
638f005af0 Migration of IRadio 1.3 types to 1.4.
To better test CBRS, we want IRadio 1.3 to be Android P plus CBRS
HAL interfaces, while 1.4 will be 1.3 plus all other Android Q
interfaces. So we are creating V1_4 folder and moving everything
currently defined in android.hardware.radio.V1_3 there.

Part 2: move 1.3 to 1.4.

Bug: 117805040
Test: build and telephony unittest
Change-Id: I9fc36f1af0e7cc4d2a5878531aae5746823e1bb4
Merged-In: I9fc36f1af0e7cc4d2a5878531aae5746823e1bb4
2018-11-27 19:13:42 +00:00
Malcolm Chen
00707641c0 Migration of IRadioConfig 1.1 types to 1.2.
To better test CBRS, we want IRadio 1.1 to be Android P plus CBRS
HAL interfaces, while 1.2 will be 1.1 plus all other Android Q
interfaces. So we are creating V1_2 folder and moving everything
currently defined in android.hardware.radio.config.V1_1 there.

Bug: 117805040
Test: build and telephony unittest
Change-Id: Ia221258b62351d1190e78fa0e5faafc36163f4a9
2018-11-27 18:51:05 +00:00
Malcolm Chen
193a6f3c79 Migration of IRadio 1.3 types to 1.4.
To better test CBRS, we want IRadio 1.3 to be Android P plus CBRS
HAL interfaces, while 1.4 will be 1.3 plus all other Android Q
interfaces. So we are creating V1_4 folder and moving everything
currently defined in android.hardware.radio.V1_3 there.

Part 2: re-create 1.3 folder.

Bug: 117805040
Test: build and telephony unittest
Change-Id: If177cd24d8275e22c18d9b5b907cd65ac13a4461
2018-11-26 23:26:19 +00:00
Malcolm Chen
2e656462b6 Migration of IRadio 1.3 types to 1.4.
To better test CBRS, we want IRadio 1.3 to be Android P plus CBRS
HAL interfaces, while 1.4 will be 1.3 plus all other Android Q
interfaces. So we are creating V1_4 folder and moving everything
currently defined in android.hardware.radio.V1_3 there.

Part 2: move 1.3 to 1.4.

Bug: 117805040
Test: build and telephony unittest
Change-Id: I9fc36f1af0e7cc4d2a5878531aae5746823e1bb4
2018-11-26 23:18:47 +00:00
Pengquan Meng
7687650635 Add data call mapping to physicalChannelConfig
- Add 5G NR rat type
- Add data call mapping to PhysicalChannelConfig

Bug: 111453000
Test: build
Change-Id: I8da7185305b46781cccd114721d53167a2e1798a
2018-11-21 19:12:53 +00:00
Jordan Liu
398e84dd6f Add EID to 1.3::CardStatus
The EID should be reported for any GSM compliant eUICCs.

Test: make
Bug: 116656814
Change-Id: I3090f13084b474a9236b43bfb96da3db4003b382
2018-11-13 11:00:06 -08:00
Pengquan Meng
bfdbd58097 Merge "HAL change for 5G NSA only" 2018-11-13 18:21:38 +00:00
Pengquan Meng
1d4e8ae51e HAL change for 5G NSA only
Add the parameters for 5G NSA and change related type & API.

Bug: 111453000
Test: Build
Change-Id: I97aab866993cc84d6f3fd30d33a0273f661e4c2d
2018-11-12 14:30:21 -08:00
Jordan Liu
57cb7b832f Add EID to types 1.1
The EID should be reported for any GSMA compliant eUICCs.

Test: make
Bug: 116656814
Change-Id: I90bdddfcb968ee4a575d8cafd5362095e00e1d55
2018-10-26 14:12:57 -07:00
Jack Yu
4b5371de99 Restored 'maxConnsTime' and 'maxConns' in data profile
These two fields are still needed for some carriers. Should
not be removed in 1.3. Reverted back to what we have in 1.0.

Test: Telephony sanity tests
Bug: 73659459
Change-Id: I33e7b9b0cb26b56fc3c0e011557657136cb38a6c
2018-10-15 09:55:12 -07:00
Steven Moreland
dec5272582 Add monostate to optional safe unions.
Bug: 116156870
Test: hidl_test, hidl_test_java
Change-Id: Ie17a80dee982775e267a39086016071ac2361fb5
2018-10-11 11:02:25 -07:00
Jack Yu
e7de00c5f5 Added 1.3 DataProfileInfo
1. Deprecated the fields 'mvnoType', 'mvnoMatchData', 'maxConnsTime',
   and 'maxConns'.
2. Added a new flag 'preferred' indicating if this data profile
   is preferred for default data connection setup.
3. Move modemCognative flag from setupDataCall and setInitialAttachApn
   into the struct DataProfileInfo and rename it to 'persistent'.
4. Removed isRoaming flag in setupDataCall, setInitialAttachApn, and
   setDataProfile.

Test: Telephony sanity tests
Bug: 73659459
Change-Id: Ia28715e85755b47a1ee870b5c90e5505a7fd8c4a
2018-10-05 14:49:08 -07:00
sqian
968f531267 Emergency Function HAL (continued)
- Add Emergency Number source for Emergency number, which is critical for
management and display priority.
- Remove solicited request for getting emergency number list.
- Rephrasing the documentations.

Test: Treehugger (will add VTS later)
Bug: 112657134
Change-Id: Idbfebf8d246de06fd91e8de89088f5cc2c70227b
2018-10-02 12:18:10 -07:00
Amruth Ramachandran
d146a72e2f Radio HAL: Add VoPS network support
Update 1.3 HAL:
 - Added DataRegStateResult
 - Added LteVopsInfo
 - Added getDataRegistrationStateResponse_1_3

Bug:112194535
Test: Compiled. VTS tests to be added in separate gerrit

Change-Id: I1996bb0dbfb1c585668b097c206296d5d8e3c8d0
2018-09-20 09:37:01 -07:00
Shuo Qian
5bc9799808 Merge "Add IRadioResponse/Indication 1.3 and Emergency Function HAL" 2018-09-05 18:44:31 +00:00
sqian
8ffbfa5358 Add IRadioResponse/Indication 1.3 and Emergency Function HAL
- Add IRadioResponse/Indication in 1.3
- Add Emergency Functions:
1) getCurrentEmergencyNumberList/getCurrentEmergencyNumberListResponse
2) emergencyDial/emergencyDialResponse
3) currentEmergencyNumberList
4) EmergencyNumber/EmergencyServiceCategory

Test: compile (will add VTS later)
Bug: 112657134
Change-Id: Iafe12d5fd0e4c28fcf6e4d8e61cfb954db7fa68a
2018-09-04 12:50:05 -07:00
Youming Ye
f11cccda3b Correct the comments for radio hal types
The type of mcc and mnc is String instead of Int now. They should be an
empty string if unknown. Also added a test case for their values.

Bug: 111703979
Test: Vts
Change-Id: Ie0426453dc426ccc6cf203b315806e78511ce14d
2018-09-04 11:10:32 -07:00
Xin Li
b390ad2d90 Merge pie-vts-dev into master
Bug: 112170540
Merged-In: I48551f5469289b9fcfc47dd9fd2e455779640329
Change-Id: Icd613751ccf1dc8a0f879525f1d65b11dda7d357
2018-08-16 00:17:15 +00:00
sqian
a8b8b6b1b3 Patch for setSimCardPower_1_1
Do not expect its affect on cardStatus if it is not successfully returned.
Check the response error before updating sim card status.

Test: sanity
Bug: 111661946
Change-Id: I48551f5469289b9fcfc47dd9fd2e455779640329
Merged-In: I48551f5469289b9fcfc47dd9fd2e455779640329
(cherry picked from commit 7e787e192cd4700d8f4e7cc5f55501bc37590245)
2018-08-15 05:49:52 +00:00
sqian
6fb73ec891 Patch for setSimCardPower_1_1
Do not expect its affect on cardStatus if it is not successfully returned.
Check the response error before updating sim card status.

Test: sanity
Bug: 111661946
Change-Id: I48551f5469289b9fcfc47dd9fd2e455779640329
2018-08-15 05:49:28 +00:00
Treehugger Robot
c1db422723 Merge "Fix setSimCardPower_1_1" into pie-vts-dev 2018-08-14 20:13:47 +00:00
sqian
e5bf3a268e Check INVALID_SIM_STATE for sim permanent lock status
PUK1 and PUK2 can get permanent blocked when it inputs wrong
passwords more than 10 times.

Bug: 111211929
Test: sanity
Change-Id: I736873b1b181b88f279df7dc1c09e18e0fc76af3
Merged-In: I736873b1b181b88f279df7dc1c09e18e0fc76af3
(cherry picked from commit cb9e9d10462cc82ee6e7074f8d4c831b6348b3ea)
2018-08-14 19:24:17 +00:00
Treehugger Robot
248276659c Merge "Loose startNetworkScan cases" 2018-08-14 19:22:17 +00:00
Treehugger Robot
268dee8d0f Merge "Fix setSimCardPower_1_1" 2018-08-14 19:21:59 +00:00
Treehugger Robot
ed8cf648cd Merge "Fix setAllowedCarrier" 2018-08-14 19:19:19 +00:00
Treehugger Robot
c417c54960 Merge "Add REQUEST_NOT_SUPPORTED for pin and pin2 Icc VTS" 2018-08-14 19:16:07 +00:00
sqian
f25e996302 Fix setSimCardPower_1_1
If the function isn't executed successfully, do not expect its effect
of cardStatus.

Bug: 111661946
Test: run vts
Change-Id: I952728311b595149b449280e73142f2f82af544d
Merged-In: I952728311b595149b449280e73142f2f82af544d
(cherry picked from commit 934243085a)
(cherry picked from commit c02dd2562f)
2018-08-14 12:15:35 -07:00
Treehugger Robot
0061a578e6 Merge "Added IRadio 1.3 interface" 2018-08-14 18:43:46 +00:00
sqian
8f32c6416e Loose startNetworkScan cases
startNetworkScan:
Some vendor may not support the required manual GSM search
functionality.

startNetworkScan_GoodRequest1 and startNetworkScan_GoodRequest2:
Some vendor may not support max search time of 360s.

Test: sanity
Bug: 109765420
Change-Id: I456847815057d76561bfb3e840016619ac753476
Merged-In: I456847815057d76561bfb3e840016619ac753476
(cherry picked from commit 12f7d6127b)
2018-08-14 11:37:41 -07:00
sqian
b2f6aa1e51 Fix setAllowedCarrier
If function is not supported or executed successfully, do not
expect its effect on cardStatus.

Bug: 112008372
Test: run vts
Change-Id: I4532a39af2cfcf0e44eafe29c3c7f6779ae101f5
Merged-In: I4532a39af2cfcf0e44eafe29c3c7f6779ae101f5
(cherry picked from commit 44b129f728)
2018-08-14 11:35:10 -07:00
sqian
c02dd2562f Fix setSimCardPower_1_1
If the function isn't executed successfully, do not expect its effect
of cardStatus.

Bug: 111661946
Test: run vts
Change-Id: I952728311b595149b449280e73142f2f82af544d
Merged-In: I952728311b595149b449280e73142f2f82af544d
(cherry picked from commit 934243085a)
2018-08-14 11:33:28 -07:00
sqian
3c608789e0 Add REQUEST_NOT_SUPPORTED for pin and pin2 Icc VTS
Bug: 111222834
Test: sanity
Change-Id: Ia3b96e83d6173c2c80bdbf7763a876883b167af9
Merged-In: Ia3b96e83d6173c2c80bdbf7763a876883b167af9
(cherry picked from commit c0a06f34c8)
2018-08-14 11:30:57 -07:00