OSDN Git Service

android-x86/hardware-interfaces.git
7 years agouse svc nfc enable/disable which is always the same.
Keun Soo Yim [Thu, 12 Jan 2017 23:19:14 +0000 (23:19 +0000)]
use svc nfc enable/disable which is always the same.
am: a0bf597885

Change-Id: I40747321a2c851ab509103e786891128c7f42880

7 years agomove VTS HIDL HAL tests to the corresponding interface directories
Keun Soo Yim [Thu, 12 Jan 2017 23:19:13 +0000 (23:19 +0000)]
move VTS HIDL HAL tests to the corresponding interface directories
am: ec7746fa80

Change-Id: If1f88b05e34c559a25552897468f5c15974f119a

7 years agoBuild target-side NFC test with coverage.
Ryan Campbell [Thu, 12 Jan 2017 23:19:12 +0000 (23:19 +0000)]
Build target-side NFC test with coverage.
am: 7da37f4320

Change-Id: I0608e42b46b1632a462eb4391d246ce70912a4d5

7 years agoRemove -DENABLE_TREBLE from vts test LOCAL_CFLAGS.
Steven Moreland [Thu, 12 Jan 2017 23:19:11 +0000 (23:19 +0000)]
Remove -DENABLE_TREBLE from vts test LOCAL_CFLAGS.
am: be1badc30a

Change-Id: I9404a757a318318f6165cd45de38a953bb7f7d53

7 years agoNfc: Split libhidl into base and transport.
Yifan Hong [Thu, 12 Jan 2017 23:19:10 +0000 (23:19 +0000)]
Nfc: Split libhidl into base and transport.
am: 1ee9859640

Change-Id: Id1be130067a46caf6b332630f88d8eb13d34291d

7 years agoNFC: Update vts files to include the Annotations.
Ruchi Kandoi [Thu, 12 Jan 2017 23:19:08 +0000 (23:19 +0000)]
NFC: Update vts files to include the Annotations.
am: 6360a884b8

Change-Id: Id8469ef63c89ae397babe9eba8ca96da1d87fef0

7 years agoNFC HAL target-side test (template)
Keun Soo Yim [Thu, 12 Jan 2017 23:19:06 +0000 (23:19 +0000)]
NFC HAL target-side test (template)
am: 105bcaa066

Change-Id: I4756b8abc677004f0a2a7e407c65cbbd559c8c06

7 years agoUpdate vts files for nfc hidl file style change.
Zhuoyao Zhang [Thu, 12 Jan 2017 23:19:05 +0000 (23:19 +0000)]
Update vts files for nfc hidl file style change.
am: 540a1ca37a

Change-Id: I618c13d47adc0fc3e12ae0f5c358647ee5b4d1b6

7 years agoVTS driver build target for NFC 1.0
Keun Soo Yim [Thu, 12 Jan 2017 23:19:03 +0000 (23:19 +0000)]
VTS driver build target for NFC 1.0
am: 3e78819754

Change-Id: I342ce64cef2a0b702293df320df7efe2d4ddd46f

7 years agoadd nfc vts files and vts profiler build rule
Keun Soo Yim [Thu, 12 Jan 2017 23:19:01 +0000 (23:19 +0000)]
add nfc vts files and vts profiler build rule
am: 6473c64657

Change-Id: If537d5a57f2cafe4f6801938e3e8bef21b79c96e

7 years agoMemoryTest: add method for testing
Steven Moreland [Thu, 12 Jan 2017 20:02:50 +0000 (20:02 +0000)]
MemoryTest: add method for testing
am: 6de0aa81a3

Change-Id: Ia60fbfa165691d370b877ab2a18591295f60fe6f

7 years agouse svc nfc enable/disable which is always the same.
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)

7 years agomove VTS HIDL HAL tests to the corresponding interface directories
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)

7 years agoBuild target-side NFC test with coverage.
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)

7 years agoRemove -DENABLE_TREBLE from vts test LOCAL_CFLAGS.
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)

7 years agoNfc: Split libhidl into base and transport.
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)

7 years agoMemoryTest: add method for testing
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

7 years agoMerge "Bp/n/sFoo -> Bp/n/sHwFoo"
Yifan Hong [Thu, 12 Jan 2017 01:57:39 +0000 (01:57 +0000)]
Merge "Bp/n/sFoo -> Bp/n/sHwFoo"
am: cb5989d239

Change-Id: I546a6835259d38c0343665c1f48798b19bf009a5

7 years agoMerge "Bp/n/sFoo -> Bp/n/sHwFoo"
Treehugger Robot [Thu, 12 Jan 2017 01:50:57 +0000 (01:50 +0000)]
Merge "Bp/n/sFoo -> Bp/n/sHwFoo"

7 years agoMerge "liblog: use log/log.h when utilizing ALOG macros"
Mark Salyzyn [Wed, 11 Jan 2017 15:29:08 +0000 (15:29 +0000)]
Merge "liblog: use log/log.h when utilizing ALOG macros"
am: 818ffb15a6

Change-Id: I78459503dc74579ca495529bd4f81a800d35b4bf

7 years agoMerge "liblog: use log/log.h when utilizing ALOG macros"
Treehugger Robot [Wed, 11 Jan 2017 15:22:55 +0000 (15:22 +0000)]
Merge "liblog: use log/log.h when utilizing ALOG macros"

7 years agoNFC: Update vts files to include the Annotations.
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)

7 years agoNFC HAL target-side test (template)
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)

7 years agoUpdate vts files for nfc hidl file style change.
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)

7 years agoVTS driver build target for NFC 1.0
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)

7 years agoadd nfc vts files and vts profiler build rule
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)

7 years agoUse backward compatible enum values.
Amit Mahajan [Wed, 11 Jan 2017 02:56:23 +0000 (02:56 +0000)]
Use backward compatible enum values.
am: 2ab1a10678

Change-Id: Id166d4acfc8e161b6923ed96f7d657b45b48c135

7 years agoUse backward compatible enum values.
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

7 years agoBp/n/sFoo -> Bp/n/sHwFoo
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

7 years agoMerge "Ran update-makefiles.sh."
Yifan Hong [Tue, 10 Jan 2017 23:59:28 +0000 (23:59 +0000)]
Merge "Ran update-makefiles.sh."
am: 891f6a946a

Change-Id: I4fba97b1fd1c2d49f603ad83570fad640ef5fb7e

7 years agoMerge "Ran update-makefiles.sh."
Yifan Hong [Tue, 10 Jan 2017 23:55:04 +0000 (23:55 +0000)]
Merge "Ran update-makefiles.sh."

7 years agoMerge "[AWARE] Update HIDL interface and link to legacy HAL"
Etan Cohen [Tue, 10 Jan 2017 23:29:10 +0000 (23:29 +0000)]
Merge "[AWARE] Update HIDL interface and link to legacy HAL"
am: f825133092

Change-Id: I3751011489d1d6242a02de103ac78d93a37063a9

7 years agoMerge "[AWARE] Update HIDL interface and link to legacy HAL"
Etan Cohen [Tue, 10 Jan 2017 23:24:53 +0000 (23:24 +0000)]
Merge "[AWARE] Update HIDL interface and link to legacy HAL"

7 years agoliblog: use log/log.h when utilizing ALOG macros
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

7 years ago[AWARE] Update HIDL interface and link to legacy HAL
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

7 years agoRan update-makefiles.sh.
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

7 years agoAdd test for putting different types in a struct / union.
Yifan Hong [Tue, 10 Jan 2017 03:07:28 +0000 (03:07 +0000)]
Add test for putting different types in a struct / union.
am: 04e53a1ca2

Change-Id: I8ec55c7fcb84ac82bcea2cf5a0fe021103240b71

7 years agoAdd test for putting different types in a struct / union.
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

7 years agoMerge "move foocallback to hidl_test"
Yifan Hong [Thu, 5 Jan 2017 19:27:56 +0000 (19:27 +0000)]
Merge "move foocallback to hidl_test"
am: 0270fefc48

Change-Id: I8ae866482cb76ccbdd4968c27025270701d98f51

7 years agoMerge "move foocallback to hidl_test"
Yifan Hong [Thu, 5 Jan 2017 19:24:24 +0000 (19:24 +0000)]
Merge "move foocallback to hidl_test"

7 years agoMerge "Change list of applications in CardStatus from array to vec."
Amit Mahajan [Thu, 5 Jan 2017 17:58:04 +0000 (17:58 +0000)]
Merge "Change list of applications in CardStatus from array to vec."
am: d5eccf520d

Change-Id: I70ce7ea42f04692fde2930b33a0683e387b3d6de

7 years agoMerge "Change list of applications in CardStatus from array to vec."
Treehugger Robot [Thu, 5 Jan 2017 17:50:54 +0000 (17:50 +0000)]
Merge "Change list of applications in CardStatus from array to vec."

7 years agoCallback elision for HIDL interfaces.
Martijn Coenen [Thu, 5 Jan 2017 09:47:48 +0000 (09:47 +0000)]
Callback elision for HIDL interfaces.
am: e8b0161713

Change-Id: I8620dc8913c3a184657a22fa0bb931e20d31a99f

7 years agoCallback elision for HIDL interfaces.
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

7 years agoMerge "Return<*> getStatus().isOk() -> isOk()"
Steven Moreland [Thu, 5 Jan 2017 07:17:36 +0000 (07:17 +0000)]
Merge "Return<*> getStatus().isOk() -> isOk()"
am: 3131b6fc74

Change-Id: I0d42738c1eaceb26407d6503c726cd216c9a0e7d

7 years agoMerge "Return<*> getStatus().isOk() -> isOk()"
Treehugger Robot [Thu, 5 Jan 2017 07:12:02 +0000 (07:12 +0000)]
Merge "Return<*> getStatus().isOk() -> isOk()"

7 years agoReturn<*> 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

7 years agoMerge "Add a method to trigger multiple FMQ blocking reads."
Hridya Valsaraju [Thu, 5 Jan 2017 02:40:17 +0000 (02:40 +0000)]
Merge "Add a method to trigger multiple FMQ blocking reads."
am: 9bfe0894b9

Change-Id: Ibbed41a80f675cf8a1a771a8f8984e2ac65e9408

7 years agoMerge "Add a method to trigger multiple FMQ blocking reads."
Treehugger Robot [Thu, 5 Jan 2017 02:37:14 +0000 (02:37 +0000)]
Merge "Add a method to trigger multiple FMQ blocking reads."

7 years agoChange list of applications in CardStatus from array to vec.
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

7 years agoAdd a method to trigger multiple FMQ blocking reads.
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

7 years agomove foocallback to hidl_test
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

7 years agoMerge "Minor changes to telephony error codes in types.hal"
Sanket Padawe [Tue, 3 Jan 2017 22:48:02 +0000 (22:48 +0000)]
Merge "Minor changes to telephony error codes in types.hal"
am: 044e84cc8a

Change-Id: I8bba4f54e80e1706df9d21f3ac3820bc9c145466

7 years agoMerge "Minor changes to telephony error codes in types.hal"
Treehugger Robot [Tue, 3 Jan 2017 22:39:21 +0000 (22:39 +0000)]
Merge "Minor changes to telephony error codes in types.hal"

7 years agoMerge "Make update-makefiles.sh exit if any of the hidl invocations fail"
Enrico Granata [Tue, 3 Jan 2017 18:59:44 +0000 (18:59 +0000)]
Merge "Make update-makefiles.sh exit if any of the hidl invocations fail"
am: 11dc298105

Change-Id: I667587a7ff0139373d2430ec4d6e0cbd810437c7

7 years agoMerge "Make update-makefiles.sh exit if any of the hidl invocations fail"
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"

7 years agoMerge "Templatize MQDescriptor"
Hridya Valsaraju [Tue, 3 Jan 2017 18:28:45 +0000 (18:28 +0000)]
Merge "Templatize MQDescriptor"
am: 61666e16bb

Change-Id: Ib423003d7b0fefeb1bec3d566f1635c446687cab

7 years agoMerge "Templatize MQDescriptor"
Hridya Valsaraju [Tue, 3 Jan 2017 18:17:08 +0000 (18:17 +0000)]
Merge "Templatize MQDescriptor"

7 years agoMinor changes to telephony error codes in types.hal
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

7 years agoFix wifi/bluetooth threadpool usage.
Martijn Coenen [Fri, 30 Dec 2016 12:33:14 +0000 (12:33 +0000)]
Fix wifi/bluetooth threadpool usage.
am: 4faa7f5b27

Change-Id: I431dbf4f17953ba4012a5b2e55ec890223f8571a

7 years agoFix wifi/bluetooth threadpool usage.
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

7 years agoTemplatize MQDescriptor
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

7 years agobluetooth: Find the device's Bluetooth address
Myles Watson [Fri, 30 Dec 2016 02:46:33 +0000 (02:46 +0000)]
bluetooth: Find the device's Bluetooth address
am: 6a7d622264

Change-Id: I4fb90149fa1003f58e7fa1ee4d9274a9e1337dbe

7 years agobluetooth: Find the device's Bluetooth address
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

7 years agoMinor fixes in IRadioIndication.hal
Amit Mahajan [Fri, 30 Dec 2016 01:30:12 +0000 (01:30 +0000)]
Minor fixes in IRadioIndication.hal
am: d7c7e641ef

Change-Id: I4cd01b8982a4349652430a8be6f587638b719ade

7 years agoMinor fixes in IRadioIndication.hal
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

7 years agoMerge "Clean up some fields and APIs in telephony HIDL interface."
Sanket Padawe [Thu, 29 Dec 2016 22:36:18 +0000 (22:36 +0000)]
Merge "Clean up some fields and APIs in telephony HIDL interface."
am: 4ba8b469d7

Change-Id: If040bb85e2d7d58fc94b9366021c303d6176a546

7 years agoMerge "Clean up some fields and APIs in telephony HIDL interface."
Treehugger Robot [Thu, 29 Dec 2016 22:28:46 +0000 (22:28 +0000)]
Merge "Clean up some fields and APIs in telephony HIDL interface."

7 years agoAdd default Bluetooth HAL implementation
Andre Eisenbach [Thu, 29 Dec 2016 21:11:35 +0000 (21:11 +0000)]
Add default Bluetooth HAL implementation
am: 89ba5284e3

Change-Id: If3b45b7aeacb27892c2c71a5670ae75237588a40

7 years agoAdd default Bluetooth HAL implementation
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

7 years agoAdd test method to IBaz.
Martijn Coenen [Thu, 29 Dec 2016 09:04:51 +0000 (09:04 +0000)]
Add test method to IBaz.
am: 73f99f6e1f

Change-Id: I82d4a39bb510cb3cf588eb0a78b7846faf910011

7 years agoClean up some fields and APIs in telephony HIDL interface.
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

7 years agoAdd test method to IBaz.
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

7 years agoMinor updates to ISap hal.
Amit Mahajan [Wed, 28 Dec 2016 07:01:58 +0000 (07:01 +0000)]
Minor updates to ISap hal.
am: fff290faa0

Change-Id: Id5ac86d2cdafedfebb6976201b2c3cf44f27ec18

7 years agoMinor updates to ISap hal.
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

7 years agoMerge "Add a method to test EventFlag configuration and usage"
Hridya Valsaraju [Thu, 22 Dec 2016 22:02:39 +0000 (22:02 +0000)]
Merge "Add a method to test EventFlag configuration and usage"
am: ac7f1d21e8

Change-Id: I061799a54ef569453f6c771458acc3a31546b3fa

7 years agoMake update-makefiles.sh exit if any of the hidl invocations fail
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

7 years agoMerge "Add a method to test EventFlag configuration and usage"
Treehugger Robot [Thu, 22 Dec 2016 21:55:06 +0000 (21:55 +0000)]
Merge "Add a method to test EventFlag configuration and usage"

7 years agoAdd a method to test EventFlag configuration and usage
Hridya Valsaraju [Thu, 15 Dec 2016 17:14:13 +0000 (09:14 -0800)]
Add a method to test EventFlag configuration and usage

Bug: 31223612 33295104

Test: FMQ unit tests.

Change-Id: Idbddd38730edd0ec14c37d3cb5e67f78705c3d4a

7 years agoMerge "Add test for Java GC for binder objects."
Yifan Hong [Wed, 21 Dec 2016 18:22:12 +0000 (18:22 +0000)]
Merge "Add test for Java GC for binder objects."
am: eb0db2c920

Change-Id: I0e86df487d113d1ff5138732d766c9b67f9e4441

7 years agoMerge "Add test for Java GC for binder objects."
Yifan Hong [Wed, 21 Dec 2016 18:17:18 +0000 (18:17 +0000)]
Merge "Add test for Java GC for binder objects."

7 years agoMerge "Remove length arg from transmit() in IR HAL"
Connor O'Brien [Tue, 20 Dec 2016 18:51:42 +0000 (18:51 +0000)]
Merge "Remove length arg from transmit() in IR HAL"
am: 9b37defc5d

Change-Id: Ia9993df13cfc73dec4ae5587996c2bd3dde8a34c

7 years agoMerge "Remove length arg from transmit() in IR HAL"
Connor O'Brien [Tue, 20 Dec 2016 18:28:46 +0000 (18:28 +0000)]
Merge "Remove length arg from transmit() in IR HAL"

7 years agoAdd test for Java GC for binder objects.
Yifan Hong [Tue, 20 Dec 2016 02:02:56 +0000 (18:02 -0800)]
Add test for Java GC for binder objects.

Test: hidl_test_java

Bug: 33042939
Change-Id: I87d9de63834c617a568f7d1795c901fdd4c6f8e0

7 years agoMerge "wifi(vts): Add framework for gtests"
Roshan Pius [Tue, 20 Dec 2016 01:16:23 +0000 (01:16 +0000)]
Merge "wifi(vts): Add framework for gtests"
am: 0849baccc4

Change-Id: I953505f699499a3490e5838964a3cff6dc3dcb11

7 years agoMerge "wifi(vts): Add framework for gtests"
Treehugger Robot [Tue, 20 Dec 2016 01:07:32 +0000 (01:07 +0000)]
Merge "wifi(vts): Add framework for gtests"

7 years agoRemove length arg from transmit() in IR HAL
Connor O'Brien [Mon, 19 Dec 2016 23:55:12 +0000 (15:55 -0800)]
Remove length arg from transmit() in IR HAL

The length argument is not necessary since the pattern is
passed to transmit() as a hidl_vec, so remove it.

Test: Built and called new transmit() function.
Merged-in: I4bee4557c2cca6562a43df5e22a7d6b846f20bb4
Change-Id: I4bee4557c2cca6562a43df5e22a7d6b846f20bb4
Signed-off-by: Connor O'Brien <connoro@google.com>
7 years agoMerge "Test for echoed interfaces."
Yifan Hong [Mon, 19 Dec 2016 22:36:20 +0000 (22:36 +0000)]
Merge "Test for echoed interfaces."
am: f5f75be7b6

Change-Id: Iffd4804b7cda031bde0c3bf556dee6696dd4f149

7 years agoMerge "Test for echoed interfaces."
Yifan Hong [Mon, 19 Dec 2016 22:32:56 +0000 (22:32 +0000)]
Merge "Test for echoed interfaces."

7 years agosupplicant(interface): Remove unused params
Roshan Pius [Sat, 17 Dec 2016 02:19:13 +0000 (02:19 +0000)]
supplicant(interface): Remove unused params
am: e663f83a91

Change-Id: I80bda25bfb374ee2ae2e36035bced7055fcaf10c

7 years agowifi(vts): Add framework for gtests
Roshan Pius [Wed, 7 Dec 2016 02:59:15 +0000 (18:59 -0800)]
wifi(vts): Add framework for gtests

These tests don't do much currently other than assert that we can
configure the chip in the required modes and create all the iface
objects.
The |wifi_hidl_test_utils| contains all helper functions that will be
shared across the different test fixtures.

Bug: 33459306
Test: adb root && adb remount && adb push
out/target/product/angler/data/nativetest/wifi_hidl_test/wifi_hidl_test
/data/ && adb shell /data/wifi_hidl_test

Change-Id: Iaea8e264ab1ef9113f375d7f56acab851aff21aa

7 years agosupplicant(interface): Remove unused params
Roshan Pius [Fri, 16 Dec 2016 23:32:27 +0000 (15:32 -0800)]
supplicant(interface): Remove unused params

Theese params in flushService & configureExtListen are unused.

Bug: 33705000
Test: Compiles
Change-Id: I38ff75af32951274100d1d60a5fdfa6aa101cb50

7 years agowifi: Add remaining capability flags from legacy HAL
Roshan Pius [Fri, 16 Dec 2016 23:50:31 +0000 (23:50 +0000)]
wifi: Add remaining capability flags from legacy HAL
am: a2d369dd03

Change-Id: I06bcca888df395b0a4adb3a2c913f983b5ac9578

7 years agowifi: Debug ring buffer data collection
Roshan Pius [Fri, 16 Dec 2016 23:50:30 +0000 (23:50 +0000)]
wifi: Debug ring buffer data collection
am: 48185b2a2d

Change-Id: Ia692dbe8f96a3a580460153468951215828bfb65

7 years agoTest for echoed interfaces.
Yifan Hong [Mon, 28 Nov 2016 20:52:28 +0000 (12:52 -0800)]
Test for echoed interfaces.

Test: hidl_test

Bug: 33173166

Change-Id: I0b8b8553b7d3f7b1800d0970a9fc17d01084dfcf

7 years agowifi: Add remaining capability flags from legacy HAL
Roshan Pius [Fri, 16 Dec 2016 06:38:00 +0000 (22:38 -0800)]
wifi: Add remaining capability flags from legacy HAL

While there,
1. Remove the _SUPPORTED flag from all the capabailities to make it
consistent.
2. Correct the docstring for |create*Iface|.

Bug: 33673826
Test: Compiles
Change-Id: I26f6de3d681dec133b51ba5dd7f21a29c92ea238

7 years agowifi: Debug ring buffer data collection
Roshan Pius [Fri, 16 Dec 2016 03:10:30 +0000 (19:10 -0800)]
wifi: Debug ring buffer data collection

Implementation of the debug ring buffer data collection mechanism.
Changed the interface to pass the raw bytes sent by the driver. This
will be captured as is into the bugreport.

Note: Please see the associated bug on why this data is not being parsed.

Also,
Fixed a bug in the legacy HAL API for retrieving ring buffer status.

Bug: 33638159
Test: Compiles
Change-Id: I9d8f400142b1be4fbf8c85679e8a52d6af17b09e

7 years agowifi: Add chip level callbacks
Roshan Pius [Fri, 16 Dec 2016 21:20:53 +0000 (21:20 +0000)]
wifi: Add chip level callbacks
am: 2c06a3f8c8

Change-Id: If54547bc793d7a10981520400497a77c1bc81f03

7 years agoWifiLegacyHal: Add missing ring buffer callback dereg
Roshan Pius [Fri, 16 Dec 2016 21:20:52 +0000 (21:20 +0000)]
WifiLegacyHal: Add missing ring buffer callback dereg
am: adc87cbab9

Change-Id: I232749aaee8128f522d5624b1ecd756808e05c18

7 years agowifi: Add support for alert handler
Roshan Pius [Fri, 16 Dec 2016 21:20:51 +0000 (21:20 +0000)]
wifi: Add support for alert handler
am: 203cb031df

Change-Id: I1e53cc8a6e087c4bd7d49abd407a8536d8e71df5