OSDN Git Service
Yin-Chia Yeh [Wed, 2 Aug 2017 01:19:33 +0000 (01:19 +0000)]
Merge "Camera: reset callback after test done" into oc-dev
am:
72ff9a1e38 -s ours
Change-Id: I4cf59eaf2e9583af574d50f9ddb830eb34e3356d
TreeHugger Robot [Tue, 1 Aug 2017 21:40:35 +0000 (21:40 +0000)]
Merge "Camera: reset callback after test done" into oc-dev
sqian [Tue, 1 Aug 2017 19:21:55 +0000 (12:21 -0700)]
resolve merge conflicts of
345a396c to oc-dr1-dev
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I5d816e17b2c8b113d07bf5e827d8c9378af761d9
Merged-In: I5d816e17b2c8b113d07bf5e827d8c9378af761d9
Shuo Qian [Tue, 1 Aug 2017 17:55:32 +0000 (17:55 +0000)]
Merge "Add EMPTY_RECORD for getDeviceIdentity" into oc-dev
sqian [Fri, 28 Jul 2017 18:28:27 +0000 (11:28 -0700)]
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
Shuo Qian [Tue, 1 Aug 2017 00:25:20 +0000 (00:25 +0000)]
Merge "Add corresponding error code to fix vts test" into oc-dev
am:
417af3a797 -s ours
Change-Id: I98205a431af725626f8f692d9b69d4c4c1f6fe5b
Shuo Qian [Tue, 1 Aug 2017 00:19:48 +0000 (00:19 +0000)]
Merge "Add corresponding error code to fix vts test" into oc-dev
Shuo Qian [Tue, 1 Aug 2017 00:19:33 +0000 (00:19 +0000)]
Merge "Add corresponding error code to fix vts test" into oc-dr1-dev
Kevin Rocard [Tue, 1 Aug 2017 00:05:16 +0000 (00:05 +0000)]
Merge "Audio policy config xsd: add missing gains and address in ports" into oc-dev
am:
90e68d31cf
Change-Id: I0aa31b2996c8aae97d0b7ba16d9943f47d70a1fe
TreeHugger Robot [Mon, 31 Jul 2017 23:56:02 +0000 (23:56 +0000)]
Merge "Audio policy config xsd: add missing gains and address in ports" into oc-dev
TreeHugger Robot [Mon, 31 Jul 2017 19:52:44 +0000 (19:52 +0000)]
Merge "Wifi Offload HAL: Improve VTS tests for scanConfig" into oc-dr1-dev
Emilian Peev [Mon, 31 Jul 2017 16:28:15 +0000 (16:28 +0000)]
Merge "NO PARTIAL RERUN Camera: Update stream consumer usage flag" into oc-dev
am:
456dc6cc86 -s ours
Change-Id: I10d00cc7a42127f5235a97dc72f76e608dfb5fea
TreeHugger Robot [Mon, 31 Jul 2017 16:22:23 +0000 (16:22 +0000)]
Merge "NO PARTIAL RERUN Camera: Update stream consumer usage flag" into oc-dev
TreeHugger Robot [Mon, 31 Jul 2017 16:21:44 +0000 (16:21 +0000)]
Merge "Camera: Update stream consumer usage flag" into oc-dr1-dev
Yin-Chia Yeh [Mon, 31 Jul 2017 08:55:46 +0000 (08:55 +0000)]
Camera: fix various VTS issues
am:
a0dd95d45d -s ours
Change-Id: Ib438269494c5c25f1759f7ec016cbca97bec9072
Emilian Peev [Wed, 26 Jul 2017 08:46:38 +0000 (09:46 +0100)]
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
Nathan Harold [Wed, 19 Jul 2017 23:48:44 +0000 (16:48 -0700)]
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
Yin-Chia Yeh [Wed, 26 Jul 2017 23:53:20 +0000 (16:53 -0700)]
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
sqian [Mon, 24 Jul 2017 20:51:24 +0000 (13:51 -0700)]
Add corresponding error code to fix vts test
Test: run vts
Bug:
63152815
Bug:
62989786
Bug:
64041522
Change-Id: Ifbd17f85b39221de31ec7884b30dc176e1cbd3ab
Merged-In: Ifbd17f85b39221de31ec7884b30dc176e1cbd3ab
Shuo Qian [Fri, 28 Jul 2017 19:15:45 +0000 (19:15 +0000)]
Merge "Add vts test for setCarrierInfoForImsiEncryption" into oc-dr1-dev
TreeHugger Robot [Fri, 28 Jul 2017 02:47:05 +0000 (02:47 +0000)]
Merge "wifi(hidl): Modify the SAR power levels interface" into oc-dr1-dev
Yin-Chia Yeh [Thu, 27 Jul 2017 23:08:56 +0000 (23:08 +0000)]
Merge "Camera: fix various VTS issues" into oc-dr1-dev
Kevin Rocard [Thu, 27 Jul 2017 18:41:53 +0000 (11:41 -0700)]
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>
sqian [Thu, 27 Jul 2017 21:59:38 +0000 (14:59 -0700)]
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
Roshan Pius [Tue, 25 Jul 2017 15:48:08 +0000 (08:48 -0700)]
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
sqian [Mon, 24 Jul 2017 21:05:29 +0000 (14:05 -0700)]
Add corresponding error code to fix vts test
Test: run vts
Bug:
63152815
Bug:
62989786
Bug:
64041522
Change-Id: Ifbd17f85b39221de31ec7884b30dc176e1cbd3ab
Merged-In: Ifbd17f85b39221de31ec7884b30dc176e1cbd3ab
Yin-Chia Yeh [Wed, 26 Jul 2017 23:53:20 +0000 (16:53 -0700)]
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
TreeHugger Robot [Wed, 26 Jul 2017 21:28:45 +0000 (21:28 +0000)]
Merge "Camera: reset callback after test done" into oc-dr1-dev
Sohani Rao [Wed, 26 Jul 2017 18:27:49 +0000 (11:27 -0700)]
Wifi Offload HAL: Improve VTS tests for scanConfig
Configure scans with test parameters from the Offload HAL service.
Bug:
36865676
Test: VTS tests
Change-Id: Iec5a3e837f9a2e2cf285b079a4630ff273727679
Ying Xu [Wed, 26 Jul 2017 17:46:56 +0000 (17:46 +0000)]
Merge "Fix VTS errors of the network scan API" into oc-dr1-dev
Emilian Peev [Wed, 26 Jul 2017 08:46:38 +0000 (09:46 +0100)]
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
Zhuoyao Zhang [Wed, 26 Jul 2017 03:15:14 +0000 (03:15 +0000)]
Merge "Move android.hardware.tests.msgq@1.0-impl to system.img" into oc-dr1-dev
Zhuoyao Zhang [Wed, 26 Jul 2017 03:15:14 +0000 (03:15 +0000)]
Merge "Move all hidl_test dependencies to the system.img" into oc-dr1-dev
yinxu [Tue, 25 Jul 2017 22:15:52 +0000 (15:15 -0700)]
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
Eino-Ville Talvala [Tue, 25 Jul 2017 21:09:48 +0000 (21:09 +0000)]
Merge "Camera: Don't enforce result metadata queue support" into oc-dev
am:
1d1b503b77 -s ours
Change-Id: If9f4aa85e57aabf7dfb393813ab13eff78967a16
Eino-Ville Talvala [Tue, 25 Jul 2017 20:58:44 +0000 (20:58 +0000)]
Merge "Camera: Don't enforce result metadata queue support" into oc-dev
Eino-Ville Talvala [Tue, 25 Jul 2017 20:54:34 +0000 (20:54 +0000)]
Merge "Camera: Don't enforce result metadata queue support" into oc-dr1-dev
Steven Moreland [Fri, 14 Jul 2017 20:34:03 +0000 (13:34 -0700)]
Move all hidl_test dependencies to the system.img
Test: hidl_test passes
Test: build with BOARD_VNDK_VERSION=current
Bug:
63704014
Change-Id: Ia97be8b4d61236adfd964bf8e4fa632d99010b98
Merged-In: Ia97be8b4d61236adfd964bf8e4fa632d99010b98
(cherry picked from commit
2f2aabe2123dfdc35c0499c028fd5ab0ce3c9585)
Zhuoyao Zhang [Fri, 21 Jul 2017 17:53:24 +0000 (10:53 -0700)]
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
Merged-In: I0deb28ffdbd437cc05d9c1efed63e0ba9dc3a048
(cherry picked from commit
ea35563b799f6c9866500e8d365e0516e1971ca1)
(cherry picked from commit
1d42476fdcd631fcf97d2ccf24996c8b7edd7521)
Emilian Peev [Mon, 24 Jul 2017 15:29:54 +0000 (16:29 +0100)]
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
Emilian Peev [Mon, 24 Jul 2017 15:29:54 +0000 (16:29 +0100)]
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
Andrew Scull [Tue, 25 Jul 2017 12:09:02 +0000 (12:09 +0000)]
Merge "Weaver: functional VTS tests" into oc-dr1-dev
Andrew Scull [Tue, 25 Jul 2017 12:08:56 +0000 (12:08 +0000)]
Merge "OemLock functional VTS test." into oc-dr1-dev
Roshan Pius [Tue, 25 Jul 2017 06:44:52 +0000 (06:44 +0000)]
supplicant(vts): Remove start/stop framework
am:
80599435bd
Change-Id: Ie80ce57759f12b4b2b833b457a11c2b3650560ba
Roshan Pius [Mon, 24 Jul 2017 21:13:48 +0000 (14:13 -0700)]
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
145cce98b56674404a6148835f008df44086db2e)
Merged-Id: I43edc03492bf5e03f9a4236265c43baa5efcd61d
Shuo Qian [Tue, 25 Jul 2017 00:22:25 +0000 (00:22 +0000)]
Merge "Add Sim absent assertion in the 1.0 setup" into oc-dev
am:
5b472ec138
Change-Id: Ib90407dd470f88dddf5d8037e459e22b534c8b10
Shuo Qian [Tue, 25 Jul 2017 00:14:21 +0000 (00:14 +0000)]
Merge "Add Sim absent assertion in the 1.0 setup" into oc-dev
Shuo Qian [Tue, 25 Jul 2017 00:14:00 +0000 (00:14 +0000)]
Merge "Add Sim absent assertion in the setup" into oc-dr1-dev
TreeHugger Robot [Mon, 24 Jul 2017 23:26:12 +0000 (23:26 +0000)]
Merge "Update VTS tests so that more tests pass for O." into oc-dr1-dev
Roshan Pius [Mon, 24 Jul 2017 23:07:54 +0000 (23:07 +0000)]
Merge "supplicant(vts): Remove start/stop framework" into oc-dr1-dev
Roshan Pius [Mon, 24 Jul 2017 21:13:48 +0000 (14:13 -0700)]
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
Sanket Padawe [Sun, 23 Jul 2017 00:58:02 +0000 (17:58 -0700)]
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
Stanley Tng [Sat, 22 Jul 2017 15:57:52 +0000 (15:57 +0000)]
Merge "Fixed the HCI ACL Header definitions for PB and BC Flags" into oc-dev
am:
ad6b1eb846
Change-Id: I1636ac9ff75062d170db6032b8e657a0f5b29f54
TreeHugger Robot [Sat, 22 Jul 2017 15:51:40 +0000 (15:51 +0000)]
Merge "Fixed the HCI ACL Header definitions for PB and BC Flags" into oc-dev
Stanley Tng [Wed, 19 Jul 2017 17:55:01 +0000 (10:55 -0700)]
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
7915b71fb9fdc8a378b2aae9b618d67bf64d4971)
Legler Wu [Sat, 22 Jul 2017 07:04:55 +0000 (07:04 +0000)]
Update VTS tests so that Mediatek pass more VTS for O.
am:
b36443a864 -s ours
Change-Id: I18dd1802cca630e3b9603c5decf3c2e2becffde7
Legler Wu [Fri, 30 Jun 2017 03:00:07 +0000 (11:00 +0800)]
Update VTS tests so that Mediatek pass more VTS for O.
Bug: b/
62926561
Test: vts tests
Change-Id: Ic927f9efd437c6411fb14feac8c681334e4b5e60
Merged-in: Ic927f9efd437c6411fb14feac8c681334e4b5e60
sqian [Fri, 21 Jul 2017 18:49:03 +0000 (11:49 -0700)]
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
sqian [Fri, 21 Jul 2017 18:18:17 +0000 (11:18 -0700)]
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
Shuo Qian [Fri, 21 Jul 2017 19:10:10 +0000 (19:10 +0000)]
Merge "Update IRadioResponse.hal documentation" into oc-dev
am:
7c60d26763 -s ours
Change-Id: I6d1a967b66a26158052909c9cf4721e3e77b72e5
Shuo Qian [Fri, 21 Jul 2017 18:58:12 +0000 (18:58 +0000)]
Merge "Update IRadioResponse.hal documentation" into oc-dev
Etan Cohen [Fri, 21 Jul 2017 03:18:16 +0000 (03:18 +0000)]
Merge "[HAL] Invalidate chip before shutting down legacy HAL" into oc-dr1-dev
Shuo Qian [Fri, 21 Jul 2017 00:03:57 +0000 (00:03 +0000)]
Merge "Fix some VTS for 2017 devices" into oc-dev
am:
41b188be76 -s ours
Change-Id: Ic1f9a9b296fdd34837e2927a367b265a82c909a4
Shuo Qian [Thu, 20 Jul 2017 23:57:25 +0000 (23:57 +0000)]
Merge "Fix some VTS for 2017 devices" into oc-dev
Yin-Chia Yeh [Tue, 11 Jul 2017 20:44:35 +0000 (13:44 -0700)]
Camera: reset callback after test done
Test: VTS test pass
Bug:
63570734
Change-Id: Ia7b1e8e9baae2885d9c43821fe2933df883f7892
Merged-In: Ic0eecaf843b5c2e78f60325090ea652d43a74a0b
Ying Xu [Thu, 20 Jul 2017 16:37:11 +0000 (16:37 +0000)]
Merge " Add VTS code for the network scan API" into oc-dr1-dev
Andrew Scull [Mon, 12 Jun 2017 15:38:46 +0000 (16:38 +0100)]
Weaver: functional VTS tests
Bug:
37530412
Test: VtsHalWeaverV1_0TargetTest
Change-Id: I6309acac45321b221c885cb10ca30bf653aa23ab
(cherry picked from commit
491fe84c2d51f5d08f93a7e2bbbe58f403d07359)
Andrew Scull [Tue, 13 Jun 2017 09:44:55 +0000 (10:44 +0100)]
OemLock functional VTS test.
Bug:
37530310
Test: VtsHalOemLockV1_0TargetTest
Change-Id: I07adb187f9bde236e2c92f423936089f4cb37b24
(cherry picked from commit
3aee4e9e3f3dbd7d4a6e6bd6ba816773a4e4c817)
Kevin Rocard [Tue, 18 Jul 2017 19:29:39 +0000 (12:29 -0700)]
Audio VTS: Change test utility from dyn to static lib
Bug:
63801053
In order to avoid having to instruct vts-tradefed to push the test
utility library on the target before runing the audio VTS,
duplicating the makefile declaration,
make the library static.
Test: make vts
Test: vts-tradefed run commandAndExit vts --module VtsHalAudioV2_0Target
Change-Id: I7a98b2aaf0e0f6f91a92b7f01df1c630540ad697
Merged-In: I7a98b2aaf0e0f6f91a92b7f01df1c630540ad697
Signed-off-by: Kevin Rocard <krocard@google.com>
Chia-I Wu [Wed, 19 Jul 2017 21:29:58 +0000 (21:29 +0000)]
Merge "graphics: sideband streams are not buffers" into oc-dr1-dev
sqian [Wed, 19 Jul 2017 18:54:03 +0000 (11:54 -0700)]
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
fe0699535e8d17b7716a10e64c2528abc9ffaecb)
Etan Cohen [Mon, 17 Jul 2017 23:43:29 +0000 (16:43 -0700)]
[HAL] Invalidate chip before shutting down legacy HAL
Change the order of shutdown to invalidate chips before
shutting down the legacy HAL. Allows pre-shutdown commands
to be sent down.
Bug:
63704506
Test: NAN tests passing
Test: full regression suite
Change-Id: I03d237d732b4e3482b1e1639848342dfdde9fcb7
Shuo Qian [Wed, 19 Jul 2017 18:48:54 +0000 (18:48 +0000)]
Merge changes from topic 'b/
62584347' into oc-dr1-dev
* changes:
Modified error code for OPERATION_NOT_ALLOWED
Change mapping of QMI error
TreeHugger Robot [Tue, 18 Jul 2017 23:04:26 +0000 (23:04 +0000)]
Merge "wifi: Add the missing RTT capabilities" into oc-dr1-dev
sqian [Mon, 17 Jul 2017 22:43:08 +0000 (15:43 -0700)]
Modified error code for OPERATION_NOT_ALLOWED
Test: run vts
Bug:
62584347
Change-Id: I3abacdbcc5391c790f61c7f5710c1292447a29b6
Etan Cohen [Wed, 12 Jul 2017 20:18:41 +0000 (13:18 -0700)]
[VTS][NAN] Restore NAN test: configure for device support
Restore NAN test and use configuration which determines test
result based on whether or not the platform supports NAN.
Bug:
63131342
Test: NAN-supporting devices: pass (the NAN tests)
Test: Non-NAN-supporting device: pass
Change-Id: I6600abc531d4eb1dea6c501f6a39ef37051cb923
Keun Soo Yim [Tue, 11 Jul 2017 16:40:33 +0000 (09:40 -0700)]
Accept a command line arg (nan_on) in wifi vts
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 VtsHalWifiV1_0Host -l
INFO
Test: VtsHalWifiV1_0TargetTest
Test: VtsHalWifiV1_0TargetTest -N
Test: VtsHalWifiV1_0TargetTest --nan_on
Test: VtsHalWifiV1_0TargetTest -f (fails)
Test: VtsHalWifiV1_0TargetTest --gtest_filter=foo
Test: VtsHalWifiV1_0TargetTest --gtest_filter=foo -N
Test: VtsHalWifiV1_0TargetTest -N --gtest_filter=foo
Bug:
63131342
Change-Id: I359ac7238496e64c7ace1e14e797d4fcfc8cc0e4
yinxu [Tue, 11 Jul 2017 21:17:41 +0000 (14:17 -0700)]
Add VTS code for the network scan API
Test: Telephony sanity tests, run vts -m VtsHalRadioV1_1Target
Bug:
63531235
Change-Id: I25c85b2abb738959d1445e0054049db4bb2f2dfd
Naina Nalluri [Mon, 17 Jul 2017 18:56:42 +0000 (11:56 -0700)]
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
Shuo Qian [Mon, 17 Jul 2017 22:09:30 +0000 (22:09 +0000)]
Merge "Fix some VTS for 2017 devices" into oc-dr1-dev
Roshan Pius [Mon, 17 Jul 2017 20:10:01 +0000 (13:10 -0700)]
wifi: Add the missing RTT capabilities
These feature flags are defined in the legacy HAL, but were not exposed in the HIDL
interface.
Updated the hash in current.txt using 'hidl-gen -L hash -r
android.hardware.wifi@1.1:hardware/interfaces -r
android.hardware:hardware/interfaces -r
android.hidl:system/libhidl/transport
android.hardware.wifi@1.1::IWifiChip'
Bug:
63545934
Test: Manual testing
Change-Id: Ia196e0fc1c5e305210ec95eb8a54b1a1204ebf20
Chia-I Wu [Mon, 17 Jul 2017 17:32:15 +0000 (10:32 -0700)]
graphics: sideband streams are not buffers
We should call native_handle_clone instead of IMapper::importBuffer
on sideband stream handles.
Bug:
63707399
Test: manual
Change-Id: Ie07e50f6bb771f3c7a69d29e36f60b149dc6af95
Shuo Qian [Mon, 17 Jul 2017 17:23:24 +0000 (17:23 +0000)]
Merge "Add RadioIndication for Radio VTS test" into oc-dr1-dev
sqian [Wed, 12 Jul 2017 19:37:07 +0000 (12:37 -0700)]
Add RadioIndication for Radio VTS test
Fix 1.1 radio folder bug
Bug:
38499208
Test: run vts
Change-Id: I6d39ce258d5318ce06fc7c99dad4caf0a3e35415
TreeHugger Robot [Fri, 14 Jul 2017 20:38:43 +0000 (20:38 +0000)]
Merge "supplicant(vts): Remove dependency on libwifi_hal" into oc-dr1-dev
Roshan Pius [Fri, 14 Jul 2017 18:32:25 +0000 (11:32 -0700)]
supplicant(vts): Remove dependency on libwifi_hal
libwifi_hal is a vendor component, so these are not allowed to be used
in the VTS tests. Use the vendor HAL for the required initializations
instead since that is the flow used by framework anyway (setup the wifi
chip using vendor hal and then use wpa_supplicant for connections).
Bug:
63704014
Bug:
33241851
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: I396d8311253e2b2493f9bb901731937019d30164
Philip Cuadra [Fri, 14 Jul 2017 17:02:21 +0000 (17:02 +0000)]
Merge "Add powerHintAsync functionality" into oc-dr1-dev
TreeHugger Robot [Fri, 14 Jul 2017 04:37:32 +0000 (04:37 +0000)]
Merge "Print test information to the target device's logcat" into oc-dr1-dev
sqian [Mon, 10 Jul 2017 18:12:38 +0000 (11:12 -0700)]
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
Philip Cuadra [Tue, 11 Jul 2017 22:26:53 +0000 (15:26 -0700)]
Add powerHintAsync functionality
Add an async version of powerHint called powerHintAsync.
Bug:
62377008
Test: Take systrace, confirm powerHint is now an async HIDL transaction
Change-Id: I7c4d850ef17c909977675771d6c2b8a3fa1609d2
Amit Mahajan [Thu, 13 Jul 2017 17:47:48 +0000 (17:47 +0000)]
Merge "Add an empty 1.1 ISap interface." into oc-dr1-dev
TreeHugger Robot [Thu, 13 Jul 2017 16:23:28 +0000 (16:23 +0000)]
Merge "wifi(implementation): Set/Reset TX power limit" into oc-dr1-dev
Amit Mahajan [Wed, 12 Jul 2017 17:17:36 +0000 (10:17 -0700)]
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
Steven Moreland [Wed, 12 Jul 2017 02:26:06 +0000 (19:26 -0700)]
Remove configstore from the list of O-MR1 HALs.
This interface was removed.
Test: none
Bug:
63440035
Change-Id: I984b4553f5e31d9b3926f4b3d2abc891909fcb51
TreeHugger Robot [Wed, 12 Jul 2017 02:18:16 +0000 (02:18 +0000)]
Merge "Configstore HAL is down-revisioned to 1.0" into oc-dr1-dev
Yin-Chia Yeh [Tue, 11 Jul 2017 20:44:35 +0000 (13:44 -0700)]
Camera: reset callback after test done
Test: VTS test pass
Bug:
63570734
Change-Id: Ia7b1e8e9baae2885d9c43821fe2933df883f7892
Merged-In: Ia7b1e8e9baae2885d9c43821fe2933df883f7892
Roshan Pius [Tue, 11 Jul 2017 15:59:29 +0000 (08:59 -0700)]
wifi(implementation): Set/Reset TX power limit
Hookup the HIDL method calls to the respective newly added legacy
HAL functions for setting/resetting TX power limits for SAR
requirements.
Bug:
62437848
Test: VTS test fails because of a bug in Qcom implementation. Working
with Qcom to fix their implementation.
Change-Id: Ia619f5558e44d44fd77d037e72dfc1f6863b51e0
Sundong Ahn [Mon, 10 Jul 2017 04:56:10 +0000 (13:56 +0900)]
Configstore HAL is down-revisioned to 1.0
Configstore was up-revisioned from 1.0 to 1.1. However no new
APIs were added to 1.1. Therefore configstore in dr1 will be down
revisioned to 1.0.
Bug:
63440035
Test: build & run
Change-Id: Ia2614439cd620fbe5fbd427571ab55a15089cc47
Merged-In: I75e7fd1da8e90ae48d779a3ba28957c5a93a5529
Myles Watson [Mon, 26 Jun 2017 20:09:11 +0000 (13:09 -0700)]
Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()
Bug:
62641184
Test: Compilation
Change-Id: I21192c7a5c15def379d040b586a66ee1534c7c15
(cherry picked from commit
3e272a70763ff6191ac96d8560724e0a02f827ac)
TreeHugger Robot [Fri, 7 Jul 2017 22:58:55 +0000 (22:58 +0000)]
Merge "Revert of "Audio: Add XML schema for audio effects configuration"" into oc-dr1-dev