Commit graph

346 commits

Author SHA1 Message Date
Shuo Qian
140b84b377 Merge "Add EMPTY_RECORD for getDeviceIdentity" into oc-dev
am: 345a396c18

Change-Id: I1188659709dfa1bf475375a4fbbcb6258d5d991c
2017-08-01 18:00:48 +00:00
Shuo Qian
345a396c18 Merge "Add EMPTY_RECORD for getDeviceIdentity" into oc-dev 2017-08-01 17:55:32 +00:00
Sundong Ahn
94293086f8 Change dependency library
hwbinder.jar will be used instead of framework.jar on build-time, but
on runtime framework.jar will be used.

This is to cut the circular dependency when using configstore from
Android framework.

Bug: 35771640
Test: no test.
Change-Id: I04cab676c91d2ea423f5e2c1b2b9efa15e522f37
2017-08-01 11:24:01 +09:00
sqian
67901bf2ce 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
2017-07-31 17:56:36 -07:00
Shuo Qian
2ad5aecc2e Merge "Add corresponding error code to fix vts test" into oc-dev
am: 417af3a797

Change-Id: I39238ce6a796bc6981b77ec361f384f0f3f4d173
2017-08-01 00:25:23 +00:00
Shuo Qian
417af3a797 Merge "Add corresponding error code to fix vts test" into oc-dev 2017-08-01 00:19:48 +00:00
Shuo Qian
a20caf7720 Merge "Add corresponding error code to fix vts test" into oc-dr1-dev 2017-08-01 00:19:33 +00:00
sqian
293bbfdc3e Add corresponding error code to fix vts test
Test: run vts
Bug: 63152815
Bug: 62989786
Bug: 64041522
Change-Id: Ifbd17f85b39221de31ec7884b30dc176e1cbd3ab
Merged-In: Ifbd17f85b39221de31ec7884b30dc176e1cbd3ab
2017-07-31 15:00:44 -07:00
Steven Moreland
a1a7a39695 Merge "Update HIDL makefiles." am: 49dad304a5 am: 68a25d22e3
am: 27e608f01c

Change-Id: I1d9c2c1d1b15f865890f3c11310abd4096497ff5
2017-07-31 19:40:02 +00:00
Steven Moreland
27e608f01c Merge "Update HIDL makefiles." am: 49dad304a5
am: 68a25d22e3

Change-Id: I98400033b6e49696bc27930153a6747665235a98
2017-07-31 19:36:37 +00:00
Steven Moreland
68a25d22e3 Merge "Update HIDL makefiles."
am: 49dad304a5

Change-Id: I29f1de44312f589ba6e1df9498809cbb31315a2b
2017-07-31 19:33:34 +00:00
Treehugger Robot
49dad304a5 Merge "Update HIDL makefiles." 2017-07-31 19:25:11 +00:00
Nathan Harold
6157929382 RadioV1_1 VTS Tests: startKeepalive, stopKeepalive
am: 64aae865f0

Change-Id: Ib385b12f79b924ab30c626fc404e78348ca77d79
2017-07-29 01:03:04 +00:00
yinxu
938f095f7f Fix VTS errors of the network scan API am: 0e9094142f
am: 6d9952a70b

Change-Id: I2446c7eab4b2bea0bf4f8e280615d2526a8920a2
2017-07-28 22:16:54 +00:00
yinxu
6d9952a70b Fix VTS errors of the network scan API
am: 0e9094142f

Change-Id: Ic3620579f9d428da82f612c71c039336f791ca2d
2017-07-28 22:13:26 +00:00
Nathan Harold
64aae865f0 RadioV1_1 VTS Tests: startKeepalive, stopKeepalive
VTS tests for the initial implementaion of NATT
Keepalive support in the V1_1 HAL.

Bug:63530561
Test: this
Change-Id: Iafabd4b0f8a8f4da78f65bf4061d47f4bfd69a7a
2017-07-28 14:26:09 -07:00
sqian
ce1f89d9cf Add corresponding error code to fix vts test
Test: run vts
Bug: 63152815
Bug: 62989786
Bug: 64041522
Change-Id: Ifbd17f85b39221de31ec7884b30dc176e1cbd3ab
Merged-In: Ifbd17f85b39221de31ec7884b30dc176e1cbd3ab
2017-07-28 12:29:30 -07:00
Shuo Qian
4cd75fca1f Merge "Add vts test for setCarrierInfoForImsiEncryption" into oc-dr1-dev
am: e7acb1f8cf

Change-Id: I6ab82244f78f1b92938b8ab03eebfbd24514e6dd
2017-07-28 19:20:36 +00:00
sqian
5b26557330 Add vts test for setCarrierInfoForImsiEncryption
Currently there is no implementation for this api by vendor code.
So we should check only for REQUEST_NOT_SUPPPORTED or NONE
as error returned at present.

Test: run vts
Bug: 64073713
Change-Id: I27f544cf6521d2f913f97e1b8f662a05166ddc11
2017-07-27 15:00:12 -07:00
sqian
1e5b695016 Add corresponding error code to fix vts test
Test: run vts
Bug: 63152815
Bug: 62989786
Bug: 64041522
Change-Id: Ifbd17f85b39221de31ec7884b30dc176e1cbd3ab
Merged-In: Ifbd17f85b39221de31ec7884b30dc176e1cbd3ab
2017-07-27 13:28:42 -07:00
Ying Xu
d9cdb2181d Merge "Fix VTS errors of the network scan API" into oc-dr1-dev
am: 6bba7c9ca4

Change-Id: Ida8be5c1e8f34a8fad520964b1a7104f9744efc1
2017-07-26 18:14:56 +00:00
yinxu
0e9094142f Fix VTS errors of the network scan API
Since the new network scan API is only supported by some devices, we
should add the REQUEST_NOT_SUPPORTED to the possible returned errors.

Cherry-picked cleanly from:
https://googleplex-android-review.git.corp.google.com/#/c/2596051/

Test: Telephony sanity tests, run vts -m VtsHalRadioV1_1Target
Bug: 63914600
Merged-in: I965ee6422aaa5e02bf67466f5288b808183f1738
Change-Id: I965ee6422aaa5e02bf67466f5288b808183f1738
(cherry picked from commit 03c6b592c1)
2017-07-26 11:09:44 -07:00
Steven Moreland
7206708528 Update HIDL makefiles.
Allow them to be static.

This is required for a couple of reasons:
- enabling HIDL passthrough in recovery
- enabling VTS tests to be static blobs

Bug: 32920003
Bug: 64040096
Test: update-all-google-makefiles.sh
Change-Id: I1b2401fb273ab80819e3870aa71fe742269674ba
2017-07-26 10:14:57 -07:00
yinxu
03c6b592c1 Fix VTS errors of the network scan API
Since the new network scan API is only supported by some devices, we
should add the REQUEST_NOT_SUPPORTED to the possible returned errors.

Test: Telephony sanity tests, run vts -m VtsHalRadioV1_1Target
Bug: 63914600
Change-Id: I965ee6422aaa5e02bf67466f5288b808183f1738
2017-07-25 15:15:52 -07:00
Shuo Qian
a344d40ae5 Merge "Add Sim absent assertion in the setup" into oc-dr1-dev
am: 1d87508ce1

Change-Id: I9e8d2feb92b45ff653d61202b4e73f1b073e3d46
2017-07-25 00:22:48 +00:00
Shuo Qian
1dc7d672eb Merge "Add Sim absent assertion in the 1.0 setup" into oc-dev
am: 5b472ec138

Change-Id: I587d3c99ce899b1d626344fa9e1e17c49e8a8913
2017-07-25 00:22:26 +00:00
Shuo Qian
5b472ec138 Merge "Add Sim absent assertion in the 1.0 setup" into oc-dev 2017-07-25 00:14:21 +00:00
Shuo Qian
1d87508ce1 Merge "Add Sim absent assertion in the setup" into oc-dr1-dev 2017-07-25 00:14:00 +00:00
yinxu
a3c3f5f0f8 Merge " Add VTS code for the network scan API" am: 6ef70c9040
am: a944299fdb

Change-Id: Ided1250e85df239a4e5ddbec6ea4c6a2a17028b8
2017-07-24 23:53:27 +00:00
yinxu
a944299fdb Merge " Add VTS code for the network scan API"
am: 6ef70c9040

Change-Id: I53e0827adf81cfde229f2f1d202ba5e589b7b4e3
2017-07-24 23:50:57 +00:00
Sanket Padawe
257845f011 Update VTS tests so that more tests pass for O.
Cherry picked from ag/2562201
Bug: b/62926561
Test: vts tests

Change-Id: Ic927f9efd437c6411fb14feac8c681334e4b5e60
Merged-in: Ic927f9efd437c6411fb14feac8c681334e4b5e60
2017-07-24 16:46:36 +00:00
Legler Wu
e43214e216 Update VTS tests so that Mediatek pass more VTS for O.
am: b36443a864

Change-Id: I57b1b941551d56bb46494aad50226b72009e9dde
2017-07-22 04:44:47 +00:00
Legler Wu
b36443a864 Update VTS tests so that Mediatek pass more VTS for O.
Bug: b/62926561
Test: vts tests

Change-Id: Ic927f9efd437c6411fb14feac8c681334e4b5e60
Merged-in: Ic927f9efd437c6411fb14feac8c681334e4b5e60
2017-07-21 17:28:26 -07:00
sqian
69cfb0aa38 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
Change-Id: Ie09fb8bcedfd0b35b14f0a70952f44b6f6b082aa
2017-07-21 12:25:27 -07:00
sqian
0e323b2689 Add Sim absent assertion in the 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
Change-Id: I0017dd1b3939348b183ce19a5ec4cbc977946cc1
2017-07-21 12:24:00 -07:00
Shuo Qian
657e3ee3b5 Merge "Update IRadioResponse.hal documentation" into oc-dev
am: 7c60d26763

Change-Id: Id237086ee33b9e79199e86b8f535ceb62459427d
2017-07-21 19:10:11 +00:00
Shuo Qian
7c60d26763 Merge "Update IRadioResponse.hal documentation" into oc-dev 2017-07-21 18:58:12 +00:00
yinxu
182d952fb6 Add VTS code for the network scan API
Test: Telephony sanity tests, run vts -m VtsHalRadioV1_1Target
Bug: 63531235

Cherry-picked cleanly from:
https://googleplex-android-review.git.corp.google.com/#/c/2524924/

Merged-in: I25c85b2abb738959d1445e0054049db4bb2f2dfd
Change-Id: I25c85b2abb738959d1445e0054049db4bb2f2dfd
(cherry picked from commit 2495cf5a95)
2017-07-20 16:08:28 -07:00
Ying Xu
cc360c3f87 Merge " Add VTS code for the network scan API" into oc-dr1-dev 2017-07-20 16:37:11 +00:00
sqian
c699ba3901 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)
2017-07-19 13:45:18 -07:00
sqian
227fe277bf resolve merge conflicts of 6ecc54a7 to stage-aosp-master
Test: I solemnly swear I tested this conflict resolution.

Change-Id: I369fe9aacf37dcea6225b5e5a658159dfb859ad0
2017-07-18 14:12:10 -07:00
sqian
6ecc54a7ad 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
2017-07-18 12:06:20 -07:00
sqian
ba1a060051 Modified error code for OPERATION_NOT_ALLOWED
Test: run vts
Bug: 62584347
Change-Id: I3abacdbcc5391c790f61c7f5710c1292447a29b6
2017-07-18 11:45:21 -07:00
yinxu
2495cf5a95 Add VTS code for the network scan API
Test: Telephony sanity tests, run vts -m VtsHalRadioV1_1Target
Bug: 63531235

Change-Id: I25c85b2abb738959d1445e0054049db4bb2f2dfd
2017-07-18 10:31:34 -07:00
Naina Nalluri
236e8e4b78 Change mapping of QMI error
Change mapping of QMI_ERR_OP_NETWORK_UNSUPPORTED
from MODE_NOT_SUPPORTED to OPERATION_NOT_ALLOWED.

Test: run vts
Bug: 62584347

Change-Id: I16a17579581f891701750b4be52cc2ef57594d0c
2017-07-17 15:56:56 -07:00
Shuo Qian
92cc6209a7 Merge "Fix some VTS for 2017 devices" into oc-dr1-dev 2017-07-17 22:09:30 +00:00
sqian
6e12e894c6 Add RadioIndication for Radio VTS test
am: e635772b01

Change-Id: I535ab37b19272575a8a53364d5332173479d92e0
2017-07-17 20:20:09 +00:00
sqian
e635772b01 Add RadioIndication for Radio VTS test
Fix 1.1 radio folder bug

Bug: 38499208
Test: run vts
Change-Id: I6d39ce258d5318ce06fc7c99dad4caf0a3e35415
Merged-In: I6d39ce258d5318ce06fc7c99dad4caf0a3e35415
2017-07-17 11:10:58 -07:00
Shuo Qian
7e26812206 Merge "Add RadioIndication for Radio VTS test" into oc-dr1-dev 2017-07-17 17:23:24 +00:00
sqian
54d88b7a99 Add RadioIndication for Radio VTS test
Fix 1.1 radio folder bug

Bug: 38499208
Test: run vts
Change-Id: I6d39ce258d5318ce06fc7c99dad4caf0a3e35415
2017-07-15 03:37:39 +00:00
sqian
fe0699535e 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
2017-07-13 19:01:13 -07:00
Amit Mahajan
3b24b6eb2f Add an empty 1.1 ISap interface.
This is needed since manifest doesn't support different versions
for different interfaces in a package. Since there's a 1.1 for
IRadio, there needs to be a 1.1 for ISap as well.

Test: build
Bug: 63598469
Change-Id: I9a0bd898e5d236f05d6574b3e3093521d0f57d52
2017-07-12 10:26:51 -07:00
sqian
83c6f03d59 Add radio 1.1 vts test folder.
am: c673a94a96

Change-Id: I9800dbb5789cc0db8df5ab2a31bdab50e016d618
2017-07-11 21:29:39 +00:00
sqian
c673a94a96 Add radio 1.1 vts test folder.
Bug: 38034125
Test: compile; adb shell compiled_vts_binary
Change-Id: I05d4f03db40ac712f120ac0e3e52301a6252f041
Merged-In: I05d4f03db40ac712f120ac0e3e52301a6252f041
2017-07-10 16:25:31 -07:00
Shuo Qian
c631963d4b Merge "Update .hal file for radio 1.0 hal" into oc-dr1-dev 2017-06-29 03:28:46 +00:00
Shuo Qian
55967b136e Merge "Fix failure vts tests:" into oc-dr1-dev 2017-06-29 03:28:46 +00:00
Shuo Qian
00eb34b57a Merge "Add a new vts directory under 1.1 for radio 1.1 APIs vts tests." into oc-dr1-dev 2017-06-29 02:41:57 +00:00
sqian
017f15c2b0 Update .hal file for radio 1.0 hal
Test: compile, treehugger
Bug: 62584347
Change-Id: Ic595d9934d3d4e059cfa40c5f6da3f4cc97b3352
2017-06-28 14:44:41 -07:00
sqian
48124dac55 Fix failure vts tests:
- setCdmaBroadcastConfig
- getCdmaBroadcastConfig
- setCdmaBroadcastActivation
- pullLceData
- setAllowedCarriers
- setAllowedCarriers
- sendEnvelope
- sendEnvelopeWithStatus
- cancelPendingUssd
- sendCDMAFeatureCode

Test: mma -j30; adb shell binary
Bug: 62960543, 62584347
Change-Id: Ie907cdb464a44d92be47d898151d71eb2d83a11c
Merged-In: Ie907cdb464a44d92be47d898151d71eb2d83a11c
2017-06-28 21:34:38 +00:00
sqian
0c74fc7839 Add a new vts directory under 1.1 for radio 1.1 APIs vts tests.
Bug: 38034125
Test: compile; adb shell compiled_vts_binary
Change-Id: I05d4f03db40ac712f120ac0e3e52301a6252f041
2017-06-28 13:06:08 -07:00
pkanwar
fc5f3558fe Radio Interface changes to allow the modem to query the framework
for the key.

We will now pass the ImsiEncryptionInfo object which includes mnc/mcc.
BUG: 35606429
Test: manual

Merged-In: Iae18382f1f244be6a756a47753f0345e1925ca4a
Change-Id: Iae18382f1f244be6a756a47753f0345e1925ca4a
2017-06-27 19:45:46 -07:00
TreeHugger Robot
bf7dcd2adb Merge "Radio Keepalive HAL" into oc-dr1-dev 2017-06-27 08:13:36 +00:00
Nathan Harold
77e3c4597d Radio Keepalive HAL
This adds support for offloading of keepalive packets
to the radio for reduced power consumption.

Bug: 33277538
Test: none
Change-Id: I8e8a841e25f18afeae07f70024c698efa58263e2
(cherry picked from commit 4e2541ecc6)
2017-06-22 14:36:00 -07:00
sqian
be63f4b89e 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
2017-06-21 14:53:07 -07:00
sqian
6381ac46aa 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
2017-06-21 10:26:47 -07:00
nharold
9739017198 Merge "Radio Keepalive HAL" am: 95f0176afa
am: 3ed4ff9c74

Change-Id: Ie749848ad85b1d35b94f0bd02771dad684117005
2017-06-16 22:43:33 +00:00
Nathan Harold
4e2541ecc6 Radio Keepalive HAL
This adds support for offloading of keepalive packets
to the radio for reduced power consumption.

Bug: 33277538
Test: none
Change-Id: I8e8a841e25f18afeae07f70024c698efa58263e2
2017-06-15 13:17:14 -07:00
pkanwar
465c960b85 Radio Interface changes to allow the modem to query the framework for the key. am: 1076d5ba87
am: fd603f9274

Change-Id: Ib6bdb9102b9271329c29f6f5caf48a7d1a51b584
2017-06-13 20:38:53 +00:00
pkanwar
1076d5ba87 Radio Interface changes to allow the modem to query the framework
for the key.

We will now pass the ImsiEncryptionInfo object which includes mnc/mcc.
BUG: 35606429
Test: manual

Change-Id: Iae18382f1f244be6a756a47753f0345e1925ca4a
2017-06-12 13:56:02 -07:00
Shuo Qian
01cb1ff6d7 Merge "Fix vts tests:" into oc-dev
am: 14b34e19d6

Change-Id: Ib2f1a77ece04254a73cdd69c9a46206593c5d4a9
2017-06-12 04:48:29 +00:00
sqian
a009cd5b03 Fix vts tests:
- setCdmaSubscriptionSource
- nvReadItem
- nvWriteItem
- nvWriteCdmaPrl
- getHardwareConfig
- sendEnvelope
- sendTerminalResponseToSim

Will update .hal file seperately.

Test: adb shell <vts_binary>
Bug: 35671595
Bug: 35800570
Change-Id: I651af50f122f37721778b1088df40fa6e12ac6e4
2017-06-09 18:01:29 -07:00
sqian
10a619ab6d Fix vts tests:
- setCdmaSubscriptionSource
- nvReadItem
- nvWriteItem
- nvWriteCdmaPrl
- getHardwareConfig
- sendEnvelope
- sendTerminalResponseToSim

Apply ag/2373104/ to prevent merge conflicts

Will update .hal file seperately.

Test: adb shell <vts_binary>
Bug: 35671595
Bug: 35800570
Change-Id: I651af50f122f37721778b1088df40fa6e12ac6e4
Merged-In: I651af50f122f37721778b1088df40fa6e12ac6e4
2017-06-09 14:47:24 -07:00
Shuo Qian
c1feed1128 Merge "Fix vts tests:" into oc-dev
am: dda2e8cdc2

Change-Id: I48640bc1b6225e39309f2832613986fce4a43754
2017-06-09 02:13:08 +00:00
Shuo Qian
50c1bfdb0c Merge "Fix vts tests:" into oc-dev
am: dda2e8cdc2

Change-Id: If80eae601d647f2fd943e98ddd411206375ec969
2017-06-09 02:13:08 +00:00
sqian
08e90550f1 Fix vts tests:
Fixed with QC updated documentation:
- setGsmBroadcastConfig
- getGsmBroadcastConfig
- setGsmBroadcastActivation
- getImsRegistrationState
- pullLceData
- deleteSmsOnSim
- deleteSmsOnRuim
- sendDtmf
- startDtmf
- stopDtmf
- sendBurstDtmf

Try to increase timeout to 75 to fix (suggest by QC in b/35671595 #62):
- dial

Test: adb shell data/local/tmp/VtsHalRadioV1_0TargetTest
Bug: 35671595, 35800570
Change-Id: Idd50bf71ae4c4490722d88d7cba0485b9d49073b
2017-06-08 11:30:13 -07:00
Sanket Padawe
1c87d14016 Fix some stk api Radio Vts tests.
am: 2ab0ec0626

Change-Id: Ib4063e3c10dbf161c9e8fa479dc6bb8c2345a6ac
2017-06-05 23:13:48 +00:00
Sanket Padawe
2ab0ec0626 Fix some stk api Radio Vts tests.
Bug: 37502436
Test: Manual vts
Change-Id: Idd9a1fd38413aed89aaa152cb9a91c001f18b339
Merged-in: Idd9a1fd38413aed89aaa152cb9a91c001f18b339
2017-06-05 19:35:35 +00:00
Sanket Padawe
92a1599b80 Fix some stk api Radio Vts tests.
Bug: 37502436
Test: Manual vts
Change-Id: Idd9a1fd38413aed89aaa152cb9a91c001f18b339
2017-06-05 12:04:52 -07:00
sqian
4e49d8d43b resolve merge conflicts of 0e50326a to oc-dev-plus-aosp
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I91fb2abbee5db431e8dc5dbfc8fc9fe0b9179b0c
2017-05-31 15:27:25 -07:00
sqian
fcc6118882 Generate serial number randomly in VTS unit test
Any fixed integer can be returned by vendor's APIs response.
Ideally it should be a random value for testing a vendor library.

Applying this to all the unit tests serial number.

Cherry-pick from:
  https://googleplex-android-review.git.corp.google.com/#/c/2330821/

Bug: 38499889
Test: adb shell data/local/tmp/VtsHalRadioV1_0TargetTest
Change-Id: I491db829cca607fad9f6a21987de92269d115253
Merged-In: I491db829cca607fad9f6a21987de92269d115253
(cherry picked from commit 0e8a3be41c)
2017-05-31 14:21:43 -07:00
sqian
0e8a3be41c Generate serial number randomly in VTS unit test
Any fixed integer can be returned by vendor's APIs response.
Ideally it should be a random value for testing a vendor library.

Applying this to all the unit tests serial number.

Cherry-pick from:
  https://googleplex-android-review.git.corp.google.com/#/c/2330821/

Bug: 38499889
Test: adb shell data/local/tmp/VtsHalRadioV1_0TargetTest
Change-Id: I491db829cca607fad9f6a21987de92269d115253
Merged-In: I491db829cca607fad9f6a21987de92269d115253
2017-05-31 13:21:38 -07:00
sqian
42c66f700a Generate serial number randomly in VTS unit test
Any fixed integer can be returned by vendor's APIs response.
Ideally it should be a random value for testing a vendor library.

Applying this to all the unit tests serial number.

Bug: 38499889
Test: adb shell data/local/tmp/VtsHalRadioV1_0TargetTest
Change-Id: I491db829cca607fad9f6a21987de92269d115253
2017-05-30 17:13:59 -07:00
Sanket Padawe
29687c4bf4 Merge "Fix more radio VTS test." into oc-dev
am: 3cc7c4e314

Change-Id: Id8f41004922cfb7d5622e2a20aa0c7569a46efbe
2017-05-25 17:14:04 +00:00
Sanket Padawe
e32c4ea00d Fix more radio VTS test.
+ Increase timeout to 65s to fix some tests failing because of timeouts.

Bug: 35800570
Test: vts
Change-Id: Idf0204908592eac5f2a954d4425123df75999b1c
2017-05-23 13:36:47 -07:00
Steven Moreland
67b9ae7d9c Merge "Update makefiles." am: 9119d4ccd1 am: 242b2288d7
am: c6da54569f

Change-Id: Ib7f7a9cdb64985d545443edac5bb8e9c169fc592
2017-05-20 00:19:40 +00:00
Steven Moreland
e4d318948a Update makefiles.
Adds default configuration to all hals.

Test: pass
Merged-In: Icdf6b56df82c4b7b7de815e7febea9a07ab96856
Change-Id: Icdf6b56df82c4b7b7de815e7febea9a07ab96856
2017-05-19 15:53:53 -07:00
Steven Moreland
06c85d986a Update makefiles.
Adds default configuration to all hals.

Test: pass
Change-Id: Icdf6b56df82c4b7b7de815e7febea9a07ab96856
2017-05-18 16:14:16 -07:00
Shuo Qian
8d0e10f08d Merge changes from topic 'fix-vts-test' into oc-dev
am: a64eb7c698

Change-Id: I3ed89c13301ce07e5fc8ac0be59f33dbf4be492b
2017-05-18 22:59:25 +00:00
sqian
284c53c028 update .hal file to fix vts test
Test: Manual
Bug: 35671595
Change-Id: Ic97cc8e9a713bfa22f9986c18ddb5af624142b17
2017-05-18 14:06:44 -07:00
sqian
786ddd532c Fix vts tests
- apduReq

(with QC UIM document)
- handleStkCallSetupRequestFromSim
- supplyNetworkDepersonalization

Test: make vts; vts-tradefed; run vts -m VtsHalRadioV1_0Target
Bug: 35671595
Change-Id: Ie7427e027eb93e89a9790260cfdbbb2d01c50cc1
2017-05-18 14:06:32 -07:00
yinxu
62890ef7b2 Add the new RIL requests to start/stop network scan
The CL defines the RIL API including the methods and structs which will
be used start and stop the network scan.

Test: Telephony Sanity Test
Bug: 30954762

Merged-in: I18462bf4aa5e8a9497d5eb214d905e4e7c827a04
Change-Id: I18462bf4aa5e8a9497d5eb214d905e4e7c827a04
(cherry picked from commit b187e9f95e)
(cherry picked from commit 872518a234)
2017-05-16 23:04:26 -07:00
yinxu
872518a234 Add the new RIL requests to start/stop network scan
The CL defines the RIL API including the methods and structs which will
be used start and stop the network scan.

Test: Telephony Sanity Test
Bug: 30954762

Change-Id: I18462bf4aa5e8a9497d5eb214d905e4e7c827a04
(cherry picked from commit b187e9f95e)
2017-05-16 13:49:16 -07:00
Grace Chen
a442f2873f Merge "Support different SIM power states" am: f94eb06d32 am: b6e91f51f6
am: 22facb038d

Change-Id: Ib45036bead4fe35323f39fa7fa9bc882b73dd0de
2017-05-16 19:58:53 +00:00
Grace Chen
91865c2173 Support different SIM power states
Test: Verify SIM power states
Bug:  35844036
Merged-In: I769f7eada97286680cb516c63d28da11bb69db4d
Change-Id: I769f7eada97286680cb516c63d28da11bb69db4d
2017-05-16 10:55:58 -07:00
Steven Moreland
4be51a8512 Merge changes from topic 'fix-hidl-generate' into oc-dev
* changes:
  Update makefiles for c++-sources and c++-headers.
  Update makefiles for c++-sources and c++-headers. (2/2)
2017-05-10 20:02:40 +00:00
Steven Moreland
8716f3063e Update makefiles for c++-sources and c++-headers.
Test: pass
Bug: 38174080
Merged-In: I683455736eed35e6ced24e2763c2bdb5fb6c9601
Change-Id: I683455736eed35e6ced24e2763c2bdb5fb6c9601
2017-05-09 19:58:45 -07:00
Steven Moreland
8e89a43590 Update makefiles for c++-sources and c++-headers. am: cb360c60d8 am: 4bd4e7fb3b
am: 127b116fe5

Change-Id: I3a2aa76acef0f0d1455bfad775e87e8089d357e8
2017-05-10 02:58:00 +00:00
Sanket Padawe
3ea42032f4 Merge "Update IRadioResponse.hal documentation to fix failing VTS" into oc-dev
am: 41ea816c9d

Change-Id: I3f9efd6422652efc967a9c8a5bda284f87a4a458
2017-05-10 02:41:46 +00:00
Naina Nalluri
9cc29c8f57 Update IRadioResponse.hal documentation to fix failing VTS
update IRadioResponse.hal documentation with
nas/data error codes

Bug: 35671595
Test: Only doc update.
Change-Id: I5a106e05b487f7deecb208af6465e5ea5238b26e
2017-05-09 15:23:48 -07:00
Steven Moreland
cb360c60d8 Update makefiles for c++-sources and c++-headers.
Test: pass
Bug: 38174080
Change-Id: I683455736eed35e6ced24e2763c2bdb5fb6c9601
2017-05-09 14:34:19 -07:00