OSDN Git Service
Chris Phoenix [Fri, 20 Jan 2017 23:10:12 +0000 (23:10 +0000)]
Merge "wifi HAL uses "default" service name"
Chris Phoenix [Fri, 20 Jan 2017 23:10:05 +0000 (23:10 +0000)]
Merge "wpa_supplicant HAL uses "default" service name"
Treehugger Robot [Fri, 20 Jan 2017 20:14:59 +0000 (20:14 +0000)]
Merge "Don't memset &ptr"
Connor O'Brien [Tue, 20 Dec 2016 23:19:08 +0000 (15:19 -0800)]
IR HAL Target-side test
Test: make vts; vts-tradefed run -m HalIrHidlTargetTest
Change-Id: I6b750f66a0bc207056abcb493693baebc8af81a5
Signed-off-by: Connor O'Brien <connoro@google.com>
Keun Soo Yim [Fri, 20 Jan 2017 00:30:07 +0000 (00:30 +0000)]
Merge "use the default binder/passthrough mode in NFC VTS test."
Roshan Pius [Thu, 19 Jan 2017 22:51:21 +0000 (22:51 +0000)]
Merge changes from topics 'id_str_supplicant_hidl', 'p2p_wps_supplicant_hidl'
* changes:
wifi(vts): Generate the .vts files
wifi(interface): Use the "bitfield" type for masks
supplicant(interface): Add sta network idstr & ft key mgmt
supplicant(interface): Add missing STA callbacks
supplicant(interface): Add various WPS device params
supplicant(interface): Add P2P iface methods/cbs
Chris Phoenix [Thu, 19 Jan 2017 21:38:21 +0000 (13:38 -0800)]
wpa_supplicant 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
In support of b/
33844934
Change-Id: Ib80edecf53adf442e935a2535b8cc6e2e5aefd1e
George Burgess IV [Thu, 19 Jan 2017 21:16:36 +0000 (13:16 -0800)]
Don't memset &ptr
Bug caught by running clang-FORTIFY on Android.
Bug: None
Test: Builds
Change-Id: I23ed01cf23bdba74fb141d0b0d61c0da4c750a42
Keun Soo Yim [Wed, 18 Jan 2017 18:25:22 +0000 (10:25 -0800)]
use the default binder/passthrough mode in NFC VTS test.
Test: mma
Bug:
34179753
Change-Id: Id9ac440a53b6256e33d1bfdedcf14caa38670467
Chris Phoenix [Thu, 19 Jan 2017 17:10:36 +0000 (17:10 +0000)]
Merge "consumerir HAL uses "default" service name"
Chris Phoenix [Thu, 19 Jan 2017 01:47:07 +0000 (17:47 -0800)]
wifi 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
In support of b/
33844934
Change-Id: Ia086509b3433976524bc4a0ac4b24385840ce565
Chris Phoenix [Thu, 19 Jan 2017 01:13:17 +0000 (17:13 -0800)]
consumerir 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
In support of b/
33844934
Change-Id: Ie7394569d20afba0228f01830385eb598795c831
Merged-In: I1b3b021aaa98ce99560126ddd277caa427ddf151
Chris Phoenix [Wed, 18 Jan 2017 23:51:05 +0000 (15:51 -0800)]
Nfc 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
In support of b/
33844934
Change-Id: Id7b76e1df98e1ecacb530a1b5fec76bf14ba6eb7
Andre Eisenbach [Wed, 18 Jan 2017 21:48:00 +0000 (21:48 +0000)]
Merge "Bluetooth HAL uses "default" service name"
Treehugger Robot [Wed, 18 Jan 2017 21:44:50 +0000 (21:44 +0000)]
Merge "supplicant(vts): Add gtest framework"
Chris Phoenix [Wed, 18 Jan 2017 06:47:52 +0000 (22:47 -0800)]
Bluetooth 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
In support of b/
33844934
Change-Id: Icc006a71b41bcd03fe4a04ee92503e76ff07cd77
Steven Moreland [Wed, 18 Jan 2017 21:29:11 +0000 (21:29 +0000)]
Merge "Adding all nfc vts related things back."
Roshan Pius [Fri, 16 Dec 2016 16:39:23 +0000 (08:39 -0800)]
supplicant(vts): Add gtest framework
Bug:
33457575
Test: adb push
out/target/product/angler/data/nativetest/supplicant_hidl_test/supplicant_hidl_test
/data/ && adb shell /data/supplicant_hidl_test
Change-Id: I8b560483166822a33b8d81433178fdbc6077ec11
Andre Eisenbach [Wed, 18 Jan 2017 02:23:12 +0000 (18:23 -0800)]
bluetooth: Add initialization completed callback
Test: bluetooth_hidl_hal_test
Bug:
31972505
Change-Id: I64c19a7fe7299079c5daf74e7b238b0d71d65db2
Steven Moreland [Wed, 18 Jan 2017 19:01:01 +0000 (11:01 -0800)]
Adding all nfc vts related things back.
Test: none
Merged-In: I84a42ae27d36a5479f2ca859849bb1b4536bdbad
Change-Id: I84a42ae27d36a5479f2ca859849bb1b4536bdbad
Roshan Pius [Wed, 18 Jan 2017 17:45:46 +0000 (09:45 -0800)]
wifi(vts): Generate the .vts files
Generates the .vts files for all wifi HIDL interfaces.
hidl-gen -o hardware/interfaces/wifi/1.0/vts/ -L vts -r
android.hardware:hardware/interfaces -r
android.hidl:system/libhidl/transport android.hardware.wifi@1.0
hidl-gen -o hardware/interfaces/wifi/supplicant/1.0/vts/ -L vts -r
android.hardware:hardware/interfaces -r
android.hidl:system/libhidl/transport
android.hardware.wifi.supplicant@1.0
Bug:
32022435
Test: Compiles
Change-Id: Idb037dafb72e645e5f6618bc909ba02ae7232e77
Roshan Pius [Wed, 18 Jan 2017 17:23:18 +0000 (09:23 -0800)]
wifi(interface): Use the "bitfield" type for masks
Change all the variables representing masks to the new bitfield type
in all the Wifi HIDL interfaces.
The generated code will still produce the underlying type of enum as
param. So, no changes are needed in the implementation.
Bug:
33358724
Test: Compiles
Change-Id: Id2e5dee2ce1f1ec8e744aa1c81d3cb9c66e7fc39
Roshan Pius [Fri, 13 Jan 2017 23:53:07 +0000 (15:53 -0800)]
supplicant(interface): Add sta network idstr & ft key mgmt
Bug:
34284015
Bug:
32571829
Test: Compiles
Change-Id: Id4d08657a4ed5a76f727e89c19991a65ce7f91e5
Roshan Pius [Fri, 13 Jan 2017 19:05:36 +0000 (11:05 -0800)]
supplicant(interface): Add missing STA callbacks
Add a few missing callbacks in ISupplicantStaIfaceCallbacks &
ISupplicantCallbacks.
Bug:
34274091
Test: Compiles
Change-Id: I5d7819f9708f6caa4da80ed481408e376a5636f8
Roshan Pius [Fri, 13 Jan 2017 16:58:23 +0000 (08:58 -0800)]
supplicant(interface): Add various WPS device params
Add setters for the various params used for WPS operations.
While there,
Add missing error code in IWifiStaIface method docstrings.
Bug:
34198758
Test: Compiles
Change-Id: I3b4709083975320210c9ed2dff59852372778483
Roshan Pius [Wed, 11 Jan 2017 22:05:17 +0000 (14:05 -0800)]
supplicant(interface): Add P2P iface methods/cbs
Add the missing P2P iface methods and callbacks.
Bug:
34221586
Test: Compiles
Change-Id: I9bace8ac5304dd65d81bb255dac023657c9460cc
Roshan Pius [Wed, 18 Jan 2017 15:33:47 +0000 (15:33 +0000)]
Merge "wifi: Add capabilitiy flag for ND offload"
Treehugger Robot [Wed, 18 Jan 2017 05:58:36 +0000 (05:58 +0000)]
Merge "supplicant(interface): Add interface for WPS"
Yifan Hong [Tue, 17 Jan 2017 21:03:04 +0000 (21:03 +0000)]
Merge "Add test for type resolution."
Roshan Pius [Tue, 17 Jan 2017 20:58:05 +0000 (12:58 -0800)]
wifi: Add capabilitiy flag for ND offload
Bug:
34224734
Test: Compiles
Change-Id: If4e6303fdff792a9dd576551fd84a741d8183798
Roshan Pius [Tue, 10 Jan 2017 22:10:19 +0000 (14:10 -0800)]
supplicant(interface): Add interface for WPS
Add the methods/callbacks required for WPS functionality through
wpa_supplicant.
Bug:
34198758
Test: Compiles
Change-Id: Iff1450621a4b039307ad6098f98326c35e53d4c6
Martijn Coenen [Mon, 16 Jan 2017 14:48:09 +0000 (14:48 +0000)]
Merge "Testing struct that has vector of other struct"
Treehugger Robot [Sat, 14 Jan 2017 08:07:24 +0000 (08:07 +0000)]
Merge "Add a new method to trigger a blocking read."
Hridya Valsaraju [Sat, 14 Jan 2017 04:58:17 +0000 (20:58 -0800)]
Add a new method to trigger a blocking read.
The new method will request the service to trigger a blocking
read with the default Event Flag notification bitmask defined
by the MessageQueue class.
Test: FMQ unit tests
Change-Id: I5a61e2b4527ba31cd5ea6521c553a87904af8056
Steven Moreland [Fri, 13 Jan 2017 21:42:09 +0000 (21:42 +0000)]
Revert "move VTS HIDL HAL tests to the corresponding interface directories"
This reverts commit
ec7746fa808e4814b07a1b8018c7ee44f16cc9a6.
Test: no test
Merged-In: I9ec4493403d71419df99fe9761211eab057cdb0a
Change-Id: I39f2acaa5ee376b90bcddd0891ac6f309cb40a2b
Treehugger Robot [Fri, 13 Jan 2017 19:05:00 +0000 (19:05 +0000)]
Merge "supplicant(interface): Fix a typo in documentation"
Yifan Hong [Mon, 9 Jan 2017 20:07:37 +0000 (12:07 -0800)]
Add test for type resolution.
Test: make hidl_test
Bug:
31971432
Change-Id: I5c058079d54e1b480f21550a76ccfd53f54bd0c4
Roshan Pius [Fri, 13 Jan 2017 16:46:14 +0000 (16:46 +0000)]
Merge changes Ia9b1d24c,I86980cd2
* changes:
wifi: Add keep alive packet sending functionality
wifi: Add nd offload functionality
Pavel Maltsev [Fri, 13 Jan 2017 00:48:51 +0000 (16:48 -0800)]
Testing struct that has vector of other struct
Test: hidl_java_test
Bug: b/
34255213
Change-Id: I6a861f0fec32d5f7d541860bfe7bc3a45d37f1be
Martijn Coenen [Fri, 13 Jan 2017 08:35:39 +0000 (08:35 +0000)]
Merge "Load legacy NFC libhardware HAL by correct name."
Ruchi Kandoi [Thu, 12 Jan 2017 23:13:43 +0000 (23:13 +0000)]
Merge changes from topic 'port-nfc-vts-AOSP'
* changes:
Fix VTS paths on 32-bit target
Remove obsolete references to IPCThreadState/ProcessState.
Update Android.bp of Nfc with make rule for profiler.
Use lowercase booleans in VTS test configs.
Update to use the correct logging library.
Update coverage configs with new format.
Update NFC VTS configs to reflect new source paths
increase the timeouts to 10mins for nfc target-side tests
enable profiling directly from AndroidTest.xml
NFC: vts: Update VTS driver files as per HAL changes
NFC: Add target-side VTS tests for NFC
use svc nfc enable/disable which is always the same.
move VTS HIDL HAL tests to the corresponding interface directories
Build target-side NFC test with coverage.
Remove -DENABLE_TREBLE from vts test LOCAL_CFLAGS.
Nfc: Split libhidl into base and transport.
NFC: Update vts files to include the Annotations.
NFC HAL target-side test (template)
Update vts files for nfc hidl file style change.
VTS driver build target for NFC 1.0
add nfc vts files and vts profiler build rule
Roshan Pius [Wed, 11 Jan 2017 16:17:59 +0000 (08:17 -0800)]
supplicant(interface): Fix a typo in documentation
Bug:
33470645
Test: Compiles
Change-Id: I79789f64610ab7196b32794f4a7c264a2d9d7a8b
Hsin-Yi Chen [Thu, 29 Dec 2016 10:57:52 +0000 (18:57 +0800)]
Fix VTS paths on 32-bit target
Decide target_basepaths by device's bitness.
On 32-bit target, do not include */lib64.
Bug:
33930594
Test: vts-tradefed run commandAndExit vts -m VibratorHidlTest -l INFO
Change-Id: I340ded1d763dc194da461ecf183c6a2ff5f5ee6f
(cherry picked from commit
23bd70d552fc33fbd3e0be3cd28889ba884eb7e0)
Martijn Coenen [Thu, 29 Dec 2016 13:03:41 +0000 (14:03 +0100)]
Remove obsolete references to IPCThreadState/ProcessState.
Threadpool can now be configured/joined if needed with
configureRpcThreadpool() / joinRpcThreadpool().
Bug:
31226656
Test: mma
Change-Id: I0d7d9924cc8c8851cc2b61ebdae906204909890e
(cherry picked from commit
028223775be7539c5b569a454524584a7ad8e152)
Zhuoyao Zhang [Wed, 21 Dec 2016 18:27:35 +0000 (10:27 -0800)]
Update Android.bp of Nfc with make rule for profiler.
Bug:
31930023
Test: mma
Change-Id: I4e159d4f0b37fdd4738cdee354c4fe05406baa02
(cherry picked from commit
42a6dddd4a3962af77ac46feea0ffcffb0142f3d)
Ryan Campbell [Fri, 2 Dec 2016 19:12:36 +0000 (11:12 -0800)]
Use lowercase booleans in VTS test configs.
Use lowercase booleans so that they can be parsed in Java
and Python.
Test: run vts -m HalNfcHidlTargetBasicTest
Change-Id: I16e2f417047219a88d49ed5b0651639a0cc2bf61
(cherry picked from commit
9fc3c47bc7d2c09bb5d808d0d3a87fd480ad0f11)
Ruchi Kandoi [Wed, 11 Jan 2017 20:38:40 +0000 (12:38 -0800)]
Update to use the correct logging library.
Test: Compiles
Merged-Id: Idb33dea5faaf1a5e54719c2a5a683d2d47e9b8e8
Change-Id: Ib770cbc75bc10a04d93d9370ec341054e3d8dd57
Cherry-picked from
f9d303435d80161fabb16cdff3b8f2f75f362480
Ryan Campbell [Fri, 2 Dec 2016 00:32:51 +0000 (16:32 -0800)]
Update coverage configs with new format.
Update config files to specify coverage modules and git projects
in the new format.
Test: pass
Change-Id: If58fce01d6e0fbc458653709e373e59ad976f4ae
(cherry picked from commit
54604102b56041301b293bfc335836e74c374614)
Ryan Campbell [Thu, 1 Dec 2016 01:29:21 +0000 (17:29 -0800)]
Update NFC VTS configs to reflect new source paths
Specify the new locations of NFC source code for use when
displaying coverage results.
Test: pass
Change-Id: I32d9b2e58ded1be3739e3cc24cf17c519a6a1d94
(cherry picked from commit
ea4f71faba48e44361f557a61cf31d8415412aea)
Keun Soo Yim [Wed, 30 Nov 2016 21:46:00 +0000 (13:46 -0800)]
increase the timeouts to 10mins for nfc target-side tests
Test: local direct binary runs (1.5mins on average)
Change-Id: Id85633a6a4a55a9d6876142447521146cd6e57f3
(cherry picked from commit
c0299961175114568c044485155662fbffc98fd0)
Yuexi Ma [Tue, 22 Nov 2016 17:55:39 +0000 (09:55 -0800)]
enable profiling directly from AndroidTest.xml
Test: local
Change-Id: If13be820766f54ff154f350cbbacbab9dffe07d2
(cherry picked from commit
aa61067c141b0601ef6a445a4a6ff56c861718b6)
Ruchi Kandoi [Mon, 21 Nov 2016 18:59:58 +0000 (10:59 -0800)]
NFC: vts: Update VTS driver files as per HAL changes
The return types for the NFC HAL have changed, this patches updates the
VTS driver files.
Test: Test Passes
Bug:
32748647
Change-Id: Ic31d25c3d6b4a1db05e2e481a948a7547b30f2d7
Singed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
(cherry picked from commit
d9b830ff9b4148cc4497b9d2b401a8285b7ffd58)
Ruchi Kandoi [Sat, 12 Nov 2016 00:37:34 +0000 (16:37 -0800)]
NFC: Add target-side VTS tests for NFC
Test: Test Passes
Change-Id: I393ca24e86447571a92e3742716fdc6f1ddc0519
Signed-off-by: Ruchi Kandoi<kandoiruchi@google.com>
(cherry picked from commit
1488dd7ff093c2db94e28b0ceb3567cd976e4bdc)
Keun Soo Yim [Wed, 23 Nov 2016 22:12:43 +0000 (14:12 -0800)]
use svc nfc enable/disable which is always the same.
Test: run vts-hal-hidl
Change-Id: I347ff0ad92dfc39c9b97fefb8afb4d05aa883aa5
(cherry picked from commit
e977d80bb0246a6f595ca84081da8aa897fc2708)
Keun Soo Yim [Thu, 17 Nov 2016 23:49:13 +0000 (15:49 -0800)]
move VTS HIDL HAL tests to the corresponding interface directories
Bug:
32783461
Test: vts-tradefed; run vts-hal-hidl
Change-Id: Iead44eaf65dcd4de2286267467c4a4a322a88205
(cherry picked from commit
8a36c0b01c6aad5fbcc238ba81337b205f897df3)
Ryan Campbell [Fri, 18 Nov 2016 21:34:31 +0000 (13:34 -0800)]
Build target-side NFC test with coverage.
Instrument NFC test with coverage so that coverage can be collected
on NFC implementation.
Test: make vts
Change-Id: I30c082198a027bc02ecaaf3232ce5935010b398d
(cherry picked from commit
89aeb505fe18b2c130406b7f2a67943d647c19bd)
Steven Moreland [Thu, 17 Nov 2016 22:57:37 +0000 (14:57 -0800)]
Remove -DENABLE_TREBLE from vts test LOCAL_CFLAGS.
I went ahead and removed some no-ops from the mk's.
Bug:
32978887
Test: mma -j64
Change-Id: I6f8341332aa9f249912f6a8b3a3664b76d362e99
(cherry picked from commit
2b2cef28646d013e3c99ed404f877e998476b94a)
Yifan Hong [Wed, 16 Nov 2016 22:17:58 +0000 (14:17 -0800)]
Nfc: Split libhidl into base and transport.
Bug:
32756130
Test: mma
Merged-In: Id21cf23abe2910f26bb7895511862443b93dc112
Change-Id: I8379d8af9c373b489f803c3ae9129227a78537a6
(cherry picked from commit
6b920e43d379cdca8afe1831705690b95b3d71ef)
Steven Moreland [Sat, 7 Jan 2017 02:57:21 +0000 (18:57 -0800)]
MemoryTest: add method for testing
Bug:
34134129
Test: compiles
Change-Id: If0d2a9c00f93f548da5e9261a93d4715412620c3
Martijn Coenen [Thu, 12 Jan 2017 10:37:25 +0000 (11:37 +0100)]
Load legacy NFC libhardware HAL by correct name.
Use NFC_NCI_HARDWARE_MODULE_ID, which maps to "nfc_nci",
and is correct for the PN54x HAL (which is the only
remaining HAL implementation in use).
Test: NFC works
Change-Id: Ida810ec990ddb4f71756225fffb3fc2757e76374
Treehugger Robot [Thu, 12 Jan 2017 01:50:57 +0000 (01:50 +0000)]
Merge "Bp/n/sFoo -> Bp/n/sHwFoo"
Roshan Pius [Thu, 12 Jan 2017 00:42:16 +0000 (16:42 -0800)]
wifi: Add keep alive packet sending functionality
Bug:
34233272
Test: Compiles
Change-Id: Ia9b1d24cccf3ec6a09bbb6b6e9d1f4bc13623767
Roshan Pius [Wed, 11 Jan 2017 23:37:25 +0000 (15:37 -0800)]
wifi: Add nd offload functionality
Bug:
34224734
Test: Compiles
Change-Id: I86980cd27ea97216c9431878bb9a922c8942b361
Treehugger Robot [Wed, 11 Jan 2017 15:22:55 +0000 (15:22 +0000)]
Merge "liblog: use log/log.h when utilizing ALOG macros"
Ruchi Kandoi [Tue, 15 Nov 2016 23:10:38 +0000 (15:10 -0800)]
NFC: Update vts files to include the Annotations.
Bug:
32124874
Test: Compiles
Change-Id: I9b323350d2ab9e9acedd4ef85a27daeb5f671bd4
Singed-off-by: Ruchi Kandoi<kandoiruchi@google.com>
(cherry picked from commit
140ccbc48c6bd05018fe79f5cc02dac7f3343a6f)
Keun Soo Yim [Sat, 22 Oct 2016 22:09:27 +0000 (15:09 -0700)]
NFC HAL target-side test (template)
Test: make vts; vts-tradefed; run -m HalNfcHidlTargetBasicTest
Change-Id: I021cfd916efc68fc9a4191f4aaa736f05c81c962
(cherry picked from commit
1d18b23e622fb6436a9f703eeb53c01a9ef732f6)
Zhuoyao Zhang [Tue, 11 Oct 2016 17:03:46 +0000 (10:03 -0700)]
Update vts files for nfc hidl file style change.
Test: make vts.
Change-Id: I2a86e9555f5e3ca0893d1e7b34f75ea68859af7e
(cherry picked from commit
0a38e46ef4692e459050b51339fb061662713fea)
Keun Soo Yim [Tue, 11 Oct 2016 00:18:29 +0000 (17:18 -0700)]
VTS driver build target for NFC 1.0
Test: mma
Change-Id: Icc88b2bf79f2d2f23e908389c1e9d4994b439602
(cherry picked from commit
dceef4931685e8556aa8f1127c45d745099b7d96)
Keun Soo Yim [Mon, 10 Oct 2016 20:42:31 +0000 (13:42 -0700)]
add nfc vts files and vts profiler build rule
Test: mma
Change-Id: Iafe6369c99e11b3bd5b0946f142fcbbc921f915a
(cherry picked from commit
a4e505ccc81b2475f241e2d252ba3b4303af84d6)
Amit Mahajan [Fri, 6 Jan 2017 05:21:38 +0000 (21:21 -0800)]
Use backward compatible enum values.
Test: none
Bug:
32020264
Change-Id: I4a9da7650c959de590ceea84f24a0918f32edbdb
Yifan Hong [Tue, 10 Jan 2017 01:46:36 +0000 (17:46 -0800)]
Bp/n/sFoo -> Bp/n/sHwFoo
Bug:
33554989
Test: hidl_test
Change-Id: I748181e9eaf5b78318054b9fd99ac1a43d00498a
Yifan Hong [Tue, 10 Jan 2017 23:55:04 +0000 (23:55 +0000)]
Merge "Ran update-makefiles.sh."
Etan Cohen [Tue, 10 Jan 2017 23:24:53 +0000 (23:24 +0000)]
Merge "[AWARE] Update HIDL interface and link to legacy HAL"
Mark Salyzyn [Tue, 10 Jan 2017 18:16:48 +0000 (10:16 -0800)]
liblog: use log/log.h when utilizing ALOG macros
Test: compile
Bug:
30465923
Change-Id: I67046a75be057e7905570748a1ed6bfd03c0e1c8
Etan Cohen [Sun, 25 Dec 2016 17:42:21 +0000 (09:42 -0800)]
[AWARE] Update HIDL interface and link to legacy HAL
HAL: Refine first cut implementation of HIDL interfaces and bring
up-to-date with changes to HAL.
Server: connect to legacy HAL, convert all structures.
Bug:
32207606
Test: builds
Change-Id: Ice1ba44014aa98cc948c0d0202b4fd18bf875502
Yifan Hong [Tue, 10 Jan 2017 19:18:00 +0000 (11:18 -0800)]
Ran update-makefiles.sh.
Add vtsc section.
Test: mma
Change-Id: I37c2c4acd1c3b193f1f978dae09a5389d61b9380
Yifan Hong [Fri, 6 Jan 2017 17:10:11 +0000 (09:10 -0800)]
Add test for putting different types in a struct / union.
Test: hidl_test
Change-Id: Icf1f40b1c92f76a45a3792e8c5d359031ad719bc
Yifan Hong [Thu, 5 Jan 2017 19:24:24 +0000 (19:24 +0000)]
Merge "move foocallback to hidl_test"
Treehugger Robot [Thu, 5 Jan 2017 17:50:54 +0000 (17:50 +0000)]
Merge "Change list of applications in CardStatus from array to vec."
Martijn Coenen [Mon, 2 Jan 2017 14:19:53 +0000 (15:19 +0100)]
Callback elision for HIDL interfaces.
Test: mma, hidl_test
Bug:
31380743
Change-Id: Ic5390d49a9493d1180bdd8a15bc47e891637890e
Treehugger Robot [Thu, 5 Jan 2017 07:12:02 +0000 (07:12 +0000)]
Merge "Return<*> getStatus().isOk() -> isOk()"
Steven Moreland [Thu, 5 Jan 2017 04:19:57 +0000 (20:19 -0800)]
Return<*> getStatus().isOk() -> isOk()
Bug:
31348667
Test: compiles
Merged-In: If8d5a23f80dbc04127635b49f1ef77398fc9f8a1
Change-Id: If8d5a23f80dbc04127635b49f1ef77398fc9f8a1
Treehugger Robot [Thu, 5 Jan 2017 02:37:14 +0000 (02:37 +0000)]
Merge "Add a method to trigger multiple FMQ blocking reads."
Amit Mahajan [Thu, 5 Jan 2017 00:50:24 +0000 (16:50 -0800)]
Change list of applications in CardStatus from array to vec.
Test: none
Bug:
32020264
Change-Id: I39420333cd07126904f170487de4d45d630e3c26
Hridya Valsaraju [Thu, 5 Jan 2017 00:19:36 +0000 (16:19 -0800)]
Add a method to trigger multiple FMQ blocking reads.
Test: FMQ unit tests
Bug:
33815422
Change-Id: Idcd1fd79232a1b0caa5784e8dd4f3a929f52fded
Yifan Hong [Thu, 10 Nov 2016 02:07:44 +0000 (18:07 -0800)]
move foocallback to hidl_test
Fix:
32778024
Test: hidl_test
Change-Id: Icec3bd23c30dea635c315ec3b98f3a72447e840a
Treehugger Robot [Tue, 3 Jan 2017 22:39:21 +0000 (22:39 +0000)]
Merge "Minor changes to telephony error codes in types.hal"
Enrico Granata [Tue, 3 Jan 2017 18:54:04 +0000 (18:54 +0000)]
Merge "Make update-makefiles.sh exit if any of the hidl invocations fail"
Hridya Valsaraju [Tue, 3 Jan 2017 18:17:08 +0000 (18:17 +0000)]
Merge "Templatize MQDescriptor"
Sanket Padawe [Tue, 3 Jan 2017 07:45:22 +0000 (23:45 -0800)]
Minor changes to telephony error codes in types.hal
Test: Basic build test.
Change-Id: I26227551794729d6643ec63d4a39bc0090240a52
Martijn Coenen [Wed, 28 Dec 2016 16:08:07 +0000 (17:08 +0100)]
Fix wifi/bluetooth threadpool usage.
Bug:
31226656
Test: mma, hidl_test
Change-Id: I3f30f32392714ed653498828172165e511f847e7
Hridya Valsaraju [Tue, 27 Dec 2016 20:40:01 +0000 (12:40 -0800)]
Templatize MQDescriptor
Bug:
33948735
Test: FMQ unit tests and benchmarks
Merged-In: I5c3beff2c6a69e151e0cb11af299956638cc441b
Change-Id: I5c3beff2c6a69e151e0cb11af299956638cc441b
Myles Watson [Thu, 13 Oct 2016 22:45:02 +0000 (15:45 -0700)]
bluetooth: Find the device's Bluetooth address
Test: bluetooth_hidl_hal_test
Change-Id: I5353aaef3f8c5db75e424a8e1b242b08d5a96c6e
Amit Mahajan [Thu, 29 Dec 2016 01:30:04 +0000 (17:30 -0800)]
Minor fixes in IRadioIndication.hal
Test: none
Bug:
32020264
Change-Id: Ib8540a444c4b98ff033a8e2c519dd25e9b853c57
Treehugger Robot [Thu, 29 Dec 2016 22:28:46 +0000 (22:28 +0000)]
Merge "Clean up some fields and APIs in telephony HIDL interface."
Andre Eisenbach [Thu, 13 Oct 2016 22:45:02 +0000 (15:45 -0700)]
Add default Bluetooth HAL implementation
Also added initial target-side functional test.
Test: bluetooth_hidl_hal_test
Bug:
31972505
Change-Id: I1f574a5b2b53d7fbf65dbb4e1aaa5f8b6c5a9448
Sanket Padawe [Thu, 29 Dec 2016 00:04:10 +0000 (16:04 -0800)]
Clean up some fields and APIs in telephony HIDL interface.
Bug:
32020264
Test: Basic build test.
Change-Id: I1493d5b26ef678be14e71db7d6f93a9bfad52980
Martijn Coenen [Tue, 27 Dec 2016 15:21:52 +0000 (16:21 +0100)]
Add test method to IBaz.
For testing death recipients.
Test: mma, hidl_test_java
Bug:
31632518
Change-Id: Ib359c790f68132484fbcd1a5522f45b99d1131f8
Amit Mahajan [Thu, 15 Dec 2016 16:54:12 +0000 (08:54 -0800)]
Minor updates to ISap hal.
Test: none
Bug:
32020264
Change-Id: I1cfb21cb4e30e71de6418aaaa9e13d8b2746d7b7
Enrico Granata [Thu, 22 Dec 2016 19:42:13 +0000 (11:42 -0800)]
Make update-makefiles.sh exit if any of the hidl invocations fail
This makes it easier for the user to discover that one (or more) of
their source files contain errors
Test: ran the script
Change-Id: Ibdb1f363d934605f47ca7df0d56bb387a47f7482