OSDN Git Service

android-x86/hardware-libhardware.git
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 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)

8 years agoDO NOT MERGE Add ability to add interop entries dynamically (1/2) am: 0a778c30fd
Andre Eisenbach [Wed, 24 Feb 2016 18:53:42 +0000 (18:53 +0000)]
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)

8 years agoDO NOT MERGE Add ability to add interop entries dynamically (1/2)
Andre Eisenbach [Wed, 24 Feb 2016 18:47:23 +0000 (18:47 +0000)]
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)

8 years agoAdd debug folder for audioserver
Eric Laurent [Fri, 19 Feb 2016 22:41:51 +0000 (14:41 -0800)]
Add debug folder for audioserver

Use /data/misc/audioserver instead of data/misc/media for
audioserver debug.

Bug: 27064332
Change-Id: Ic213ee0354d9ab1ed1980e8c3d07cd239597ad2e

8 years agoDO NOT MERGE Add ability to add interop entries dynamically (1/2)
Andre Eisenbach [Thu, 14 Jan 2016 10:03:36 +0000 (02:03 -0800)]
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 9cacd60df4d3a6cfe5af687177b478bc9855130f)

8 years agoRun network thread on open.
Arunesh Mishra [Sun, 21 Feb 2016 04:52:25 +0000 (20:52 -0800)]
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

8 years agoStub sound trigger hal fix for lock release.
Arunesh Mishra [Sun, 21 Feb 2016 01:34:12 +0000 (17:34 -0800)]
Stub sound trigger hal fix for lock release.

Bug: 27279191
Change-Id: If339732cac782d85dc74dba9f1fb92c5a8d0c40d

8 years agoMerge "Fix 'end' command, initialize next in linked list" into nyc-dev
Ryan Bavetta [Sat, 20 Feb 2016 23:17:15 +0000 (23:17 +0000)]
Merge "Fix 'end' command, initialize next in linked list" into nyc-dev

8 years agoFix 'end' command, initialize next in linked list
Ryan Bavetta [Sat, 20 Feb 2016 05:18:46 +0000 (21:18 -0800)]
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

8 years agoMerge "Finalized GPS=>GNSS changes with documents" into nyc-dev
Lifu Tang [Sat, 20 Feb 2016 04:58:15 +0000 (04:58 +0000)]
Merge "Finalized GPS=>GNSS changes with documents" into nyc-dev

8 years agoFinalized GPS=>GNSS changes with documents
Lifu Tang [Wed, 17 Feb 2016 01:42:13 +0000 (17:42 -0800)]
Finalized GPS=>GNSS changes with documents

Bug: 27098594
Change-Id: Ic9ed0e51604e27b9a6fbd9ef55624fca3e2f132a

8 years agoMinor sound trigger stub hal fixes.
Arunesh Mishra [Sat, 20 Feb 2016 00:20:10 +0000 (16:20 -0800)]
Minor sound trigger stub hal fixes.

Bug: 27227051
Change-Id: I90209689cfb501efc8345e140c985c25103961d7

8 years agoAdd ability to add interop entries dynamically (1/2)
Andre Eisenbach [Thu, 14 Jan 2016 10:03:36 +0000 (02:03 -0800)]
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

8 years agoAdd new callbacks to bt_gatt_client.
Jakub Pawlowski [Wed, 10 Feb 2016 23:31:14 +0000 (15:31 -0800)]
Add new callbacks to bt_gatt_client.

Add services removed and services added callbacks

Change-Id: Id6abeb78207bd761969ee2ffc94f96f71dd20084

8 years agoStub sound trigger HAL changes:
Arunesh Mishra [Tue, 16 Feb 2016 01:48:27 +0000 (17:48 -0800)]
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

8 years agoSensors: MultiHal: Increase xfer buffer size am: 98d5e946ba
Nick Vaccaro [Tue, 16 Feb 2016 20:31:24 +0000 (20:31 +0000)]
Sensors: MultiHal: Increase xfer buffer size am: 98d5e946ba
am: b675803d03

* commit 'b675803d03ed44124c1111d2535ec841da2f3081':
  Sensors: MultiHal: Increase xfer buffer size

8 years agoSensors: MultiHal: Increase xfer buffer size
Nick Vaccaro [Tue, 16 Feb 2016 20:24:33 +0000 (20:24 +0000)]
Sensors: MultiHal: Increase xfer buffer size
am: 98d5e946ba

* commit '98d5e946baa0132eb9e512a38e04c5416d5512c4':
  Sensors: MultiHal: Increase xfer buffer size

8 years agoMerge "Adds sound model update event, adds helper methods" into nyc-dev
Ryan Bavetta [Tue, 16 Feb 2016 00:46:27 +0000 (00:46 +0000)]
Merge "Adds sound model update event, adds helper methods" into nyc-dev

8 years agoAdds sound model update event, adds helper methods
Ryan Bavetta [Mon, 15 Feb 2016 23:51:46 +0000 (15:51 -0800)]
Adds sound model update event, adds helper methods

Change-Id: Ifb03843a51a796e1fdb224d4671a52f84b4fceed

8 years agoMerge "Add defroster fan positions" into nyc-dev
Steve Paik [Fri, 12 Feb 2016 23:02:11 +0000 (23:02 +0000)]
Merge "Add defroster fan positions" into nyc-dev

8 years agoMerge "Audio passthrough: call audio_has_proportional_frames() for IEC61937" into...
Phil Burk [Fri, 12 Feb 2016 22:24:53 +0000 (22:24 +0000)]
Merge "Audio passthrough: call audio_has_proportional_frames() for IEC61937" into nyc-dev

8 years agoAdd defroster fan positions
Steve Paik [Wed, 10 Feb 2016 02:45:58 +0000 (18:45 -0800)]
Add defroster fan positions

BUG: 27097079
Change-Id: I5ed1cb418234e810c09319175b55bfad79ba92ab

8 years agoMerge "change seat zone to left, center, right rather than 1, 2, 3" into nyc-dev
Keun-young Park [Fri, 12 Feb 2016 17:08:48 +0000 (17:08 +0000)]
Merge "change seat zone to left, center, right rather than 1, 2, 3" into nyc-dev

8 years agoMerge "Fix module name for VR HAL." into nyc-dev
Ruben Brunk [Fri, 12 Feb 2016 04:38:14 +0000 (04:38 +0000)]
Merge "Fix module name for VR HAL." into nyc-dev

8 years agochange seat zone to left, center, right rather than 1, 2, 3
Keun-young Park [Fri, 12 Feb 2016 00:50:42 +0000 (16:50 -0800)]
change seat zone to left, center, right rather than 1, 2, 3

- remove ambiguity

bug: 25183740
Change-Id: I38800d4f267cb15b672cd9296186a794af9062b6

8 years agoFix module name for VR HAL.
Ruben Brunk [Thu, 11 Feb 2016 20:15:33 +0000 (12:15 -0800)]
Fix module name for VR HAL.

Change-Id: If6f5995755c7c30a5e9823c6a06e94dec7184240

8 years agoMerge "Optimized the memory consumption and renamed PRN" into nyc-dev
Lifu Tang [Thu, 11 Feb 2016 20:10:10 +0000 (20:10 +0000)]
Merge "Optimized the memory consumption and renamed PRN" into nyc-dev

8 years agoAudio passthrough: call audio_has_proportional_frames() for IEC61937
Phil Burk [Tue, 19 Jan 2016 20:21:55 +0000 (12:21 -0800)]
Audio passthrough: call audio_has_proportional_frames() for IEC61937

Bug: 24541671
Bug: 20891646
Bug: 26373761
Change-Id: I44351cfb7cfae16e6b3500add727a2c41b0f4e81
Signed-off-by: Phil Burk <philburk@google.com>
8 years agoOptimized the memory consumption and renamed PRN
Lifu Tang [Mon, 8 Feb 2016 02:09:30 +0000 (18:09 -0800)]
Optimized the memory consumption and renamed PRN

Bug: 27058251
Change-Id: I0654fa18796eabc4c1e0b8caa9374998923292f4

8 years agoMerge "Adds GenericSoundModel Event Support to Stub HAL" into nyc-dev
Ryan Bavetta [Thu, 11 Feb 2016 03:35:38 +0000 (03:35 +0000)]
Merge "Adds GenericSoundModel Event Support to Stub HAL" into nyc-dev

8 years agoMerge "Add KM_TAG_ATTESTATION_CHALLENGE." into nyc-dev
Shawn Willden [Thu, 11 Feb 2016 01:41:08 +0000 (01:41 +0000)]
Merge "Add KM_TAG_ATTESTATION_CHALLENGE." into nyc-dev

8 years agoAdds GenericSoundModel Event Support to Stub HAL
Ryan Bavetta [Wed, 10 Feb 2016 05:20:51 +0000 (21:20 -0800)]
Adds GenericSoundModel Event Support to Stub HAL

Change-Id: I2a021cbd12a4e17954dcf84528c80731054f2fd3

8 years agoAdd AudioRecord timestamps
Andy Hung [Sat, 16 Jan 2016 01:42:36 +0000 (17:42 -0800)]
Add AudioRecord timestamps

Bug: 13569372
Bug: 22886739
Change-Id: Ieca6026254123b46ef1c8a180adb72c347587239

8 years agoadd system sound audio context
Keun-young Park [Wed, 10 Feb 2016 03:50:45 +0000 (19:50 -0800)]
add system sound audio context

bug: 27111558
Change-Id: Ifa08fc269afd021bae5239fc1e06aa9a7e75ecbc

8 years agoSensors: MultiHal: Increase xfer buffer size
Nick Vaccaro [Tue, 9 Feb 2016 22:56:17 +0000 (14:56 -0800)]
Sensors: MultiHal: Increase xfer buffer size

Increased the size of the sensor event transfer queue from 20 to
36 sensor events.  This size now matches Sensor Services buffer size
that it passes to poll() for reading events and will allow the
multihal to transfer the maximum events possible per poll cycle.

Change-Id: I55459ea0a70b9da848d3d3d43590050d71c53e28

8 years agoMerge "add more properties/zones to vehicle hal" into nyc-dev
Keun-young Park [Tue, 9 Feb 2016 03:23:08 +0000 (03:23 +0000)]
Merge "add more properties/zones to vehicle hal" into nyc-dev

8 years agoadd more properties/zones to vehicle hal
Keun-young Park [Tue, 9 Feb 2016 02:15:55 +0000 (18:15 -0800)]
add more properties/zones to vehicle hal

- add door and mirror zone
- add HW_KEY_INPUT for H/W keys
- add CABIN_TEMPERATURE
- add GAIN_TRANSIENT_NO_DUCK for system sound where no ducking is
  necessary

bug: 2518374026961808
Change-Id: I4c9fa482d3bf84556258b0d0056ae12a6067ad1f

8 years agoAdd RVC hal
Steve Paik [Mon, 25 Jan 2016 19:30:16 +0000 (11:30 -0800)]
Add RVC hal

Change-Id: Ie7a2d6517da3dc81a8f45c2641d22626af9bfd02

8 years agoAdd KM_TAG_ATTESTATION_CHALLENGE.
Shawn Willden [Wed, 3 Feb 2016 14:39:40 +0000 (07:39 -0700)]
Add KM_TAG_ATTESTATION_CHALLENGE.

Bug: 22914603
Change-Id: Ibf1341f47ab3cecd4a8e3099b819c5cac0d81b17

8 years agoMerge "add zone_type definition to zoned properties"
Keun-young Park [Fri, 5 Feb 2016 18:46:09 +0000 (18:46 +0000)]
Merge "add zone_type definition to zoned properties"

8 years agoMerge "nvram: Add const to input-only arrays." am: f8521f8b3c
Darren Krahn [Fri, 5 Feb 2016 18:22:33 +0000 (18:22 +0000)]
Merge "nvram: Add const to input-only arrays." am: f8521f8b3c
am: 4da49c724d

* commit '4da49c724d54bbde0ec6de6f74a6456965ea756a':
  nvram: Add const to input-only arrays.

8 years agoMerge "nvram: Add const to input-only arrays."
Darren Krahn [Fri, 5 Feb 2016 18:20:33 +0000 (18:20 +0000)]
Merge "nvram: Add const to input-only arrays."
am: f8521f8b3c

* commit 'f8521f8b3c74a3a1221faafe33bd708b0a1fdfe8':
  nvram: Add const to input-only arrays.

8 years agoMerge "nvram: Add const to input-only arrays."
Darren Krahn [Fri, 5 Feb 2016 18:14:03 +0000 (18:14 +0000)]
Merge "nvram: Add const to input-only arrays."

8 years agocontexthub_hal: fix comment
Dmitry Grinberg [Fri, 5 Feb 2016 00:43:41 +0000 (16:43 -0800)]
contexthub_hal: fix comment

Change-Id: I98c88fce7414145a493778ca349438fd0ab36b2b

8 years agonvram: Add const to input-only arrays.
Darren Krahn [Thu, 4 Feb 2016 21:57:27 +0000 (13:57 -0800)]
nvram: Add const to input-only arrays.

BUG=24397987

Change-Id: I534a8fc978e10e1277cb0c87b5942d182f7c2a79

8 years agoMerge "Hardware Composer 2.0"
Dan Stoza [Tue, 2 Feb 2016 17:34:47 +0000 (17:34 +0000)]
Merge "Hardware Composer 2.0"

8 years agoMerge "Remove header from LOCAL_SRC_FILES" am: 5cfc02e4b1
Dan Willemsen [Tue, 2 Feb 2016 09:13:28 +0000 (09:13 +0000)]
Merge "Remove header from LOCAL_SRC_FILES" am: 5cfc02e4b1
am: dbb963eff1

* commit 'dbb963eff1ae2990f68a085dfb713dd5655efc68':
  Remove header from LOCAL_SRC_FILES

8 years agoMerge "Remove header from LOCAL_SRC_FILES"
Dan Willemsen [Tue, 2 Feb 2016 04:40:34 +0000 (04:40 +0000)]
Merge "Remove header from LOCAL_SRC_FILES"
am: 5cfc02e4b1

* commit '5cfc02e4b128296070a82f8e6ee4a83af3c9965b':
  Remove header from LOCAL_SRC_FILES

8 years agoMerge "Remove header from LOCAL_SRC_FILES"
Dan Willemsen [Tue, 2 Feb 2016 04:35:05 +0000 (04:35 +0000)]
Merge "Remove header from LOCAL_SRC_FILES"

8 years agoRemove header from LOCAL_SRC_FILES
Dan Willemsen [Tue, 2 Feb 2016 03:31:13 +0000 (19:31 -0800)]
Remove header from LOCAL_SRC_FILES

The build system does not use headers in LOCAL_SRC_FILES. To prevent
typos, it's now a warning to add something to LOCAL_SRC_FILES that
is not used.

Change-Id: Ieb6c6d383c04005077043d04f1b4985964ef0341

8 years agoFixs for soundtrigger stub HAL
Ryan Bavetta [Mon, 1 Feb 2016 23:17:12 +0000 (15:17 -0800)]
Fixs for soundtrigger stub HAL

Also renames re_context to model_context, and
adds missing methods for expanded sound_trigger
operation including
sound_trigger_open_for_streaming
sound_trigger_read_samples
sound_trigger_close_for_streaming

Change-Id: I30e8eebf9c349ffae3c636277ffd0ab6805a324e

8 years agoMerge "Add get_gatt_db to Bluetooth HAL" am: 94eebcfa77
Andre Eisenbach [Fri, 29 Jan 2016 21:13:34 +0000 (21:13 +0000)]
Merge "Add get_gatt_db to Bluetooth HAL" am: 94eebcfa77
am: bbcef4de27

* commit 'bbcef4de272ab102852614ab23ab22f152b32424':
  Add get_gatt_db to Bluetooth HAL

8 years agoMerge "Add get_gatt_db to Bluetooth HAL"
Andre Eisenbach [Fri, 29 Jan 2016 21:11:35 +0000 (21:11 +0000)]
Merge "Add get_gatt_db to Bluetooth HAL"
am: 94eebcfa77

* commit '94eebcfa77b9913840490dfdeb94c7de95647d69':
  Add get_gatt_db to Bluetooth HAL

8 years agoMerge "Add get_gatt_db to Bluetooth HAL"
Andre Eisenbach [Fri, 29 Jan 2016 21:05:49 +0000 (21:05 +0000)]
Merge "Add get_gatt_db to Bluetooth HAL"

8 years agoAdd get_gatt_db to Bluetooth HAL
Jakub Pawlowski [Fri, 22 Jan 2016 07:40:51 +0000 (23:40 -0800)]
Add get_gatt_db to Bluetooth HAL

This patch adds new method, get_gatt_db to bluetooth HAL.
It can be used to grab whole GATT database in one request.
It will trigger get_gatt_db_callback, which is also part of
this patch.

Change-Id: I1a931f126db56e7a29537f3bca9cddff3dd27dc6

8 years agoMerge "Remove TimedAudioTrack and associated code"
Glenn Kasten [Fri, 29 Jan 2016 00:28:59 +0000 (00:28 +0000)]
Merge "Remove TimedAudioTrack and associated code"

8 years agoMerge "Add KM_TAG_ALLOW_WHILE_ON_BODY." am: f704e8a939
Shawn Willden [Thu, 28 Jan 2016 23:28:10 +0000 (23:28 +0000)]
Merge "Add KM_TAG_ALLOW_WHILE_ON_BODY." am: f704e8a939
am: b9733d9bff

* commit 'b9733d9bff225ae0b16feeb64283b123225af465':
  Add KM_TAG_ALLOW_WHILE_ON_BODY.

8 years agoMerge "Add KM_TAG_ALLOW_WHILE_ON_BODY."
Shawn Willden [Thu, 28 Jan 2016 23:25:42 +0000 (23:25 +0000)]
Merge "Add KM_TAG_ALLOW_WHILE_ON_BODY."
am: f704e8a939

* commit 'f704e8a939a4bfb85127b31e7226589e9e31b98d':
  Add KM_TAG_ALLOW_WHILE_ON_BODY.

8 years agoMerge "Add KM_TAG_ALLOW_WHILE_ON_BODY."
Shawn Willden [Thu, 28 Jan 2016 23:20:01 +0000 (23:20 +0000)]
Merge "Add KM_TAG_ALLOW_WHILE_ON_BODY."

8 years agoMerge "Add HAL for VR mode."
Ruben Brunk [Thu, 28 Jan 2016 22:36:26 +0000 (22:36 +0000)]
Merge "Add HAL for VR mode."

8 years agoHardware Composer 2.0
Dan Stoza [Wed, 2 Sep 2015 22:43:39 +0000 (15:43 -0700)]
Hardware Composer 2.0

Headers for version 2.0 of the Hardware Composer HAL

Change-Id: Ie5c26a11b20b7e8f8c752ca51d5cbaf2cbaa9a45

8 years agoImplementation of sensor additional info report
Peng Xu [Fri, 22 Jan 2016 01:30:02 +0000 (17:30 -0800)]
Implementation of sensor additional info report

This implements a mechanism for sensor hardware/HAL to deliver additional information beside sensor
readings to application. It includes internal temperature reading, untracked delay of sample,
location and pose of sensor device placement in phone frame, etc. This is also a very expandable
frame to account for future need.

Change-Id: I9463930ad1eaac2d9b506ebaabd19bc092604e8f

8 years agoMerge "Add header for new NVRAM HAL." am: 6b09c49633
Darren Krahn [Thu, 28 Jan 2016 04:20:02 +0000 (04:20 +0000)]
Merge "Add header for new NVRAM HAL." am: 6b09c49633
am: 330ee96ad9

* commit '330ee96ad9ca40f38525dc575b7d4dbe337e7184':
  Add header for new NVRAM HAL.

8 years agoMerge "Allow Multiple Triggers and Simulate DSP Events"
Ryan Bavetta [Thu, 28 Jan 2016 03:25:03 +0000 (03:25 +0000)]
Merge "Allow Multiple Triggers and Simulate DSP Events"

8 years agoAllow Multiple Triggers and Simulate DSP Events
Ryan Bavetta [Thu, 28 Jan 2016 00:12:04 +0000 (16:12 -0800)]
Allow Multiple Triggers and Simulate DSP Events

Triggers can be sent via socket connection from an app
or from the command line.

BUG: 22860713
Change-Id: I7ba8fa50286be2d08f2699e601e7c76138cc4831

8 years agoMerge "Fix build caused by "bool connect""
Peng Xu [Thu, 28 Jan 2016 02:39:14 +0000 (02:39 +0000)]
Merge "Fix build caused by "bool connect""

8 years agoFix build caused by "bool connect"
Peng Xu [Thu, 28 Jan 2016 02:26:10 +0000 (18:26 -0800)]
Fix build caused by "bool connect"

Change-Id: Ibc0bc984aebff6ae512c11bfe3cb1d1a18845a78

8 years agoMerge "Add header for new NVRAM HAL."
Darren Krahn [Thu, 28 Jan 2016 02:11:36 +0000 (02:11 +0000)]
Merge "Add header for new NVRAM HAL."
am: 6b09c49633

* commit '6b09c49633d9e86c1bf888e440c8601f04bfa10c':
  Add header for new NVRAM HAL.

8 years agoMerge "Various changes on GPS.h HAL definitions"
Lifu Tang [Thu, 28 Jan 2016 02:02:24 +0000 (02:02 +0000)]
Merge "Various changes on GPS.h HAL definitions"

8 years agoAdd HAL for VR mode.
Ruben Brunk [Tue, 26 Jan 2016 07:45:53 +0000 (23:45 -0800)]
Add HAL for VR mode.

- Provide HAL for vendors to turn on VR-specific device performance
  settings when we enter VR mode in VrManagerService.

Bug: 22855417
Change-Id: I3dee920818eb0988452bf5c25d1a31f11fde7339

8 years agoMerge "Add header for new NVRAM HAL."
Darren Krahn [Thu, 28 Jan 2016 01:39:35 +0000 (01:39 +0000)]
Merge "Add header for new NVRAM HAL."

8 years agoDynamic sensor related definitions
Peng Xu [Wed, 20 Jan 2016 08:27:21 +0000 (00:27 -0800)]
Dynamic sensor related definitions

Defined the dynamic sensor meta data type and UUID of sensor.

Change-Id: I54385bf70c366057d07ea049def1073cd8a35166

8 years agoMerge "Adding new sensor types."
Ashutosh Joshi [Wed, 27 Jan 2016 22:57:42 +0000 (22:57 +0000)]
Merge "Adding new sensor types."

8 years agoMerge "power: Adds a new power hint POWER_HINT_SUSTAINED_PERFORMANCE"
Ruchi Kandoi [Wed, 27 Jan 2016 21:21:08 +0000 (21:21 +0000)]
Merge "power: Adds a new power hint POWER_HINT_SUSTAINED_PERFORMANCE"

8 years agoMerge "Add arguments to native dumpsys support" am: df4555d18d
Marie Janssen [Wed, 27 Jan 2016 21:05:11 +0000 (21:05 +0000)]
Merge "Add arguments to native dumpsys support" am: df4555d18d
am: 83517f7761

* commit '83517f77610fd0d0a50f9c49aa851a4215542a13':
  Add arguments to native dumpsys support

8 years agoMerge "Add arguments to native dumpsys support"
Marie Janssen [Wed, 27 Jan 2016 20:50:54 +0000 (20:50 +0000)]
Merge "Add arguments to native dumpsys support"
am: df4555d18d

* commit 'df4555d18d1a916de5d938a0d09ae2a078659c8e':
  Add arguments to native dumpsys support

8 years agoMerge "Add arguments to native dumpsys support"
Marie Janssen [Wed, 27 Jan 2016 20:42:08 +0000 (20:42 +0000)]
Merge "Add arguments to native dumpsys support"

8 years agoAdd arguments to native dumpsys support
Marie Janssen [Fri, 8 Jan 2016 19:16:29 +0000 (11:16 -0800)]
Add arguments to native dumpsys support

Arguments are passed through in order to support metrics logging and
future support for other dumpsys support in the native daemon.

Change-Id: Icaa75b9f36cca7e2dd2ceb5f94b27dec657d34e4

8 years agoContext hub HAL
Ashutosh Joshi [Sat, 9 Jan 2016 00:09:11 +0000 (16:09 -0800)]
Context hub HAL

Adding a new HAL to support Context hubs on devices.
A context hubs is a low power compute domain with access
to sensors and the potential to download code on the device.

Change-Id: Id2f8d6a0ac9bbfe18a64432c867a8869c0db91fe

8 years agoVarious changes on GPS.h HAL definitions
Lifu Tang [Tue, 27 Oct 2015 21:58:25 +0000 (14:58 -0700)]
Various changes on GPS.h HAL definitions

- Support for all GnssSvInfo
- Support for more than 32 satellites
- CellID support for LTE
- Mandatory support for Pseudoranges
- New field in GpsClock
- New callback to report GPS hardware version
- Moved deprecated/retired structs into separate file

Change-Id: I114aa3f651998c17c7222575d148595cc303b6f4

8 years agoAdd arguments to native dumpsys support
Marie Janssen [Fri, 8 Jan 2016 19:16:29 +0000 (11:16 -0800)]
Add arguments to native dumpsys support

Arguments are passed through in order to support metrics logging and
future support for other dumpsys support in the native daemon.

Change-Id: Icaa75b9f36cca7e2dd2ceb5f94b27dec657d34e4
(cherry picked from commit 4236525865b119af9d2e2f5a87ac21c91fc90333)

8 years agoMerge "Added log declaration to hardware_properties.h"
Polina Bondarenko [Tue, 26 Jan 2016 17:51:58 +0000 (17:51 +0000)]
Merge "Added log declaration to hardware_properties.h"

8 years agoAdded log declaration to hardware_properties.h
Polina Bondarenko [Tue, 26 Jan 2016 16:31:39 +0000 (17:31 +0100)]
Added log declaration to hardware_properties.h

Bug: 22407109
Change-Id: I99dc10b9cea03cc0d70a742c197497e9bcd17d21

8 years agoAdd KM_TAG_ALLOW_WHILE_ON_BODY.
Shawn Willden [Tue, 26 Jan 2016 14:00:27 +0000 (07:00 -0700)]
Add KM_TAG_ALLOW_WHILE_ON_BODY.

Change-Id: I39ca0eee8be46a6acc65e975aad81d2f2c2aa5b8

8 years agoMerge "Added errno declaration to hardware_properties.h"
Polina Bondarenko [Tue, 26 Jan 2016 14:16:16 +0000 (14:16 +0000)]
Merge "Added errno declaration to hardware_properties.h"

8 years agoAdding new sensor types.
Ashutosh Joshi [Tue, 26 Jan 2016 02:48:57 +0000 (18:48 -0800)]
Adding new sensor types.

Adding new sensor types for the following -
     i) Stationay Detection
    ii) Motion Detection
   iii) Heart Beat Detection

Change-Id: I0e0dca011de99ed1dda56cbb3b6381df529a1345

8 years agoAdded errno declaration to hardware_properties.h
Polina Bondarenko [Tue, 26 Jan 2016 13:26:37 +0000 (14:26 +0100)]
Added errno declaration to hardware_properties.h

Bug: 22407109
Change-Id: I1675916c811fdbec88846042f018df57a4af8963

8 years agoMerge "Hardware Properties HAL: header file and default implementation"
Polina Bondarenko [Tue, 26 Jan 2016 12:13:57 +0000 (12:13 +0000)]
Merge "Hardware Properties HAL: header file and default implementation"