Commit graph

619 commits

Author SHA1 Message Date
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
Nathan Harold
a26880319a Fix a typo in Enhanced Network Scan Request am: 9acbfc2e6b am: ba596a7181
am: 8070739edc

Change-Id: I44bbf0f3e5b3df2b5bcdd19f79a80c759d22a591
2017-12-15 01:56:17 +00:00
Nathan Harold
8070739edc Fix a typo in Enhanced Network Scan Request am: 9acbfc2e6b
am: ba596a7181

Change-Id: I248d668d8578d33b1dde549f128dbf4ded5b32ab
2017-12-15 01:52:38 +00:00
Nathan Harold
9acbfc2e6b Fix a typo in Enhanced Network Scan Request
Change RADIO_ACCESS_SPEFICIER_MAX_SIZE to
RADIO_ACCESS_SPECIFIER_MAX_SIZE

Bug: 63865942
Test: compliation
Change-Id: Idabac6ab42c90353a83d32483be46c77a85b7f1d
2017-12-14 13:13:22 -08:00
TreeHugger Robot
533c94cb70 Merge "Remove subdirs" into oc-mr1-dev-plus-aosp 2017-11-29 01:14:23 +00:00
sqian
ff785a0d24 Set time delay in the vts test setup am: a54dd6ca33
am: 88d5ef6944

Change-Id: I71bfb003f33fe9aa1c75f75191ade95ecf8b76ac
2017-11-29 00:09:52 +00:00
sqian
88d5ef6944 Set time delay in the vts test setup
am: a54dd6ca33

Change-Id: Ic6e95752069b452d81e5676999483bfb68249dd5
2017-11-29 00:06:38 +00:00
Steven Moreland
e5c6548346 Remove subdirs
Removing whenever I see these in code reviews.

Test: none
Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d
Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
2017-11-28 14:23:43 -08:00
Steven Moreland
8b76a6b90d Remove subdirs
Removing whenever I see these in code reviews.

Test: none
Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d
Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
2017-11-28 14:22:55 -08:00
Steven Moreland
fcca4e23b7 Remove subdirs
Removing whenever I see these in code reviews.

Test: none
Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d
Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
2017-11-28 14:22:43 -08:00
sqian
a54dd6ca33 Set time delay in the vts test setup
Bug: 69398018
Test: run vts
Change-Id: Ibe1e8f1b08342f1b0b867bfa7bcf1b2fe4a85622
Merged-In: Ibe1e8f1b08342f1b0b867bfa7bcf1b2fe4a85622
2017-11-27 14:22:28 -08:00
sqian
fe32af21bd Set time delay in the vts test setup
Bug: 69398018
Test: run vts
Change-Id: Ibe1e8f1b08342f1b0b867bfa7bcf1b2fe4a85622
2017-11-20 15:40:34 -08:00
sqian
5e5b441361 Add REQUEST_NOT_SUPPORTED / SIM_ABSENT for vts tests
Bug: 65230472
Test: run vts
Change-Id: I1fab6f49f04a04a7f1cd3b613fe7049f927171d1
2017-11-16 19:57:27 +00:00
Iris Chang
8dc6db217d VTS: fix RadioHidlTest.getAvailableNetworks issue
Analysis: VtsHalRadioV1_0Target's timeout is too short for
getAvailableNetworks, because this request duration depends on NW
environment or frequency.

Suggested solution: Add a timeout parameter to wait() and default
timeout value is 5 minutes in order to avoid timeout fail due to NW
environment.

Bug: 68834032
Test: getAvailableNetworks can be passed after we apply this patch and
      test result for all other telephony 1.0 and 1.1 test cases are not
      changed.
Change-Id: Iaae71e0abacd28275d86a19264813ff209ddb79c
Merged-In: Iaae71e0abacd28275d86a19264813ff209ddb79c
(cherry picked from commit 6429f0677f)
2017-11-15 07:08:05 +00:00
Iris Chang
eddb1d9a01 Merge "VTS: fix RadioHidlTest.getAvailableNetworks issue" am: 89b2d24fb0 am: 0c9df89f88
am: 2d47467288

Change-Id: Id5ddb114f2a31d39d844409b4444fbd4ca77745e
2017-11-15 04:13:54 +00:00
Iris Chang
0c9df89f88 Merge "VTS: fix RadioHidlTest.getAvailableNetworks issue"
am: 89b2d24fb0

Change-Id: I96c5b3873c53fba6fca5905f0a5897a7f8801f4a
2017-11-15 04:10:23 +00:00
Treehugger Robot
89b2d24fb0 Merge "VTS: fix RadioHidlTest.getAvailableNetworks issue" 2017-11-15 04:06:29 +00:00
Xin Li
bb9e38fef9 Merge commit '1a06284b24f5eb7bb9c1fea0817da8898b3b1bff' from
oc-mr1-dev-plus-aosp into stage-aosp-master

Change-Id: I2a044eb8c9981d0a8198ffe2df55559afbd76341
Merged-In: I4fb9f18884f7ef21162015a0032c4431444f7025
2017-11-14 12:08:38 -08:00
Iris Chang
6429f0677f VTS: fix RadioHidlTest.getAvailableNetworks issue
Analysis: VtsHalRadioV1_0Target's timeout is too short for
getAvailableNetworks, because this request duration depends on NW
environment or frequency.

Suggested solution: Add a timeout parameter to wait() and default
timeout value is 5 minutes in order to avoid timeout fail due to NW
environment.

Bug: 68834032
Test: getAvailableNetworks can be passed after we apply this patch and
      test result for all other telephony 1.0 and 1.1 test cases are not
      changed.
Change-Id: Iaae71e0abacd28275d86a19264813ff209ddb79c
2017-11-14 01:08:03 +00:00
sqian
e986b85fdd 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

Bug: 63760809
Bug: 65150146
Test: run vts
Change-Id: Id3d876ea515f47998e3e45be11db5edf306ffc24
2017-11-13 15:16:04 -08:00
Shuo Qian
d416d3db6c Merge "Revert "Modify VTS error check so that the error code can be displayed"" 2017-11-13 22:20:42 +00:00
Shuo Qian
33b550ce67 Revert "Modify VTS error check so that the error code can be displayed"
This reverts commit cf243eba43.

Change-Id: Idd42b12cdcbaab1476e460c34f3b4b60c38dead0
2017-11-13 22:17:42 +00:00
Shuo Qian
f8d4081827 Merge "Modify VTS error check so that the error code can be displayed" 2017-11-13 21:17:12 +00:00
sqian
cf243eba43 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

Bug: 63760809
Bug: 65150146
Test: run vts
Change-Id: Iec4bdfd89ccd8d8d8c6e1bd8f720a88d67f23cb3
2017-11-13 19:08:43 +00:00
Steven Moreland
8db261bc99 Updating makefiles for hidl_interface.
Bug: 64487114
Test: manual
Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
2017-11-13 10:00:18 -08:00
Steven Moreland
a1169dd600 Update makefiles for hidl_interface.
Bug: 35570956
Test: manual
Change-Id: I7a220b78ee081240e1dc30ef5672ba39e3e98375
2017-11-10 09:06:55 -08:00
Sooraj Sasindran
8c77e2b7dc Merge "vts test for 1.2" am: 55e7774568 am: b0034bf5b9
am: 20ad34f084

Change-Id: Ia17ca32195c90b6e5b36abe25af82ad26117ec18
2017-11-03 00:39:34 +00:00
Sooraj Sasindran
20ad34f084 Merge "vts test for 1.2" am: 55e7774568
am: b0034bf5b9

Change-Id: Ic9e887d9a021f7e2dc32b8e7d1c12e733e38f456
2017-11-03 00:37:33 +00:00
Sooraj Sasindran
4547419e6c vts test for 1.2
Add VTS test for 1.2 interface

Test: verfied the test with a dummy radio service

Bug:67750232
Change-Id: Ieac680a303c79a9d4c8b314112121303b3aebcce
2017-11-02 14:44:57 -07:00
Cassie
c80f43c37b Merge "Added CellIdentity struct in types.hal" am: 94a12051a3 am: c5f398daed
am: 1195c9b627

Change-Id: Ib311125c3fcb4a47e29eeceb929963ad8e50ba79
2017-11-01 23:27:15 +00:00
Cassie
1195c9b627 Merge "Added CellIdentity struct in types.hal" am: 94a12051a3
am: c5f398daed

Change-Id: I2140211e496d233018d64179203e25bbe6332fc5
2017-11-01 23:23:29 +00:00
Cassie
8c3011e5c7 Added CellIdentity struct in types.hal
This change was made because the new scan API needs to include the human
readable operator name other than PLMN in the scan results.
In order to let teh operator name used by other structures and APIS, we added
the operator name alphaLong and alphaShort, which were actually included
in the OperatorInfo, into the CellIdentity.

Bug: 63984327
Test: Basic telephony sanity
Change-Id: I498b7f190b739c92975fe797e1c74e96d90ee823
2017-11-01 10:25:36 -07:00
Sanket Padawe
340619c703 Fix VTS test which turns off radio.
am: 536818d17a

Change-Id: I74ebfa3894e27bdf0e02671cbeccac83b1917424
2017-10-18 23:56:12 +00:00
Sanket Padawe
536818d17a 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)
2017-10-18 23:41:05 +00:00
sqian
18192d9b83 Merge "Add REQUEST_NOT_SUPPORTED / SIM_ABSENT for vts tests" into oc-mr1-dev am: b70f1bda1f
am: e99541ac02

Change-Id: Ic93e6a45afa6d4d5aff27a4d8f9e7b29ba9ae587
2017-10-18 03:43:37 +00:00
sqian
e99541ac02 Merge "Add REQUEST_NOT_SUPPORTED / SIM_ABSENT for vts tests" into oc-mr1-dev
am: b70f1bda1f

Change-Id: Ie8c2ee83c5c6102658a2627099c097c3f155feaa
2017-10-18 03:40:37 +00:00
sqian
bc1c9295a3 Add REQUEST_NOT_SUPPORTED / SIM_ABSENT for vts tests
Bug: 65230472
Test: run vts
Change-Id: I1fab6f49f04a04a7f1cd3b613fe7049f927171d1
2017-10-17 16:02:04 -07:00
Sooraj Sasindran
c496974404 Merge "Enhanced network scan request" am: 8e5f008ae6 am: b49cd63a75 am: cb1467f935
am: da47be9351

Change-Id: Ied661795a18352f805bedaaf0ac974ae006cbbb2
2017-10-17 08:48:59 +00:00
Sooraj Sasindran
da47be9351 Merge "Enhanced network scan request" am: 8e5f008ae6 am: b49cd63a75
am: cb1467f935

Change-Id: I2370bea69898bff71d366ca358574f4b3e5a21be
2017-10-17 06:29:41 +00:00
Sooraj Sasindran
b49cd63a75 Merge "Enhanced network scan request"
am: 8e5f008ae6

Change-Id: I8903402f50c64b475ccda3839f0175fb2eaa12f6
2017-10-17 06:11:13 +00:00
Sooraj Sasindran
55092ae5a6 Enhanced network scan request
Bug=63865942

Test: Verified by making changes in settings app to call the api
      and confirmed that the new information is delivered to verndor
      code

Change-Id: I38f5e88302268bdda7483f5bc96bf8a72b940208
2017-10-16 19:31:00 -07:00
sqian
336a914eb3 Refactor radio folder for 1.0 and 1.1 am: 8735a7d935
am: 2576f3505f

Change-Id: I999a8edb0cc1c37405cef6c20dcf5aaf262c4228
2017-10-15 01:54:55 +00:00
sqian
8735a7d935 Refactor radio folder for 1.0 and 1.1
Remove unused environment variable.

Test: run vts
Bug: 63760809
Change-Id: Iff7919980d7bbe0e9f8a73a3679d37426faec679
Merged-In: Iff7919980d7bbe0e9f8a73a3679d37426faec679
2017-10-13 10:36:04 -07:00
sqian
39866c92ff Refactor radio folder for 1.0 and 1.1
Remove unused environment variable.

Test: run vts
Bug: 63760809
Change-Id: Iff7919980d7bbe0e9f8a73a3679d37426faec679
Merged-In: Iff7919980d7bbe0e9f8a73a3679d37426faec679
2017-10-11 15:10:14 -07:00
Shuo Qian
2baeaec51c Merge "Refactor radio folder for 1.0 and 1.1" 2017-10-11 21:48:44 +00:00
sqian
4ae4325659 Refactor radio folder for 1.0 and 1.1
Remove unused environment variable.

Test: run vts
Bug: 63760809
Change-Id: Iff7919980d7bbe0e9f8a73a3679d37426faec679
2017-10-11 10:13:08 -07:00
Steven Moreland
1d7374c5e1 Update for Soong java makefiles. am: c3e80fa01e am: 0fff75dee1 am: 6c811964a1
am: 116161d94e

Change-Id: I33643636e2511de77fdf7de57777eb67edee2e52
2017-10-11 16:39:21 +00:00
Steven Moreland
116161d94e Update for Soong java makefiles. am: c3e80fa01e am: 0fff75dee1
am: 6c811964a1

Change-Id: I85ccbb4a15cd18938607f5bca4e065b9d7e0182b
2017-10-11 16:31:07 +00:00
Steven Moreland
0fff75dee1 Update for Soong java makefiles.
am: c3e80fa01e

Change-Id: Ia8835f9c95bd98a96f5fd3aff11191e7d3726fb9
2017-10-11 16:23:54 +00:00
Steven Moreland
c3e80fa01e Update for Soong java makefiles.
Test: pass
Bug: 33420795
Change-Id: Id9b1919a19b8ff682738cfb0869a479b4dbb4293
2017-10-10 23:07:20 +00:00
Treehugger Robot
75d5cf515a Merge "Remove useless Android.mk files." 2017-10-05 21:40:27 +00:00
Steven Moreland
4b60470f1a Remove useless Android.mk files.
These have been c/p'd all over the place.

Test: m -j nothing
Bug: 33420795
Change-Id: I77979866dbb2345a41a873c84ec3fccd7b127510
2017-10-04 15:52:40 -07:00
Steven Moreland
70bfb9d250 Merge "Update for hidl adapter module defaults." am: 988c977079 am: 861651985f am: b53e6ad535
am: 9a17f41f6f

Change-Id: I78d9292068b372238554fd9d35128e69f5b5f9d2
2017-10-04 21:54:11 +00:00
Steven Moreland
9a17f41f6f Merge "Update for hidl adapter module defaults." am: 988c977079 am: 861651985f
am: b53e6ad535

Change-Id: I23269fb7a9bdd352e670a80f390527d9eef31412
2017-10-04 21:51:00 +00:00
Steven Moreland
861651985f Merge "Update for hidl adapter module defaults."
am: 988c977079

Change-Id: I289818be1b30397391847ba1c532d1014fdbed27
2017-10-04 21:45:09 +00:00
Treehugger Robot
988c977079 Merge "Update for hidl adapter module defaults." 2017-10-04 21:36:25 +00:00
Chih-hung Hsieh
bf5e381a8b Merge "Use -Werror in hardware/interfaces" am: 85bb01dd6b am: 3ed04cd35d am: baf19e17b3
am: 9890348480

Change-Id: Iadec8caae33b04a8cef45532fc2c940a8be23cea
2017-10-04 21:23:09 +00:00
Chih-hung Hsieh
9890348480 Merge "Use -Werror in hardware/interfaces" am: 85bb01dd6b am: 3ed04cd35d
am: baf19e17b3

Change-Id: I8806a9887178a7f778cc556c804a5b7a05d59836
2017-10-04 21:04:44 +00:00
Chih-hung Hsieh
3ed04cd35d Merge "Use -Werror in hardware/interfaces"
am: 85bb01dd6b

Change-Id: I9169eb99a256f3a1db9e6f82e11fd96228d9558a
2017-10-04 20:40:30 +00:00
Steven Moreland
527fd76a0e Update for hidl adapter module defaults.
Test: pass
Change-Id: Idc6a943149a279bf17cfcfd0f2571473e53bbbbf
2017-10-04 12:47:03 -07:00
Chih-Hung Hsieh
3da5b01946 Use -Werror in hardware/interfaces
* Remove unused local variables.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I48dbbf670cc9eeff2391983788983420f8547cc9
2017-10-04 11:16:31 -07:00
Steven Moreland
91799c6cc7 Merge "Fix typo in update makefiles." am: 9960148420 am: f07e364ce3 am: 71a193a425
am: 9fdd241905

Change-Id: I1c852fa6600fecc44d5afd1a65a5f51c43ecf71c
2017-09-27 00:02:52 +00:00
Steven Moreland
9fdd241905 Merge "Fix typo in update makefiles." am: 9960148420 am: f07e364ce3
am: 71a193a425

Change-Id: I45ae43f07323254212532acbf0f891d11143b05f
2017-09-26 23:58:51 +00:00
Steven Moreland
f07e364ce3 Merge "Fix typo in update makefiles."
am: 9960148420

Change-Id: I949634e72f817f3a5411130e968acd8efd1d7725
2017-09-26 23:51:07 +00:00
Steven Moreland
a5299ee739 Fix typo in update makefiles.
Bug: 37518178
Test: pass
Change-Id: Ic401b3a473f15ca4c01e58b3072e19db7c31b653
2017-09-26 21:59:43 +00:00
Steven Moreland
7741c0e17b Update makefiles for hidl adapter. am: 26a0bb2762 am: 73949c1d7e am: b94d0c7290
am: 97228c0b7d

Change-Id: Ic4b459b7c1a4325453945b0b00db8f44e4e77c26
2017-09-26 13:36:09 +00:00
Steven Moreland
97228c0b7d Update makefiles for hidl adapter. am: 26a0bb2762 am: 73949c1d7e
am: b94d0c7290

Change-Id: If766cffbcc003cc0cc5eb98969b924aa918fff44
2017-09-26 12:53:13 +00:00
Steven Moreland
73949c1d7e Update makefiles for hidl adapter.
am: 26a0bb2762

Change-Id: I3a811f5cd49bd4e81e8fcd5c8e88922115812539
2017-09-25 23:14:44 +00:00
Steven Moreland
26a0bb2762 Update makefiles for hidl adapter.
Bug: 37518178
Test: manual
Change-Id: I50e999907d3c64d2b039272b823971998da64d1b
2017-09-25 18:35:56 +00:00
Nathan Harold
8c8ba47ca4 Fix docstrings for RIL_CellIdentity
Update the documentation to match the current CTS
requirements for Cell Identity reporting.

-For LTE, WCDMA, and GSM require that the channel
 number be reported.
-For LTE and WCDMA, require that the correct
 physical channel identifier be reported. Note that
 due to b/32774471 we still cannot require BSIC
 to be reported.

Bug: 65174915
Test: none, comment-only change
Change-Id: I93fcce3b39401e8965f724722361c2cadc4a88cc
Merged-In: I93fcce3b39401e8965f724722361c2cadc4a88cc
(cherry picked from commit 8d2d747e9e)
2017-09-13 15:32:49 -07:00
Nathan Harold
e82c301c47 Fix docstrings for RIL_CellIdentity
Update the documentation to match the current CTS
requirements for Cell Identity reporting.

-For LTE, WCDMA, and GSM require that the channel
 number be reported.
-For LTE and WCDMA, require that the correct
 physical channel identifier be reported. Note that
 due to b/32774471 we still cannot require BSIC
 to be reported.

Bug: 65174915
Test: none, comment-only change
Change-Id: I93fcce3b39401e8965f724722361c2cadc4a88cc
Merged-In: I93fcce3b39401e8965f724722361c2cadc4a88cc
(cherry picked from commit 8d2d747e9e)
2017-09-13 20:38:47 +00:00
Nathan Harold
de210afb90 Merge "Fix docstrings for RIL_CellIdentity" into oc-mr1-dev am: 2de5e5d01a
am: ee35809840

Change-Id: I3abc61991c047f7f9ee8dbeecb8d095b91ff5c53
2017-09-13 20:11:52 +00:00
Nathan Harold
ee35809840 Merge "Fix docstrings for RIL_CellIdentity" into oc-mr1-dev
am: 2de5e5d01a

Change-Id: I78509bf9573f0d898cf0b3658ceec960e96ed466
2017-09-13 19:43:14 +00:00
Nathan Harold
8d2d747e9e Fix docstrings for RIL_CellIdentity
Update the documentation to match the current
CTS requirements for Cell Identity reporting
-For LTE, WCDMA, and GSM require that the channel
 number be reported.
-For LTE and WCDMA, require that the correct
 physical channel identifier be reported. Note that
 due to b/32774471 we still cannot require BSIC
 to be reported.

Bug: 65174915
Test: none, comment-only change
Change-Id: I93fcce3b39401e8965f724722361c2cadc4a88cc
2017-09-12 10:17:53 -07:00
Sanket Padawe
ab7480fa7b Merge "Fix VTS test which turns off radio." into oc-mr1-dev am: 6fb8b93bb4
am: 8809d4f0d6

Change-Id: I501d1a2db1ac38fb9366ce33e47a9682d981c781
2017-09-08 18:22:27 +00:00
Sanket Padawe
8809d4f0d6 Merge "Fix VTS test which turns off radio." into oc-mr1-dev
am: 6fb8b93bb4

Change-Id: I76f1dcd265828a7cceec5855ae0e9328895488c8
2017-09-08 18:19:28 +00:00
Sanket Padawe
6fb8b93bb4 Merge "Fix VTS test which turns off radio." into oc-mr1-dev 2017-09-08 18:14:16 +00:00
Sanket Padawe
9a721b8087 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
Bug: 65230472
2017-09-06 06:46:49 +00:00
Sanket Padawe
1c1d17733f Add sim absent error for supplyNetworkDepersonalization.
Bug: 62926561
Test: vts
Change-Id: Iac98fd41b8c949781185f9504623d511ff46d36c
Merged-in: Iac98fd41b8c949781185f9504623d511ff46d36c
(cherry picked from commit f9ced6d3fe)
2017-09-02 05:45:44 +00:00
Steven Moreland
0f6b22147e Merge "Fix HALs to not have transitive depends." into oc-mr1-dev am: cf0ee37180
am: 87b997de66

Change-Id: I44ac13171655c10f10a397b956df9b5c70321983
2017-08-30 16:28:17 +00:00
Steven Moreland
87b997de66 Merge "Fix HALs to not have transitive depends." into oc-mr1-dev
am: cf0ee37180

Change-Id: Idf2b0e4e4e27d1fa92359d1226f9a0608be133cd
2017-08-30 16:19:43 +00:00
Steven Moreland
218c6d8b2f Fix HALs to not have transitive depends.
Bug in hidl-gen allowed this to work.

Test: -Lcheck
Bug: 65055216
Change-Id: Ia0cbaac4c8bfd93be169f4fab5c9ce016ee6c473
2017-08-28 11:13:19 -07:00
sqian
a8616ddf0f Fix indentation in radio test, as part of refactor.
Test: run vts
Bug: 63760809
Change-Id: I0a8c791f1faa7c2e0ca2fe5a32a12fad4ae63773
2017-08-25 10:36:33 -07:00
Sanket Padawe
f9ced6d3fe Add sim absent error for supplyNetworkDepersonalization.
Bug: 62926561
Test: vts
Change-Id: Iac98fd41b8c949781185f9504623d511ff46d36c
2017-08-24 20:50:54 -07:00
Steven Moreland
4f25c2a143 Revert "Revert "Updating all makefiles.""
Relanding without automotive/vehicle/2.0+2.1 changes.

This reverts commit 1020ebedfb.

Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Change-Id: Icc49df42c2bedf443d878d5d8fbaa53441ea65db
2017-08-11 23:02:01 +00:00
Steven Moreland
ff308ea6ba Updating all makefiles.
Bug: 64487114
Test: none
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Merged-In: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0
Change-Id: Ifdc3c17cb2b85c18b37dac2d03bb5c8935c23180
2017-08-11 22:58:47 +00:00
Steven Moreland
1020ebedfb Revert "Updating all makefiles."
This reverts commit 8ac1971678.

Reason for revert: Didn't remove automotive changes from this CL.

Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Change-Id: I1c660cffc8817ad0b33da9f6eceb3d88e7c48416
2017-08-11 22:56:56 +00:00
Steven Moreland
6da35570df Updating all makefiles.
Bug: 64487114
Test: none
Change-Id: I8608c8f636c35f21e4246a805a9eff6d14124e0a
2017-08-10 23:43:46 +00:00
Steven Moreland
8ac1971678 Updating all makefiles.
Bug: 64487114
Test: none
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Change-Id: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0
2017-08-10 22:40:04 +00:00
yinxu
fe2279d2cc Merge "Add the error code "OPERATION_NOT_ALLOWED" and log the error."
am: fe9cb04ec1

Change-Id: If1c8a16729f9d405ea0507a8a9ec2f5e4a5237d1
2017-08-10 19:51:36 +00:00
Steven Moreland
65de66a67e Update makefiles for vndk enabled. am: 5e59402492 am: 271d53d836
am: 148ca84740

Change-Id: I5ef3611026b9c770bf713c14b9e01899a796e61c
2017-08-09 20:36:43 +00:00
yinxu
131854f401 Add the error code "OPERATION_NOT_ALLOWED" and log the error.
Cherry-picked cleanly from:
https://googleplex-android-review.git.corp.google.com/#/c/platform/hardware/interfaces/+/2678915/

Test: Telephony sanity tests, run vts -m VtsHalRadioV1_1Target
Bug: 64426938
Merged-in: Id4f06842186b10a52640372c23bc2b368cc1e9ab
Change-Id: Id4f06842186b10a52640372c23bc2b368cc1e9ab
(cherry picked from commit 4181504523)
2017-08-09 10:15:59 -07:00
Steven Moreland
148ca84740 Update makefiles for vndk enabled. am: 5e59402492
am: 271d53d836

Change-Id: I47ffcee7c1aa9c1d7f5c3750cc93294ff740f20d
2017-08-09 00:49:32 +00:00
Steven Moreland
271d53d836 Update makefiles for vndk enabled.
am: 5e59402492

Change-Id: I08414d68d5275df82336653cb91765af7235f914
2017-08-09 00:44:39 +00:00
yinxu
56511ab2c0 Merge "Add the error code "OPERATION_NOT_ALLOWED" and log the error." into oc-dr1-dev am: 3a57cca59c am: 936b35012b
am: ac74c77b5d

Change-Id: I8d1849f5d41cd866c4ec2c48bb2b8516b7d79c02
2017-08-08 21:17:40 +00:00
yinxu
ac74c77b5d Merge "Add the error code "OPERATION_NOT_ALLOWED" and log the error." into oc-dr1-dev am: 3a57cca59c
am: 936b35012b

Change-Id: Id313c17bc2461980aa2c198ac00fa84bc33b0562
2017-08-08 21:03:09 +00:00
yinxu
16ad551f83 Merge "Add the error code "OPERATION_NOT_ALLOWED" and log the error." into oc-dr1-dev
am: 3a57cca59c

Change-Id: I6a1aeea07e64b4748151f62ae4827132eba32781
2017-08-08 20:51:47 +00:00
yinxu
936b35012b Merge "Add the error code "OPERATION_NOT_ALLOWED" and log the error." into oc-dr1-dev
am: 3a57cca59c

Change-Id: Ic05db3d04b5840ab47c14c33748dac7d4659b540
2017-08-08 20:51:15 +00:00
TreeHugger Robot
3a57cca59c Merge "Add the error code "OPERATION_NOT_ALLOWED" and log the error." into oc-dr1-dev 2017-08-08 20:41:27 +00:00
yinxu
4181504523 Add the error code "OPERATION_NOT_ALLOWED" and log the error.
Test: Telephony sanity tests, run vts -m VtsHalRadioV1_1Target
Bug: 64426938
Change-Id: Id4f06842186b10a52640372c23bc2b368cc1e9ab
2017-08-08 10:31:03 -07:00
Steven Moreland
5e59402492 Update makefiles for vndk enabled.
Test: none
Bug: 63866913
Merged-In: I29174fdadca2828455ef49f14e53bc95c5238dbb
Change-Id: I29174fdadca2828455ef49f14e53bc95c5238dbb
(cherry picked from commit c716b8c307)
2017-08-08 17:09:10 +09:00
Sanket Padawe
b47b680d2a Merge "Update IRadioResponse.hal to add new error codes." into oc-mr1-dev am: ffd04a5daa
am: 5436fb248e

Change-Id: I503f14e64bc37f810054745b7da9f13c81b99fc2
2017-08-08 06:34:30 +00:00
Sanket Padawe
5436fb248e Merge "Update IRadioResponse.hal to add new error codes." into oc-mr1-dev
am: ffd04a5daa

Change-Id: I655ef4c88ac716a715c7a50d53dd3827fb4b6a11
2017-08-08 06:28:28 +00:00
TreeHugger Robot
ffd04a5daa Merge "Update IRadioResponse.hal to add new error codes." into oc-mr1-dev 2017-08-08 06:16:47 +00:00
Shuo Qian
86700082a0 Merge "Add Owners for radio vts" am: 6a63f13176 am: 3cc4975c8c
am: c75329041c

Change-Id: Ide6193226cae28c25dbbad19aa9dd9d209180eed
2017-08-08 03:52:43 +00:00
Shuo Qian
c75329041c Merge "Add Owners for radio vts" am: 6a63f13176
am: 3cc4975c8c

Change-Id: I78ac7a8b3ba1ce10a87983001882e688b79fa4af
2017-08-08 03:47:33 +00:00
Shuo Qian
3cc4975c8c Merge "Add Owners for radio vts"
am: 6a63f13176

Change-Id: Ia686d57c519a7ac2c4c546d89bbffe331847a8cc
2017-08-08 03:45:04 +00:00
Shuo Qian
6a63f13176 Merge "Add Owners for radio vts" 2017-08-08 03:42:00 +00:00
Shuo Qian
8fedf270ad Merge "Add me into owners of radio vts" into oc-mr1-dev am: cc1007af33
am: 48e8bb613d

Change-Id: Ie2d4ab7bc1674ea8089abf5b422c21fa6535b2cf
2017-08-07 17:22:46 +00:00
Shuo Qian
48e8bb613d Merge "Add me into owners of radio vts" into oc-mr1-dev
am: cc1007af33

Change-Id: Ia4373c52d82fa3d25eced5ece667e8334764eac5
2017-08-07 17:18:10 +00:00
Shuo Qian
cc1007af33 Merge "Add me into owners of radio vts" into oc-mr1-dev 2017-08-07 17:07:47 +00:00
sqian
daf1cf10b6 Add Owners for radio vts
Test: no need
Bug: 64220334
Change-Id: I9614d88942f9adf06d60fe6f4702b7b3a7dd8027
2017-08-04 14:51:45 -07:00
sqian
aad486b1b0 Add me into owners of radio vts
Test: no need
Bug: 64220334
Change-Id: I2a9b82ee1562859827a844e729451f6d03c4e592
2017-08-04 14:48:55 -07:00
Steven Moreland
92a268afa3 Merge changes from topic 'go-away-static-hidl-java' am: f4c58cd48c
am: 4e06dd1aa9

Change-Id: I3e381dd323532e4092fe836f18206e0d23a030d1
2017-08-04 19:33:23 +00:00
Steven Moreland
4e06dd1aa9 Merge changes from topic 'go-away-static-hidl-java'
am: f4c58cd48c

Change-Id: I3502ad1d51868cd82bbe811bdf2b96ec45ccfbe6
2017-08-04 19:22:05 +00:00
Steven Moreland
f4c58cd48c Merge changes from topic 'go-away-static-hidl-java'
* changes:
  Update makefiles.
  Add an empty 1.1 ISap interface.
  [AWARE] Fix validity check on PMK + export PASSPHRASE lengths
2017-08-04 19:14:48 +00:00
Steven Moreland
250aa2ae25 Merge "Update makefiles for vndk enabled." into oc-mr1-dev am: d9b12c13e5
am: a7a300a13b

Change-Id: I4624aae28e0ccd493af5030c8e507aff25bc5743
2017-08-04 05:01:56 +00:00
Steven Moreland
a7a300a13b Merge "Update makefiles for vndk enabled." into oc-mr1-dev
am: d9b12c13e5

Change-Id: Id70e58e6b4d20dada4aab107b2aa98c58cf167ca
2017-08-04 01:04:40 +00:00
TreeHugger Robot
d9b12c13e5 Merge "Update makefiles for vndk enabled." into oc-mr1-dev 2017-08-04 00:52:06 +00:00
Shuo Qian
b08d3972fa Merge "Add vts test for setCarrierInfoForImsiEncryption" am: afcdb1effb
am: d4c6c7b703

Change-Id: I83091fa9a0374478a6a0c69a3787cb061967f257
2017-08-03 23:23:16 +00:00
Shuo Qian
d4c6c7b703 Merge "Add vts test for setCarrierInfoForImsiEncryption"
am: afcdb1effb

Change-Id: I08ab4ff325457ee5242060a5b40e56ce0c227ad4
2017-08-03 23:17:33 +00:00
Shuo Qian
afcdb1effb Merge "Add vts test for setCarrierInfoForImsiEncryption" 2017-08-03 23:08:14 +00:00
Steven Moreland
b5da32c177 Update makefiles.
Removes redundant "java-static" target.

Note, targets aren't removed here which have internal
targets that depend on them.

Bug: 36376126
Test: pass
Change-Id: I830f02e5f219d2d58721132c358d2783c3942eac
2017-08-03 15:25:21 -07:00
Amit Mahajan
1e2bd45f3f 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
Bug: 62371412
Change-Id: I7537b0074f772fab4a26d4ed97d346610784eeac
Merged-In: I9a0bd898e5d236f05d6574b3e3093521d0f57d52
2017-08-03 15:20:29 -07:00
Tri Vo
f6cfef14b9 Merge changes from topic 'vts_deps' am: 7d149a564f am: 7f8774ef80 am: 3b84dc5c78 am: 84d1627979
am: c7d816b680

Change-Id: I5188db29ed09aaccbc0635c2d6c6a8a23a56cffb
2017-08-03 20:39:49 +00:00
Tri Vo
c7d816b680 Merge changes from topic 'vts_deps' am: 7d149a564f am: 7f8774ef80 am: 3b84dc5c78
am: 84d1627979

Change-Id: I809807a17187a401c396cd73721ca9fdccc60f1c
2017-08-03 20:34:21 +00:00