Commit graph

2281 commits

Author SHA1 Message Date
Keun Soo Yim
d938f4921e use a precondition var in soundtrigger.
Test: make vts BUILD_GOOGLE_VTS=true -j32 && vts-tradefed run
commandAndExit vts --skip-all-system-status-check --primary-abi-only
--skip-preconditions --module HalSoundTriggerHidlTargetBasicTest -l INFO
Fixes: 34256132

Change-Id: Iab82492503d57a589fd3bed3db609a67064ec98b
2017-01-24 14:20:18 -08:00
Keun Soo Yim
846dc078ea Merge "Use the feature-based precondition checking for VR Test." 2017-01-24 21:14:50 +00:00
TreeHugger Robot
f24b37b655 Merge "Add annotations to create gnss-base.h" 2017-01-24 15:51:57 +00:00
TreeHugger Robot
65c9c6ac9d Merge "Fixed typos and incorrect types" 2017-01-24 08:02:20 +00:00
Stephen Hines
b45857ebc5 Fix some ordered comparisons with zero for pointers.
Bug: http://b/31532493

The latest clang will trigger an error diagnostic "ordered comparison
between pointer and zero ..." when you do something like "p > 0". This
change replaces the ordered comparisons with proper checks instead.

Test: Validated with latest toolchain.
Change-Id: I4a127fe2551688c8176bdd31210cf7f2f40baeba
2017-01-23 17:26:30 -08:00
Keun Soo Yim
41249c1f52 Use the feature-based precondition checking for VR Test.
This is to run the test on both passthrough and binderized
devices.

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
HalNfcHidlTargetBasicTest -l INFO
Bug: 32022964

Change-Id: Ib1288b7288431da6ec2d8a93aa0bc6f2c86fc4da
2017-01-23 16:29:02 -08:00
TreeHugger Robot
13387baf26 Merge "light HAL uses "default" service name" 2017-01-24 00:14:30 +00:00
Chris Phoenix
6d0a0911d5 light HAL uses "default" service name
The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: builds

Bug: 33844934
Change-Id: I042320d62f88ba9585ee05f33fe7592b5ffa1884
2017-01-23 23:58:00 +00:00
Jack Yu
57a72ed3ed Fixed typos and incorrect types
Fixed typos, incorrect types for bitmap, and comment
alignment.

Test: Build
Change-Id: I51a99fa71877cfe168ee2cf31de702f36f57d013
2017-01-23 15:28:52 -08:00
Chris Phoenix
3b4c509d4a Merge "Remove "false" parameter from getService" 2017-01-23 23:05:48 +00:00
Keun Soo Yim
83aee6af90 Merge "Add host-side code for wifi HAL test" am: 688a9e1485 am: a48d0c425b am: 2c8160aeb0
am: 15df064e84

Change-Id: Ica434f314d5eb2c95fb81b11f66ed38151906f8d
2017-01-23 22:23:21 +00:00
Keun Soo Yim
15df064e84 Merge "Add host-side code for wifi HAL test" am: 688a9e1485 am: a48d0c425b
am: 2c8160aeb0

Change-Id: Ic0933c0820d0a623a6219ab3551a91ba12e9df3b
2017-01-23 22:17:18 +00:00
Keun Soo Yim
2c8160aeb0 Merge "Add host-side code for wifi HAL test" am: 688a9e1485
am: a48d0c425b

Change-Id: I8468f30bb3a1166d0e6ff5868a265f9ce006a57a
2017-01-23 22:14:49 +00:00
Keun Soo Yim
a48d0c425b Merge "Add host-side code for wifi HAL test"
am: 688a9e1485

Change-Id: Icf6e0ac782006fff547babff02aa727219ebd44d
2017-01-23 22:13:18 +00:00
Treehugger Robot
688a9e1485 Merge "Add host-side code for wifi HAL test" 2017-01-23 22:09:46 +00:00
TreeHugger Robot
a9e5636cc3 Merge "Rename CommandWriter to CommandWriterBase" 2017-01-23 21:48:45 +00:00
Chris Phoenix
ed1bf0ef01 Merge "bootctrl HAL uses "default" service name" am: 9877cf296f am: c68beb8712 am: f6835e18ef
am: f8fd472a50  -s ours

Change-Id: I320558eb3b6dabebb3c5b05a2d6633e9355f952c
2017-01-23 21:15:31 +00:00
Chris Phoenix
f8fd472a50 Merge "bootctrl HAL uses "default" service name" am: 9877cf296f am: c68beb8712
am: f6835e18ef

Change-Id: Ie9fd8324f06314536b169a6d79e80453bc6f503a
2017-01-23 21:12:25 +00:00
Chris Phoenix
f6835e18ef Merge "bootctrl HAL uses "default" service name" am: 9877cf296f
am: c68beb8712

Change-Id: Ifd8aba7ab5deb077f6dfc596ce5c6ae92cf5dc73
2017-01-23 20:58:21 +00:00
Chris Phoenix
c68beb8712 Merge "bootctrl HAL uses "default" service name"
am: 9877cf296f

Change-Id: If2f51ace994cc926bdd8e65afe11b708f7dab816
2017-01-23 20:53:24 +00:00
Chris Phoenix
9877cf296f Merge "bootctrl HAL uses "default" service name" 2017-01-23 20:48:32 +00:00
Chris Phoenix
d27458f676 Remove "false" parameter from getService
Test: None
Change-Id: I281206aa9faa8aa5e5012763f3a489906155bd3e
2017-01-23 12:45:54 -08:00
Chris Phoenix
28952f5933 Merge "sensors HAL uses "default" service name" 2017-01-23 20:42:53 +00:00
Keun Soo Yim
69a910f802 Add host-side code for wifi HAL test
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 HalWifiHidlTargetTest
-l INFO

Bug: 34179464
Change-Id: I70c9495a5f2cb0c726373969ada5e33a00cc4c18
2017-01-23 12:34:49 -08:00
Chris Phoenix
68df3d04da Merge "bootctrl HAL uses "default" service name" 2017-01-23 20:27:50 +00:00
Chris Phoenix
7f3f737a3e Merge "bootctrl HAL uses "default" service name" 2017-01-23 20:27:50 +00:00
Daniel Nicoara
bd82b81935 Rename CommandWriter to CommandWriterBase
CommandWriter will be used as a base class in extensions of HWC. Renamed
for consistency.

Bug: 33297385
Test: Compiled
Change-Id: Iabe59f37157062961b916d55108cb9f4fb792619
2017-01-23 14:57:15 -05:00
TreeHugger Robot
a7755a713e Merge "Make some of the fields comments more clear and specific." 2017-01-23 18:58:32 +00:00
Romain Guy
5b70f3d3c5 Merge "Add Display-P3 color mode" 2017-01-23 18:31:41 +00:00
TreeHugger Robot
38a4c8b189 Merge "Adjust for minor changes in the native keystore client interface" 2017-01-23 17:05:04 +00:00
Hridya Valsaraju
529331c4cb Add annotations to create gnss-base.h
This is required to make sure that the constants in gps.h does not
ever go out of sync with the enums created out of them in the HAL
interface definition.

Test: mm

Change-Id: I103cf46d198e9f5de9e0cfd64f2795f0094ecb39
2017-01-23 08:41:15 -08:00
TreeHugger Robot
6b058752c5 Merge "Use MQDescriptor typedefs for cleanup" 2017-01-23 15:56:44 +00:00
Hridya Valsaraju
790db1074c Use MQDescriptor typedefs for cleanup
Test: mm
Bug: 33815422

Change-Id: I41ca833231622a5a72970014cfcac400b512e44a
2017-01-23 15:56:24 +00:00
gomo
d567a9955c Make some of the fields comments more clear and specific.
Test: Existing unit tests still pass.

Change-Id: I65f015255958b29a44a7f844560694518e01212b
2017-01-22 22:35:18 -08:00
Myles Watson
c2566d2621 Merge "bluetooth: Configure VTS to run the HAL gtest" am: b927a027ca am: 7454a86f2a am: 7eb2c69fa5
am: 62ca2ec14d

Change-Id: Iae42ea8bedfdb466495f0ddbc3f9d21e8a058c2c
2017-01-21 05:07:12 +00:00
Myles Watson
62ca2ec14d Merge "bluetooth: Configure VTS to run the HAL gtest" am: b927a027ca am: 7454a86f2a
am: 7eb2c69fa5

Change-Id: I8985d5ea7950260502dd13dd5f9ff02e4b12636b
2017-01-21 04:59:24 +00:00
Myles Watson
7eb2c69fa5 Merge "bluetooth: Configure VTS to run the HAL gtest" am: b927a027ca
am: 7454a86f2a

Change-Id: I1063329a865468cd8776d6fc1b7990553226d06e
2017-01-21 04:52:26 +00:00
Myles Watson
7454a86f2a Merge "bluetooth: Configure VTS to run the HAL gtest"
am: b927a027ca

Change-Id: Iad800496eb7b64fba2ed46eed734c42010ab10c1
2017-01-21 04:45:18 +00:00
TreeHugger Robot
284d3fe96f Merge "Specify username for a target-side driver." 2017-01-21 04:43:44 +00:00
Treehugger Robot
b927a027ca Merge "bluetooth: Configure VTS to run the HAL gtest" 2017-01-21 04:37:34 +00:00
Chris Phoenix
11e847666f sensors HAL uses "default" service name
The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: builds; verify HAL still works

Bug: 33844934
Change-Id: Iefb6dfe80ec8f4ab389d2b6529f9f968365289b2
2017-01-20 20:27:38 -08:00
Chris Phoenix
58de426202 Merge "Fix HAL name in LOG_TAG string" 2017-01-21 04:25:16 +00:00
Chris Phoenix
99a5c4a7f1 Fix HAL name in LOG_TAG string
Test: None
Change-Id: Idfd59985a97e27e993b3f28f355a6e8c46b59815
2017-01-20 19:59:10 -08:00
Jeff Tinker
6c75987eeb Merge changes from topic 'finalize drm hal'
* changes:
  Reorganize drm hal modules
  Update shared memory access method in the crypto plugin hal
2017-01-21 03:26:44 +00:00
Chris Phoenix
272e495c4d Merge "vibrator HAL uses "default" service name" 2017-01-21 02:51:31 +00:00
Chris Phoenix
eb1cdbb622 bootctrl HAL uses "default" service name
The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: builds; verify HAL still works

Bug: 33844934

Change-Id: Idadbd59b3194a6b54e91a4beb9e295e1d00bc237
2017-01-21 02:34:13 +00:00
Chris Phoenix
a79b3b6d95 bootctrl HAL uses "default" service name
The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: builds; verify HAL still works

Bug: 33844934

Change-Id: I43f282ffedf18e4b0817b49fc4860ac39b127d04
2017-01-21 02:34:12 +00:00
Chris Phoenix
6823dd80e0 vibrator HAL uses "default" service name
The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: builds; verify HAL still works

Bug: 33844934

Change-Id: I0c22f99133418658eadca8e1cae8218cf2277cf1
2017-01-21 02:34:06 +00:00
Romain Guy
fa48a77c1f Add Display-P3 color mode
Test: compile
Bug: 32984164
Change-Id: Ie3f361664320482974811b229a82e1703eb19c43
2017-01-20 16:10:07 -08:00
Chris Phoenix
b2a560a17e Merge "wifi HAL uses "default" service name" am: 133aa77f8a am: 3b53cad88c am: be34ad6cb6
am: b8e634f816

Change-Id: Ia0146a2308cbad24e70294b9a5357d411a787493
2017-01-20 23:42:57 +00:00