Commit graph

5616 commits

Author SHA1 Message Date
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
Michael Butler
5cc58a7699 Merge "Added protections to RenderScript VTS class teardown." am: 80002c1ff3 am: 06f79dbd05
am: 88d9fda69a

Change-Id: I5610aa46a612acbd3b854de9721fd4c204a2f5f0
2017-07-14 22:54:58 +00:00
Michael Butler
88d9fda69a Merge "Added protections to RenderScript VTS class teardown." am: 80002c1ff3
am: 06f79dbd05

Change-Id: Iaab1d98a8096204be8f8153f53074cb772f0e809
2017-07-14 22:50:56 +00:00
Michael Butler
06f79dbd05 Merge "Added protections to RenderScript VTS class teardown."
am: 80002c1ff3

Change-Id: I55d1b0432e87068913a0e40cb72717a3a034b1e7
2017-07-14 22:46:57 +00:00
Treehugger Robot
80002c1ff3 Merge "Added protections to RenderScript VTS class teardown." 2017-07-14 22:38:38 +00:00
Timur Iskhakov
3bbf0c19d2 Interface for configureRpcThreadpool tests am: 16a0437ab3 am: d19838d2c4
am: 6c0b3bee3c

Change-Id: I94d513c5052cdd7b59a8a675fa401da21765f39d
2017-07-14 21:13:50 +00:00
Timur Iskhakov
6c0b3bee3c Interface for configureRpcThreadpool tests am: 16a0437ab3
am: d19838d2c4

Change-Id: Iec5730a1eb1d5c0efb14e3be9fca3e33e192d042
2017-07-14 21:10:52 +00:00
Roshan Pius
0bf562c1b2 Merge "supplicant(vts): Remove dependency on libwifi_hal" into oc-dr1-dev
am: be3cb04f37

Change-Id: I69f176ee7b671e1d1f942372cd47b3ae8abd258f
2017-07-14 20:48:46 +00:00
Michael Butler
4c65977854 Added protections to RenderScript VTS class teardown.
If RenderScript HIDL server does not exist or cannot be opened,
currently it results in a nullptr dereference when the VTS test is
torn down. This CL adds a check before the cleanup.

Test: mm -j40
Bug: 63711002
Change-Id: I11a226a78b31444e7b198b2ff1dfa3794963caa0
2017-07-14 20:47:14 +00:00
TreeHugger Robot
be3cb04f37 Merge "supplicant(vts): Remove dependency on libwifi_hal" into oc-dr1-dev 2017-07-14 20:38:43 +00:00
Timur Iskhakov
d19838d2c4 Interface for configureRpcThreadpool tests
am: 16a0437ab3

Change-Id: Ie8c58380704d5a007566491e53d415ee5e14bbc1
2017-07-14 20:16:20 +00:00
Roshan Pius
77d9eea1da 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
2017-07-14 19:25:32 +00:00
Philip Cuadra
6ccb71c977 Merge "Add powerHintAsync functionality" into oc-dr1-dev
am: 35197b7ab2

Change-Id: I2723058f6c0723b9e875a458a63302a90f26de1d
2017-07-14 17:07:37 +00:00
Philip Cuadra
35197b7ab2 Merge "Add powerHintAsync functionality" into oc-dr1-dev 2017-07-14 17:02:21 +00:00
Pawin Vongmasa
3f1ce37ed4 Merge "Print test information to the target device's logcat" into oc-dr1-dev
am: 4bd2ed2323

Change-Id: I3443699f72f8d43f93f6dde2683a9eadaeba5e73
2017-07-14 04:42:19 +00:00
TreeHugger Robot
4bd2ed2323 Merge "Print test information to the target device's logcat" into oc-dr1-dev 2017-07-14 04:37:32 +00:00
sqian
fe0699535e 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-13 19:01:13 -07:00
Timur Iskhakov
16a0437ab3 Interface for configureRpcThreadpool tests
Test: links, compiles
Change-Id: I58996c4eeba5889c73407b1d71f03638b23d73d1
Merged-In: I58996c4eeba5889c73407b1d71f03638b23d73d1
2017-07-13 17:18:51 -07:00
Philip Cuadra
48750dc0f3 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
2017-07-13 15:01:31 -07:00
Amit Mahajan
79a995784d Merge "Add an empty 1.1 ISap interface." into oc-dr1-dev
am: 48d56695ce

Change-Id: Ia615da9856af21d45fd10c175bbb3a357b7378bd
2017-07-13 18:04:05 +00:00