Commit graph

2326 commits

Author SHA1 Message Date
Keun Soo Yim
e9ad6517f8 use the profiler test's name and a precondition to decide when to run.
Bug: 34715432
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
HalSoundTriggerHidlTargetBasicProfilingTest -l INFO
Change-Id: I116ed144076f07f752c756d9ddb6e425442d39cc
2017-01-25 23:01:08 +00:00
Roshan Pius
c91e7fb95e Merge "supplicant(interface): Add the new radio work methods" am: 4aceb63bc7 am: c637017b66 am: 538cbc9a29
am: af58817b1d

Change-Id: I8437ef232d576fa13132d4fa8e8f0d7a19a156e1
2017-01-25 21:26:22 +00:00
Roshan Pius
af58817b1d Merge "supplicant(interface): Add the new radio work methods" am: 4aceb63bc7 am: c637017b66
am: 538cbc9a29

Change-Id: Ifbf8f30310120ba00af0ea2383d9db9cccabe4db
2017-01-25 21:23:52 +00:00
Roshan Pius
538cbc9a29 Merge "supplicant(interface): Add the new radio work methods" am: 4aceb63bc7
am: c637017b66

Change-Id: I9f0d9b906930d646516462ba4f4b4c42d6619a7f
2017-01-25 21:21:20 +00:00
Roshan Pius
c637017b66 Merge "supplicant(interface): Add the new radio work methods"
am: 4aceb63bc7

Change-Id: If222b06393c5ea32b39cb8737a9cfd00a6e1cc3c
2017-01-25 21:18:52 +00:00
Treehugger Robot
4aceb63bc7 Merge "supplicant(interface): Add the new radio work methods" 2017-01-25 21:15:22 +00:00
Chris Phoenix
5985dedba2 memtrack 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: Ide36b5470a393b5ed0f60fd37661dd50d0db817b
2017-01-25 11:24:28 -08:00
Ruchi Kandoi
aadf1586a3 Merge "NFC: Update VTS test" am: 3bce41d5ec am: 4d3c1ea989 am: d4cffbf1ec
am: 7b51c28e24

Change-Id: I4123a9bfa33c0a65ddee0d20ab3a316d5171c4cf
2017-01-25 18:32:38 +00:00
Ruchi Kandoi
7b51c28e24 Merge "NFC: Update VTS test" am: 3bce41d5ec am: 4d3c1ea989
am: d4cffbf1ec

Change-Id: Ia1ee033655a51a8a7734c0626e33ae3ec42bc51a
2017-01-25 18:28:07 +00:00
Ruchi Kandoi
d4cffbf1ec Merge "NFC: Update VTS test" am: 3bce41d5ec
am: 4d3c1ea989

Change-Id: I01ab41ebd15c0237b41e3777ccc6fffd5868c3b7
2017-01-25 18:23:07 +00:00
Ruchi Kandoi
4d3c1ea989 Merge "NFC: Update VTS test"
am: 3bce41d5ec

Change-Id: Id275ca5ed4dbcc0f0644e632cd31231f47998309
2017-01-25 18:18:08 +00:00
TreeHugger Robot
b3923f0684 Merge "Vehicle HAL: add VTS case for DRIVING_STATUS" 2017-01-25 18:12:21 +00:00
Ruchi Kandoi
3bce41d5ec Merge "NFC: Update VTS test" 2017-01-25 18:10:13 +00:00
Jeff Tinker
a35e6e8239 Merge "Add LOG_TAGs to drm hal default modules" 2017-01-25 17:32:35 +00:00
Martijn Coenen
e5b2271717 Merge "hidl_memory no longer owns passed-in handles." 2017-01-25 13:52:33 +00:00
Pavel Maltsev
2b059b5977 Vehicle HAL: add VTS case for DRIVING_STATUS
Test: ENABLE_TREBLE=true make vts BUILD_GOOGLE_VTS=true -j32 && vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VehicleHidlTest -l INFO
Change-Id: I66a4c7105412da9efd05eb0ef1caed275676488c
2017-01-24 22:32:45 -08:00
TreeHugger Robot
b338d550d6 Merge "power HAL uses "default" service name" 2017-01-25 05:41:55 +00:00
TreeHugger Robot
bb51b95c54 Merge "contexthub: Add VTS target tests" 2017-01-25 05:16:30 +00:00
TreeHugger Robot
11a8ed0b21 Merge "Add device id attestation" 2017-01-25 05:03:50 +00:00
Keun Soo Yim
25dccedd70 use the default binder/passthrough mode in vts tests am: 3079b3c68e am: 9af3e139e2 am: 5594ca35af
am: 00f03ce59e

Change-Id: I4ebf2873c8ecf9bc0d9f19f44b314ba053ca984f
2017-01-25 04:29:46 +00:00
Keun Soo Yim
00f03ce59e use the default binder/passthrough mode in vts tests am: 3079b3c68e am: 9af3e139e2
am: 5594ca35af

Change-Id: Ie004e69235ab61dd86b1b2af4117c51f280039da
2017-01-25 04:27:10 +00:00
Keun Soo Yim
5594ca35af use the default binder/passthrough mode in vts tests am: 3079b3c68e
am: 9af3e139e2

Change-Id: Icc0e947ed456e3aaa049726fe07d16620f226e9b
2017-01-25 04:25:09 +00:00
Keun Soo Yim
9af3e139e2 use the default binder/passthrough mode in vts tests
am: 3079b3c68e

Change-Id: Ib5a739feafa151329737b830d3fae977c2b60238
2017-01-25 04:23:09 +00:00
Chris Phoenix
487c24c14a power 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: I7a5d9e848efabf624299ee81ee42aa046b61c660
2017-01-24 20:06:32 -08:00
Brian Duddie
cd3a43f51f contexthub: Add VTS target tests
Introduce target-side VTS tests covering the Context Hub HAL.

Bug: 32021659
Test: make vts -j42 && \
      vts-tradefed run commandAndExit vts --primary-abi-only \
        --skip-all-system-status-check \
	--module ContexthubHidlTargetTest
Change-Id: I387ad0cccbfa824d292e2364f175dcec21134be1
2017-01-24 19:45:52 -08:00
Keun Soo Yim
3079b3c68e use the default binder/passthrough mode in vts tests
Test: mma
Change-Id: I9146d599c623aae1196fcf7e37b7b2715796c748
2017-01-24 18:00:59 -08:00
TreeHugger Robot
5249d67f73 Merge "regenerate types.vts file for sensors and update its test." 2017-01-25 00:07:06 +00:00
Keun Soo Yim
abba32dba2 Merge "use a precondition var in soundtrigger." 2017-01-24 23:57:52 +00:00
Badhri Jagan Sridharan
f55525de70 Merge changes from topic 'usb_hal'
* changes:
  USB: HIDL: default implentation for the type-c interface
  USB: HIDL: Type-c usb interface V1_0
2017-01-24 23:46:20 +00:00
Keun Soo Yim
05fe8ce9b4 Merge "update the used precondition var name for IR" am: 17f3c1c445 am: 3bfb0f1cfc am: cf21f92a2a
am: 846d643af6

Change-Id: I5caf0cc1c57be74d0556a20bd9e2db4992946a88
2017-01-24 23:06:02 +00:00
Keun Soo Yim
846d643af6 Merge "update the used precondition var name for IR" am: 17f3c1c445 am: 3bfb0f1cfc
am: cf21f92a2a

Change-Id: I89a5aa24666b05c3f57b17a28743c1893a0cfa42
2017-01-24 23:00:51 +00:00
Keun Soo Yim
cf21f92a2a Merge "update the used precondition var name for IR" am: 17f3c1c445
am: 3bfb0f1cfc

Change-Id: Idd042bf443bafb878462daa80afeccffa8b99ff8
2017-01-24 22:56:47 +00:00
Keun Soo Yim
3bfb0f1cfc Merge "update the used precondition var name for IR"
am: 17f3c1c445

Change-Id: I0075cdc824f527ed124cd06f96429743fe968e54
2017-01-24 22:52:16 +00:00
Keun Soo Yim
17f3c1c445 Merge "update the used precondition var name for IR" 2017-01-24 22:48:26 +00:00
Roshan Pius
dbd09c6bb8 supplicant(interface): Add the new radio work methods
These radio work methods can be used by external programs (wificond in
our case) to request wpa_supplicant to stop doing any offchannel
operations.

Also,
1. Add the setUpdateIdentifier method in ISupplicantStaNetwork.
2. Add the setProactiveKeyCaching method in ISupplicantStaNetwork.
3. Add sendNetworkEapSimGsmAuthFailure &
sendNetworkEapSimUmtsAuthResponse in ISupplicantStaNetwork.
4. Add the setWpsDeviceType() method in ISupplicantIface.

Bug: 34454675
Bug: 32581374
Test: /hardware/interfaces/update_makefiles.sh
Change-Id: I83fe577f6bd39d2daef2cb203ad9a8a93657c988
2017-01-24 14:46:08 -08:00
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
a5163c113c update the used precondition var name for IR
Test: mma
Change-Id: Ibec34c82e41d1f93568c29e390a1fc031fa3d3bc
2017-01-24 14:18:57 -08:00
Bartosz Fabianowski
aac0fc739e Add device id attestation
This adds device id attestation to the Keymaster 3.0 HAL. Device
id attestation must only be offered if the device can permanently
destroy device ids on request. The default implementation cannot
do this because it lacks storage that would survive device wipes.
Hence, the implementation refuses all device id attestation requests.

Bug: 34597337
Test: CTS CtsKeystoreTestCases and GTS DeviceIdAttestationHostTest

Change-Id: I6ff6146fad4656b8e1367650de922124b3d7f7b2
2017-01-24 23:06:30 +01:00
Connor O'Brien
6a9ba2f9ed Merge "Fix failure to load memtrack HAL implementation" 2017-01-24 21:25:46 +00:00
Keun Soo Yim
846dc078ea Merge "Use the feature-based precondition checking for VR Test." 2017-01-24 21:14:50 +00:00
Badhri Jagan Sridharan
81ea748afa USB: HIDL: default implentation for the type-c interface
The default implementation should take care of legacy devices that
lauched before O.

BUG: 31015010
Test: Manually tested on Angler and sailfish for type-c role switches.
Change-Id: I8762598f4f82da5b2fe8a87aacc30728eb7921f5
2017-01-24 12:21:46 -08:00
Connor O'Brien
56dfb756b8 Fix failure to load memtrack HAL implementation
Since some implementations of the libhardware memtrack HAL do not
implement an open() method, the HIDL implementation should not rely
on that method being available.

Test: Memtrack VTS tests pass
Bug: 31180823
Bug: 34103653
Change-Id: Ia0dda5e027894009bdcf12cd5c2e9eb635aca87e
Signed-off-by: Connor O'Brien <connoro@google.com>
2017-01-24 11:32:56 -08:00
Ruchi Kandoi
185b5a7492 NFC: Update VTS test
- Order of data and CORE_CONN_CREDITS_NTF is not defined, check for the
order in which they were received before checking for contents
- Configuration status is added to WriteCoreReset test
- Add WriteCoreResetConfigReset test

Test: VTS test passes
Change-Id: Ifb730bbb51c366807028fe7e6757c0f8eae943c3
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2017-01-24 18:59:06 +00:00
Keun Soo Yim
b7dc8aef89 regenerate types.vts file for sensors and update its 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 SensorsHidlTest -l INFO
Bug: 34378195

Change-Id: Ib4e83728d6725304c52b0c4f61def413eb7962f0
2017-01-24 15:53:33 +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
Jeff Tinker
972a3e3292 Add LOG_TAGs to drm hal default modules
Change-Id: I1267205999b7cc660a6c908f0d183e43277a9c71
2017-01-23 16:02:27 -08:00