Commit graph

3005 commits

Author SHA1 Message Date
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
Keun-young Park
0c1a3729fc Merge "rename to GEAR_PARK" into nyc-dev 2016-03-08 20:02:42 +00:00
Keun-young Park
ce1984bae8 rename to GEAR_PARK
- from GEAR_PARKING

bug: 27549456
Change-Id: Ifc978c437e989742ad1957633e870ccd1a304db0
2016-03-08 11:53:39 -08:00
Sanket Agarwal
aceade8ed2 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
2016-03-08 10:53:36 -08:00
Keun-young Park
62cebc24e6 Merge "fix missing FLAG in audio_context_flag" into nyc-dev 2016-03-04 02:28:36 +00:00
Keun-young Park
9f376f50a1 fix missing FLAG in audio_context_flag
bug: 25183740
Change-Id: I7b73617e06ad40435f4f6f8952b230703563d192
2016-03-03 17:47:18 -08:00
Greg Kaiser
e78619bb68 context_hub: Fix typo in field name.
Change-Id: I25bb98bfb9ebd0f550db47cef39a08411772c578
2016-03-03 11:40:03 -08:00
Lifu Tang
763e2e592c Merge "Revised and addressed vendors' comments" into nyc-dev 2016-03-03 00:48:37 +00:00
Lifu Tang
1d4183c72f Revised and addressed vendors' comments
Bug: 27314812
Change-Id: If00be994381937a05011d3efea175bd6385c08e6
2016-03-02 15:31:44 -08:00
Steve Paik
11e530f546 Rename vehicle_rvc to vehicle_camera
BUG: 25261672
BUG: 25226538
BUG: 22701467
BUG: 26557463

Change-Id: Ideff9a13d61d7242c2f92212222809c7785970ee
2016-02-29 21:11:06 -08:00
Ryan Bavetta
17908ca83d Merge "Stub HAL now can test abort and fail events" into nyc-dev 2016-03-01 03:59:33 +00:00
Ryan Bavetta
9beb06c383 Stub HAL now can test abort and fail events
BUG:27278692
Change-Id: Ibd03e8a13a6bd3f25b312c94436ff9f8ea2d305a
2016-02-29 18:37:29 -08:00
Keun-young Park
4b7e70962e Merge "vehicle hal update" into nyc-dev 2016-02-26 22:10:56 +00:00
Keun-young Park
fe599a890b 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
2016-02-26 11:50:35 -08:00