Commit graph

3019 commits

Author SHA1 Message Date
Ryan Bavetta
12b20e31d1 Fix build error in stub soundtrigger HAL
Also combines sound model events and trigger events

BUG:27852833
Change-Id: I277b35a5b32c18b09a2c68024f30f9b981688900
2016-03-29 13:09:51 -07:00
Greg Kaiser
67bb01cf91 Merge "context_hub: Fix version defines" into nyc-dev 2016-03-29 19:30:41 +00:00
Keun-young Park
7d2576fca0 Merge "fix wrong description in AUDIO_HW_VARIANT" into nyc-dev 2016-03-29 18:22:20 +00:00
Chris Thornton
caa94e5e2b Merge "Adds stop_all_recognitions as an optional method to the sound trigger hal." into nyc-dev 2016-03-29 17:40:29 +00:00
Keun-young Park
637fb20bd1 fix wrong description in AUDIO_HW_VARIANT
- simplify it as external vs internal radio

bug: 27898442
Change-Id: I31c6984caf902566c65b1911a59d58c98e19e25b
2016-03-29 09:56:16 -07:00
Chris Thornton
42a448d790 Adds stop_all_recognitions as an optional method to the sound trigger hal.
Change-Id: I6c905b79673fe21782f5dc5f3abc4c2ac75de805
2016-03-29 09:19:44 -07:00
Ajay Panicker
a7d043576d Revert "Add guest mode functionality (3/5)"
This reverts commit 72642d6583.

Change-Id: Iebd5764811dd66c87ca2d633900a2094eb085b38
2016-03-28 21:59:06 +00:00
Dan Stoza
f601e977d5 HWC2: Add getHdrCapabilities
Adds support for querying the HDR capabilities of a connected display.

Bug: 25684127
Change-Id: I9f927f1e92ca9854cb63804177521caf77cf98f5
2016-03-28 12:16:42 -07:00
Ajay Panicker
72642d6583 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
2016-03-28 18:35:03 +00:00
Greg Kaiser
5600a6a14c 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
2016-03-28 09:06:56 -07:00
Shawn Willden
45e2e5fc17 Merge "Zero length in keymaster_free_param_set." into nyc-dev 2016-03-26 21:38:29 +00:00
Shawn Willden
64e76f8feb Merge "Add keymaster_security_level_t for attestation." into nyc-dev 2016-03-26 16:04:11 +00:00
Shawn Willden
869ba4241b Merge "Remove agree_key and add configure to keymaster2." into nyc-dev 2016-03-26 15:17:34 +00:00
Ruben Brunk
53b134045f Update temp limits in thermal HAL impl.
Bug: 27549685
Change-Id: I280610bbfda7d9fb65a7bc42831c4a545ea21757
2016-03-25 13:45:00 -07:00
Shawn Willden
e366efd5bb Zero length in keymaster_free_param_set.
Change-Id: I0b9999e4c148d70369549cbd2fcdbbff7321a587
2016-03-25 11:39:35 -06:00
Shawn Willden
aeb15d64fc Add keymaster_security_level_t for attestation.
Change-Id: Iffa71e3c285d35c2feafd04e8153306f086a3118
2016-03-25 11:39:35 -06:00
Shawn Willden
3080276974 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
2016-03-25 11:39:29 -06:00
Dan Stoza
f588e0b3b9 Merge "HWC2: Add const and alphabetize" into nyc-dev 2016-03-24 18:33:44 +00:00
Dan Stoza
c46e96a5a2 HWC2: Add const and alphabetize
Alphabetizes the display functions and adds const to a float*
input parameter.

Bug: 22767098
Change-Id: I8cb4d6b27980753cfb17a8ad6b74cbbc984c5ac0
2016-03-24 10:12:15 -07:00
Dan Stoza
ca11094b47 Merge "HWC2: Fix a doc bug in setColorTransform" into nyc-dev 2016-03-24 16:25:04 +00:00
Dan Stoza
5dfbe33cf3 HWC2: Fix a doc bug in setColorTransform
Fixes a minor error in the documentation of the setColorTransform
function.

Change-Id: Id1a94d6066f642579c6b935a6cc781505f25c11d
2016-03-24 09:23:11 -07:00
Keun-young Park
99e6b64736 Merge "Moved init and release." into nyc-dev 2016-03-23 20:53:16 +00:00
Jamie Howarth
b35ec7162d 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
2016-03-23 13:43:18 -07:00
Jakub Pawlowski
8d7a02d607 Use handles to identify GATT attributes (2/4)
Bug: 27778668
Change-Id: Iff64153c2b783705fb4408f9911b13fa44af4f84
2016-03-21 20:10:10 -07:00
Jakub Pawlowski
98aa0ddd6c Remove unused methods and callbacks
Bug: 27455533
Change-Id: Id2e265be02dc627e7fc81875c3000262cab2e35f
2016-03-22 02:53:16 +00:00
Ruchi Kandoi
bfa59e7fef Merge "power: Adds a new power hint POWER_HINT_VR_MODE" into nyc-dev 2016-03-21 19:37:50 +00:00
Polina Bondarenko
020fa12eef Merge "Re-worked hardware_properties to thermal HAL." into nyc-dev 2016-03-19 08:43:33 +00:00
Andy Hung
b149109eef Merge "Update audio services for 64 bit compilation" into nyc-dev 2016-03-18 20:23:26 +00:00
Andy Hung
19540e344b Update audio services for 64 bit compilation
Bug: 27479136
Change-Id: I1cb6baf3c507c7004b3245176727be1fd96174df
2016-03-18 10:43:05 -07:00
Andre Eisenbach
cbe2d3a8f4 Bluetooth: Additional status codes for wakelock ops
Add additional status codes to better track wakelock acquisition or
release failures.

Bug: 27721443
Change-Id: I99fb442277dac81df0d84d9a9f7a3340158377a8
2016-03-17 16:46:39 -07:00
Lifu Tang
f0b5ccf0f8 Merge "Removed the comment that refers to deprecated flag" into nyc-dev 2016-03-17 19:23:38 +00:00
Lifu Tang
3fc3bc867e Removed the comment that refers to deprecated flag
Bug: 27633183
Change-Id: I30fe79761305cd1fbac2f3f6cad68dc12eaec660
2016-03-17 10:45:00 -07:00
Glenn Kasten
78b34a944c Merge "Use audio_session_t consistently" into nyc-dev 2016-03-17 14:22:51 +00:00
Polina Bondarenko
25cd7f0fb0 Re-worked hardware_properties to thermal HAL.
Bug: 27424857
Change-Id: Id7212421e499cc33c82e885756d68e89c2317acf
2016-03-17 10:09:24 +01:00
Jamie Howarth
8b61aac596 Add support for all data types to vehicle-hal-tool.
Added support for all data types to set, get, subscribe.

Change-Id: Ided5baa036eefc21d381607b19bd31522cfe95cb
2016-03-15 18:28:41 -07:00
Keun-young Park
51839a6cd1 Merge "vehicle hal update" into nyc-dev 2016-03-15 22:08:29 +00:00
Ruchi Kandoi
403bc14825 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>
2016-03-15 17:41:27 +00:00
Keun-young Park
ab68e37c35 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: 27597338, 27596281
Change-Id: I7a8454b86555270fb2211e5d36b3ee06d350f8ed
2016-03-14 17:00:36 -07:00
Ryan Bavetta
c20606ff0b Merge "Allows triggering stub HAL by sound model by UUID" into nyc-dev 2016-03-14 22:47:24 +00:00
Ryan Bavetta
a8328a37e5 Allows triggering stub HAL by sound model by UUID
BUG: 27604763
Change-Id: I906f6f3c96ae148a7636b5481cb89f83ddb81a03
2016-03-11 22:20:30 -08:00
Eino-Ville Talvala
8508218bbe Merge "Camera3: Add camera device HAL v3.4" into nyc-dev 2016-03-11 23:33:41 +00:00
Steve Paik
6934b3bf04 Merge "Added event handling for INT_VEC2, INT_VEC3" into nyc-dev 2016-03-10 03:04:57 +00:00
Jamie Howarth
a320c56514 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
2016-03-09 18:53:08 -08:00
Glenn Kasten
13091fe19a Use audio_session_t consistently
Bug: 27562099
Change-Id: I608f72515b2aea93c784f0df15fe4af9859aebdf
2016-03-09 15:41:34 -08:00
Eino-Ville Talvala
cd86b0ddcc 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
2016-03-09 14:54:38 -08:00
Lifu Tang
c7a562e515 Merge "Deprecated a flag for mandatary field" into nyc-dev 2016-03-09 21:53:16 +00:00
Lifu Tang
74aef730b5 Deprecated a flag for mandatary field
Change-Id: I5b03da35d8a022d68ba66b676fdd5fc963271a79
2016-03-09 11:21:08 -08:00
Keun-young Park
77761e24f9 GEAR_* rename
- change to GEAR_PARK and GEAR_LOW
- also remove some build warnings

bug: 27549456
Change-Id: I9062c4570afe5cacd6a17f1cb196273a719b0a97
2016-03-08 15:02:44 -08:00
Keun-young Park
db1d588ad5 Merge "Revert "rename to GEAR_PARK"" into nyc-dev 2016-03-08 20:52:50 +00:00
Keun-young Park
5e8f9f511d Revert "rename to GEAR_PARK"
This reverts commit ce1984bae8.

Change-Id: Idec855af374e1faf537148181751b91ef8c9a980
2016-03-08 20:52:36 +00:00