OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoNfc: Change return types for Nfc hal to specified type. am: 51068e0bd3 am: bec5eeba2c...
Ruchi Kandoi [Tue, 29 Nov 2016 01:46:10 +0000 (01:46 +0000)]
Nfc: Change return types for Nfc hal to specified type. am: 51068e0bd3 am: bec5eeba2c am: c4908b5add
am: 48a458e7a9

Change-Id: I69a87e3e7366b4ace4ee20884075858612f837b6

7 years agoNfc: Change return types for Nfc hal to specified type. am: 51068e0bd3 am: bec5eeba2c
Ruchi Kandoi [Tue, 29 Nov 2016 01:42:10 +0000 (01:42 +0000)]
Nfc: Change return types for Nfc hal to specified type. am: 51068e0bd3 am: bec5eeba2c
am: c4908b5add

Change-Id: I8cfc53689fff8e526305d6e09a9675ff0e00c302

7 years agoNfc: Change return types for Nfc hal to specified type. am: 51068e0bd3
Ruchi Kandoi [Tue, 29 Nov 2016 01:38:10 +0000 (01:38 +0000)]
Nfc: Change return types for Nfc hal to specified type. am: 51068e0bd3
am: bec5eeba2c

Change-Id: I8f547793b098fa85b8e1aa97278944b38cd331e5

7 years agoNfc: Change return types for Nfc hal to specified type.
Ruchi Kandoi [Tue, 29 Nov 2016 01:34:09 +0000 (01:34 +0000)]
Nfc: Change return types for Nfc hal to specified type.
am: 51068e0bd3

Change-Id: I46ba181e80ee2c16cfda07da6e1b3975f1e09717

7 years agoMerge "NFC: vts: Update VTS driver files as per HAL changes"
Ruchi Kandoi [Tue, 29 Nov 2016 01:29:25 +0000 (01:29 +0000)]
Merge "NFC: vts: Update VTS driver files as per HAL changes"

7 years agoMerge "NFC: Add target-side VTS tests for NFC"
Ruchi Kandoi [Tue, 29 Nov 2016 01:29:25 +0000 (01:29 +0000)]
Merge "NFC: Add target-side VTS tests for NFC"

7 years agoNfc: Change return types for Nfc hal to specified type.
Ruchi Kandoi [Fri, 18 Nov 2016 22:11:33 +0000 (14:11 -0800)]
Nfc: Change return types for Nfc hal to specified type.

Test: Compiles and test passes
Bug: 32998929
Change-Id: I6787b90e5e745b32c7a5a951203496cc614fdc10
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
7 years agoMerge "graphics: fix potential leaks for IAllocator"
Chia-I Wu [Mon, 28 Nov 2016 21:59:59 +0000 (21:59 +0000)]
Merge "graphics: fix potential leaks for IAllocator"

7 years agoUse get instead of implicit cast on Return<*>. am: dc5f84f993 am: 3c87575472 am:...
Steven Moreland [Mon, 28 Nov 2016 21:50:28 +0000 (21:50 +0000)]
Use get instead of implicit cast on Return<*>. am: dc5f84f993 am: 3c87575472 am: 90bd630187
am: da1c605bf8

Change-Id: I31eb131fbe2a59f4e47b5d3ea0558cd2a9c843d5

7 years agoUse get instead of implicit cast on Return<*>. am: dc5f84f993 am: 3c87575472
Steven Moreland [Mon, 28 Nov 2016 21:46:27 +0000 (21:46 +0000)]
Use get instead of implicit cast on Return<*>. am: dc5f84f993 am: 3c87575472
am: 90bd630187

Change-Id: I26932ebcf1cc003de372276349fdc9cfe545189c

7 years agoUse get instead of implicit cast on Return<*>. am: dc5f84f993
Steven Moreland [Mon, 28 Nov 2016 21:42:26 +0000 (21:42 +0000)]
Use get instead of implicit cast on Return<*>. am: dc5f84f993
am: 3c87575472

Change-Id: I127bb33b016a57ec6abe7ca785a33104a7ff29fc

7 years agoUse get instead of implicit cast on Return<*>.
Steven Moreland [Mon, 28 Nov 2016 21:37:55 +0000 (21:37 +0000)]
Use get instead of implicit cast on Return<*>.
am: dc5f84f993

Change-Id: I5bb0b8a4ca3a565768c7f03d640134d3a3a16dd4

7 years agoUse get instead of implicit cast on Return<*>.
Steven Moreland [Tue, 22 Nov 2016 22:16:37 +0000 (14:16 -0800)]
Use get instead of implicit cast on Return<*>.

Bug: 31348667
Test: hidl_test
Change-Id: Icc22f440077feeff1119ca7b2b44fab684b453db

7 years agoMerge "Update makefiles for logging." am: 2fe5762cae am: 007e4f5516 am: 2a523150df
Steven Moreland [Fri, 25 Nov 2016 18:26:17 +0000 (18:26 +0000)]
Merge "Update makefiles for logging." am: 2fe5762cae am: 007e4f5516 am: 2a523150df
am: 80a06a35e3

Change-Id: I17ad0b71f001a3db89656743dc49680578e98a1a

7 years agoMerge "Update makefiles for logging." am: 2fe5762cae am: 007e4f5516
Steven Moreland [Fri, 25 Nov 2016 18:22:45 +0000 (18:22 +0000)]
Merge "Update makefiles for logging." am: 2fe5762cae am: 007e4f5516
am: 2a523150df

Change-Id: I93446fa1ff57c08d1a408d577862f1843796c9e6

7 years agoMerge "Update makefiles for logging." am: 2fe5762cae
Steven Moreland [Fri, 25 Nov 2016 18:20:50 +0000 (18:20 +0000)]
Merge "Update makefiles for logging." am: 2fe5762cae
am: 007e4f5516

Change-Id: I9b6d00eafd4223a8ce82f0d2da89aec720f354a0

7 years agoMerge "Update makefiles for logging."
Steven Moreland [Fri, 25 Nov 2016 18:18:50 +0000 (18:18 +0000)]
Merge "Update makefiles for logging."
am: 2fe5762cae

Change-Id: I2f85a37a4cb7178aecd48eb63ca6fa7e7d715917

7 years agoMerge "Update makefiles for logging."
Treehugger Robot [Thu, 24 Nov 2016 16:41:20 +0000 (16:41 +0000)]
Merge "Update makefiles for logging."

7 years agoMerge "use svc nfc enable/disable which is always the same."
Keun Soo Yim [Thu, 24 Nov 2016 15:43:00 +0000 (15:43 +0000)]
Merge "use svc nfc enable/disable which is always the same."

7 years agoAdd liblog to gatekeeper.
Martijn Coenen [Thu, 24 Nov 2016 12:40:46 +0000 (13:40 +0100)]
Add liblog to gatekeeper.

Bug: 32943424
Test: mma
Change-Id: Ia543c20230967aa768266d31d058fc2330e4962d

7 years agoMerge "increase the thermal hal timeout to 5m"
Keun Soo Yim [Thu, 24 Nov 2016 01:26:30 +0000 (01:26 +0000)]
Merge "increase the thermal hal timeout to 5m"

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

7 years agoUse newly introduced hidl_handle in DumpstateDefault
Colin Cross [Wed, 23 Nov 2016 05:31:36 +0000 (21:31 -0800)]
Use newly introduced hidl_handle in DumpstateDefault

The dumpstate hal passes a hild_handle, but DumpstateDefault was
expecting a native_handle_t*.  This was exposed when
Id7dbc646b50f132e240bfbba719a2d36585ccc35 caused the Android.mk
file to be picked up.

Bug: 31982882
Bug: 32089785
Test: builds
Change-Id: I48c84b6d19a93ceb0641be517f378fd6aba45962

7 years agoMerge "Update makefiles for logging."
TreeHugger Robot [Wed, 23 Nov 2016 04:07:22 +0000 (04:07 +0000)]
Merge "Update makefiles for logging."

7 years agographics: fix potential leaks for IAllocator
Chia-I Wu [Tue, 22 Nov 2016 03:37:04 +0000 (11:37 +0800)]
graphics: fix potential leaks for IAllocator

Introduce IAllocatorClient to manage resources owned by a client (e.g., SF
or VTS).  This makes sure there is no resource leak when SF or VTS
crashes.

This also fixes two unrelated bugs

 - sizeof(Buffer) != sizeof(void*) on 32-bit impl.
 - layerCount was not set to 1 in tests

Test: builds and boots
Change-Id: I67f5cdd64b97fb3ce1b931099c25f59cc8517f21

7 years agoMerge changes from topic 'hidl-gk'
Alexey Polyudov [Wed, 23 Nov 2016 02:37:57 +0000 (02:37 +0000)]
Merge changes from topic 'hidl-gk'

* changes:
  gatekeeper HIDL HAL definition
  vts: make sure all Android.mk are found

7 years agoMerge "Functional tests for lights hal."
TreeHugger Robot [Wed, 23 Nov 2016 02:03:20 +0000 (02:03 +0000)]
Merge "Functional tests for lights hal."

7 years agoUpdate makefiles for logging.
Steven Moreland [Wed, 23 Nov 2016 01:59:33 +0000 (17:59 -0800)]
Update makefiles for logging.

Bug: 32943424
Test: pass
Change-Id: I1fc84c8f7b634bd3a6cfeb6c38c76842f90ac656

7 years agoRemove HIDL_GENERATED from things written by hand. am: 33e87b8a76 am: 8b6a886d60...
Steven Moreland [Wed, 23 Nov 2016 01:51:19 +0000 (01:51 +0000)]
Remove HIDL_GENERATED from things written by hand. am: 33e87b8a76 am: 8b6a886d60 am: 35460073b3
am: 6817b001f1

Change-Id: Ied2a612dbeac019fa764eeb8375d6e68f0ff7e66

7 years agoRemove HIDL_GENERATED from things written by hand. am: 33e87b8a76 am: 8b6a886d60
Steven Moreland [Wed, 23 Nov 2016 01:43:44 +0000 (01:43 +0000)]
Remove HIDL_GENERATED from things written by hand. am: 33e87b8a76 am: 8b6a886d60
am: 35460073b3

Change-Id: Iae652c54907c7aee1f1663bea2a48233fa7630de

7 years agoRemove HIDL_GENERATED from things written by hand. am: 33e87b8a76
Steven Moreland [Wed, 23 Nov 2016 01:41:44 +0000 (01:41 +0000)]
Remove HIDL_GENERATED from things written by hand. am: 33e87b8a76
am: 8b6a886d60

Change-Id: Ic6b2701ff122159144eefd6e90d497a997978e7e

7 years agoRemove HIDL_GENERATED from things written by hand.
Steven Moreland [Wed, 23 Nov 2016 01:39:14 +0000 (01:39 +0000)]
Remove HIDL_GENERATED from things written by hand.
am: 33e87b8a76

Change-Id: Ib5c70daafd8d5bfa8454a4a0e05c858a3e9a393a

7 years agoRemove HIDL_GENERATED from things written by hand.
Steven Moreland [Tue, 22 Nov 2016 23:34:39 +0000 (15:34 -0800)]
Remove HIDL_GENERATED from things written by hand.

find . -name "*.h" -exec sed -i 's/HIDL_GENERATED_\(.*\)_H_/\U\1_H/g' {}
+

They now match what would be generated by -Lc++-impl. This prevents
confusion over whether or not the files are autogenerated.

Test: pass
Change-Id: I2c9d7887f6d6bdaa19a5c4bfcf02ee3d1dbc81d1

7 years agoFunctional tests for lights hal.
Steven Moreland [Wed, 16 Nov 2016 19:15:42 +0000 (11:15 -0800)]
Functional tests for lights hal.

Bug: 32022457
Test: light_hidl_hal_test
Change-Id: I28650ec69349dda82217e8db1b954a507cc264e5

7 years agogatekeeper HIDL HAL definition
Alexey Polyudov [Mon, 29 Aug 2016 19:08:44 +0000 (12:08 -0700)]
gatekeeper HIDL HAL definition

Change-Id: I8224ba28abec42cfaea26b147acbcd1a27e09a9b
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
7 years agovts: make sure all Android.mk are found
Alexey Polyudov [Tue, 22 Nov 2016 20:54:17 +0000 (12:54 -0800)]
vts: make sure all Android.mk are found

Test: build passes

Bug: 32783461
Change-Id: Id7dbc646b50f132e240bfbba719a2d36585ccc35
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
7 years agoMerge "Initial definition of the Dumpstate HIDL interfaces."
TreeHugger Robot [Tue, 22 Nov 2016 22:33:27 +0000 (22:33 +0000)]
Merge "Initial definition of the Dumpstate HIDL interfaces."

7 years agoUse newly introduced hidl_handle. am: 403161ab73 am: 14c4d0da66 am: a01c7cd6d7
Martijn Coenen [Tue, 22 Nov 2016 17:58:28 +0000 (17:58 +0000)]
Use newly introduced hidl_handle. am: 403161ab73 am: 14c4d0da66 am: a01c7cd6d7
am: 85e489167b

Change-Id: Icce5cb093b14849a5676592c1fbb2c5148aa7fb2

7 years agoMerge "Update makefiles for logging."
Steven Moreland [Tue, 22 Nov 2016 17:25:36 +0000 (17:25 +0000)]
Merge "Update makefiles for logging."

7 years agoincrease the thermal hal timeout to 5m
Keun Soo Yim [Tue, 22 Nov 2016 16:58:18 +0000 (08:58 -0800)]
increase the thermal hal timeout to 5m

Test: vts-tradefed; run vts-hal-hidl
Change-Id: I66e36d24a8a55b2b61797b8cadc18b5891d5a051

7 years agoMerge "move VTS HIDL HAL tests to the corresponding interface directories"
Keun Soo Yim [Tue, 22 Nov 2016 16:41:27 +0000 (16:41 +0000)]
Merge "move VTS HIDL HAL tests to the corresponding interface directories"

7 years agoUse newly introduced hidl_handle. am: 403161ab73 am: 14c4d0da66
Martijn Coenen [Tue, 22 Nov 2016 15:03:05 +0000 (15:03 +0000)]
Use newly introduced hidl_handle. am: 403161ab73 am: 14c4d0da66
am: a01c7cd6d7

Change-Id: I1589ba4d11ffa9a8a2ef7049a763bb345498889e

7 years agoUse newly introduced hidl_handle. am: 403161ab73
Martijn Coenen [Tue, 22 Nov 2016 15:01:04 +0000 (15:01 +0000)]
Use newly introduced hidl_handle. am: 403161ab73
am: 14c4d0da66

Change-Id: Ia6cca0328196d8b893fa99a4505efc6dfd3ef0ed

7 years agoUse newly introduced hidl_handle.
Martijn Coenen [Tue, 22 Nov 2016 14:58:35 +0000 (14:58 +0000)]
Use newly introduced hidl_handle.
am: 403161ab73

Change-Id: Ic5344ae123ef0c9b233eb31e6b9cd33be2d809fc

7 years agoUse newly introduced hidl_handle.
Martijn Coenen [Fri, 18 Nov 2016 14:29:32 +0000 (15:29 +0100)]
Use newly introduced hidl_handle.

Bug: 32089785
Test: builds
Change-Id: I27c7d3945e1fe390661bf322987011a00fe9b3fe

7 years agoUse newly introduced hidl_handle.
Martijn Coenen [Fri, 18 Nov 2016 14:29:32 +0000 (15:29 +0100)]
Use newly introduced hidl_handle.

Bug: 32089785
Test: builds
Change-Id: I27c7d3945e1fe390661bf322987011a00fe9b3fe

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

7 years agoMerge changes I7c418811,I0870eae0 am: 88fb149b8e am: df6cb83d97 am: 569b010860
Roshan Pius [Tue, 22 Nov 2016 02:03:41 +0000 (02:03 +0000)]
Merge changes I7c418811,I0870eae0 am: 88fb149b8e am: df6cb83d97 am: 569b010860
am: 5157d11da1

Change-Id: Ia4254ec14739ea574e1b7384cce1a6e56877ee59

7 years agowifi: Add link layer stats API wrappers in WifiLegacyHal am: 7cece41299 am: db91ca179...
Roshan Pius [Tue, 22 Nov 2016 02:03:39 +0000 (02:03 +0000)]
wifi: Add link layer stats API wrappers in WifiLegacyHal am: 7cece41299 am: db91ca1794 am: 3fab519317
am: 35a818c28e

Change-Id: Id0361a12c8881496db04a7ec302dd21cf9bdb7d8

7 years agowifi: Add gscan API wrappers in WifiLegacyHal am: 76ff302d57 am: 197524b157 am: a9af2...
Roshan Pius [Tue, 22 Nov 2016 02:03:36 +0000 (02:03 +0000)]
wifi: Add gscan API wrappers in WifiLegacyHal am: 76ff302d57 am: 197524b157 am: a9af2aea6d
am: b5b4d50d4d

Change-Id: Ica9f45df937de3420f7833d8dfdd01ce03b43221

7 years agoMerge changes I7c418811,I0870eae0 am: 88fb149b8e am: df6cb83d97
Roshan Pius [Tue, 22 Nov 2016 01:54:14 +0000 (01:54 +0000)]
Merge changes I7c418811,I0870eae0 am: 88fb149b8e am: df6cb83d97
am: 569b010860

Change-Id: I46c28be0e23eb6a2bdb54c25927a29c9d4dc6b92

7 years agowifi: Add link layer stats API wrappers in WifiLegacyHal am: 7cece41299 am: db91ca1794
Roshan Pius [Tue, 22 Nov 2016 01:54:12 +0000 (01:54 +0000)]
wifi: Add link layer stats API wrappers in WifiLegacyHal am: 7cece41299 am: db91ca1794
am: 3fab519317

Change-Id: I8b4d9a8558b6c735bdb8b4097913c4d299a329a8

7 years agowifi: Add gscan API wrappers in WifiLegacyHal am: 76ff302d57 am: 197524b157
Roshan Pius [Tue, 22 Nov 2016 01:54:10 +0000 (01:54 +0000)]
wifi: Add gscan API wrappers in WifiLegacyHal am: 76ff302d57 am: 197524b157
am: a9af2aea6d

Change-Id: I98ff41aa42dafeefe97426b6b6261fc5b8ee18ad

7 years agoMerge changes I7c418811,I0870eae0 am: 88fb149b8e
Roshan Pius [Tue, 22 Nov 2016 01:48:12 +0000 (01:48 +0000)]
Merge changes I7c418811,I0870eae0 am: 88fb149b8e
am: df6cb83d97

Change-Id: Idd3080ebe3a6ce42cc0d2eb095b043ecac24fdb9

7 years agowifi: Add link layer stats API wrappers in WifiLegacyHal am: 7cece41299
Roshan Pius [Tue, 22 Nov 2016 01:48:10 +0000 (01:48 +0000)]
wifi: Add link layer stats API wrappers in WifiLegacyHal am: 7cece41299
am: db91ca1794

Change-Id: I3727bc3a2a5b4baa0400453035321a439c5150f4

7 years agowifi: Add gscan API wrappers in WifiLegacyHal am: 76ff302d57
Roshan Pius [Tue, 22 Nov 2016 01:48:08 +0000 (01:48 +0000)]
wifi: Add gscan API wrappers in WifiLegacyHal am: 76ff302d57
am: 197524b157

Change-Id: Id7e4ec4307ea273a5b81a3539a2e8d1ff2b7849a

7 years agoMerge "graphics: add target-side tests for IAllocator (again)"
Chia-I Wu [Tue, 22 Nov 2016 01:39:30 +0000 (01:39 +0000)]
Merge "graphics: add target-side tests for IAllocator (again)"

7 years agoMerge changes I7c418811,I0870eae0
Roshan Pius [Tue, 22 Nov 2016 01:39:03 +0000 (01:39 +0000)]
Merge changes I7c418811,I0870eae0
am: 88fb149b8e

Change-Id: Ic1b7ccb20296344bb551fc600d3d6e25fe1fe6a6

7 years agowifi: Add link layer stats API wrappers in WifiLegacyHal
Roshan Pius [Tue, 22 Nov 2016 01:39:00 +0000 (01:39 +0000)]
wifi: Add link layer stats API wrappers in WifiLegacyHal
am: 7cece41299

Change-Id: Id8edce8333faa2860a7deef272858b93c6c8bef6

7 years agowifi: Add gscan API wrappers in WifiLegacyHal
Roshan Pius [Tue, 22 Nov 2016 01:38:57 +0000 (01:38 +0000)]
wifi: Add gscan API wrappers in WifiLegacyHal
am: 76ff302d57

Change-Id: Ieda0e0ab4b058f342788cf39182c7a2eafafeeba

7 years agoMerge changes I7c418811,I0870eae0
Treehugger Robot [Tue, 22 Nov 2016 01:06:50 +0000 (01:06 +0000)]
Merge changes I7c418811,I0870eae0

* changes:
  wifi: Add link layer stats API wrappers in WifiLegacyHal
  wifi: Add gscan API wrappers in WifiLegacyHal

7 years agoUpdate makefiles for logging.
Steven Moreland [Tue, 22 Nov 2016 00:28:54 +0000 (16:28 -0800)]
Update makefiles for logging.

Bug: 32943424
Test: pass
Change-Id: Ic88ce6adf04e0e36db53e4cc06ac2ec5a90c011c

7 years agoUpdate makefiles for logging.
Steven Moreland [Tue, 22 Nov 2016 00:19:57 +0000 (16:19 -0800)]
Update makefiles for logging.

Bug: 32943424
Test: hidl_test
Change-Id: I86dc81935912861073497c07696378895a25f9ee

7 years agoMerge changes from topic 'fix broadcast radio HIDL build'
Eric Laurent [Tue, 22 Nov 2016 00:18:18 +0000 (00:18 +0000)]
Merge changes from topic 'fix broadcast radio HIDL build'

* changes:
  fix build for broacast radio HAL implementation
  Revert "Revert "Initial implementation of broadcast radio HAL.""

7 years agoMerge "NFC: Add Annotations to the HAL file" am: 3bca1eef75 am: 3007940bda am: 2c54eef738
Ruchi Kandoi [Mon, 21 Nov 2016 23:12:28 +0000 (23:12 +0000)]
Merge "NFC: Add Annotations to the HAL file" am: 3bca1eef75 am: 3007940bda am: 2c54eef738
am: 0663b00143

Change-Id: I1e5a734e4acd5c37d41dcb8d792538d17c6b8b84

7 years agoMerge "NFC: Add Annotations to the HAL file" am: 3bca1eef75 am: 3007940bda
Ruchi Kandoi [Mon, 21 Nov 2016 23:08:58 +0000 (23:08 +0000)]
Merge "NFC: Add Annotations to the HAL file" am: 3bca1eef75 am: 3007940bda
am: 2c54eef738

Change-Id: I56b48d14b75cdc99192341747323e1552195fea0

7 years agoMerge "NFC: Add Annotations to the HAL file" am: 3bca1eef75
Ruchi Kandoi [Mon, 21 Nov 2016 23:06:57 +0000 (23:06 +0000)]
Merge "NFC: Add Annotations to the HAL file" am: 3bca1eef75
am: 3007940bda

Change-Id: I34838be329867495cce6108472fa94ef09285c02

7 years agoMerge "NFC: Add Annotations to the HAL file"
Ruchi Kandoi [Mon, 21 Nov 2016 23:03:59 +0000 (23:03 +0000)]
Merge "NFC: Add Annotations to the HAL file"
am: 3bca1eef75

Change-Id: I528f0494291c89116a976a8da0c28dd3dc87e6cb

7 years agoMerge "NFC: Add Annotations to the HAL file"
Ruchi Kandoi [Mon, 21 Nov 2016 22:53:01 +0000 (22:53 +0000)]
Merge "NFC: Add Annotations to the HAL file"

7 years agoNFC: Add target-side VTS tests for NFC
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>
7 years agographics: add target-side tests for IAllocator (again)
Chia-I Wu [Mon, 21 Nov 2016 22:36:43 +0000 (06:36 +0800)]
graphics: add target-side tests for IAllocator (again)

With fix for libhidl split and use PixelFormat from common@1.0.

Test: make
Change-Id: Ie4001f4a0c6cb10a5c4f1889dc8cc1907fdee8ca

7 years agoMerge "Revert "graphics: add target-side tests for IAllocator""
Chia-I Wu [Mon, 21 Nov 2016 22:22:48 +0000 (22:22 +0000)]
Merge "Revert "graphics: add target-side tests for IAllocator""

7 years agoRevert "graphics: add target-side tests for IAllocator"
Chia-I Wu [Mon, 21 Nov 2016 22:13:49 +0000 (22:13 +0000)]
Revert "graphics: add target-side tests for IAllocator"

This reverts commit 3e7889e0e894d81509d373c24e639e4d7e656cac.

Change-Id: I724bcd2ea4fd1005cee132e13736cefd1820de73

7 years agoMerge "graphics: add target-side tests for IAllocator"
Chia-I Wu [Mon, 21 Nov 2016 21:57:31 +0000 (21:57 +0000)]
Merge "graphics: add target-side tests for IAllocator"

7 years agofix build for broacast radio HAL implementation
Eric Laurent [Mon, 21 Nov 2016 20:13:05 +0000 (12:13 -0800)]
fix build for broacast radio HAL implementation

Test: make full-eng
Change-Id: I5cfae94a5f4097290d57c7481312d48d417c31dd

7 years agoNFC: vts: Update VTS driver files as per HAL changes
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>
7 years agowifi: Add link layer stats API wrappers in WifiLegacyHal
Roshan Pius [Fri, 28 Oct 2016 17:38:21 +0000 (10:38 -0700)]
wifi: Add link layer stats API wrappers in WifiLegacyHal

Adds wrappers over the legacy HAL API for the following:
1. enable/disable link layer stats collection.
2. fetch link layer stats.

Note: Link layer stats structure is quite ugly. The wrapper stucture
declared here (LinkLayerStats) tries to separate out the pointer
elements and ignore the unnecessary variable size elements from them.

Bug: 31991459
Test: Compiles
Change-Id: I7c4188115786542866c7be56cf9f116b3f78e6a3

7 years agowifi: Add gscan API wrappers in WifiLegacyHal
Roshan Pius [Fri, 28 Oct 2016 17:33:34 +0000 (10:33 -0700)]
wifi: Add gscan API wrappers in WifiLegacyHal

The legacy gscan API's were designed to be used in the following
sequence:
a) Start the scan using |wifi_start_gscan|.
b) Scan Events are indicated to the caller via the provided
|on_scan_event| callback.
c) When one of the result events are received, the caller is expected
to retrieve the cached results via |wifi_get_cached_gscan_results|.
There are some extra knobs here to determine if the results need to be
flushed after fetch or not.
d) Any scan failures are also notified via the provided
|on_scan_event| callback.
e) Full scan results are delivered one by one via the provided
|on_full_scan_result| callback.

In our use case step (b) above is always followed by step (c), so these
2 steps have been merged together in the HIDL interface:
a) Start the scan using |IWifiStaIface.startBackgroundScan|.
b) Scan results are now directly delivered via
|IWifiStaIfaceEventCallback.onBackgroundScanResults| callback.
c) Any scan failures will be delivered via
|IWifiStaIfaceEventCallback.onBackgroundScanFailure| callback.
d) Full scan results are delivered one by one via
|IWifiStaIfaceEventCallback.onBackgroundFullScanResult| callback.

Bug: 31991459
Test: Compiles
Change-Id: I0870eae095a667eec1d8de75fe1cc04a1b5a0bd3

7 years agoRevert "Revert "Initial implementation of broadcast radio HAL.""
Eric Laurent [Mon, 21 Nov 2016 18:41:22 +0000 (10:41 -0800)]
Revert "Revert "Initial implementation of broadcast radio HAL.""

This reverts commit 2c2df013b25bd96976af82db7e6f3480f0571c6e.

7 years agoMerge "graphics: remove duplicated types"
Chia-I Wu [Mon, 21 Nov 2016 02:52:34 +0000 (02:52 +0000)]
Merge "graphics: remove duplicated types"

7 years agoadd Android.mk to audio/common for audio/common/2.0/Android.mk
Keun Soo Yim [Sat, 19 Nov 2016 04:02:56 +0000 (20:02 -0800)]
add Android.mk to audio/common for audio/common/2.0/Android.mk

Test: mma
Change-Id: I503406aee87a3401e58343921746cd376f76af24

7 years agoMerge "Revert "Initial implementation of broadcast radio HAL.""
Eric Laurent [Sat, 19 Nov 2016 04:27:42 +0000 (04:27 +0000)]
Merge "Revert "Initial implementation of broadcast radio HAL.""

7 years agoRevert "Initial implementation of broadcast radio HAL."
Eric Laurent [Sat, 19 Nov 2016 04:11:15 +0000 (04:11 +0000)]
Revert "Initial implementation of broadcast radio HAL."

This reverts commit a33b3419a3c1a4853fc748f24877241b2496ab36.

Change-Id: I8e1c0f3891f02febe148e837b48b80e645a24ce2

7 years agoMerge "Initial implementation of broadcast radio HAL."
TreeHugger Robot [Sat, 19 Nov 2016 02:26:07 +0000 (02:26 +0000)]
Merge "Initial implementation of broadcast radio HAL."

7 years agoInitial definition of the Dumpstate HIDL interfaces.
Felipe Leme [Tue, 15 Nov 2016 23:08:47 +0000 (15:08 -0800)]
Initial definition of the Dumpstate HIDL interfaces.

BUG: 31982882
Test: manually built it

Change-Id: I3dd1d681061d16059ec9cf67869f20759fb75cd0

7 years agoInitial implementation of broadcast radio HAL.
Eric Laurent [Sat, 29 Oct 2016 00:01:08 +0000 (17:01 -0700)]
Initial implementation of broadcast radio HAL.

Test: make
Test: manual test with RadioTest app.

Bug: 31973526
Change-Id: I66199b95999aa92718bb325f8a4ec84a38e2dd69

7 years agoSplit libhidl into base and transport. am: 63544eacb6 am: 5ec7f082b2 am: 694ff2ff02
Yifan Hong [Fri, 18 Nov 2016 23:34:35 +0000 (23:34 +0000)]
Split libhidl into base and transport. am: 63544eacb6 am: 5ec7f082b2 am: 694ff2ff02
am: 153f45ace8

Change-Id: Ic46da23616b6aa7e9aaa862a1016355fdfab1fdb

7 years agoSplit libhidl into base and transport. am: 63544eacb6 am: 5ec7f082b2
Yifan Hong [Fri, 18 Nov 2016 23:27:24 +0000 (23:27 +0000)]
Split libhidl into base and transport. am: 63544eacb6 am: 5ec7f082b2
am: 694ff2ff02

Change-Id: I162ed1c07966a622bf7e1df42875af69be47160e

7 years agoSplit libhidl into base and transport. am: 63544eacb6
Yifan Hong [Fri, 18 Nov 2016 23:20:42 +0000 (23:20 +0000)]
Split libhidl into base and transport. am: 63544eacb6
am: 5ec7f082b2

Change-Id: Id2874af88e4bed99f7ea50d1c2b27e1d473d5d9e

7 years agoSplit libhidl into base and transport.
Yifan Hong [Fri, 18 Nov 2016 23:14:31 +0000 (23:14 +0000)]
Split libhidl into base and transport.
am: 63544eacb6

Change-Id: I97974e9bbe99c93591c0a4e85ff75a43c7e63983

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

7 years agoSplit libhidl into base and transport.
Yifan Hong [Wed, 16 Nov 2016 22:17:58 +0000 (14:17 -0800)]
Split libhidl into base and transport.

Bug: 32756130

Test: mma
Change-Id: Id21cf23abe2910f26bb7895511862443b93dc112

7 years agoMerge "Remove -DENABLE_TREBLE from vts test LOCAL_CFLAGS."
TreeHugger Robot [Fri, 18 Nov 2016 16:24:28 +0000 (16:24 +0000)]
Merge "Remove -DENABLE_TREBLE from vts test LOCAL_CFLAGS."

7 years agoMerge "Split libhidl into base and transport."
TreeHugger Robot [Fri, 18 Nov 2016 15:32:52 +0000 (15:32 +0000)]
Merge "Split libhidl into base and transport."

7 years agoMerge "Cast hidl_pointer<T> to void*." am: 6033952ff1 am: fbedd83ffe am: b5a4e86c5f
Martijn Coenen [Fri, 18 Nov 2016 08:17:22 +0000 (08:17 +0000)]
Merge "Cast hidl_pointer<T> to void*." am: 6033952ff1 am: fbedd83ffe am: b5a4e86c5f
am: fdbc9d7d52

Change-Id: I3e96ec07eb26e4df7ca610127c4952b97d057153

7 years agoMerge "Cast hidl_pointer<T> to void*." am: 6033952ff1 am: fbedd83ffe
Martijn Coenen [Fri, 18 Nov 2016 08:14:21 +0000 (08:14 +0000)]
Merge "Cast hidl_pointer<T> to void*." am: 6033952ff1 am: fbedd83ffe
am: b5a4e86c5f

Change-Id: I6fcdbdcb6c312a8243c7a326afcda049de0a7ba2

7 years agoMerge "Cast hidl_pointer<T> to void*." am: 6033952ff1
Martijn Coenen [Fri, 18 Nov 2016 08:11:20 +0000 (08:11 +0000)]
Merge "Cast hidl_pointer<T> to void*." am: 6033952ff1
am: fbedd83ffe

Change-Id: Ic4da0faf730d6516ae83499996ee32c22db21003

7 years agoMerge "Cast hidl_pointer<T> to void*."
Martijn Coenen [Fri, 18 Nov 2016 08:08:20 +0000 (08:08 +0000)]
Merge "Cast hidl_pointer<T> to void*."
am: 6033952ff1

Change-Id: Ic0bdb5eab4f0a38c3b93042aad4ec14856f05de5

7 years agoMerge "Cast hidl_pointer<T> to void*."
Martijn Coenen [Fri, 18 Nov 2016 08:03:38 +0000 (08:03 +0000)]
Merge "Cast hidl_pointer<T> to void*."

7 years agoSplit libhidl into base and transport.
Yifan Hong [Wed, 16 Nov 2016 22:17:58 +0000 (14:17 -0800)]
Split libhidl into base and transport.

Bug: 32756130

Test: mma
Change-Id: Id21cf23abe2910f26bb7895511862443b93dc112