Commit graph

2991 commits

Author SHA1 Message Date
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
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