OSDN Git Service

android-x86/hardware-libhardware.git
8 years agoDO NOT MERGE ANYWHERE Add new foreground load power hint. am: ae4fc8f -s ours am...
Bryce Lee [Wed, 27 Apr 2016 20:38:00 +0000 (20:38 +0000)]
DO NOT MERGE ANYWHERE Add new foreground load power hint. am: ae4fc8f  -s ours am: ab93a6d  -s ours
am: 795b359  -s ours

* commit '795b359d6052b20160d570d975aad4f9470f42be':
  DO NOT MERGE ANYWHERE Add new foreground load power hint.

Change-Id: Ia49b1dd3c5649291e2e59124547a91d9fc201a3c

8 years agoDO NOT MERGE ANYWHERE Add new foreground load power hint. am: ae4fc8f -s ours
Bryce Lee [Wed, 27 Apr 2016 20:35:25 +0000 (20:35 +0000)]
DO NOT MERGE ANYWHERE Add new foreground load power hint. am: ae4fc8f  -s ours
am: ab93a6d  -s ours

* commit 'ab93a6d6b681bf2bdcbd4cf4d20bb0c6412978d1':
  DO NOT MERGE ANYWHERE Add new foreground load power hint.

Change-Id: I3c2200326c2878609403f3f92801aedca6391b33

8 years agoDO NOT MERGE ANYWHERE Add new foreground load power hint.
Bryce Lee [Wed, 27 Apr 2016 20:05:27 +0000 (20:05 +0000)]
DO NOT MERGE ANYWHERE Add new foreground load power hint.
am: ae4fc8f  -s ours

* commit 'ae4fc8f4d4877c31d8d1925184427390d539c637':
  DO NOT MERGE ANYWHERE Add new foreground load power hint.

Change-Id: I210ccf49820e3a10bed2ded67a7d92b36d10c9d0

8 years agoMerge "[sensor] clarify definition of the uuid field" into nyc-dev
Peng Xu [Wed, 27 Apr 2016 19:55:56 +0000 (19:55 +0000)]
Merge "[sensor] clarify definition of the uuid field" into nyc-dev
am: 2235cac

* commit '2235cac9ba091bf6b06d7e3bead24fdb36fcf1b5':
  [sensor] clarify definition of the uuid field

Change-Id: I27da5b9de8ade511bebfb38124eac7e875445b9f

8 years agoMerge "[sensor] clarify definition of the uuid field" into nyc-dev
Peng Xu [Wed, 27 Apr 2016 19:37:57 +0000 (19:37 +0000)]
Merge "[sensor] clarify definition of the uuid field" into nyc-dev

8 years agoDO NOT MERGE ANYWHERE Add new foreground load power hint.
Bryce Lee [Wed, 27 Apr 2016 14:28:05 +0000 (07:28 -0700)]
DO NOT MERGE ANYWHERE Add new foreground load power hint.

This power hint allows the underlying hardware to be aware when an
intensive foreground activity is active, allowing for resources to be
adjusted accordingly.

Bug: 26987295
Change-Id: I834d2227c7f86e9426d0fab20910d565125bd184

8 years ago[sensor] clarify definition of the uuid field
Peng Xu [Sat, 23 Apr 2016 05:34:51 +0000 (22:34 -0700)]
[sensor] clarify definition of the uuid field

Add description of the byte order the uuid field should use along
with an expample.

Bug: 28305085
Change-Id: If607631f15c1611bd51b158bd80eac1eef331b4b

8 years agoclarify set failure due to power down
Keun-young Park [Tue, 26 Apr 2016 01:34:19 +0000 (01:34 +0000)]
clarify set failure due to power down
am: f709758

* commit 'f7097585dca47b8124c5c9e31cd8d381f1c1c97d':
  clarify set failure due to power down

Change-Id: I781c383548e844c32722866e3522cabc7a8ace30

8 years agoclarify set failure due to power down
Keun-young Park [Tue, 26 Apr 2016 01:10:45 +0000 (18:10 -0700)]
clarify set failure due to power down

- some properties can have separate propety control power state
  and setting such property when it is powered off should
  lead into returning error from hal. Define -ESHUTDOWN as
  error code to use in such case.

bug: 28385609
Change-Id: I41c1519ad00b43a83f3aa4e5f0627d75d87a960b

8 years agomake some HVAC properties zoned
Keun-young Park [Sat, 23 Apr 2016 05:21:24 +0000 (05:21 +0000)]
make some HVAC properties zoned
am: f1ccec1

* commit 'f1ccec1dd1f71f841fe1577c2df29ff4157cb3d1':
  make some HVAC properties zoned

Change-Id: Idf0287fa3ce925880d2511f621fd9c8917bdeca1

8 years agomake some HVAC properties zoned
Keun-young Park [Fri, 22 Apr 2016 20:19:53 +0000 (13:19 -0700)]
make some HVAC properties zoned

- some cars supprot them as zoned property
- If there is only one global control, only one zone (VEHICLE_ZONE_ALL)
  should be declared for the property.
- also fixed errata in VEHICLE_FLOAT_OUT_OF_RANGE_OFF

bug: 28285692
Change-Id: I35c81fef70d7dff080da9dd52c8d0bb97727e94b

8 years agoAdd guest mode functionality (3/5)
Ajay Panicker [Wed, 20 Apr 2016 00:52:02 +0000 (00:52 +0000)]
Add guest mode functionality (3/5)
am: 6366e2328f

* commit '6366e2328fa8063c4b0cdd534d3b8248aa53464c':
  Add guest mode functionality (3/5)

Change-Id: I6252d7ebccb6594054069c33000acd74dd31d077

8 years agoAdd guest mode functionality (3/5)
Ajay Panicker [Fri, 18 Mar 2016 21:27:36 +0000 (14:27 -0700)]
Add guest mode functionality (3/5)

Add a flag to enable() to start Bluetooth in restricted
mode. In restricted mode, all devices that are paired during
restricted mode are deleted upon leaving restricted mode.
Right now restricted mode is only entered while a guest
user is active

Bug: 27410683
Change-Id: I994a2933fd60301927ff2df65da634f81d4c9428

8 years agoSensors: MultiHal: fix naming and compiler warning
Nick Vaccaro [Tue, 19 Apr 2016 20:46:24 +0000 (20:46 +0000)]
Sensors: MultiHal: fix naming and compiler warning
am: a889c09

* commit 'a889c0915af205d7af1a8032e54b5a4d4496babb':
  Sensors: MultiHal: fix naming and compiler warning

Change-Id: I6e54703cb9fd52a3660d3219e579839b0d5ac584

8 years agoSensors: MultiHal: fix naming and compiler warning
Nick Vaccaro [Fri, 15 Apr 2016 17:17:07 +0000 (10:17 -0700)]
Sensors: MultiHal: fix naming and compiler warning

Changed module name back to sensors.$(TARGET_DEVICE) to assure
proper load ordering.

Fix use of GNU old-style field designator extension and a couple
type-mismatched comparisons.

Bug: 28251347
Change-Id: I7cf6cc1f78085b8b254729cd8ec42bdb20ea3f81

8 years agoMerge "nanohub: Fix error in HAL definition" into nyc-dev
TreeHugger Robot [Fri, 15 Apr 2016 23:04:21 +0000 (23:04 +0000)]
Merge "nanohub: Fix error in HAL definition" into nyc-dev

8 years agoAdd interface for focus gain in A2DP SNK audio track.
Sanket Agarwal [Fri, 8 Apr 2016 18:27:53 +0000 (11:27 -0700)]
Add interface for focus gain in A2DP SNK audio track.

Bug: b/28065071
Change-Id: If5d3f197ac2e8d73f3f2e8edf764c84e5e08e6e8

8 years agonanohub: Fix error in HAL definition
Alexey Polyudov [Thu, 14 Apr 2016 17:28:35 +0000 (10:28 -0700)]
nanohub: Fix error in HAL definition

HAL info structure can not have pointers
Ideally this would become variable sized array,
but JNI is expecting fixed-size array here,
so, define reasonable size (2), which fits all the
known cases.

Change-Id: I1752d5bef9db60570b03a8dc8e54da2277aca95a
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
8 years agoMerge "Gralloc 1.0" into nyc-dev
Dan Stoza [Tue, 12 Apr 2016 19:26:24 +0000 (19:26 +0000)]
Merge "Gralloc 1.0" into nyc-dev

8 years agoClarify Context hub implementation.
Ashutosh Joshi [Fri, 8 Apr 2016 00:25:06 +0000 (17:25 -0700)]
Clarify Context hub implementation.

Document message format.
Document nanoApp format.

Change-Id: Ibfa231c98249f2b3759c84af50c3e5e722553c3c

8 years agoGralloc 1.0
Dan Stoza [Tue, 8 Dec 2015 00:16:22 +0000 (16:16 -0800)]
Gralloc 1.0

Header for version 1.0 of the gralloc HAL

Bug: 22767098
Change-Id: Ib89a18dca4dcbb3c1d343ee38a7f06bcafe2589c

8 years agoMerge "contexthub: redefine hub_app_name" into nyc-dev
Alexey Polyudov [Mon, 11 Apr 2016 20:28:56 +0000 (20:28 +0000)]
Merge "contexthub: redefine hub_app_name" into nyc-dev

8 years agocontexthub: redefine hub_app_name
Alexey Polyudov [Fri, 8 Apr 2016 17:24:57 +0000 (10:24 -0700)]
contexthub: redefine hub_app_name

also define some helper macros to simpify app id definitions

Bug: 28086503
Change-Id: Ib04069889b24d057db5fcd3a408c845951cafeea
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
8 years agoMerge "Add "clear" command." into nyc-dev
Arunesh Mishra [Sat, 9 Apr 2016 01:49:37 +0000 (01:49 +0000)]
Merge "Add "clear" command." into nyc-dev

8 years agoMerge "Fixed the sign error in GnssClock" into nyc-dev
Wyatt Riley [Fri, 8 Apr 2016 23:41:16 +0000 (23:41 +0000)]
Merge "Fixed the sign error in GnssClock" into nyc-dev

8 years agoFixed the sign error in GnssClock
Lifu Tang [Fri, 8 Apr 2016 02:22:12 +0000 (19:22 -0700)]
Fixed the sign error in GnssClock

Bug: 28068514
Change-Id: I6e227caca520aa19ef586e1436f704dad741e3bb

8 years agoMerge "HWC2: Add getHdrCapabilities" into nyc-dev
Dan Stoza [Fri, 8 Apr 2016 19:09:21 +0000 (19:09 +0000)]
Merge "HWC2: Add getHdrCapabilities" into nyc-dev

8 years agoAdd "clear" command.
Arunesh Mishra [Mon, 22 Feb 2016 23:50:12 +0000 (15:50 -0800)]
Add "clear" command.

 Minor visual fixes for the command line interface.

 Bug: 27279191

Change-Id: Ibb20231125c5d46bffc9241711c46dd8101dffb3

8 years agovehicle hal further clarification / HVAC update
Keun-young Park [Wed, 6 Apr 2016 17:44:20 +0000 (10:44 -0700)]
vehicle hal further clarification / HVAC update

- added HVAC_POWER_ON property
- added special INT / FLOAT OUT_OF_RANGE values for
  max / min / off state
- added dump call for debugging: necessary for debugging
- clarified subscribe behavior for ON_CHANGE type
  VNS will make additional get call for checking initial
  state.
- added clarification on possible -EAGAIN for set call
- added mute flag to allow muting radio from android

bug: 27721415
bug: 28022648
bug: 27971383
bug: 27971578

Change-Id: Ie9a7334b86ab53174b91a4dc651fd87ca17af3d9

8 years agoFix typo in error logs in r_submix open_input_stream function
Jean-Michel Trivi [Wed, 6 Apr 2016 00:20:29 +0000 (17:20 -0700)]
Fix typo in error logs in r_submix open_input_stream function

Change-Id: I52d5268290802e3f0a88662aa6fbe9a46efda735

8 years agoMerge "Fix build error in stub soundtrigger HAL" into nyc-dev
Ryan Bavetta [Fri, 1 Apr 2016 22:07:14 +0000 (22:07 +0000)]
Merge "Fix build error in stub soundtrigger HAL" into nyc-dev

8 years agoMerge "Update temp limits in thermal HAL impl." into nyc-dev
Ruben Brunk [Thu, 31 Mar 2016 18:03:34 +0000 (18:03 +0000)]
Merge "Update temp limits in thermal HAL impl." into nyc-dev

8 years agoMerge "Add two sensor flags" into nyc-dev
Peng Xu [Thu, 31 Mar 2016 01:20:41 +0000 (01:20 +0000)]
Merge "Add two sensor flags" into nyc-dev

8 years agoAdd two sensor flags
Peng Xu [Wed, 30 Mar 2016 01:14:05 +0000 (18:14 -0700)]
Add two sensor flags

Add sensor flag for indication of dynamically added sensor and
support of additional information.

Change-Id: I02ee7d6d325f6cb04f371bcde6bb755f52720671

8 years agoBump the sound trigger device api's minor version number.
Chris Thornton [Wed, 30 Mar 2016 18:25:11 +0000 (11:25 -0700)]
Bump the sound trigger device api's minor version number.

This is needed so we know if we should look for the
stop_all_recognitions function.

Change-Id: Ifa1d7ac0fa293e04bf80729bf34fefa48e74b8bb

8 years agoFix build error in stub soundtrigger HAL
Ryan Bavetta [Fri, 25 Mar 2016 18:49:21 +0000 (11:49 -0700)]
Fix build error in stub soundtrigger HAL

Also combines sound model events and trigger events

BUG:27852833
Change-Id: I277b35a5b32c18b09a2c68024f30f9b981688900

8 years agoMerge "context_hub: Fix version defines" into nyc-dev
Greg Kaiser [Tue, 29 Mar 2016 19:30:40 +0000 (19:30 +0000)]
Merge "context_hub: Fix version defines" into nyc-dev

8 years agoMerge "fix wrong description in AUDIO_HW_VARIANT" into nyc-dev
Keun-young Park [Tue, 29 Mar 2016 18:22:20 +0000 (18:22 +0000)]
Merge "fix wrong description in AUDIO_HW_VARIANT" into nyc-dev

8 years agoMerge "Adds stop_all_recognitions as an optional method to the sound trigger hal...
Chris Thornton [Tue, 29 Mar 2016 17:40:28 +0000 (17:40 +0000)]
Merge "Adds stop_all_recognitions as an optional method to the sound trigger hal." into nyc-dev

8 years agofix wrong description in AUDIO_HW_VARIANT
Keun-young Park [Tue, 29 Mar 2016 16:52:41 +0000 (09:52 -0700)]
fix wrong description in AUDIO_HW_VARIANT

- simplify it as external vs internal radio

bug: 27898442
Change-Id: I31c6984caf902566c65b1911a59d58c98e19e25b

8 years agoAdds stop_all_recognitions as an optional method to the sound trigger hal.
Chris Thornton [Mon, 28 Mar 2016 00:12:30 +0000 (17:12 -0700)]
Adds stop_all_recognitions as an optional method to the sound trigger hal.

Change-Id: I6c905b79673fe21782f5dc5f3abc4c2ac75de805

8 years agoRevert "Add guest mode functionality (3/5)"
Ajay Panicker [Mon, 28 Mar 2016 21:59:06 +0000 (21:59 +0000)]
Revert "Add guest mode functionality (3/5)"

This reverts commit 72642d65836f3b01f0b2c005ad1041069dff7288.

Change-Id: Iebd5764811dd66c87ca2d633900a2094eb085b38

8 years agoHWC2: Add getHdrCapabilities
Dan Stoza [Wed, 16 Mar 2016 16:54:40 +0000 (09:54 -0700)]
HWC2: Add getHdrCapabilities

Adds support for querying the HDR capabilities of a connected display.

Bug: 25684127
Change-Id: I9f927f1e92ca9854cb63804177521caf77cf98f5

8 years agoAdd guest mode functionality (3/5)
Ajay Panicker [Fri, 18 Mar 2016 21:27:36 +0000 (14:27 -0700)]
Add guest mode functionality (3/5)

Add a flag to enable() to start Bluetooth in restricted
mode. In restricted mode, all devices that are paired during
restricted mode are deleted upon leaving restricted mode.
Right now restricted mode is only entered while a guest
user is active

Bug: 27410683
Change-Id: Ibededbdb832275db4b6e78af83d26754f8b5a9ec

8 years agocontext_hub: Fix version defines
Greg Kaiser [Mon, 28 Mar 2016 16:06:56 +0000 (09:06 -0700)]
context_hub: Fix version defines

We're defining the version of a hardware module (hw_module_t), not
a hardware device (hw_device_t).  Thus, we only have 16 bits for
our version number, instead of 32, and need to use the
HARDWARE_DEVICE_API_VERSION macro.

Additionally, for the CONTEXT_HUB_DEVICE_API_VERSION_1_0 define,
which has 1 and 0 hard-coded in the name itself, we hard code 1 and 0
within its definition.

We create CONTEXT_HUB_DEVICE_API_VERSION which will change as we update
the major and minor version numbers in this header.

Bug: 27798362
Change-Id: I58b9751dfb1989fd6bb7fbfc01329494cd88130c

8 years agoMerge "Zero length in keymaster_free_param_set." into nyc-dev
Shawn Willden [Sat, 26 Mar 2016 21:38:29 +0000 (21:38 +0000)]
Merge "Zero length in keymaster_free_param_set." into nyc-dev

8 years agoMerge "Add keymaster_security_level_t for attestation." into nyc-dev
Shawn Willden [Sat, 26 Mar 2016 16:04:11 +0000 (16:04 +0000)]
Merge "Add keymaster_security_level_t for attestation." into nyc-dev

8 years agoMerge "Remove agree_key and add configure to keymaster2." into nyc-dev
Shawn Willden [Sat, 26 Mar 2016 15:17:34 +0000 (15:17 +0000)]
Merge "Remove agree_key and add configure to keymaster2." into nyc-dev

8 years agoUpdate temp limits in thermal HAL impl.
Ruben Brunk [Fri, 25 Mar 2016 20:45:00 +0000 (13:45 -0700)]
Update temp limits in thermal HAL impl.

Bug: 27549685
Change-Id: I280610bbfda7d9fb65a7bc42831c4a545ea21757

8 years agoZero length in keymaster_free_param_set.
Shawn Willden [Sun, 20 Mar 2016 15:07:50 +0000 (09:07 -0600)]
Zero length in keymaster_free_param_set.

Change-Id: I0b9999e4c148d70369549cbd2fcdbbff7321a587

8 years agoAdd keymaster_security_level_t for attestation.
Shawn Willden [Sat, 19 Mar 2016 14:56:43 +0000 (08:56 -0600)]
Add keymaster_security_level_t for attestation.

Change-Id: Iffa71e3c285d35c2feafd04e8153306f086a3118

8 years agoRemove agree_key and add configure to keymaster2.
Shawn Willden [Thu, 10 Mar 2016 02:42:47 +0000 (19:42 -0700)]
Remove agree_key and add configure to keymaster2.

Key agreement (ECDH) has been punted from the N release, and a
configuration method has been added to support version binding.

Change-Id: Ia4aeee1bd7ab88cda3b9faa653470e608aa55942

8 years agoMerge "HWC2: Add const and alphabetize" into nyc-dev
Dan Stoza [Thu, 24 Mar 2016 18:33:44 +0000 (18:33 +0000)]
Merge "HWC2: Add const and alphabetize" into nyc-dev

8 years agoHWC2: Add const and alphabetize
Dan Stoza [Thu, 24 Mar 2016 17:12:15 +0000 (10:12 -0700)]
HWC2: Add const and alphabetize

Alphabetizes the display functions and adds const to a float*
input parameter.

Bug: 22767098
Change-Id: I8cb4d6b27980753cfb17a8ad6b74cbbc984c5ac0

8 years agoMerge "HWC2: Fix a doc bug in setColorTransform" into nyc-dev
Dan Stoza [Thu, 24 Mar 2016 16:25:04 +0000 (16:25 +0000)]
Merge "HWC2: Fix a doc bug in setColorTransform" into nyc-dev

8 years agoHWC2: Fix a doc bug in setColorTransform
Dan Stoza [Thu, 24 Mar 2016 16:23:11 +0000 (09:23 -0700)]
HWC2: Fix a doc bug in setColorTransform

Fixes a minor error in the documentation of the setColorTransform
function.

Change-Id: Id1a94d6066f642579c6b935a6cc781505f25c11d

8 years agoMerge "Moved init and release." into nyc-dev
Keun-young Park [Wed, 23 Mar 2016 20:53:16 +0000 (20:53 +0000)]
Merge "Moved init and release." into nyc-dev

8 years agoMoved init and release.
Jamie Howarth [Wed, 16 Mar 2016 22:13:37 +0000 (18:13 -0400)]
Moved init and release.

Moved the init release calls in the vehicle-hal-tool.

I assume the correct sequence for a set is :-

VehicleNetworkService -> VehicleHAL vehicle_device_open
VehicleNetworkService -> VehicleHAL vehicle_device_init
VehicleNetworkService -> VehicleHAL vehicle_device_set
VehicleNetworkService -> VehicleHAL vehicle_device_release

bug: 27816048

Change-Id: I3ac37eaf69027824bc6247f25a99f27527c1a2b9

8 years agoUse handles to identify GATT attributes (2/4)
Jakub Pawlowski [Thu, 17 Mar 2016 22:57:03 +0000 (15:57 -0700)]
Use handles to identify GATT attributes (2/4)

Bug: 27778668
Change-Id: Iff64153c2b783705fb4408f9911b13fa44af4f84

8 years agoRemove unused methods and callbacks
Jakub Pawlowski [Mon, 29 Feb 2016 20:36:07 +0000 (12:36 -0800)]
Remove unused methods and callbacks

Bug: 27455533
Change-Id: Id2e265be02dc627e7fc81875c3000262cab2e35f

8 years agoMerge "power: Adds a new power hint POWER_HINT_VR_MODE" into nyc-dev
Ruchi Kandoi [Mon, 21 Mar 2016 19:37:50 +0000 (19:37 +0000)]
Merge "power: Adds a new power hint POWER_HINT_VR_MODE" into nyc-dev

8 years agoMerge "Re-worked hardware_properties to thermal HAL." into nyc-dev
Polina Bondarenko [Sat, 19 Mar 2016 08:43:32 +0000 (08:43 +0000)]
Merge "Re-worked hardware_properties to thermal HAL." into nyc-dev

8 years agoMerge "Update audio services for 64 bit compilation" into nyc-dev
Andy Hung [Fri, 18 Mar 2016 20:23:25 +0000 (20:23 +0000)]
Merge "Update audio services for 64 bit compilation" into nyc-dev

8 years agoUpdate audio services for 64 bit compilation
Andy Hung [Fri, 4 Mar 2016 00:59:44 +0000 (16:59 -0800)]
Update audio services for 64 bit compilation

Bug: 27479136
Change-Id: I1cb6baf3c507c7004b3245176727be1fd96174df

8 years agoBluetooth: Additional status codes for wakelock ops
Andre Eisenbach [Thu, 17 Mar 2016 23:46:39 +0000 (16:46 -0700)]
Bluetooth: Additional status codes for wakelock ops

Add additional status codes to better track wakelock acquisition or
release failures.

Bug: 27721443
Change-Id: I99fb442277dac81df0d84d9a9f7a3340158377a8

8 years agoMerge "Removed the comment that refers to deprecated flag" into nyc-dev
Lifu Tang [Thu, 17 Mar 2016 19:23:38 +0000 (19:23 +0000)]
Merge "Removed the comment that refers to deprecated flag" into nyc-dev

8 years agoRemoved the comment that refers to deprecated flag
Lifu Tang [Mon, 14 Mar 2016 05:58:33 +0000 (22:58 -0700)]
Removed the comment that refers to deprecated flag

Bug: 27633183
Change-Id: I30fe79761305cd1fbac2f3f6cad68dc12eaec660

8 years agoMerge "Use audio_session_t consistently" into nyc-dev
Glenn Kasten [Thu, 17 Mar 2016 14:22:50 +0000 (14:22 +0000)]
Merge "Use audio_session_t consistently" into nyc-dev

8 years agoRe-worked hardware_properties to thermal HAL.
Polina Bondarenko [Fri, 26 Feb 2016 11:15:53 +0000 (12:15 +0100)]
Re-worked hardware_properties to thermal HAL.

Bug: 27424857
Change-Id: Id7212421e499cc33c82e885756d68e89c2317acf

8 years agoAdd support for all data types to vehicle-hal-tool.
Jamie Howarth [Fri, 11 Mar 2016 02:58:53 +0000 (18:58 -0800)]
Add support for all data types to vehicle-hal-tool.

Added support for all data types to set, get, subscribe.

Change-Id: Ided5baa036eefc21d381607b19bd31522cfe95cb

8 years agoMerge "vehicle hal update" into nyc-dev
Keun-young Park [Tue, 15 Mar 2016 22:08:29 +0000 (22:08 +0000)]
Merge "vehicle hal update" into nyc-dev

8 years agopower: Adds a new power hint POWER_HINT_VR_MODE
Ruchi Kandoi [Wed, 9 Mar 2016 23:16:30 +0000 (15:16 -0800)]
power: Adds a new power hint POWER_HINT_VR_MODE

Adds a POWER_HINT_VR_MODE which is used to enable/disable VR mode. This
mode guarantees minimum performance as long as the device can sustain.

Bug: 27659731
Change-Id: Ia6701299cacb5201921f8a517ec78ed4012b9455
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
8 years agovehicle hal update
Keun-young Park [Fri, 11 Mar 2016 00:28:42 +0000 (16:28 -0800)]
vehicle hal update

- add release_memory_from_get to allow hal to release
  memory it has allocated in get call
- clear get call's behavior: If data is not available, should
  return immediately with VEHICLE_ERROR_NOT_READY error
- make zone separate in vehicle_prop_config_t and
  vehicle_prop_value_t: Handing of zoned property becomes
  simpler
- cleanup some data type definitions for zoned properties

bug: 2759733827596281
Change-Id: I7a8454b86555270fb2211e5d36b3ee06d350f8ed

8 years agoMerge "Allows triggering stub HAL by sound model by UUID" into nyc-dev
Ryan Bavetta [Mon, 14 Mar 2016 22:47:23 +0000 (22:47 +0000)]
Merge "Allows triggering stub HAL by sound model by UUID" into nyc-dev

8 years agoAllows triggering stub HAL by sound model by UUID
Ryan Bavetta [Fri, 11 Mar 2016 08:00:30 +0000 (00:00 -0800)]
Allows triggering stub HAL by sound model by UUID

BUG: 27604763
Change-Id: I906f6f3c96ae148a7636b5481cb89f83ddb81a03

8 years agoMerge "Camera3: Add camera device HAL v3.4" into nyc-dev
Eino-Ville Talvala [Fri, 11 Mar 2016 23:33:41 +0000 (23:33 +0000)]
Merge "Camera3: Add camera device HAL v3.4" into nyc-dev

8 years agoMerge "Added event handling for INT_VEC2, INT_VEC3" into nyc-dev
Steve Paik [Thu, 10 Mar 2016 03:04:56 +0000 (03:04 +0000)]
Merge "Added event handling for INT_VEC2, INT_VEC3" into nyc-dev

8 years agoAdded event handling for INT_VEC2, INT_VEC3
Jamie Howarth [Thu, 10 Mar 2016 02:05:39 +0000 (18:05 -0800)]
Added event handling for INT_VEC2, INT_VEC3

Added support for event handling of VEHICLE_VALUE_TYPE_INT32_VEC2, and
VEHICLE_VALUE_TYPE_INT32_VEC3.

Bug: 27578597
Change-Id: Ic20da00f9adf634c77c4067a5243cbd2aae681e4

8 years agoUse audio_session_t consistently
Glenn Kasten [Tue, 8 Mar 2016 20:09:36 +0000 (12:09 -0800)]
Use audio_session_t consistently

Bug: 27562099
Change-Id: I608f72515b2aea93c784f0df15fe4af9859aebdf

8 years agoCamera3: Add camera device HAL v3.4
Eino-Ville Talvala [Mon, 7 Mar 2016 01:08:40 +0000 (17:08 -0800)]
Camera3: Add camera device HAL v3.4

 - Few additional mandatory static metadata fields
 - Different dataspace encoding than HAL v3.3
 - A few additional general-use metadata fields

Bug: 27344373
Change-Id: I218cc9fa70d1227cd96155e126edcf9be699ea2d

8 years agoMerge "Deprecated a flag for mandatary field" into nyc-dev
Lifu Tang [Wed, 9 Mar 2016 21:53:15 +0000 (21:53 +0000)]
Merge "Deprecated a flag for mandatary field" into nyc-dev

8 years agoDeprecated a flag for mandatary field
Lifu Tang [Wed, 9 Mar 2016 19:21:08 +0000 (11:21 -0800)]
Deprecated a flag for mandatary field

Change-Id: I5b03da35d8a022d68ba66b676fdd5fc963271a79

8 years agoGEAR_* rename
Keun-young Park [Tue, 8 Mar 2016 23:02:44 +0000 (15:02 -0800)]
GEAR_* rename

- change to GEAR_PARK and GEAR_LOW
- also remove some build warnings

bug: 27549456
Change-Id: I9062c4570afe5cacd6a17f1cb196273a719b0a97

8 years agoMerge "Revert "rename to GEAR_PARK"" into nyc-dev
Keun-young Park [Tue, 8 Mar 2016 20:52:50 +0000 (20:52 +0000)]
Merge "Revert "rename to GEAR_PARK"" into nyc-dev

8 years agoRevert "rename to GEAR_PARK"
Keun-young Park [Tue, 8 Mar 2016 20:52:36 +0000 (20:52 +0000)]
Revert "rename to GEAR_PARK"

This reverts commit ce1984bae83a98f64402170155ac3f43f237cc11.

Change-Id: Idec855af374e1faf537148181751b91ef8c9a980

8 years agoMerge "rename to GEAR_PARK" into nyc-dev
Keun-young Park [Tue, 8 Mar 2016 20:02:41 +0000 (20:02 +0000)]
Merge "rename to GEAR_PARK" into nyc-dev

8 years agorename to GEAR_PARK
Keun-young Park [Tue, 8 Mar 2016 19:53:39 +0000 (11:53 -0800)]
rename to GEAR_PARK

- from GEAR_PARKING

bug: 27549456
Change-Id: Ifc978c437e989742ad1957633e870ccd1a304db0

8 years agoRemove audio callback from btav_callbacks_t.
Sanket Agarwal [Tue, 8 Mar 2016 18:48:41 +0000 (10:48 -0800)]
Remove audio callback from btav_callbacks_t.

This callback function was only being used in A2DP sink. Since we do not
expect system/bt to inform the audio focus state upwards we do not need
this callback.

Bug: b/26928143

Change-Id: Ib967b60b15a90182d33acf4c6f5034b2112ada4c

8 years agoMerge "fix missing FLAG in audio_context_flag" into nyc-dev
Keun-young Park [Fri, 4 Mar 2016 02:28:36 +0000 (02:28 +0000)]
Merge "fix missing FLAG in audio_context_flag" into nyc-dev

8 years agofix missing FLAG in audio_context_flag
Keun-young Park [Fri, 4 Mar 2016 01:47:18 +0000 (17:47 -0800)]
fix missing FLAG in audio_context_flag

bug: 25183740
Change-Id: I7b73617e06ad40435f4f6f8952b230703563d192

8 years agocontext_hub: Fix typo in field name.
Greg Kaiser [Thu, 3 Mar 2016 19:40:03 +0000 (11:40 -0800)]
context_hub: Fix typo in field name.

Change-Id: I25bb98bfb9ebd0f550db47cef39a08411772c578

8 years agoMerge "Revised and addressed vendors' comments" into nyc-dev
Lifu Tang [Thu, 3 Mar 2016 00:48:36 +0000 (00:48 +0000)]
Merge "Revised and addressed vendors' comments" into nyc-dev

8 years agoRevised and addressed vendors' comments
Lifu Tang [Wed, 24 Feb 2016 21:50:19 +0000 (13:50 -0800)]
Revised and addressed vendors' comments

Bug: 27314812
Change-Id: If00be994381937a05011d3efea175bd6385c08e6

8 years agoRename vehicle_rvc to vehicle_camera
Steve Paik [Thu, 18 Feb 2016 22:20:28 +0000 (14:20 -0800)]
Rename vehicle_rvc to vehicle_camera

BUG: 25261672
BUG: 25226538
BUG: 22701467
BUG: 26557463

Change-Id: Ideff9a13d61d7242c2f92212222809c7785970ee

8 years agoMerge "Stub HAL now can test abort and fail events" into nyc-dev
Ryan Bavetta [Tue, 1 Mar 2016 03:59:33 +0000 (03:59 +0000)]
Merge "Stub HAL now can test abort and fail events" into nyc-dev

8 years agoStub HAL now can test abort and fail events
Ryan Bavetta [Tue, 1 Mar 2016 02:37:29 +0000 (18:37 -0800)]
Stub HAL now can test abort and fail events

BUG:27278692
Change-Id: Ibd03e8a13a6bd3f25b312c94436ff9f8ea2d305a

8 years agoMerge "vehicle hal update" into nyc-dev
Keun-young Park [Fri, 26 Feb 2016 22:10:56 +0000 (22:10 +0000)]
Merge "vehicle hal update" into nyc-dev

8 years agovehicle hal update
Keun-young Park [Fri, 12 Feb 2016 22:26:57 +0000 (14:26 -0800)]
vehicle hal update

- add *min_values for zoned properties
  zoned properties can specify min/max value either
  by setting *_min/max_value or by setting *_min/max_values

  When array version is not used, it should be set to NULL.

  When array version is used, its length should match with
  supproted zones in config_flags.

- add RADIO flag to audio context

- add INSTRUMENT_CLUSTER_INFO property to give informaiton
  on instrument cluster
  Graphic type can send notification on the currently available
  area as mode.

- move audio context info to AUDIO_FOCUS and remove
  AUDIO_CONTEXT property

bug: 27142696

Change-Id: I9aa47724759d5610b74581b890e096924a5e223b

8 years agoMerge "Add debug folder for audioserver" into nyc-dev
Eric Laurent [Fri, 26 Feb 2016 01:19:20 +0000 (01:19 +0000)]
Merge "Add debug folder for audioserver" into nyc-dev

8 years agoDO NOT MERGE Add ability to add interop entries dynamically (1/2) am: 0a778c30fd...
Andre Eisenbach [Wed, 24 Feb 2016 19:02:58 +0000 (19:02 +0000)]
DO NOT MERGE Add ability to add interop entries dynamically (1/2) am: 0a778c30fd am: edbcc9a862
am: 4b29fd8b03  -s ours

* commit '4b29fd8b03d6241debde6562029eca6de0a8d763':
  DO NOT MERGE Add ability to add interop entries dynamically (1/2)