Commit graph

5831 commits

Author SHA1 Message Date
Etan Cohen
f26f9266c3 [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-20 14:04:07 +00:00
Steven Moreland
4d6d31b221 Move multithread impl to system. am: bd10b5aa5a am: 050dbf98ba am: 6fdd9fad11
am: 6ab13cb28d

Change-Id: I3fda3d3a1bc4cafa201c854ba93118efbdc6e496
2017-07-20 05:32:16 +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
Tomasz Wasilczyk
5ca56431d4 Rename vendorExtension fields to vendorInfo.
Bug: b/63634552
Test: instrumentation
Change-Id: Ifeb41ace8d4f4df093c925883c07ea86f0d9b5d7
2017-07-19 16:26:56 -07:00
Tomasz Wasilczyk
2a4c584f74 Merge "Implement out-of-band metadata images." 2017-07-19 23:20:26 +00:00
Chia-I Wu
589c96e4a3 Merge "graphics: sideband streams are not buffers" into oc-dr1-dev am: 9071cc5bbc
am: 0471bdec9b

Change-Id: I7c8a473d3d65c6f9ec15263c77f9c1fab8616422
2017-07-19 21:38:11 +00: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
Tomasz Wasilczyk
ba3e254483 Implement out-of-band metadata images.
This saves a lot of HIDL bandwidth, by not including raw image data in
metadata vector.

Bug: b/63702941
Test: VTS
Change-Id: I73d5218095e4af34c58da8dcfc520abd4cb46c26
2017-07-19 13:38:26 -07:00
Steve Paik
85d75ba634 Merge "Fix WHEEL_TICK + and add friends" 2017-07-19 20:17:54 +00:00
Shuo Qian
0fb4201377 Merge changes from topic 'b/62584347' into oc-dr1-dev am: 696cb63064
am: 42e8b6e078

Change-Id: I8a060ba938a1b32b7e3da88e775a6b0ec1cfd67a
2017-07-19 19:03:04 +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
Tomasz Wasilczyk
9400122ce8 Merge "Add DRMO_MODULATION program identifier type." 2017-07-19 13:55:56 +00:00
Tomasz Wasilczyk
5a76ec53c2 Add DRMO_MODULATION program identifier type.
Bug: b/63702941
Test: it builds
Change-Id: I3353b232c2e24f7e3c816d4089b2cbf40c4b79ae
2017-07-19 06:53:39 -07:00
TreeHugger Robot
d7744e1b74 Merge "Mark a.h.broadcastradio@1.1-utils-lib as vendor_available" 2017-07-19 00:54:56 +00:00
sqian
bf8d4d7b72 resolve merge conflicts of 6ecc54a7 to stage-aosp-master am: 227fe277bf am: c278e0ae17 -s ours
am: 26ce593c1e  -s ours

Change-Id: I75e44f407a5bce113573c6e2f8e5bbc6762d762f
2017-07-19 00:34:05 +00: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
974d1d3a4a Merge "wifi: Add the missing RTT capabilities" into oc-dr1-dev am: b3ea84438b
am: d640e70bb5

Change-Id: I092a22ac149299509ae064b18e4afdd2346417be
2017-07-18 23:36:28 +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
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
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