OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoMerge "Camera: remove BINDERIZED flag"
Yin-Chia Yeh [Mon, 6 Feb 2017 22:21:53 +0000 (22:21 +0000)]
Merge "Camera: remove BINDERIZED flag"

7 years agoMerge "thermal HAL uses "default" service name"
TreeHugger Robot [Mon, 6 Feb 2017 21:06:34 +0000 (21:06 +0000)]
Merge "thermal HAL uses "default" service name"

7 years agothermal HAL uses "default" service name
Chris Phoenix [Fri, 20 Jan 2017 22:49:46 +0000 (14:49 -0800)]
thermal 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: If9599b83526779cc38b1550698487f6240e26e45

7 years agoMerge "Bluetooth: Generate a random address" am: 812f8ad3ab am: 27b935aea4 am: a1a72c068c
Myles Watson [Mon, 6 Feb 2017 18:18:02 +0000 (18:18 +0000)]
Merge "Bluetooth: Generate a random address" am: 812f8ad3ab am: 27b935aea4 am: a1a72c068c
am: 047de561f7

Change-Id: I88128c097c8cd9ca462900237012dda7acf4ed5a

7 years agoMerge "Bluetooth: Generate a random address" am: 812f8ad3ab am: 27b935aea4
Myles Watson [Mon, 6 Feb 2017 18:16:01 +0000 (18:16 +0000)]
Merge "Bluetooth: Generate a random address" am: 812f8ad3ab am: 27b935aea4
am: a1a72c068c

Change-Id: I661072d7668c74c3d508e706c538a954c7dbbaac

7 years agoMerge "Bluetooth: Generate a random address" am: 812f8ad3ab
Myles Watson [Mon, 6 Feb 2017 18:13:31 +0000 (18:13 +0000)]
Merge "Bluetooth: Generate a random address" am: 812f8ad3ab
am: 27b935aea4

Change-Id: Id5f7d63cfe516b6829ee625a9819566b981f0386

7 years agoMerge "Bluetooth: Generate a random address"
Myles Watson [Mon, 6 Feb 2017 18:11:30 +0000 (18:11 +0000)]
Merge "Bluetooth: Generate a random address"
am: 812f8ad3ab

Change-Id: I141ce9c018c7b781759ed2c773f286b328cdb4e9

7 years agoMerge "Bluetooth: Generate a random address"
Treehugger Robot [Mon, 6 Feb 2017 18:07:12 +0000 (18:07 +0000)]
Merge "Bluetooth: Generate a random address"

7 years agoMerge "audiohal: Make closing of effects and streams fast"
Mikhail Naganov [Mon, 6 Feb 2017 16:34:41 +0000 (16:34 +0000)]
Merge "audiohal: Make closing of effects and streams fast"

7 years agoMerge "audiohal: Make sure audio data transfer related commands go via FMQ"
Mikhail Naganov [Mon, 6 Feb 2017 16:33:54 +0000 (16:33 +0000)]
Merge "audiohal: Make sure audio data transfer related commands go via FMQ"

7 years agoBluetooth: Generate a random address
Myles Watson [Fri, 3 Feb 2017 23:17:54 +0000 (15:17 -0800)]
Bluetooth: Generate a random address

If a device does not have a factory address set, generate one.

Since this is a bug, add a warning.

Bug: 34952761
Test: Pixel C Bluetooth turns on and off
Change-Id: Icd2ef5c40f0ef6ad93effd9dd662b4b79d3eb0f6

7 years agomove VTS stub files and non-functional tests (aosp) am: 5d6712c7e1 am: 43063541fa...
Keun Soo Yim [Sat, 4 Feb 2017 07:07:30 +0000 (07:07 +0000)]
move VTS stub files and non-functional tests (aosp) am: 5d6712c7e1 am: 43063541fa am: 55dda01517
am: 4fb1588b5e  -s ours

Change-Id: Ia52a6ef9a58f7ad3f58c4277c0672e8011b4988b

7 years agomove VTS stub files and non-functional tests (aosp) am: 5d6712c7e1 am: 43063541fa
Keun Soo Yim [Sat, 4 Feb 2017 07:04:29 +0000 (07:04 +0000)]
move VTS stub files and non-functional tests (aosp) am: 5d6712c7e1 am: 43063541fa
am: 55dda01517

Change-Id: I17d7189c3f3d8dedb2cb4ffd99f4d08f808248de

7 years agomove VTS stub files and non-functional tests (aosp) am: 5d6712c7e1
Keun Soo Yim [Sat, 4 Feb 2017 07:01:30 +0000 (07:01 +0000)]
move VTS stub files and non-functional tests (aosp) am: 5d6712c7e1
am: 43063541fa

Change-Id: I20c46b8cc1652b7fc11a434d2ed5fbe3e88f5fcd

7 years agomove VTS stub files and non-functional tests (aosp)
Keun Soo Yim [Sat, 4 Feb 2017 06:45:28 +0000 (06:45 +0000)]
move VTS stub files and non-functional tests (aosp)
am: 5d6712c7e1

Change-Id: I1a21eba2c653161cb745d383749c539aae15f3be

7 years agomove VTS stub files and non-functional tests (aosp)
Keun Soo Yim [Fri, 3 Feb 2017 21:50:29 +0000 (13:50 -0800)]
move VTS stub files and non-functional tests (aosp)

Test: mma
Bug: 34976004
Merged-In: Id9c88a9778fba49f0841a474aa067d271f14e207
Change-Id: Id9c88a9778fba49f0841a474aa067d271f14e207

7 years agomove VTS stub files and non-functional tests
Keun Soo Yim [Fri, 3 Feb 2017 21:50:29 +0000 (13:50 -0800)]
move VTS stub files and non-functional tests

Test: mma
Bug: 34976004
Change-Id: I20273bdc3a05e2986fcf921f65d2afd6d72781e4

7 years agomove VTS stub files and non-functional tests (aosp)
Keun Soo Yim [Fri, 3 Feb 2017 21:50:29 +0000 (13:50 -0800)]
move VTS stub files and non-functional tests (aosp)

Test: mma
Bug: 34976004
Change-Id: Id9c88a9778fba49f0841a474aa067d271f14e207

7 years agoMerge "context hub: update vts files and add driver/profiler genrules"
Keun Soo Yim [Sat, 4 Feb 2017 01:22:23 +0000 (01:22 +0000)]
Merge "context hub: update vts files and add driver/profiler genrules"

7 years agoMerge "Update Andriod.bp for hals."
Zhuoyao Zhang [Fri, 3 Feb 2017 23:46:48 +0000 (23:46 +0000)]
Merge "Update Andriod.bp for hals."

7 years agoMerge "HIDL change for Android O RIL update"
Jack Yu [Fri, 3 Feb 2017 23:29:55 +0000 (23:29 +0000)]
Merge "HIDL change for Android O RIL update"

7 years agoCamera: remove BINDERIZED flag
Yin-Chia Yeh [Fri, 3 Feb 2017 02:24:26 +0000 (18:24 -0800)]
Camera: remove BINDERIZED flag

No longer needed. This also enable us to switch to
defaultPassthroughImplementation.
Also rename camera device wrapper library to signal it's not a
top level HAL entry.

Test: marlin camera app with passthrough/binderzied mode
Bug: 34817742
Change-Id: I78ad5afbf78b2679be3efe0e82f430958ef6bfea

7 years agoMerge "nit fix: compiler warning for BiometricsFingerprint.cpp"
TreeHugger Robot [Fri, 3 Feb 2017 20:47:59 +0000 (20:47 +0000)]
Merge "nit fix: compiler warning for BiometricsFingerprint.cpp"

7 years agoMerge changes Ic4fcbb22,I1be8a18d am: b19f11d09d am: cb06ecd1d1 am: 0668f3398e
Myles Watson [Fri, 3 Feb 2017 18:36:49 +0000 (18:36 +0000)]
Merge changes Ic4fcbb22,I1be8a18d am: b19f11d09d am: cb06ecd1d1 am: 0668f3398e
am: 02c3e4aed8

Change-Id: Ib3422201acdc9faaaa909ecbe3d5366cfb93f1f8

7 years agoBluetooth: Use AsyncFdWatcher for power management am: beb13b45c0 am: 5e3a517d3f...
Myles Watson [Fri, 3 Feb 2017 18:36:47 +0000 (18:36 +0000)]
Bluetooth: Use AsyncFdWatcher for power management am: beb13b45c0 am: 5e3a517d3f am: fb9a818cdb
am: 5b1330f6af

Change-Id: Ie33a9b515d1c5d6010fb6bf3dc9595e9944274f2

7 years agoBluetooth: AsyncFdWatcher: Refactor timeout lock am: eba1312c86 am: c3e3a43238 am...
Myles Watson [Fri, 3 Feb 2017 18:36:45 +0000 (18:36 +0000)]
Bluetooth: AsyncFdWatcher: Refactor timeout lock am: eba1312c86 am: c3e3a43238 am: b4654fd048
am: 883d815988

Change-Id: Ia1bd197a18feef86af115255f50c07e6f0f22b70

7 years agoMerge "Bluetooth: Free memory from transmit_cb commands" am: 559ae1585b am: 2c2cda15b...
Myles Watson [Fri, 3 Feb 2017 18:36:34 +0000 (18:36 +0000)]
Merge "Bluetooth: Free memory from transmit_cb commands" am: 559ae1585b am: 2c2cda15b4 am: 02499ded01
am: 50b23e8f93

Change-Id: I72e49276ea0d3634a120bf3996900b190cf98c03

7 years agoMerge changes Ic4fcbb22,I1be8a18d am: b19f11d09d am: cb06ecd1d1
Myles Watson [Fri, 3 Feb 2017 18:34:16 +0000 (18:34 +0000)]
Merge changes Ic4fcbb22,I1be8a18d am: b19f11d09d am: cb06ecd1d1
am: 0668f3398e

Change-Id: Icd44622e7e7687d1f7d7f4f866ed961cb131d36a

7 years agoBluetooth: Use AsyncFdWatcher for power management am: beb13b45c0 am: 5e3a517d3f
Myles Watson [Fri, 3 Feb 2017 18:34:15 +0000 (18:34 +0000)]
Bluetooth: Use AsyncFdWatcher for power management am: beb13b45c0 am: 5e3a517d3f
am: fb9a818cdb

Change-Id: Ie92198a477c4077d6242fabeebb82aad431ed482

7 years agoBluetooth: AsyncFdWatcher: Refactor timeout lock am: eba1312c86 am: c3e3a43238
Myles Watson [Fri, 3 Feb 2017 18:34:14 +0000 (18:34 +0000)]
Bluetooth: AsyncFdWatcher: Refactor timeout lock am: eba1312c86 am: c3e3a43238
am: b4654fd048

Change-Id: Ied2e5d816c1e031d7e91212da112dd09a54f0a20

7 years agoMerge "Bluetooth: Free memory from transmit_cb commands" am: 559ae1585b am: 2c2cda15b4
Myles Watson [Fri, 3 Feb 2017 18:34:04 +0000 (18:34 +0000)]
Merge "Bluetooth: Free memory from transmit_cb commands" am: 559ae1585b am: 2c2cda15b4
am: 02499ded01

Change-Id: Ibe30444198586fa0470b2317e90763d67663ec03

7 years agoMerge changes Ic4fcbb22,I1be8a18d am: b19f11d09d
Myles Watson [Fri, 3 Feb 2017 18:32:16 +0000 (18:32 +0000)]
Merge changes Ic4fcbb22,I1be8a18d am: b19f11d09d
am: cb06ecd1d1

Change-Id: I0f0e678e04360dc33f7315bc2ade025ee6adf8de

7 years agoBluetooth: Use AsyncFdWatcher for power management am: beb13b45c0
Myles Watson [Fri, 3 Feb 2017 18:32:14 +0000 (18:32 +0000)]
Bluetooth: Use AsyncFdWatcher for power management am: beb13b45c0
am: 5e3a517d3f

Change-Id: Ie2fba1af830d96bb2b47fff3add1fb47fd4a729e

7 years agoBluetooth: AsyncFdWatcher: Refactor timeout lock am: eba1312c86
Myles Watson [Fri, 3 Feb 2017 18:32:13 +0000 (18:32 +0000)]
Bluetooth: AsyncFdWatcher: Refactor timeout lock am: eba1312c86
am: c3e3a43238

Change-Id: I490ece7f45135fbf47351bd8bf0cd604d936aba4

7 years agoMerge "Bluetooth: Free memory from transmit_cb commands" am: 559ae1585b
Myles Watson [Fri, 3 Feb 2017 18:32:03 +0000 (18:32 +0000)]
Merge "Bluetooth: Free memory from transmit_cb commands" am: 559ae1585b
am: 2c2cda15b4

Change-Id: Idd72c4aa9a71409f630d310c01442e5abc49b57d

7 years agoMerge changes Ic4fcbb22,I1be8a18d
Myles Watson [Fri, 3 Feb 2017 18:29:45 +0000 (18:29 +0000)]
Merge changes Ic4fcbb22,I1be8a18d
am: b19f11d09d

Change-Id: I666a015519db1221eaa6f2523b8a11653e5991f2

7 years agoBluetooth: Use AsyncFdWatcher for power management
Myles Watson [Fri, 3 Feb 2017 18:29:44 +0000 (18:29 +0000)]
Bluetooth: Use AsyncFdWatcher for power management
am: beb13b45c0

Change-Id: I6e0c5fa73ee8c3c920dd56dad5e97edcc321020c

7 years agoBluetooth: AsyncFdWatcher: Refactor timeout lock
Myles Watson [Fri, 3 Feb 2017 18:29:43 +0000 (18:29 +0000)]
Bluetooth: AsyncFdWatcher: Refactor timeout lock
am: eba1312c86

Change-Id: I7941c96144b32482683c9b30c4bd99418db14869

7 years agoMerge "Bluetooth: Free memory from transmit_cb commands"
Myles Watson [Fri, 3 Feb 2017 18:29:33 +0000 (18:29 +0000)]
Merge "Bluetooth: Free memory from transmit_cb commands"
am: 559ae1585b

Change-Id: Ib4224beec441ef48d2a7815344f877150decb7c0

7 years agoMerge "Audio HAL default implementation: reduce logspam"
Mikhail Naganov [Fri, 3 Feb 2017 18:27:38 +0000 (18:27 +0000)]
Merge "Audio HAL default implementation: reduce logspam"

7 years agoaudiohal: Make sure audio data transfer related commands go via FMQ
Mikhail Naganov [Tue, 31 Jan 2017 21:56:02 +0000 (13:56 -0800)]
audiohal: Make sure audio data transfer related commands go via FMQ

When outputting audio, the framework issues several HAL calls
from the same thread that writes into data FMQ. These calls
also need to be served on the same thread that writes audio data
to HAL. The same thing happens when audio input is commenced.

Add a command FMQ for passing different commands to the HAL thread.
This way, depending on the calling thread, the same call may go
either via hwbinder or via the command queue.

This dramatically reduces jitter in RTT measurements (although
doesn't improve the latency).

Bug: 30222631
Test: scripted RTT app
Change-Id: I04c826e2479d8210fd9c99756241156cda3143b6

7 years agoMerge changes Ic4fcbb22,I1be8a18d
Treehugger Robot [Fri, 3 Feb 2017 18:24:23 +0000 (18:24 +0000)]
Merge changes Ic4fcbb22,I1be8a18d

* changes:
  Bluetooth: Use AsyncFdWatcher for power management
  Bluetooth: AsyncFdWatcher: Refactor timeout lock

7 years agoMerge "Bluetooth: Free memory from transmit_cb commands"
Treehugger Robot [Fri, 3 Feb 2017 18:24:09 +0000 (18:24 +0000)]
Merge "Bluetooth: Free memory from transmit_cb commands"

7 years agoUpdate Andriod.bp for hals.
Zhuoyao Zhang [Fri, 3 Feb 2017 00:55:00 +0000 (16:55 -0800)]
Update Andriod.bp for hals.

* Add driver/profiler build rule for all hals.

Test: mma
Change-Id: I98325f7af14fec7dd1bb64b1668de8c7c20ace92

7 years agoFix vehicle HAL breakage.
Martijn Coenen [Fri, 3 Feb 2017 08:15:25 +0000 (09:15 +0100)]
Fix vehicle HAL breakage.

Test: builds again
Change-Id: I03b4f35ca47fef7f1cc7d79d3bbbac20c1bd8541

7 years agocontext hub: update vts files and add driver/profiler genrules
Keun Soo Yim [Fri, 3 Feb 2017 06:34:22 +0000 (22:34 -0800)]
context hub: update vts files and add driver/profiler genrules

Test: mma
Bug: 34466754
Change-Id: Ia13d899bfee03745c8091dd79139229bb17fb46e

7 years agoMerge "Support driver/profiler for all hals." am: a0ff9aca7a am: 2b741f188b am: fa531...
Zhuoyao Zhang [Fri, 3 Feb 2017 02:23:34 +0000 (02:23 +0000)]
Merge "Support driver/profiler for all hals." am: a0ff9aca7a am: 2b741f188b am: fa531574ab
am: 3d5c20def5

Change-Id: Iccc715c11e0d380706d4bbb30ba2514dcf16b2ba

7 years agoMerge "Convert Vehicle Property to integer"
TreeHugger Robot [Fri, 3 Feb 2017 02:17:41 +0000 (02:17 +0000)]
Merge "Convert Vehicle Property to integer"

7 years agoMerge "Teach Vehicle HAL a way to indicate which subset of OBD2 sensors are valid...
TreeHugger Robot [Fri, 3 Feb 2017 01:14:30 +0000 (01:14 +0000)]
Merge "Teach Vehicle HAL a way to indicate which subset of OBD2 sensors are valid for a given frame."

7 years agoaudiohal: Make closing of effects and streams fast
Mikhail Naganov [Wed, 1 Feb 2017 01:24:48 +0000 (17:24 -0800)]
audiohal: Make closing of effects and streams fast

There were two problems:

1. Joining of reader / writer / process threads (the threads that
   interact with HAL) was taking up to 1 second because the thread
   was usually waiting for an event flag to be toggled, or a 1s
   timeout.

2. Calling IStream.close or IEffect.close shouldn't tax the caller.
   Changed the code so a call to close only signals the thread that
   it's time to exit, and then the thread is only joined in the
   effect or stream destructor.

Bug: 34800063
Bug: 34499806
Test: see repro steps in the bugs
Change-Id: Ife20524a1eba4ec9a78152e89862526e8cd5c960

7 years agoMerge "Support driver/profiler for all hals." am: a0ff9aca7a am: 2b741f188b
Zhuoyao Zhang [Fri, 3 Feb 2017 00:50:50 +0000 (00:50 +0000)]
Merge "Support driver/profiler for all hals." am: a0ff9aca7a am: 2b741f188b
am: fa531574ab

Change-Id: I61d081162c6711b68be892f813bf938616cd9e14

7 years agoMerge "Support driver/profiler for all hals." am: a0ff9aca7a
Zhuoyao Zhang [Fri, 3 Feb 2017 00:48:07 +0000 (00:48 +0000)]
Merge "Support driver/profiler for all hals." am: a0ff9aca7a
am: 2b741f188b

Change-Id: Ie1cc3de7d8c3d3530586d00936146f8f5cda0910

7 years agoMerge "Support driver/profiler for all hals."
Zhuoyao Zhang [Fri, 3 Feb 2017 00:46:39 +0000 (00:46 +0000)]
Merge "Support driver/profiler for all hals."
am: a0ff9aca7a

Change-Id: I15c0dfb56548ab7945f2bdb85b7c22a9e5f73075

7 years agoMerge "Support driver/profiler for all hals."
Zhuoyao Zhang [Fri, 3 Feb 2017 00:43:02 +0000 (00:43 +0000)]
Merge "Support driver/profiler for all hals."

7 years agoMerge "graphics: get rid of BINDERIZED"
Chia-I Wu [Thu, 2 Feb 2017 22:49:31 +0000 (22:49 +0000)]
Merge "graphics: get rid of BINDERIZED"

7 years agoBluetooth: Use AsyncFdWatcher for power management
Myles Watson [Thu, 26 Jan 2017 18:47:27 +0000 (10:47 -0800)]
Bluetooth: Use AsyncFdWatcher for power management

Implement low power mode using timeouts from the interface.

Test: Boots, Bluetooth turns on/off,
      Instrumented bt_vendor library shows power management
      calls.
Change-Id: Ic4fcbb222f24b66c13f3797b14475d278c49fbc6

7 years agoBluetooth: AsyncFdWatcher: Refactor timeout lock
Myles Watson [Thu, 2 Feb 2017 18:47:36 +0000 (10:47 -0800)]
Bluetooth: AsyncFdWatcher: Refactor timeout lock

Allow timeouts to change the timeout.
Add a unit test for this.

Test: Unit tests pass, Bluetooth starts and stops.
Change-Id: I1be8a18dd74a312175ec9c27de37213272650e8e

7 years agoBluetooth: Free memory from transmit_cb commands
Myles Watson [Wed, 1 Feb 2017 18:46:16 +0000 (10:46 -0800)]
Bluetooth: Free memory from transmit_cb commands

Test: Bluetooth starts and stops
Change-Id: I540fcc77f9bae0178db325b7014f2b839d4ad77d

7 years agoMerge "wifi: Add scanning mac oui setter" am: fc5a779766 am: 2666dcea2e am: 7a7c31c68c
Roshan Pius [Thu, 2 Feb 2017 19:59:23 +0000 (19:59 +0000)]
Merge "wifi: Add scanning mac oui setter" am: fc5a779766 am: 2666dcea2e am: 7a7c31c68c
am: dfa48d443b

Change-Id: I5e81b5a0118b20f480e51f0e3129e825f1cd5fbf

7 years agoMerge "wifi: Add scanning mac oui setter" am: fc5a779766 am: 2666dcea2e
Roshan Pius [Thu, 2 Feb 2017 19:53:56 +0000 (19:53 +0000)]
Merge "wifi: Add scanning mac oui setter" am: fc5a779766 am: 2666dcea2e
am: 7a7c31c68c

Change-Id: If40d91359a2f941475b119ba2569963b5155734d

7 years agoMerge "wifi: Add scanning mac oui setter" am: fc5a779766
Roshan Pius [Thu, 2 Feb 2017 19:49:55 +0000 (19:49 +0000)]
Merge "wifi: Add scanning mac oui setter" am: fc5a779766
am: 2666dcea2e

Change-Id: I3d4194b7142d0ec6088dbd2a012f465811d32743

7 years agoMerge "wifi: Add scanning mac oui setter"
Roshan Pius [Thu, 2 Feb 2017 19:41:24 +0000 (19:41 +0000)]
Merge "wifi: Add scanning mac oui setter"
am: fc5a779766

Change-Id: I6531cee9a0b5aeb645f28877919a50b06ee1c6a8

7 years agoHIDL change for Android O RIL update
Jack Yu [Tue, 24 Jan 2017 19:56:52 +0000 (11:56 -0800)]
HIDL change for Android O RIL update

1. Added two new API for screen state replacement.
2. Data call API refactoring work.

bug: 201250373222413532223897322499263028209630173958,
33653220
Test: Telephony sanity tests and unit tests

Change-Id: I6b266637914a85bd57c6a055c52c8ff4ced17e1f

7 years agoMerge "wifi: Add scanning mac oui setter"
Treehugger Robot [Thu, 2 Feb 2017 19:28:06 +0000 (19:28 +0000)]
Merge "wifi: Add scanning mac oui setter"

7 years agoMerge changes from topic 'hwc-vts'
Chia-I Wu [Thu, 2 Feb 2017 17:38:45 +0000 (17:38 +0000)]
Merge changes from topic 'hwc-vts'

* changes:
  graphics: add composer tests to VTS
  graphics: add basic target-side tests for IComposer

7 years agographics: get rid of BINDERIZED
Chia-I Wu [Thu, 2 Feb 2017 17:03:20 +0000 (09:03 -0800)]
graphics: get rid of BINDERIZED

It is always on now and all buffers be cloned and registered.
Clients (SF) should make use of the buffer caching mechanism and
pass each unique buffer once, to avoid the overhead.

Test: manual
Change-Id: I74ccbf74e110c8b413a66cfc60044b71ba3f44e3

7 years agovts files for radio hal am: faad7891fb am: aab4a5b8cf am: ef6fd71304
Yuexi Ma [Thu, 2 Feb 2017 16:55:22 +0000 (16:55 +0000)]
vts files for radio hal am: faad7891fb am: aab4a5b8cf am: ef6fd71304
am: e98e1361a7  -s ours

Change-Id: Ic38b86135eb1dc3163bd636bd2c5398390a0995c

7 years agoSupport driver/profiler for all hals.
Zhuoyao Zhang [Thu, 2 Feb 2017 04:53:21 +0000 (20:53 -0800)]
Support driver/profiler for all hals.

* Update the make file to generate driver/profiler for hals.

Test: mma
Change-Id: I2a91d913b05beb8e1ecf28a205852f848ef1f5ee

7 years agovts files for radio hal am: faad7891fb am: aab4a5b8cf
Yuexi Ma [Thu, 2 Feb 2017 01:29:03 +0000 (01:29 +0000)]
vts files for radio hal am: faad7891fb am: aab4a5b8cf
am: ef6fd71304

Change-Id: Ic7dbd05f1c865f437f7aeb80ba5d24d958953be8

7 years agovts files for radio hal am: faad7891fb
Yuexi Ma [Thu, 2 Feb 2017 01:24:32 +0000 (01:24 +0000)]
vts files for radio hal am: faad7891fb
am: aab4a5b8cf

Change-Id: I06546460624a23dc87b33184e675b8c396fa7492

7 years agoRemove assertion that VR hal is remote
Craig Donner [Thu, 2 Feb 2017 01:22:35 +0000 (17:22 -0800)]
Remove assertion that VR hal is remote

Bug: 34258263
Test: manual with vts-tradefed on Pixel XL
Change-Id: I20731f0f85d6862a07e09db6ab0eda53523e58e4

7 years agovts files for radio hal
Yuexi Ma [Thu, 2 Feb 2017 01:22:01 +0000 (01:22 +0000)]
vts files for radio hal
am: faad7891fb

Change-Id: I20b2ded113957974de68b5ea2544bfc997f5ae81

7 years agoConvert Vehicle Property to integer
Pavel Maltsev [Thu, 2 Feb 2017 00:30:25 +0000 (16:30 -0800)]
Convert Vehicle Property to integer

This make sense for easier extending Vehicle Hal interface
by OEMs and creating new versions.

Test: adb shell "su system /data/nativetest/android.hardware.vehicle@2.0-manager-unit-tests/android.hardware.vehicle@2.0-manager-unit-tests" ; 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: I02415a1c180a6d24fded48a1583f7cb150419820
Fix: b/34894217

7 years agovts files for radio hal
Yuexi Ma [Fri, 6 Jan 2017 21:52:46 +0000 (13:52 -0800)]
vts files for radio hal

Merged-In:I8bce0b3ce4874442638e4967b4b88fcd60497729
Test: mma
Change-Id: I8bce0b3ce4874442638e4967b4b88fcd60497729
(cherry picked from commit 689c6fb1b542dad521272d8c2b8ff823c5b7c062)

7 years agographics: add composer tests to VTS
Chia-I Wu [Fri, 13 Jan 2017 06:47:23 +0000 (14:47 +0800)]
graphics: add composer tests to VTS

Test: vts-tradefed run vts -m HalGraphicsComposerHidlTargetTest
Change-Id: I2e695787865d3bb855076acae18fa135064036ab

7 years agographics: add basic target-side tests for IComposer
Chia-I Wu [Mon, 9 Jan 2017 04:31:56 +0000 (12:31 +0800)]
graphics: add basic target-side tests for IComposer

Add graphics_composer_hidl_hal_test.

Test: manual execution
Change-Id: I38c2fcd5cfb27dcd0299df389cbf84fe4056de1b

7 years agowifi: Add scanning mac oui setter
Roshan Pius [Wed, 1 Feb 2017 21:09:08 +0000 (13:09 -0800)]
wifi: Add scanning mac oui setter

Bug: 34886995
Test: Compiles
Change-Id: I55d4cf55d1832f27de975f97c2e739012ddacc28

7 years agoTeach Vehicle HAL a way to indicate which subset of OBD2 sensors are valid for a...
Enrico Granata [Wed, 25 Jan 2017 20:07:15 +0000 (12:07 -0800)]
Teach Vehicle HAL a way to indicate which subset of OBD2 sensors are valid for a given frame.

We are now using the "bytes" element of VehiclePropValue::RawValue as a storage place for a bitmask that indicates
which sensor indices, among those defined, actually map to valid values in the int32Values and floatValues respectively.

Test: 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
Test: adb root && adb push out/target/product/bat/data/nativetest/android.hardware.vehicle@2.0-manager-unit-tests/android.hardware.vehicle@2.0-manager-unit-tests /data/nativetest/android.hardware.vehicle@2.0-manager-unit-tests/android.hardware.vehicle@2.0-manager-unit-tests && adb shell /data/nativetest/android.hardware.vehicle@2.0-manager-unit-tests/android.hardware.vehicle@2.0-manager-unit-tests | grep Obd2
Change-Id: I4e9a116555001d2577d50d50009f75d8f78603b0

7 years agoBuild the gatekeeper tests with coverage flags.
Ryan Campbell [Wed, 1 Feb 2017 17:51:19 +0000 (09:51 -0800)]
Build the gatekeeper tests with coverage flags.

Build gatekeeper test with coverage so that coverage can be measured
on coverage runs.

Test: make
Bug: 32021941
Change-Id: I61ad6e975875b3d5f12abe922a81bdff641db5fb

7 years agoMerge "Update gatekeeper makefile with profiler."
Ryan Campbell [Wed, 1 Feb 2017 16:59:41 +0000 (16:59 +0000)]
Merge "Update gatekeeper makefile with profiler."

7 years agoMerge "Remove PowerHint::DISABLE_TOUCH"
Michael Wright [Wed, 1 Feb 2017 16:27:05 +0000 (16:27 +0000)]
Merge "Remove PowerHint::DISABLE_TOUCH"

7 years agoMerge "Camera: add a missing hidl_cb call"
Yin-Chia Yeh [Wed, 1 Feb 2017 08:47:58 +0000 (08:47 +0000)]
Merge "Camera: add a missing hidl_cb call"

7 years agoMerge "Camera: call setCallback before open_legacy"
Yin-Chia Yeh [Wed, 1 Feb 2017 08:47:27 +0000 (08:47 +0000)]
Merge "Camera: call setCallback before open_legacy"

7 years agoMerge "Wi-Fi/NAN HAL/service fixups" am: 7f1c9647b8 am: cc195e0c67 am: 2ea0959e5c
Etan Cohen [Wed, 1 Feb 2017 05:44:24 +0000 (05:44 +0000)]
Merge "Wi-Fi/NAN HAL/service fixups" am: 7f1c9647b8 am: cc195e0c67 am: 2ea0959e5c
am: ab42f95376

Change-Id: I933127293e1d7eabaf507eb1c08ac5ca5a5c6127

7 years agoMerge "Wi-Fi/NAN HAL/service fixups" am: 7f1c9647b8 am: cc195e0c67
Etan Cohen [Wed, 1 Feb 2017 05:41:51 +0000 (05:41 +0000)]
Merge "Wi-Fi/NAN HAL/service fixups" am: 7f1c9647b8 am: cc195e0c67
am: 2ea0959e5c

Change-Id: Ie495df29d6be1a813c13cce19ade9b21fdb8057f

7 years agoMerge "Wi-Fi/NAN HAL/service fixups" am: 7f1c9647b8
Etan Cohen [Wed, 1 Feb 2017 05:39:23 +0000 (05:39 +0000)]
Merge "Wi-Fi/NAN HAL/service fixups" am: 7f1c9647b8
am: cc195e0c67

Change-Id: Ie3a36500aa1901be8a8d9094c45ee6af517e046f

7 years agoMerge "Wi-Fi/NAN HAL/service fixups"
Etan Cohen [Wed, 1 Feb 2017 05:37:22 +0000 (05:37 +0000)]
Merge "Wi-Fi/NAN HAL/service fixups"
am: 7f1c9647b8

Change-Id: I9cf88ab989a4365c15cc3a48aa446e1452e3efe0

7 years agoMerge "Wi-Fi/NAN HAL/service fixups"
Etan Cohen [Wed, 1 Feb 2017 05:33:16 +0000 (05:33 +0000)]
Merge "Wi-Fi/NAN HAL/service fixups"

7 years agoMerge "configstore: add configstore@1.0 HAL"
Jiyong Park [Wed, 1 Feb 2017 04:23:11 +0000 (04:23 +0000)]
Merge "configstore: add configstore@1.0 HAL"

7 years agoMerge "Build VR HIDL service."
TreeHugger Robot [Wed, 1 Feb 2017 04:02:45 +0000 (04:02 +0000)]
Merge "Build VR HIDL service."

7 years agoMerge "Camera: work with vintf toggle."
TreeHugger Robot [Wed, 1 Feb 2017 02:55:20 +0000 (02:55 +0000)]
Merge "Camera: work with vintf toggle."

7 years agoCamera: call setCallback before open_legacy
Yin-Chia Yeh [Wed, 1 Feb 2017 00:00:20 +0000 (16:00 -0800)]
Camera: call setCallback before open_legacy

Some open_legacy implementations require a valid callback.

Test: the failing open_legacy call succeeds
Bug: 34854786
Change-Id: I461c7622bdf46a7cb7febfb7eeeb083288b4af03

7 years agoUpdate gatekeeper makefile with profiler.
Ryan Campbell [Wed, 1 Feb 2017 01:19:53 +0000 (17:19 -0800)]
Update gatekeeper makefile with profiler.

Update gatekeeper makefile.

Test: cd hardware/interfaces; mma
Bug: 34178574
Change-Id: Ifd01ee488890c0680c8792b29e3e42e0ee263ea2

7 years agoIncrease timeout for gatekeeper tests.
Ryan Campbell [Wed, 1 Feb 2017 01:07:02 +0000 (17:07 -0800)]
Increase timeout for gatekeeper tests.

Increase gatekeeper test timeout from 1m to 5m. Remove unnecessary
py files.

Test: make vts; run vts -m HalGatekeeperHidlTargetBasicTest
Bug: 34858043
Change-Id: I654c17f33ebd44c07ebbdc8310329220079a3e36

7 years agoconfigstore: add configstore@1.0 HAL
Jiyong Park [Sat, 14 Jan 2017 10:40:33 +0000 (19:40 +0900)]
configstore: add configstore@1.0 HAL

This change adds configstore@1.0 HAL which provides static configuration values
to the framework. As a first attempt, a configuration item in the
surfaceflinger (VSYNC_EVENT_PHASE_OFFSET_NS) is choosen and converted to
a HAL function named vsyncEventPhaseoffsetNs().

Design doc: go/design-confighal

Bug: 34314793
Test: build & run. make sure that configstore is up and running.
$ ps -A | grep configstore
Change-Id: Ibc70b14176d2e0144a5745d71ceba49ebc3ca706

7 years agoCamera: work with vintf toggle.
Steven Moreland [Wed, 1 Feb 2017 00:05:29 +0000 (16:05 -0800)]
Camera: work with vintf toggle.

Camera is currently compiled separately in passthrough and binderized
modes. Until that is resolved, adding a call to internal hidl logic.

Bug: 34817742
Test: camera starts up and works and respects binderization toggle in
both modes on marlin.
Change-Id: I20733cbc82a68a1da1c4f1b3754aef2887ca718a

7 years agoBuild VR HIDL service.
Craig Donner [Wed, 1 Feb 2017 00:30:53 +0000 (16:30 -0800)]
Build VR HIDL service.

Bug: 31442830
Test: manual
Change-Id: I91ec1d9305f4c0a9b80433b5a208ca059cefc767

7 years agoCamera: add a missing hidl_cb call
Yin-Chia Yeh [Mon, 30 Jan 2017 23:57:45 +0000 (15:57 -0800)]
Camera: add a missing hidl_cb call

Test: no fatal error from calling get_device_1_0
Bug: 30985004
Change-Id: I6f1cfce903773d22ff5bb21a6db98d3f4ffa0697

7 years agonit fix: compiler warning for BiometricsFingerprint.cpp
Yifan Hong [Tue, 31 Jan 2017 22:51:37 +0000 (14:51 -0800)]
nit fix: compiler warning for BiometricsFingerprint.cpp

Test: make -j64 compiles without warning
Change-Id: Ieb8e9cd081a4e0511031b7a01deb0f7368a9d70e

7 years agoWi-Fi/NAN HAL/service fixups
Etan Cohen [Mon, 30 Jan 2017 21:28:37 +0000 (13:28 -0800)]
Wi-Fi/NAN HAL/service fixups

Fixes related to debugging during integration with
framework. Changes are due to errors in original
definition.

Bug: 32315992
Test: integration (sl4a) tests
Change-Id: I5c427e4d0f8677a611eb6d9abfa641a7f8406e31