Commit graph

5652 commits

Author SHA1 Message Date
sqian
0e323b2689 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
2017-07-21 12:24:00 -07:00
Android Build Merger (Role)
f9210cacc6 Merge "Merge "Update IRadioResponse.hal documentation" into oc-dev am: 7c60d26763 am: 657e3ee3b5 -s ours" into oc-dr1-dev-plus-aosp 2017-07-21 19:12:26 +00:00
Shuo Qian
2660d7bb3f Merge "Update IRadioResponse.hal documentation" into oc-dev am: 7c60d26763 -s ours
am: d9ff7f496a  -s ours

Change-Id: Ic20e3a9b2fb943ffc2daf4963f4cd9bc779fe8c0
2017-07-21 19:12:14 +00:00
Shuo Qian
0caf62782e Merge "Update IRadioResponse.hal documentation" into oc-dev am: 7c60d26763
am: 657e3ee3b5  -s ours

Change-Id: I3f58b1bf88d176b0d37f952ac5705fab65b6f7bb
2017-07-21 19:12:14 +00:00
Shuo Qian
657e3ee3b5 Merge "Update IRadioResponse.hal documentation" into oc-dev
am: 7c60d26763

Change-Id: Id237086ee33b9e79199e86b8f535ceb62459427d
2017-07-21 19:10:11 +00:00
Shuo Qian
d9ff7f496a Merge "Update IRadioResponse.hal documentation" into oc-dev
am: 7c60d26763  -s ours

Change-Id: I6d1a967b66a26158052909c9cf4721e3e77b72e5
2017-07-21 19:10:10 +00:00
Shuo Qian
7c60d26763 Merge "Update IRadioResponse.hal documentation" into oc-dev 2017-07-21 18:58:12 +00:00
Zhuoyao Zhang
ea35563b79 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
2017-07-21 10:53:24 -07:00
Etan Cohen
b1e419bb2e Merge "[HAL] Invalidate chip before shutting down legacy HAL" into oc-dr1-dev
am: 9cec7f6dab

Change-Id: Ie148f86f04c574de69eea10135362078c37b156d
2017-07-21 03:21:43 +00:00
Etan Cohen
9cec7f6dab Merge "[HAL] Invalidate chip before shutting down legacy HAL" into oc-dr1-dev 2017-07-21 03:18:16 +00:00
Android Build Merger (Role)
4d360f6395 Merge "Merge "Fix some VTS for 2017 devices" into oc-dev am: 41b188be76 -s ours am: 009ae0c065 -s ours" into oc-dr1-dev-plus-aosp 2017-07-21 00:06:39 +00:00
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
80eaa68730 Merge "Fix some VTS for 2017 devices" into oc-dev am: 41b188be76 -s ours
am: 009ae0c065  -s ours

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

Change-Id: Ibbc305aff92fbd20ea678f3c89d05e468c573cee
2017-07-21 00:03:57 +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
yinxu
182d952fb6 Add VTS code for the network scan API
Test: Telephony sanity tests, run vts -m VtsHalRadioV1_1Target
Bug: 63531235

Cherry-picked cleanly from:
https://googleplex-android-review.git.corp.google.com/#/c/2524924/

Merged-in: I25c85b2abb738959d1445e0054049db4bb2f2dfd
Change-Id: I25c85b2abb738959d1445e0054049db4bb2f2dfd
(cherry picked from commit 2495cf5a95)
2017-07-20 16:08:28 -07: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
Andrew Scull
2f6aae5a2f Weaver: functional VTS tests
Bug: 37530412
Test: VtsHalWeaverV1_0TargetTest
Change-Id: I6309acac45321b221c885cb10ca30bf653aa23ab
(cherry picked from commit 491fe84c2d)
2017-07-20 15:36:11 +01:00
Andrew Scull
f476e85d77 OemLock functional VTS test.
Bug: 37530310
Test: VtsHalOemLockV1_0TargetTest
Change-Id: I07adb187f9bde236e2c92f423936089f4cb37b24
(cherry picked from commit 3aee4e9e3f)
2017-07-20 12:46:18 +01: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
Etan Cohen
a0c6d7d5c6 [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
2017-07-19 19:31:12 +00: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