OSDN Git Service

android-x86/hardware-interfaces.git
7 years ago[AWARE] Remove support for vendor-specific attributes am: ccb1562771 am: 218305083f...
Etan Cohen [Fri, 10 Feb 2017 01:14:29 +0000 (01:14 +0000)]
[AWARE] Remove support for vendor-specific attributes am: ccb1562771 am: 218305083f am: ef3d29aa0a
am: e63644b634

Change-Id: I67d9509771f79e37f164b480a6a5955182c73ad3

7 years ago[AWARE] Remove support for vendor-specific attributes am: ccb1562771 am: 218305083f
Etan Cohen [Fri, 10 Feb 2017 01:08:11 +0000 (01:08 +0000)]
[AWARE] Remove support for vendor-specific attributes am: ccb1562771 am: 218305083f
am: ef3d29aa0a

Change-Id: I9bf98e0bf9f8ec0980ff42f2c6da0f54ab7aac3d

7 years ago[AWARE] Remove support for vendor-specific attributes am: ccb1562771
Etan Cohen [Fri, 10 Feb 2017 01:02:40 +0000 (01:02 +0000)]
[AWARE] Remove support for vendor-specific attributes am: ccb1562771
am: 218305083f

Change-Id: I2250d934cb9ea1b75aebfeb08436fadb7919364b

7 years ago[AWARE] Remove support for vendor-specific attributes
Etan Cohen [Fri, 10 Feb 2017 00:56:45 +0000 (00:56 +0000)]
[AWARE] Remove support for vendor-specific attributes
am: ccb1562771

Change-Id: I0c90ff4438e60402aedf06be3e664c8e72fa445f

7 years agoMerge "Revert "Add a second thread for sensor service.""
Ashutosh Joshi [Thu, 9 Feb 2017 22:28:17 +0000 (22:28 +0000)]
Merge "Revert "Add a second thread for sensor service.""

7 years agoRevert "Add a second thread for sensor service."
Ashutosh Joshi [Thu, 9 Feb 2017 21:43:34 +0000 (21:43 +0000)]
Revert "Add a second thread for sensor service."

This reverts commit 0da2531b9fceb7f648103c85794d277e9f466775.

Change-Id: Id356ab9e0b7cf6b2275afc5855e648d322e3bf60

7 years ago[AWARE] Remove support for vendor-specific attributes
Etan Cohen [Thu, 9 Feb 2017 17:35:35 +0000 (09:35 -0800)]
[AWARE] Remove support for vendor-specific attributes

Vendor-specific attribute support API is not fully functional or
thought out. The Tx portion is working but the Rx portion requires
additional configuration to prevent spamming the framework with all
vendor-specific attributes.

Remove until full solution is designed.

Bug: 35193235
Test: unit tests and integration (sl4a) tests.
Change-Id: I31a601af3b2c1f9f736130ce00abf73c55ac086a

7 years agoMerge "Add a second thread for sensor service."
Ashutosh Joshi [Thu, 9 Feb 2017 04:31:38 +0000 (04:31 +0000)]
Merge "Add a second thread for sensor service."

7 years agoMerge "Enable vehicle HAL to be controlled via ADB"
Steve Paik [Thu, 9 Feb 2017 00:27:32 +0000 (00:27 +0000)]
Merge "Enable vehicle HAL to be controlled via ADB"

7 years agoAdd a second thread for sensor service.
Ashutosh Joshi [Tue, 7 Feb 2017 17:58:55 +0000 (09:58 -0800)]
Add a second thread for sensor service.

HIDL implementation defaults to using a single thread for a service.
This blocks on sensorservice poll. A minimum of two threads are needed
to allow for any meaningful control.

Bug: 35067266
Test: Verify sensors stream in both passthrough and binderized modes.
Change-Id: I44ccdb6db253ca9eb9903b51e05c1893945e297e

7 years agoMerge "Migrate driver/profiler to test/vts-testcase/hal."
TreeHugger Robot [Wed, 8 Feb 2017 18:33:05 +0000 (18:33 +0000)]
Merge "Migrate driver/profiler to test/vts-testcase/hal."

7 years agoEnable vehicle HAL to be controlled via ADB
Steve Paik [Wed, 25 Jan 2017 02:08:38 +0000 (18:08 -0800)]
Enable vehicle HAL to be controlled via ADB

Add emulator functionality to DefaultVehicleHal:

- Create default list of properties based upon DefaultConfig.h
- Add socket that is reachable via ADB to set/get vehicle properties.

BUG: 29601815
Test: Tested with Python interface from host.
Change-Id: I6f8e4cba37d927565e10797875eb8f5a1840a94f

7 years agoMerge "Use propper default service implementation for keymaster HAL"
Janis Danisevskis [Wed, 8 Feb 2017 12:43:00 +0000 (12:43 +0000)]
Merge "Use propper default service implementation for keymaster HAL"

7 years agoMerge "Update QueueBufferOutput."
TreeHugger Robot [Wed, 8 Feb 2017 05:33:20 +0000 (05:33 +0000)]
Merge "Update QueueBufferOutput."

7 years agoBluetooth: Disable low power managerment on Hal->close() am: f60aeb4462 am: 886dcecc8...
Andre Eisenbach [Wed, 8 Feb 2017 05:08:01 +0000 (05:08 +0000)]
Bluetooth: Disable low power managerment on Hal->close() am: f60aeb4462 am: 886dcecc89 am: ddde24fd6c
am: c78517cd7b

Change-Id: Ib3e1764858ebed77148315cf150ae150e1cc4f14

7 years agoBluetooth: Disable low power managerment on Hal->close() am: f60aeb4462 am: 886dcecc89
Andre Eisenbach [Wed, 8 Feb 2017 05:04:43 +0000 (05:04 +0000)]
Bluetooth: Disable low power managerment on Hal->close() am: f60aeb4462 am: 886dcecc89
am: ddde24fd6c

Change-Id: I1b8f5707aa465afd84171f05e690c284938d1f0b

7 years agoBluetooth: Disable low power managerment on Hal->close() am: f60aeb4462
Andre Eisenbach [Wed, 8 Feb 2017 05:01:42 +0000 (05:01 +0000)]
Bluetooth: Disable low power managerment on Hal->close() am: f60aeb4462
am: 886dcecc89

Change-Id: Ifc4f5a8f2f5c285ba02960ac591c453b9e91d7d8

7 years agoBluetooth: Disable low power managerment on Hal->close()
Andre Eisenbach [Wed, 8 Feb 2017 04:58:43 +0000 (04:58 +0000)]
Bluetooth: Disable low power managerment on Hal->close()
am: f60aeb4462

Change-Id: Id8e2c0f84f79433b1dddaecd3c6aa69f446090b4

7 years agoBluetooth: Disable low power managerment on Hal->close()
Andre Eisenbach [Wed, 8 Feb 2017 04:28:32 +0000 (20:28 -0800)]
Bluetooth: Disable low power managerment on Hal->close()

This ensures the vendor library can release any wakelocks held and
perform any additional cleanup steps as necessary.

Change-Id: Ibfeac161109162ac375eef9c20f147f0506de602
Fixes: 35097918
Test: manual; disable Bluetooth, monitor wakelocks

7 years agoMigrate driver/profiler to test/vts-testcase/hal.
Tri Vo [Wed, 8 Feb 2017 03:13:25 +0000 (19:13 -0800)]
Migrate driver/profiler to test/vts-testcase/hal.

Bug: 34893894
Test: mmma hardware/interfaces

Change-Id: Ic72716577a5f93700c5056986aff55a76b170b5d

7 years agoMerge "GNSS Batching - Default implementation"
Wyatt Riley [Wed, 8 Feb 2017 02:08:01 +0000 (02:08 +0000)]
Merge "GNSS Batching - Default implementation"

7 years agoMerge "Update GraphicBufferAllocator users to pass both producer and consumer usages"
Craig Donner [Wed, 8 Feb 2017 01:42:31 +0000 (01:42 +0000)]
Merge "Update GraphicBufferAllocator users to pass both producer and consumer usages"

7 years agoMerge "Remove vts driver/profiler build rules." am: 0f7a0678af am: 3b5f6dad56 am...
Tri Vo [Wed, 8 Feb 2017 01:05:09 +0000 (01:05 +0000)]
Merge "Remove vts driver/profiler build rules." am: 0f7a0678af am: 3b5f6dad56 am: 468446f91b
am: e9cf6ba378

Change-Id: I7e2fba48c44cdbdb6d87e6d54446986889be26cf

7 years agoMerge "Remove vts driver/profiler build rules." am: 0f7a0678af am: 3b5f6dad56
Tri Vo [Wed, 8 Feb 2017 00:21:22 +0000 (00:21 +0000)]
Merge "Remove vts driver/profiler build rules." am: 0f7a0678af am: 3b5f6dad56
am: 468446f91b

Change-Id: I0a6566867fe511349c5fe4ed9fb230df2d3511d5

7 years agoMerge "Remove vts driver/profiler build rules." am: 0f7a0678af
Tri Vo [Wed, 8 Feb 2017 00:18:22 +0000 (00:18 +0000)]
Merge "Remove vts driver/profiler build rules." am: 0f7a0678af
am: 3b5f6dad56

Change-Id: I46ddb6789f2b74ea6702784be61ed95529742900

7 years agoMerge "Remove vts driver/profiler build rules."
Tri Vo [Wed, 8 Feb 2017 00:15:22 +0000 (00:15 +0000)]
Merge "Remove vts driver/profiler build rules."
am: 0f7a0678af

Change-Id: I77f5d1433cb538dba734bc592929102f426a2d40

7 years agoMerge "Remove vts driver/profiler build rules."
Treehugger Robot [Wed, 8 Feb 2017 00:12:23 +0000 (00:12 +0000)]
Merge "Remove vts driver/profiler build rules."

7 years agoMerge "Add tests to tv_input_hidl_hal_test"
Shubang Lu [Wed, 8 Feb 2017 00:02:59 +0000 (00:02 +0000)]
Merge "Add tests to tv_input_hidl_hal_test"

7 years agoMerge "Move Vehicle HAL under automotive package"
TreeHugger Robot [Tue, 7 Feb 2017 18:26:51 +0000 (18:26 +0000)]
Merge "Move Vehicle HAL under automotive package"

7 years agoUpdate QueueBufferOutput.
Pawin Vongmasa [Tue, 7 Feb 2017 02:22:40 +0000 (18:22 -0800)]
Update QueueBufferOutput.

QueueBufferOutput was modified in ag/1806678.

Test: Compiles

Bug: 31399200
Bug: 34481539
Change-Id: I287a4ba84348323e2e39dcbac03c3bf17357d6bc

7 years agoHIDL change for Android O RIL update am: ed7ef81069 am: d060299c8d am: 6a73ef5e6c
Jack Yu [Tue, 7 Feb 2017 00:56:32 +0000 (00:56 +0000)]
HIDL change for Android O RIL update am: ed7ef81069 am: d060299c8d am: 6a73ef5e6c
am: d563796176  -s ours

Change-Id: I7c207b2f782c891871108e746b5b58e22ceca030

7 years agoHIDL change for Android O RIL update am: ed7ef81069 am: d060299c8d
Jack Yu [Tue, 7 Feb 2017 00:08:19 +0000 (00:08 +0000)]
HIDL change for Android O RIL update am: ed7ef81069 am: d060299c8d
am: 6a73ef5e6c

Change-Id: I841aadbd5ef68646d758ea8c3141bc12567157fc

7 years agoHIDL change for Android O RIL update am: ed7ef81069
Jack Yu [Tue, 7 Feb 2017 00:04:12 +0000 (00:04 +0000)]
HIDL change for Android O RIL update am: ed7ef81069
am: d060299c8d

Change-Id: If1767f4b43885184f761e094562be21073378a8d

7 years agoUpdate GraphicBufferAllocator users to pass both producer and consumer usages
Craig Donner [Mon, 6 Feb 2017 18:00:22 +0000 (10:00 -0800)]
Update GraphicBufferAllocator users to pass both producer and consumer usages

Bug: 34050596
Test: build
Change-Id: Ia13b276923ccfc5487b1b53d087dedb59b076473

7 years agoHIDL change for Android O RIL update
Jack Yu [Mon, 6 Feb 2017 22:46:07 +0000 (22:46 +0000)]
HIDL change for Android O RIL update
am: ed7ef81069

Change-Id: I855a9c8aea86975ec1c78cc1e38e2b0e5962d628

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 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

Merged-In: I6b266637914a85bd57c6a055c52c8ff4ced17e1f
Change-Id: I342b99bed8663d107052e791ac97949b34f7dd99

7 years agoRemove vts driver/profiler build rules.
Tri Vo [Mon, 6 Feb 2017 17:59:51 +0000 (09:59 -0800)]
Remove vts driver/profiler build rules.

Generate filegroups for .hal files so that driver/profiler build rules
can migrate to another project.

Bug: 34893894
Test: mmma hardware/interfaces -j32
Change-Id: Iefc98a6df16706fbb798bc32405fe8ff0c3de450

7 years agoGNSS Batching - Default implementation
Wyatt Riley [Tue, 17 Jan 2017 20:12:25 +0000 (12:12 -0800)]
GNSS Batching - Default implementation

Connecting GnssBatching from fused_location.h
through to the IGnss(Batching).hal

Test: Basic regular GNSS and batched GNSS
      functional tests on Pixel

Change-Id: I3ff72c626acece891fd9e5ef2802b3489dac5dd2

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 agoAdd tests to tv_input_hidl_hal_test
Shubang [Mon, 30 Jan 2017 18:37:59 +0000 (10:37 -0800)]
Add tests to tv_input_hidl_hal_test

Test: make vts; vts-tradefed; run -m HalTvInputHidlTargetTest
Change-Id: Ia7d9cf68ae5b296f45c0999b6c295945921abc7d

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 Vehicle HAL under automotive package
Pavel Maltsev [Thu, 2 Feb 2017 20:39:36 +0000 (12:39 -0800)]
Move Vehicle HAL under automotive package

Test: verified unit tests and VTS are passing

Bug: b/33200203
Change-Id: I69cc4bc0d4cbc1a6bf2f77564a8f70412fe06947

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