Commit graph

5910 commits

Author SHA1 Message Date
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
Steve Paik
dd98d966c5 Fix WHEEL_TICK + and add friends
Bug: 62876582
Test: Embedded Kitchen Sink works with VHAL emulator
Change-Id: Ifb631e69697658dd3e7b25ec22421b511fd1759b
2017-07-18 16:02:57 -07:00
Yifan Hong
c67f7b09fd Mark a.h.broadcastradio@1.1-utils-lib as vendor_available
It is used by libandroid_servers, a platform module.

Test: BOARD_VNDK_VERSION=current m libandroid_servers -j

Bug: 33241851
Change-Id: Iac260092d488133033b9a5f0238f7993ab5ef7f0
2017-07-18 15:37:28 -07:00
Edwin Wong
ade34378ef Merge "Check for nullptr IMemory." 2017-07-18 21:15:23 +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
55cdc20d69 [VTS][NAN] Restore NAN test: configure for device support am: b14c7560f7
am: 122dce80fb

Change-Id: I81af1a12f2a3848a769822343e0e8347d54f158a
2017-07-18 20:41:09 +00:00
Keun Soo Yim
399416ccf0 Accept a command line arg (nan_on) in wifi vts am: e034df0640
am: 64f9d98e41

Change-Id: I66a9ac462f5a2bbd20366205c6ee3cd71b564df5
2017-07-18 20:41:07 +00: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
Edwin Wong
3b8a9ed510 Check for nullptr IMemory.
mapMemory can return a nullptr, must check for nullptr
IMemory.

Test: Play Movies (stream and pin movies)
Test: VtsHalDrmV1_0TargetTest

bug: 38386082
Change-Id: I0766380a5843415ef0260c26bd21d4b4051b20ea
2017-07-18 10:45:16 -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
Tomasz Wasilczyk
85a60baea1 Merge "Make it possible to check if a given program/identifier type is supported." 2017-07-18 17:00:55 +00:00
Tomasz Wasilczyk
bb47714f8d Merge "Fill announcement-related gaps in Broadcast Radio APIs." 2017-07-18 16:49:17 +00:00
Tomasz Wasilczyk
8ca043b286 Merge "Added programInfoChanged callback." 2017-07-18 16:15:17 +00:00
Tomasz Wasilczyk
dc5291d63c Merge changes from topic 'radio-sprint-selector'
* changes:
  Split VENDOR program type to four distinct types.
  Move utils lib out from implementation namespace.
2017-07-18 15:36:23 +00:00
TreeHugger Robot
603195bc2a Merge "improve timeout handling" 2017-07-18 14:51:41 +00:00
Ram Mohan M
df47955adf improve timeout handling
1. Maintaining large delays between successive input/output queue calls
unnecessarily increases execution duration of the application. This is
brought down to 2ms.
2. Flush and EOS sends events via callback. So offer them some leeway
by increasing their timeout
3. No response breakout is changed to 5sec.
4. bug fix: decrement twice with in a loop removed

Change-Id: I37dbee0dbdc79044beced89077f6ef46c7075e9f
2017-07-18 05:34:56 -07:00
Steven Moreland
9a6889727e Merge "Move all hidl_test dependencies to the system.img" am: 46bb27e614 am: 49abbfdd68 am: dbd472dca9
am: 0ac1ac0681

Change-Id: I9003206ec11fd7d8868762df7e57deb2a1a50a44
2017-07-18 09:02:58 +00: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
Tomasz Wasilczyk
e192c39c51 Make it possible to check if a given program/identifier type is supported.
Test: VTS
Bug: b/63702941
Change-Id: I8bf162646971188d3bed006c66eb25f1f5dc8df9
2017-07-17 16:56:02 -07:00
Tomasz Wasilczyk
24180098d7 Fill announcement-related gaps in Broadcast Radio APIs.
- adds TA and TP flags to ProgramInfo struct
- adds a callback to cancel announcement

Bug: b/63702941
Test: Instrumentalization, VTS
Change-Id: I03a0781d37429d4a84aab2dce3e5bb7794a20c57
2017-07-17 16:56:02 -07:00
Tomasz Wasilczyk
f8866e79d7 Added programInfoChanged callback.
Also, updated tuneComplete_1_1 and afSwitch_1_1 to match the new behavior
(not passing the whole ProgramInfo struct).

Bug: b/32621193
Test: VTS (none added)
Change-Id: Ic8aee15b05cb982d97e550fc0806f34fbe112e22
2017-07-17 16:56:02 -07:00
Tomasz Wasilczyk
d167caff30 Split VENDOR program type to four distinct types.
Bug: b/32621193
Test: VTS, none added
Change-Id: Ia3b793faeed1129932cf312d231c7d661542fda9
2017-07-17 16:55:56 -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
ae7f824154 Merge "Fix some VTS for 2017 devices" into oc-dr1-dev am: 92cc6209a7
am: 708f8bec63  -s ours

Change-Id: I85f7cfabb3586ee492253f9b24b095b7558bb50b
2017-07-17 22:19:47 +00: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
b2c5977b2f Add RadioIndication for Radio VTS test am: e635772b01 am: 6e12e894c6 am: f86f60e546 -s ours
am: 3edf9e825e  -s ours

Change-Id: I28e3ce68901565472a6f18185e711fc3d06c8b9f
2017-07-17 20:28:38 +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
Shuo Qian
03c9b102b7 Merge "Fix some VTS for 2017 devices" 2017-07-17 20:11:29 +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
Zhuoyao Zhang
92ac48e7cd Merge "Update VtsHalCameraProviderV2_4TargetTest" 2017-07-17 17:55:23 +00: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
271717d66e Merge "Add RadioIndication for Radio VTS test" into oc-dr1-dev am: 7e26812206
am: 31e712105d

Change-Id: I4d8055817149d4113f479940053c3b4ef015861c
2017-07-17 17:30:02 +00: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
Zhuoyao Zhang
6e87e4c864 Update VtsHalCameraProviderV2_4TargetTest
* Use VtsHalHidlTargetTestEnvBase to run test against different service name

Bug:62946472
Test: make vts
      vts-tradefed run vts -m VtsHalCameraProviderV2_4Target

Change-Id: I12edce57c237cb6674e0aff437c3389e5ad9e028
2017-07-14 16:48:52 -07:00