Commit Graph

5965 Commits

Author SHA1 Message Date
TreeHugger Robot
c2fa0484ed Merge "Improvements to the documentation for the OBD2 properties" into oc-mr1-dev 2017-08-01 00:40:56 +00:00
Shuo Qian
1ab1eabf7c Merge "Add corresponding error code to fix vts test" into oc-dev am: 417af3a797 -s ours
am: ec37054b9e  -s ours

Change-Id: I8f854a94599c2ef407093859da15abd7d12adae9
2017-08-01 00:27:53 +00:00
Shuo Qian
76caf3d874 Merge "Add corresponding error code to fix vts test" into oc-dr1-dev
am: a20caf7720  -s ours

Change-Id: Ia6bc616f91773496324f3e4a4bf3d01551519ff4
2017-08-01 00:25:20 +00:00
Shuo Qian
ec37054b9e Merge "Add corresponding error code to fix vts test" into oc-dev
am: 417af3a797  -s ours

Change-Id: I98205a431af725626f8f692d9b69d4c4c1f6fe5b
2017-08-01 00:25:20 +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
Kevin Rocard
f088e57008 Merge "Audio policy config xsd: add missing gains and address in ports" into oc-dev am: 90e68d31cf
am: e93e38a91d

Change-Id: I9c1c4929b4edeebd8e3d1173312e07f62ad29fc0
2017-08-01 00:08:46 +00:00
Kevin Rocard
e93e38a91d Merge "Audio policy config xsd: add missing gains and address in ports" into oc-dev
am: 90e68d31cf

Change-Id: I0aa31b2996c8aae97d0b7ba16d9943f47d70a1fe
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
TreeHugger Robot
e2a3ca9cac Merge "Rename and Redoc VMS HAL defs." into oc-mr1-dev 2017-07-31 23:30:13 +00:00
Sohani Rao
ff16a48057 Merge "Wifi Offload HAL: Improve VTS tests for scanConfig" into oc-dr1-dev
am: cf43256fa9

Change-Id: I4c6a33f61d9278edc8640564bb151a347f69c17f
2017-07-31 19:59:30 +00:00
TreeHugger Robot
cf43256fa9 Merge "Wifi Offload HAL: Improve VTS tests for scanConfig" into oc-dr1-dev 2017-07-31 19:52:44 +00:00
Shuo Qian
de8b8c2abf Merge "Add corresponding error code to fix vts test" into oc-mr1-dev 2017-07-31 17:40:52 +00:00
Tomasz Wasilczyk
084351dcb2 Merge "Refine broadcastradio HAL comments." into oc-mr1-dev 2017-07-31 17:12:06 +00:00
Asaf Rosenfeld
01d10a11cf Rename and Redoc VMS HAL defs.
Test: All tests has been adjusted to post review names and pass.
Bug: 64093467
Change-Id: I7b5646b179030b59b87abc23ffe6a2a81e1b74b2
2017-07-31 16:40:42 +00:00
Emilian Peev
1a8ec1b8c8 Merge "NO PARTIAL RERUN Camera: Update stream consumer usage flag" into oc-dev am: 456dc6cc86 -s ours
am: 7bf57e857b  -s ours

Change-Id: Icc0eee8c4b944bb09c95eb9842db25f5206dde85
2017-07-31 16:31:15 +00:00
Emilian Peev
7bf57e857b Merge "NO PARTIAL RERUN Camera: Update stream consumer usage flag" into oc-dev
am: 456dc6cc86  -s ours

Change-Id: I10d00cc7a42127f5235a97dc72f76e608dfb5fea
2017-07-31 16:28:15 +00:00
Emilian Peev
274d228f4f Merge "Camera: Update stream consumer usage flag" into oc-dr1-dev
am: 48e25765d1  -s ours

Change-Id: Ie7acfad590d5069717373f2a79c1cbe5372bee0d
2017-07-31 16:28:15 +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
TreeHugger Robot
48e25765d1 Merge "Camera: Update stream consumer usage flag" into oc-dr1-dev 2017-07-31 16:21:44 +00:00
Yin-Chia Yeh
80fefeb6d8 Camera: fix various VTS issues am: a0dd95d45d -s ours
am: 63a9a98152  -s ours

Change-Id: I5a30edc586f326874304762b93cb1158ecb4ff5e
2017-07-31 08:58:46 +00:00
Yin-Chia Yeh
63a9a98152 Camera: fix various VTS issues
am: a0dd95d45d  -s ours

Change-Id: Ib438269494c5c25f1759f7ec016cbca97bec9072
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
TreeHugger Robot
8258ffc506 Merge "Camera: Update stream consumer usage flag" into oc-mr1-dev 2017-07-31 07:55:04 +00:00
Tomasz Wasilczyk
614ffc163a Refine broadcastradio HAL comments.
Bug: b/64113304
Test: it builds
Change-Id: I42c1d32dbe436c97f0a05b4fdb88f60f11ceb0a1
2017-07-29 17:31:56 -07:00
Tomasz Wasilczyk
efadc19b6b Make virtual radio space generic, not only FM-exclusive.
Bug: b/36864090
Test: VTS, instrumentalization
Change-Id: I2764d09f56a397a1b80914a2634d6bad4b3bd3d2
2017-07-29 11:29:46 -07:00
Tomasz Wasilczyk
5be4c2b6e3 Remove a hack for 1.0/1.1 bitmap compatibility.
Instead, implement it correctly.
This hack was a quick jury-rigging before O MR1 FC.

Bug: b/36864090
Test: VTS
Change-Id: Ia9caff9228518ec573a85437e9070db777057359
2017-07-29 11:29:46 -07:00
Tomasz Wasilczyk
753c1d1ef2 Implement closing default radio implementation by invalidating all future calls.
Also, use the new hidl_vec range constructor.

Bug: b/36864090
Test: VTS
Change-Id: I92a22ab7f263edd39e42abb65bc25b3d3dc33a1e
2017-07-29 11:29:46 -07:00
Nathan Harold
a86912c77b RadioV1_1 VTS Tests: startKeepalive, stopKeepalive
am: 64aae865f0

Change-Id: Ie49223b634fd0260c89b0cb44e762f719311f474
2017-07-29 01:03:00 +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
Enrico Granata
390ced6134 Improvements to the documentation for the OBD2 properties
Addition of a flag to the configuration for OBD2_FREEZE_FRAME_CLEAR
to indicate support for deletion of individual freeze frames.

Test: build
Bug: 64024685
Change-Id: I43cc448c801a5d59095be03d8056530364860ef5
2017-07-28 13:34:34 -07:00
Enrico Granata
a732c00feb Merge "Rename the enums that are supposed to match OBD2 values to have an Obd2 prefix Rename the enums that contain a list of sensors and don't directly map to OBD2 to have a Diagnostic prefix" into oc-mr1-dev 2017-07-28 20:32:22 +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
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
sqian
5e644f15e4 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:28:51 -07:00
Shuo Qian
3ba1520dd2 Merge "Add vts test for setCarrierInfoForImsiEncryption" into oc-dr1-dev
am: e7acb1f8cf

Change-Id: I314af896791d66040133bfc76974dd0a75b838f1
2017-07-28 19:20:36 +00:00
Shuo Qian
e7acb1f8cf Merge "Add vts test for setCarrierInfoForImsiEncryption" into oc-dr1-dev 2017-07-28 19:15:45 +00:00
Tomasz Wasilczyk
6e93c9c8ba Broadcast Radio default implementation: analog forced switch.
Bug: b/36864090
Test: VTS
Change-Id: I2b7bcf2bb3ad7075f39280ab72b32bff5bf166a3
2017-07-28 08:58:08 -07:00
Emilian Peev
bba0a5498a 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.

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-28 10:07:50 +01:00
Roshan Pius
82396e9e1b Merge "wifi(hidl): Modify the SAR power levels interface" into oc-dr1-dev
am: dda74bcf77

Change-Id: I504fe9096b855c6270c50c1e46b4e5ee26b9ea67
2017-07-28 02:51:57 +00:00
TreeHugger Robot
dda74bcf77 Merge "wifi(hidl): Modify the SAR power levels interface" into oc-dr1-dev 2017-07-28 02:47:05 +00:00
Yin-Chia Yeh
74fcad94f1 Merge "Camera: fix various VTS issues" into oc-dr1-dev
am: 5311547c05  -s ours

Change-Id: Id7da647c4b3a8e839826e56a0657e03fb3e91d31
2017-07-27 23:17:52 +00:00
Yin-Chia Yeh
5311547c05 Merge "Camera: fix various VTS issues" into oc-dr1-dev 2017-07-27 23:08:56 +00: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
Yin-Chia Yeh
d17bb31a0d Merge "Camera: reset callback after test done" into oc-mr1-dev 2017-07-27 22:09:12 +00:00
TreeHugger Robot
34c5caaa9f Merge "Camera: fix various VTS issues" into oc-mr1-dev 2017-07-27 22:04:59 +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
Roshan Pius
735ff43197 wifi(hidl): Modify the SAR power levels interface
Modifying the interface used to lower the tx power level for meeting SAR
requirements based on recommendation from the nexus hardware team. The
previous interface passed in a single power value in dBm for meeting SAR
requirements. However, the SAR requirements are more complex than that.
Based on the connection mode (802.11 a,b,g,n,ac) and the number of
streams that are active (MIMO), the SAR power levels are very
different. Using the previous interface would mean that we will have to
use the lowest power level among all the connection modes to meet the SAR
requirements. This would however result in us lowering the power much
more than needed (~2 dBm) for many connection modes.
Instead, we're switching to a more generic interface where the framework
informs the wifi chip that we're entering a special tx power mode scenario
(today, there is only 1 for voice call). The chip can then lookup the
extensive table of power levels for different connection modes which are
pre-populated by the OEM's in the BDF file to set the power level (depending
on the scenario framework sends and the active connection mode).

Bug: 62437848
Test: Manual tests
Change-Id: I5ee3f0d2c130958dbeb352e3b5ad9407f432624f
2017-07-27 14:05:03 -07:00
TreeHugger Robot
b79e079219 Merge "Camera: add camera owners" into oc-mr1-dev 2017-07-27 20:51:42 +00: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