Commit graph

2883 commits

Author SHA1 Message Date
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
Eric Laurent
de8b7ab38b Merge "Add debug folder for audioserver" into nyc-dev 2016-02-26 01:19:20 +00:00
Andre Eisenbach
896124d295 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)
2016-02-24 19:02:58 +00:00
Andre Eisenbach
4b29fd8b03 DO NOT MERGE Add ability to add interop entries dynamically (1/2) am: 0a778c30fd
am: edbcc9a862

* commit 'edbcc9a862771e1ce78077e744119011ec58a92b':
  DO NOT MERGE Add ability to add interop entries dynamically (1/2)
2016-02-24 18:53:42 +00:00
Andre Eisenbach
edbcc9a862 DO NOT MERGE Add ability to add interop entries dynamically (1/2)
am: 0a778c30fd

* commit '0a778c30fd5625d6f584b71a636511621653a23c':
  DO NOT MERGE Add ability to add interop entries dynamically (1/2)
2016-02-24 18:47:23 +00:00
Eric Laurent
854a10af10 Add debug folder for audioserver
Use /data/misc/audioserver instead of data/misc/media for
audioserver debug.

Bug: 27064332
Change-Id: Ic213ee0354d9ab1ed1980e8c3d07cd239597ad2e
2016-02-24 00:27:46 +00:00
Andre Eisenbach
0a778c30fd DO NOT MERGE Add ability to add interop entries dynamically (1/2)
Add ability and interface for adding dynamic entries to the interop
workaround database.

Bug: 26548845
Change-Id: I17f8cbdf1e63c316aa52903be7ec526c9b1376bb
(cherry picked from commit 9cacd60df4)
2016-02-23 01:14:34 -08:00
Arunesh Mishra
d0535ae18c Run network thread on open.
This allows us to query the HAL state even when a model is not started or
after stop.

Note: Thread does not terminate on stdev->close().

Bug: 27279191
Change-Id: I6540d501c17a77bdb5cfa5528837af7bfd3ace71
2016-02-21 16:24:15 -08:00
Arunesh Mishra
e1df8138dc Stub sound trigger hal fix for lock release.
Bug: 27279191
Change-Id: If339732cac782d85dc74dba9f1fb92c5a8d0c40d
2016-02-20 17:34:12 -08:00
Ryan Bavetta
d9221cb821 Merge "Fix 'end' command, initialize next in linked list" into nyc-dev 2016-02-20 23:17:15 +00:00
Ryan Bavetta
f9f0871158 Fix 'end' command, initialize next in linked list
Thread was not ending properly because only the first
char of the end message was being sent.

The next pointer in the linked list was not being
initialized, causing it to link to bad data values.

BUG:27276657
BUG:22860713

Change-Id: Idfdf300d9ab45f9bf61eba191bb1bb0767e1cb5d
2016-02-19 21:38:44 -08:00
Lifu Tang
cb357adbf6 Merge "Finalized GPS=>GNSS changes with documents" into nyc-dev 2016-02-20 04:58:16 +00:00
Lifu Tang
a1ca574d10 Finalized GPS=>GNSS changes with documents
Bug: 27098594
Change-Id: Ic9ed0e51604e27b9a6fbd9ef55624fca3e2f132a
2016-02-19 17:23:03 -08:00
Arunesh Mishra
7db0a7a447 Minor sound trigger stub hal fixes.
Bug: 27227051
Change-Id: I90209689cfb501efc8345e140c985c25103961d7
2016-02-19 16:20:10 -08:00
Andre Eisenbach
b245a8237a Add ability to add interop entries dynamically (1/2)
Add ability and interface for adding dynamic entries to the interop
workaround database.

Bug: 26548845
Change-Id: I17f8cbdf1e63c316aa52903be7ec526c9b1376bb
2016-02-18 10:49:54 -08:00
Jakub Pawlowski
726a16532a Add new callbacks to bt_gatt_client.
Add services removed and services added callbacks

Change-Id: Id6abeb78207bd761969ee2ffc94f96f71dd20084
2016-02-18 10:49:49 -08:00
Arunesh Mishra
f1d59fc9d0 Stub sound trigger HAL changes:
- Added a simple command parsing ability for text commands.
- Ability to output text via the socket interface.

Bug: 27227051

Change-Id: I9ea06897d69cf55b58aba5cc30f1c32773b3da00
2016-02-17 16:06:11 -08:00
Nick Vaccaro
940bd08b73 Sensors: MultiHal: Increase xfer buffer size am: 98d5e946ba
am: b675803d03

* commit 'b675803d03ed44124c1111d2535ec841da2f3081':
  Sensors: MultiHal: Increase xfer buffer size
2016-02-16 20:31:24 +00:00
Nick Vaccaro
b675803d03 Sensors: MultiHal: Increase xfer buffer size
am: 98d5e946ba

* commit '98d5e946baa0132eb9e512a38e04c5416d5512c4':
  Sensors: MultiHal: Increase xfer buffer size
2016-02-16 20:24:33 +00:00
Ryan Bavetta
c9f0652324 Merge "Adds sound model update event, adds helper methods" into nyc-dev 2016-02-16 00:46:27 +00:00
Ryan Bavetta
c2bdc551f0 Adds sound model update event, adds helper methods
Change-Id: Ifb03843a51a796e1fdb224d4671a52f84b4fceed
2016-02-15 15:51:46 -08:00
Steve Paik
5bcf6d6ace Merge "Add defroster fan positions" into nyc-dev 2016-02-12 23:02:12 +00:00
Phil Burk
e149a11365 Merge "Audio passthrough: call audio_has_proportional_frames() for IEC61937" into nyc-dev 2016-02-12 22:24:54 +00:00