Commit graph

4855 commits

Author SHA1 Message Date
Yin-Chia Yeh
e31ea3ab65 Merge "Camera: reset callback after test done" into oc-dev
am: 72ff9a1e38

Change-Id: I194688afcf1143f7ac40416150986cd8e4ad02aa
2017-08-01 22:05:24 +00:00
TreeHugger Robot
72ff9a1e38 Merge "Camera: reset callback after test done" into oc-dev 2017-08-01 21:40:35 +00:00
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
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
Kevin Rocard
3f60c009dc Merge "Audio policy config xsd: add missing gains and address in ports" into oc-dev
am: 90e68d31cf

Change-Id: Iadee05e91ad122c99b3d33b92c47b6fbcc27f2af
2017-08-01 00:05:16 +00:00
TreeHugger Robot
90e68d31cf Merge "Audio policy config xsd: add missing gains and address in ports" into oc-dev 2017-07-31 23:56: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
Emilian Peev
39e2d42dcb Merge "NO PARTIAL RERUN Camera: Update stream consumer usage flag" into oc-dev
am: 456dc6cc86

Change-Id: I2101aa5931f85f78f19e35922bdecfabd4687c65
2017-07-31 16:28:17 +00:00
TreeHugger Robot
456dc6cc86 Merge "NO PARTIAL RERUN Camera: Update stream consumer usage flag" into oc-dev 2017-07-31 16:22:23 +00:00
Yin-Chia Yeh
d42258ea80 Camera: fix various VTS issues
am: a0dd95d45d

Change-Id: I1fe7b8e4e17af70776f197ea25ecdd4281c34e5c
2017-07-31 08:55:46 +00:00
Emilian Peev
d9a7d3cd95 NO PARTIAL RERUN Camera: Update stream consumer usage flag
It is possible that the current default consumer usage
flag may not be supported by some provider implementations.
Use either HW composer or some other flag that is appropriate
for the specific use case.

Merged-In: I04f89bf67166805191d6d40e5bd93c15ebc97ea6
Bug: 63913159
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --primary-abi-only --module
VtsHalCameraProviderV2_4Target -l INFO

Change-Id: I04f89bf67166805191d6d40e5bd93c15ebc97ea6
2017-07-31 09:36:56 +01: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
Yin-Chia Yeh
a0dd95d45d Camera: fix various VTS issues
Also fix wrong return values for processCaptureRequest in default
wrapper.

Test: running camera VTS
Bug: 64041692
Change-Id: I397390af7c85a776713f6287bef1c4d11c721c9a
Merged-In: I397390af7c85a776713f6287bef1c4d11c721c9a
2017-07-28 13:22:42 -07:00
Kevin Rocard
488beb2db1 Audio policy config xsd: add missing gains and address in ports
No nexus/pixel device uses port gains and their configuration were taken
as reference for the xsd creation.

Gains in mixPort and devicePort are supported by the code and use by
oem. As a result the xsd should allow them.

For validation of this path, the xsd was run against the example xml in
the audiopolicy source. Several other misalignment were found. They will
be fix in an other patch.

The address is also an optional field that was forgotten for the same
reason.

Bug: b/63827061
Test: -noout xmllint --schema hardware/interfaces/audio/2.0/config/audio_policy_configuration.xsd frameworks/av/services/audiopolicy/config/audio_policy_configuration.xml
Test: the above command fails for some other xml node unrelated to this bug
Test: this is tracked by b/38184704
Change-Id: I8dae15eb85a6a6d43c87aa747daf92a88d3fdcc0
Signed-off-by: Kevin Rocard <krocard@google.com>
2017-07-27 15:51:04 -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
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
Eino-Ville Talvala
4c652d5639 Merge "Camera: Don't enforce result metadata queue support" into oc-dev
am: 1d1b503b77

Change-Id: I701fc97cde2dab420b84a7c9ba0afaa36a91754e
2017-07-25 21:09:04 +00:00
Eino-Ville Talvala
1d1b503b77 Merge "Camera: Don't enforce result metadata queue support" into oc-dev 2017-07-25 20:58:44 +00:00
Emilian Peev
fa3a98bb28 Camera: Don't enforce result metadata queue support
Some provider implementations could still be using direct
transfer of the result metadata through hw binder.

Merged-In: Ib2adaff005af77385767a32c1ed069371a6e9b7a
Bug: 63970723
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --module VtsHalCameraProviderV2_4Target -l INFO
Change-Id: Ib2adaff005af77385767a32c1ed069371a6e9b7a
2017-07-25 15:06:06 +01:00
Roshan Pius
d796137703 supplicant(vts): Remove start/stop framework
am: 80599435bd

Change-Id: Icb8204bee8bd24de30eab5e25f6ed26f1eca53c2
2017-07-25 06:44:52 +00:00
Roshan Pius
80599435bd supplicant(vts): Remove start/stop framework
This is already done by the test harness on the host side. So, no need
to invoke this from within the gtest.

Bug: 63914399
Test: `make vts -j30 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 &&
vts-tradefed run commandAndExit vts --skip-all-system-status-check
--primary-abi-only --skip-preconditions --module
VtsHalWifiSupplicantV1_0Target -l INFO`

Change-Id: I43edc03492bf5e03f9a4236265c43baa5efcd61d
(cherry picked from commit 145cce98b5)
Merged-Id: I43edc03492bf5e03f9a4236265c43baa5efcd61d
2017-07-25 04:36:00 +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
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
Treehugger Robot
6ef70c9040 Merge " Add VTS code for the network scan API" 2017-07-24 23:42:11 +00:00
Stanley Tng
ed2e9b8c20 Merge "Fixed the HCI ACL Header definitions for PB and BC Flags" into oc-dev
am: ad6b1eb846

Change-Id: I8f6d2b9a0f8bb5c1b21ad92fedaa43ee483cc95e
2017-07-22 15:57:52 +00:00
TreeHugger Robot
ad6b1eb846 Merge "Fixed the HCI ACL Header definitions for PB and BC Flags" into oc-dev 2017-07-22 15:51:40 +00:00
Stanley Tng
5c98115486 Fixed the HCI ACL Header definitions for PB and BC Flags
The byte offsets for Packet Boundary (PB) and Broadcast (BC) flags
in the HCI ACL Header is swapped. This will fixed it so that it matches
the Bluetooth Specifications.

Bug: 63241720
Test: Run manual VTS tests for Bluetooth
Change-Id: Ifc1f4d4f054a1dab13458c563e47bfb884f39d92
(cherry picked from commit 7915b71fb9)
2017-07-22 06:35:47 -07: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
Zhuoyao Zhang
5b245a2646 Move android.hardware.tests.msgq@1.0-impl to system.img am: ea35563b79
am: 2f7bec8fe4

Change-Id: I0a316fc25ef4f27ea507326f60f8cb9e08536796
2017-07-21 20:57:46 +00:00
Zhuoyao Zhang
2f7bec8fe4 Move android.hardware.tests.msgq@1.0-impl to system.img
am: ea35563b79

Change-Id: I7adce534ebec348cc0fea8a840cea38e27c73b6c
2017-07-21 20:53:50 +00: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
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
Zhuoyao Zhang
ea35563b79 Move android.hardware.tests.msgq@1.0-impl to system.img
Bug:63704014
Test: make vts
      vts-tradefed run vts -m VtsFmqUnitTest.

Change-Id: I0deb28ffdbd437cc05d9c1efed63e0ba9dc3a048
2017-07-21 10:53:24 -07:00
Shuo Qian
009ae0c065 Merge "Fix some VTS for 2017 devices" into oc-dev
am: 41b188be76  -s ours

Change-Id: Ibbc305aff92fbd20ea678f3c89d05e468c573cee
2017-07-21 00:03:57 +00:00
Shuo Qian
41b188be76 Merge "Fix some VTS for 2017 devices" into oc-dev 2017-07-20 23:57:25 +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
Stanley Tng
81775f2adb Merge "Fixed the HCI ACL Header definitions for PB and BC Flags" am: adda0e8721
am: cd762d90e8

Change-Id: Ie928aff644005c58792d3fd94a317e0e758c11aa
2017-07-20 18:24:07 +00:00
Stanley Tng
cd762d90e8 Merge "Fixed the HCI ACL Header definitions for PB and BC Flags"
am: adda0e8721

Change-Id: Ie621b523fb21a014dcbc7f5a2295778758333acc
2017-07-20 18:19:35 +00:00
Treehugger Robot
adda0e8721 Merge "Fixed the HCI ACL Header definitions for PB and BC Flags" 2017-07-20 17:50:24 +00:00