Commit graph

5584 commits

Author SHA1 Message Date
Shuo Qian
863401037e Merge "Fix some VTS for 2017 devices" into oc-dev am: 41b188be76 -s ours
am: 3860d416cb  -s ours

Change-Id: I8f49109965f08ff3ae4e629169e94724c5cd1f8d
2017-07-21 00:06:29 +00:00
Shuo Qian
3860d416cb Merge "Fix some VTS for 2017 devices" into oc-dev
am: 41b188be76  -s ours

Change-Id: Ic1f9a9b296fdd34837e2927a367b265a82c909a4
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
Stanley Tng
2129c0dc19 Merge "Fixed the HCI ACL Header definitions for PB and BC Flags" am: adda0e8721 am: cd762d90e8
am: 81775f2adb

Change-Id: I16d7bcbbeac66d660b01558f8362782e15bfb60f
2017-07-20 18:28:45 +00: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
Ying Xu
dbb0403986 Merge " Add VTS code for the network scan API" into oc-dr1-dev
am: cc360c3f87

Change-Id: I91bddf094efe3d132e5c485ca5de6c5996b89206
2017-07-20 16:42:25 +00:00
Ying Xu
cc360c3f87 Merge " Add VTS code for the network scan API" into oc-dr1-dev 2017-07-20 16:37:11 +00:00
Kevin Rocard
292ac584b7 Audio VTS: Change test utility from dyn to static lib
am: 0718333765

Change-Id: Iecf775a77cfb75f08f532e4d65db670ddabfea49
2017-07-20 16:29:56 +00:00
Steven Moreland
6ab13cb28d Move multithread impl to system. am: bd10b5aa5a am: 050dbf98ba
am: 6fdd9fad11

Change-Id: I30276543edee7607a431cb11f6ac24442c3685ed
2017-07-20 05:29:18 +00:00
Steven Moreland
6fdd9fad11 Move multithread impl to system. am: bd10b5aa5a
am: 050dbf98ba

Change-Id: Ia4206a31e017b792c108b444d17e3c133f480251
2017-07-20 05:25:15 +00:00
Steven Moreland
050dbf98ba Move multithread impl to system.
am: bd10b5aa5a

Change-Id: I6f78d61e3fa13936e57288f34363c8a425ae5cca
2017-07-20 05:21:46 +00:00
Steven Moreland
bd10b5aa5a Move multithread impl to system.
Test: hidl_test passes with linker restrictions in place
Change-Id: Ib860848b1d17073d2b5279d0d390f242864447b4
2017-07-20 03:07:41 +00:00
Kevin Rocard
0718333765 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>
2017-07-19 16:40:57 -07:00
Chia-I Wu
0471bdec9b Merge "graphics: sideband streams are not buffers" into oc-dr1-dev
am: 9071cc5bbc

Change-Id: Ide31e01a39a4fef9bad680ff070fbf894ac7abc2
2017-07-19 21:34:56 +00:00
Chia-I Wu
9071cc5bbc Merge "graphics: sideband streams are not buffers" into oc-dr1-dev 2017-07-19 21:29:58 +00:00
sqian
c699ba3901 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)
2017-07-19 13:45:18 -07:00
Shuo Qian
42e8b6e078 Merge changes from topic 'b/62584347' into oc-dr1-dev
am: 696cb63064

Change-Id: I12ac80c5a735edb870206db14f834ba6bcd09a6b
2017-07-19 18:55:37 +00:00
Shuo Qian
696cb63064 Merge changes from topic 'b/62584347' into oc-dr1-dev
* changes:
  Modified error code for OPERATION_NOT_ALLOWED
  Change mapping of QMI error
2017-07-19 18:48:54 +00:00
Stanley Tng
7915b71fb9 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
2017-07-19 11:03:27 -07:00
sqian
26ce593c1e resolve merge conflicts of 6ecc54a7 to stage-aosp-master am: 227fe277bf
am: c278e0ae17  -s ours

Change-Id: I5286e807f04a839eeb5fbcddf8a278354979b58a
2017-07-18 23:57:59 +00:00
sqian
c278e0ae17 resolve merge conflicts of 6ecc54a7 to stage-aosp-master
am: 227fe277bf

Change-Id: I4a0785f4bc32631a9f5f87783e4ace4fa58daf6a
2017-07-18 23:49:18 +00:00
Roshan Pius
d640e70bb5 Merge "wifi: Add the missing RTT capabilities" into oc-dr1-dev
am: b3ea84438b

Change-Id: I6933c17c7899dc13980ee2005264d3bd647bf594
2017-07-18 23:08:45 +00:00
TreeHugger Robot
b3ea84438b Merge "wifi: Add the missing RTT capabilities" into oc-dr1-dev 2017-07-18 23:04:26 +00:00
sqian
227fe277bf resolve merge conflicts of 6ecc54a7 to stage-aosp-master
Test: I solemnly swear I tested this conflict resolution.

Change-Id: I369fe9aacf37dcea6225b5e5a658159dfb859ad0
2017-07-18 14:12:10 -07:00
Etan Cohen
122dce80fb [VTS][NAN] Restore NAN test: configure for device support
am: b14c7560f7

Change-Id: Idf807d9161208255a5b001f51a7801652955137a
2017-07-18 20:29:51 +00:00
Keun Soo Yim
64f9d98e41 Accept a command line arg (nan_on) in wifi vts
am: e034df0640

Change-Id: Ic0acbec19aa0d9fd50dc532e0076a91f58638884
2017-07-18 20:29:49 +00:00
sqian
6ecc54a7ad 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
2017-07-18 12:06:20 -07:00
sqian
ba1a060051 Modified error code for OPERATION_NOT_ALLOWED
Test: run vts
Bug: 62584347
Change-Id: I3abacdbcc5391c790f61c7f5710c1292447a29b6
2017-07-18 11:45:21 -07:00
Etan Cohen
b14c7560f7 [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
2017-07-18 10:52:10 -07:00
Keun Soo Yim
e034df0640 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
2017-07-18 10:38:42 -07:00
yinxu
2495cf5a95 Add VTS code for the network scan API
Test: Telephony sanity tests, run vts -m VtsHalRadioV1_1Target
Bug: 63531235

Change-Id: I25c85b2abb738959d1445e0054049db4bb2f2dfd
2017-07-18 10:31:34 -07:00
Steven Moreland
0ac1ac0681 Merge "Move all hidl_test dependencies to the system.img" am: 46bb27e614 am: 49abbfdd68
am: dbd472dca9

Change-Id: Idea7060d20f59926e7ec75c154e1428baa329005
2017-07-18 08:59:58 +00:00
Steven Moreland
dbd472dca9 Merge "Move all hidl_test dependencies to the system.img" am: 46bb27e614
am: 49abbfdd68

Change-Id: If7a0e6dd7caafddfa710bdf6f3f92fef168692ba
2017-07-18 08:55:37 +00:00
Steven Moreland
49abbfdd68 Merge "Move all hidl_test dependencies to the system.img"
am: 46bb27e614

Change-Id: Id46ab1835638aec6c98f0b2775774cb4cc0c34dd
2017-07-18 08:50:32 +00:00
Treehugger Robot
46bb27e614 Merge "Move all hidl_test dependencies to the system.img" 2017-07-18 08:46:33 +00:00
Steven Moreland
2f2aabe212 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
2017-07-17 18:36:02 -07:00
Naina Nalluri
236e8e4b78 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
2017-07-17 15:56:56 -07:00
Shuo Qian
708f8bec63 Merge "Fix some VTS for 2017 devices" into oc-dr1-dev
am: 92cc6209a7

Change-Id: Ie076eb8e095d687ea238e8dfef3cd1fb3caddbd2
2017-07-17 22:14:54 +00:00
Shuo Qian
92cc6209a7 Merge "Fix some VTS for 2017 devices" into oc-dr1-dev 2017-07-17 22:09:30 +00:00
sqian
3edf9e825e Add RadioIndication for Radio VTS test am: e635772b01 am: 6e12e894c6
am: f86f60e546  -s ours

Change-Id: Iee3fd6e3109c410641f552b90494de90744f082d
2017-07-17 20:25:36 +00:00
sqian
f86f60e546 Add RadioIndication for Radio VTS test am: e635772b01
am: 6e12e894c6

Change-Id: Idcc4e57a7d052a73e22f089373f5b4039a2d86b0
2017-07-17 20:22:39 +00:00
Roshan Pius
08df76ec0d 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
2017-07-17 13:21:23 -07:00
sqian
6e12e894c6 Add RadioIndication for Radio VTS test
am: e635772b01

Change-Id: I535ab37b19272575a8a53364d5332173479d92e0
2017-07-17 20:20:09 +00:00
sqian
e635772b01 Add RadioIndication for Radio VTS test
Fix 1.1 radio folder bug

Bug: 38499208
Test: run vts
Change-Id: I6d39ce258d5318ce06fc7c99dad4caf0a3e35415
Merged-In: I6d39ce258d5318ce06fc7c99dad4caf0a3e35415
2017-07-17 11:10:58 -07:00
Chia-I Wu
ae00f5c39c 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
2017-07-17 10:33:16 -07:00
Shuo Qian
31e712105d Merge "Add RadioIndication for Radio VTS test" into oc-dr1-dev
am: 7e26812206

Change-Id: I81f2ad1d6acc99918ab09cefad55b142aaaed399
2017-07-17 17:27:30 +00:00
Shuo Qian
7e26812206 Merge "Add RadioIndication for Radio VTS test" into oc-dr1-dev 2017-07-17 17:23:24 +00:00
sqian
54d88b7a99 Add RadioIndication for Radio VTS test
Fix 1.1 radio folder bug

Bug: 38499208
Test: run vts
Change-Id: I6d39ce258d5318ce06fc7c99dad4caf0a3e35415
2017-07-15 03:37:39 +00:00