OSDN Git Service
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
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
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
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
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
TreeHugger Robot [Fri, 7 Jul 2017 02:35:13 +0000 (02:35 +0000)]
Merge "Freeze wifi 1.1 interface." into oc-dr1-dev
Pawin Vongmasa [Thu, 22 Jun 2017 00:55:41 +0000 (17:55 -0700)]
Print test information to the target device's logcat
Test: make vts -j99 && \
vts-tradefed run commandAndExit vts \
--skip-all-system-status-check --primary-abi-only \
--skip-preconditions --module VtsHalMediaOmxV1_0Test -l INFO
Bug:
62885431
Change-Id: I71bfa9c5ff4825259c7452ad7ac40fef87103b5f
Peng Xu [Thu, 6 Jul 2017 23:24:52 +0000 (23:24 +0000)]
Merge "Relax accelerometer events norm check" into oc-dr1-dev
Steven Moreland [Thu, 6 Jul 2017 22:03:05 +0000 (15:03 -0700)]
Freeze wifi 1.1 interface.
Test: pass
Bug:
62437848
Bug:
62421345
Change-Id: Ib3bd3bbc28e6f0d34716781d4247ac0411128933
TreeHugger Robot [Thu, 6 Jul 2017 21:50:20 +0000 (21:50 +0000)]
Merge changes from topic 'wifi_1_1' into oc-dr1-dev
* changes:
wifi(implementation): Create 1.1 interface package
wifi(interface): Create 1.1 interface package
Roshan Pius [Tue, 20 Jun 2017 19:05:40 +0000 (12:05 -0700)]
wifi(implementation): Create 1.1 interface package
1. Move the implementation in 1.0/default to 1.1/default.
2. Move all of the implementation to
android::hardware::V1_1::implementation namespace.
3. All of the header files include the android::hardware::V1_0 namespace
so that it can access the types from 1.0 package. ("using namespace" is
against Google style guide though :().
The other option to prefix each 1.0 type with the namespace name.
For example: V1_0::WifiStatus.
4. Added the implementation of the new 1.1 method
IWifiChip.setTxPowerLimit().
4. The executable name and the .rc still has 1.0 name in it to avoid
changing all the device.mk files.
TODO: Hookup to the new legacy HAL API.
Bug:
62437848
Test: mmm -j128 hardware/interfaces/wifi/1.1/default/
Test: Device boots up and able to connect to wifi networks.
Test: New VTS tests passes
Change-Id: Ib36282939e70b064f246041a03d8870f5cb6410e
Peng Qi [Mon, 19 Jun 2017 10:01:07 +0000 (18:01 +0800)]
BT HAL H4 write flow
If to send type and data separately for one HCI packet,
it will cause two system call context switch to kernel space,
which will introduce software overhead on data path.
Plus, if vendor does not use pure UART interface, it causes different
data behavior on BUS and may not adapt to all vendors as legacy HAL did.
Considering backward-compatibility, to use writev to send
type and data together once as legacy BT HAL did.
Bug:
63391357
Test: H4 UTTest, BT VTS test, Bluetooth on/off
Change-Id: I2d93085fe0c01b48d0e3729a3fa85b5b27335b2c
(cherry picked from commit
92afd74a15d15b0ad6eb619a8ad3a864a4f6e71c)
Roshan Pius [Tue, 20 Jun 2017 18:36:29 +0000 (11:36 -0700)]
wifi(interface): Create 1.1 interface package
Extend the wifi HAL to add a new method in IWifiChip. This new method is
used for setting the TX power limit for meeting SAR requirements.
Bug:
62437848
Test: ./hardware/interfaces/update-makefiles.sh
Test: mmm -j32 hardware/interfaces/wifi/1.1
Change-Id: I8320a64812339f15cd88636505de0dfda18f0ebf
Jae Shin [Thu, 6 Jul 2017 01:31:06 +0000 (01:31 +0000)]
Merge "Add structural test VtsHalConfigstoreV1_1Target" into oc-dr1-dev
TreeHugger Robot [Wed, 5 Jul 2017 22:11:25 +0000 (22:11 +0000)]
Merge "[AWARE] Pass through full structure for end NDP command" into oc-dr1-dev
Mikhail Naganov [Wed, 5 Jul 2017 18:18:54 +0000 (11:18 -0700)]
Revert of "Audio: Add XML schema for audio effects configuration"
The schema file isn't used anywhere, safe to revert.
Bug:
37492580
Bug:
63169864
Test: not needed
Change-Id: I97e6e2d5be5324efe87475e04a916afeeec53631
Peng Xu [Wed, 5 Jul 2017 18:24:19 +0000 (11:24 -0700)]
Relax accelerometer events norm check
Current accelerometer norm check threshold is tight and cause
unnecessary test flakiness in test environment with small
inevitable vibration (e.g. from people walking by testing
lab).
This CL relax the threshold from 0.5m/s^2 to 1m/s^2.
Test: vts pass
Bug:
62811045
Change-Id: I5d7e736623c892b6e6c9b8ddc5d0f53fa8aaba77
Jae Shin [Mon, 3 Jul 2017 04:34:04 +0000 (13:34 +0900)]
Add structural test VtsHalConfigstoreV1_1Target
Add vts test module for configstore@1.1
Test: make vts -j40 && run commandAndExit vts -m
VtsHalConfigstoreV1_1Target
Bug:
63071317
Change-Id: I405f4409bc2ac4acdf07728b950ba9b653eb3328
Etan Cohen [Fri, 30 Jun 2017 20:55:21 +0000 (13:55 -0700)]
[AWARE] Pass through full structure for end NDP command
The end NDP command is the only NAN HAL command which uses
a dynamically sized command structure. The original code
stripped out the non-static portions of the command - losing
the information. Modify the dynamically allocate at a lower
level of the shim.
Bug:
62569797
Test: integration tests now proceeding past failure point
Change-Id: I1732923aed64d7ec11649f0bad1731ab5bca13a0
TreeHugger Robot [Fri, 30 Jun 2017 20:00:00 +0000 (20:00 +0000)]
Merge "Assert getService does not return nullptr" into oc-dr1-dev
TreeHugger Robot [Fri, 30 Jun 2017 18:00:53 +0000 (18:00 +0000)]
Merge "Camera: Try adding a passthrough legacy service" into oc-dr1-dev
Emilian Peev [Fri, 30 Jun 2017 15:19:19 +0000 (08:19 -0700)]
Camera: Try adding a passthrough legacy service
Listing by interface on passthrough only devices doesn't
return the legacy implementation that might be present.
For this case try to connect to the legacy provider and
check whether such implementation does in fact exist.
Bug:
62835396
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --module VtsHalCameraProviderV2_4Target -l INFO
Change-Id: Ifdc1b15392f5418fd0d949953bb6bdb1f3612ee8
Jae Shin [Thu, 29 Jun 2017 02:42:25 +0000 (11:42 +0900)]
Assert getService does not return nullptr
Make sure getService return value is not null before running
testcase
Test: make vts -j40 && vts-tradefed run commandAndExit vts -m
VtsHalConfigstoreV1_0Target
Bug:
62931371
Merged-In: I432e07c0c61a308b814d88cab9027a95ff24d8b5
(cherry picked from commit
60ff24c62e3215d24cdad0b7b29926734eb24c10)
Change-Id: Id9bb2a3fb2c4caf02c7e03c1529cefe2570c5453
Emilian Peev [Fri, 30 Jun 2017 01:26:47 +0000 (01:26 +0000)]
Camera: Try to test additional types of camera providers NO PARTIAL RERUN
am:
e6522390bb -s ours
Change-Id: Ic25232cfb160737efd637966aa319c55d0582065
Emilian Peev [Wed, 21 Jun 2017 13:52:54 +0000 (14:52 +0100)]
Camera: Try to test additional types of camera providers NO PARTIAL RERUN
Check whether different types of camera providers got
registered and try to test them if present.
Merged-In: I5c0c678e74d56cd8307d2f4e63b7c6dfa95d210d
Bug:
62835396
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --module VtsHalCameraProviderV2_4Target -l INFO
Change-Id: I5c0c678e74d56cd8307d2f4e63b7c6dfa95d210d
TreeHugger Robot [Thu, 29 Jun 2017 03:46:35 +0000 (03:46 +0000)]
Merge "Freeze first batch of HALs for O-MR1" into oc-dr1-dev
Shuo Qian [Thu, 29 Jun 2017 03:28:46 +0000 (03:28 +0000)]
Merge "Update .hal file for radio 1.0 hal" into oc-dr1-dev
Shuo Qian [Thu, 29 Jun 2017 03:28:46 +0000 (03:28 +0000)]
Merge "Fix failure vts tests:" into oc-dr1-dev
Shuo Qian [Thu, 29 Jun 2017 02:41:57 +0000 (02:41 +0000)]
Merge "Add a new vts directory under 1.1 for radio 1.1 APIs vts tests." into oc-dr1-dev
Connor O'Brien [Thu, 29 Jun 2017 02:21:17 +0000 (02:21 +0000)]
Merge "Fix consumerir test bugs" into oc-dev
am:
9f0b8369e9
Change-Id: Ib8949fe95c3f02cc951f357e0f6cbae154e31d95
Connor O'Brien [Thu, 29 Jun 2017 02:06:23 +0000 (02:06 +0000)]
Merge "Fix consumerir test bugs" into oc-dev
Emilian Peev [Thu, 29 Jun 2017 01:48:47 +0000 (01:48 +0000)]
Merge "Camera: Add support for testing partial results" into oc-dev
am:
98b7dd57dc -s ours
Change-Id: I8301d4bb4ec160018865bab5109013809202af80
TreeHugger Robot [Thu, 29 Jun 2017 01:46:13 +0000 (01:46 +0000)]
Merge "Camera: Add support for testing partial results" into oc-dev
Connor O'Brien [Wed, 28 Jun 2017 23:46:43 +0000 (16:46 -0700)]
Fix consumerir test bugs
The tests currently fail for some correct implementations; revise them
so this no longer occurs.
Bug:
63081607
Test: built & ran revised test
Change-Id: I21b72fd864de57272bd6eb42dca238f661137b93
Signed-off-by: Connor O'Brien <connoro@google.com>
sqian [Tue, 27 Jun 2017 19:40:10 +0000 (12:40 -0700)]
Update .hal file for radio 1.0 hal
Test: compile, treehugger
Bug:
62584347
Change-Id: Ic595d9934d3d4e059cfa40c5f6da3f4cc97b3352
sqian [Fri, 23 Jun 2017 23:37:32 +0000 (16:37 -0700)]
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
sqian [Wed, 24 May 2017 22:08:25 +0000 (15:08 -0700)]
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
Steven Moreland [Fri, 23 Jun 2017 22:53:53 +0000 (15:53 -0700)]
Freeze first batch of HALs for O-MR1
These HALs are being used, so they are frozen
in MR1.
Test: none
Bug:
62421345
Change-Id: I9e739be751efdc6fc263325346d0c81dd113e630
Yahan Zhou [Wed, 28 Jun 2017 17:30:40 +0000 (17:30 +0000)]
Merge "Fix ICryptoFactory service" into oc-dev
am:
2c57b00b17
Change-Id: If739ab2d5a5c93ddd2bb8720305311ee49a5503d
Yahan Zhou [Wed, 28 Jun 2017 17:27:20 +0000 (17:27 +0000)]
Merge "Fix ICryptoFactory service" into oc-dev
TreeHugger Robot [Wed, 28 Jun 2017 16:44:24 +0000 (16:44 +0000)]
Merge "Camera: Try to test additional types of camera providers" into oc-dr1-dev
pkanwar [Sun, 21 May 2017 17:22:02 +0000 (10:22 -0700)]
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
TreeHugger Robot [Tue, 27 Jun 2017 08:13:34 +0000 (08:13 +0000)]
Merge "Radio Keepalive HAL" into oc-dr1-dev
Emilian Peev [Wed, 21 Jun 2017 13:52:54 +0000 (14:52 +0100)]
Camera: Try to test additional types of camera providers
Check whether different types of camera providers got
registered and try to test them if present.
Bug:
62835396
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --module VtsHalCameraProviderV2_4Target -l INFO
Change-Id: I5c0c678e74d56cd8307d2f4e63b7c6dfa95d210d
Emilian Peev [Tue, 23 May 2017 15:37:11 +0000 (16:37 +0100)]
Camera: Add support for testing partial results
Currently the result handling is very basic. Partial
results and inflight queues are not supported. More
elaborate test cases like burst or streaming will
require such functionality to be present.
Merged-In: I3769d4ccc0047dc4eda173ea3bca538b026be8d2
Bug:
62550376
Bug:
37533777
Test: adb shell
/data/nativetest/VtsHalCameraProviderV2_4TargetTest/VtsHalCameraProviderV2_4TargetTest
Change-Id: I3769d4ccc0047dc4eda173ea3bca538b026be8d2
TreeHugger Robot [Mon, 26 Jun 2017 18:42:46 +0000 (18:42 +0000)]
Merge "Camera: Add support for testing partial results" into oc-dr1-dev
TreeHugger Robot [Mon, 26 Jun 2017 17:54:11 +0000 (17:54 +0000)]
Merge "Use vendor variant of libstagefright_foundation." into oc-dr1-dev
bohu [Sat, 24 Jun 2017 02:09:26 +0000 (02:09 +0000)]
vts: fix TryDifferentGovernors in Power hal test
am:
ae96eee82b
Change-Id: I700de5db71fb60b33983309d8d71a672dd2f98a3
bohu [Fri, 23 Jun 2017 19:31:42 +0000 (12:31 -0700)]
vts: fix TryDifferentGovernors in Power hal test
The test should return when it cannot open cpu governor files
BUG:
62138092
Test: build sdk_gphone_x86-userdebug, launch emulator,
run test: run vts -m VtsHalPowerV1_0Target
The test should all pass.
Change-Id: I3b47261e9525b6a04e995dac1ad63d9cc088b004
Yahan Zhou [Fri, 23 Jun 2017 17:59:25 +0000 (17:59 +0000)]
Merge "Camera: fix recursive lock in CameraDevice 1.0" into oc-dev
am:
eed6653f2a
Change-Id: I66f434944d2a00bee6c06d0883b916c5c87d1243
TreeHugger Robot [Fri, 23 Jun 2017 17:51:15 +0000 (17:51 +0000)]
Merge "Camera: fix recursive lock in CameraDevice 1.0" into oc-dev
Shawn Willden [Fri, 23 Jun 2017 15:39:17 +0000 (15:39 +0000)]
Merge "Test import of a EC P-521 key." into oc-dev
am:
ad40c6ccd7 -s ours
Change-Id: I725a855d206b47df230529fefb9ff99197ac23c8
TreeHugger Robot [Fri, 23 Jun 2017 15:32:14 +0000 (15:32 +0000)]
Merge "Test import of a EC P-521 key." into oc-dev
Etan Cohen [Fri, 23 Jun 2017 12:21:52 +0000 (12:21 +0000)]
Merge "[WIFI] Remove dependency on vendor-specific library" into oc-dev
am:
74f7ccd680 -s ours
Change-Id: Ie7afaaf44b8f4555095bbe75d77f4b7bd3e8b5a2
TreeHugger Robot [Fri, 23 Jun 2017 04:57:02 +0000 (04:57 +0000)]
Merge "[WIFI] Remove dependency on vendor-specific library" into oc-dev
Yahan Zhou [Fri, 23 Jun 2017 00:04:41 +0000 (17:04 -0700)]
Camera: fix recursive lock in CameraDevice 1.0
Several functions call close() while they are holding a lock, which
results in recursive locking. This CL implements close_locked() to avoid
such behavior.
Bug:
62919192
Test: run vts -m VtsHalCameraProviderV2_4Target, and camera should still
work after it
Change-Id: Ib38e1de19ed3c927bfb645c0c777c04f157f2b88
Steven Moreland [Fri, 23 Jun 2017 00:11:09 +0000 (17:11 -0700)]
Use vendor variant of libstagefright_foundation.
Rather than having a lib called libstagefright_foundation and one
called libstagefright_foundation_vendor, we now just have one library
and the build system keeps track of the vendor APIs that are exposed.
Test: (sanity) boot device, watch (part of) DRM protected movie.
Change-Id: I7495be3e8f546cac1b4909108313cf61fc85b1d8
Nathan Harold [Thu, 25 May 2017 02:42:40 +0000 (19:42 -0700)]
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
4e2541ecc6d9d57f424bd477a1907a896de497f0)
Shawn Willden [Fri, 16 Jun 2017 14:18:06 +0000 (08:18 -0600)]
Test import of a EC P-521 key.
This failure is also diagnosed by CTS, but it should be validated in VTS
as well.
Merged-In: Ia7654ff8813942fbca9dfa838337e9de5839a9e2
Bug:
33945114
Test: adb shell data/nativetests64/VtsHalKeymasterV3_0TargetTest/VtsHalKeymasterV3_0TargetTest
Change-Id: Ia7654ff8813942fbca9dfa838337e9de5839a9e2
Shawn Willden [Fri, 16 Jun 2017 14:18:06 +0000 (08:18 -0600)]
Test import of a EC P-521 key.
This failure is also diagnosed by CTS, but it should be validated in VTS
as well.
Bug:
33945114
Test: adb shell data/nativetests64/VtsHalKeymasterV3_0TargetTest/VtsHalKeymasterV3_0TargetTest
Change-Id: Ia7654ff8813942fbca9dfa838337e9de5839a9e2
TreeHugger Robot [Thu, 22 Jun 2017 17:40:01 +0000 (17:40 +0000)]
Merge "Offload HAL HIDL: Add return values to synchronous calls" into oc-dr1-dev
Yahan Zhou [Wed, 21 Jun 2017 21:24:09 +0000 (14:24 -0700)]
Fix ICryptoFactory service
BUG:
62642564
BUG:
62138343
Test: vts -m VtsHalDrmV1_0Target
Change-Id: Ic697a32b111804fc3dc78f1b6e6b77538d7eeea9
(cherry picked from commit
85a5d8855b07aec3727532983de38c324960d6d1)