Commit graph

3005 commits

Author SHA1 Message Date
Dan Willemsen
d0c1f170d6 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
2016-02-01 19:33:33 -08:00
Ryan Bavetta
be0c8fdc94 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
2016-02-01 15:26:09 -08:00
Andre Eisenbach
9c2f478c2f Merge "Add get_gatt_db to Bluetooth HAL" am: 94eebcfa77
am: bbcef4de27

* commit 'bbcef4de272ab102852614ab23ab22f152b32424':
  Add get_gatt_db to Bluetooth HAL
2016-01-29 21:13:34 +00:00
Andre Eisenbach
bbcef4de27 Merge "Add get_gatt_db to Bluetooth HAL"
am: 94eebcfa77

* commit '94eebcfa77b9913840490dfdeb94c7de95647d69':
  Add get_gatt_db to Bluetooth HAL
2016-01-29 21:11:35 +00:00
Andre Eisenbach
94eebcfa77 Merge "Add get_gatt_db to Bluetooth HAL" 2016-01-29 21:05:49 +00:00
Jakub Pawlowski
f2e1352d6c 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
2016-01-29 20:13:15 +00:00
Glenn Kasten
b69705bee7 Merge "Remove TimedAudioTrack and associated code" 2016-01-29 00:28:59 +00:00
Shawn Willden
ef01d97967 Merge "Add KM_TAG_ALLOW_WHILE_ON_BODY." am: f704e8a939
am: b9733d9bff

* commit 'b9733d9bff225ae0b16feeb64283b123225af465':
  Add KM_TAG_ALLOW_WHILE_ON_BODY.
2016-01-28 23:28:10 +00:00
Shawn Willden
b9733d9bff Merge "Add KM_TAG_ALLOW_WHILE_ON_BODY."
am: f704e8a939

* commit 'f704e8a939a4bfb85127b31e7226589e9e31b98d':
  Add KM_TAG_ALLOW_WHILE_ON_BODY.
2016-01-28 23:25:42 +00:00
Shawn Willden
f704e8a939 Merge "Add KM_TAG_ALLOW_WHILE_ON_BODY." 2016-01-28 23:20:01 +00:00
Ruben Brunk
e3a89161a2 Merge "Add HAL for VR mode." 2016-01-28 22:36:26 +00:00
Dan Stoza
4e9221bd87 Hardware Composer 2.0
Headers for version 2.0 of the Hardware Composer HAL

Change-Id: Ie5c26a11b20b7e8f8c752ca51d5cbaf2cbaa9a45
2016-01-28 14:16:22 -08:00
Peng Xu
0743a5ceeb 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
2016-01-27 21:20:07 -08:00
Darren Krahn
fda9ba2286 Merge "Add header for new NVRAM HAL." am: 6b09c49633
am: 330ee96ad9

* commit '330ee96ad9ca40f38525dc575b7d4dbe337e7184':
  Add header for new NVRAM HAL.
2016-01-28 04:20:02 +00:00
Ryan Bavetta
7f6eb81259 Merge "Allow Multiple Triggers and Simulate DSP Events" 2016-01-28 03:25:03 +00:00
Ryan Bavetta
4615aad645 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
2016-01-28 03:02:08 +00:00
Peng Xu
ac377defb7 Merge "Fix build caused by "bool connect"" 2016-01-28 02:39:14 +00:00
Peng Xu
e20707ad87 Fix build caused by "bool connect"
Change-Id: Ibc0bc984aebff6ae512c11bfe3cb1d1a18845a78
2016-01-27 18:26:10 -08:00
Darren Krahn
330ee96ad9 Merge "Add header for new NVRAM HAL."
am: 6b09c49633

* commit '6b09c49633d9e86c1bf888e440c8601f04bfa10c':
  Add header for new NVRAM HAL.
2016-01-28 02:11:36 +00:00
Lifu Tang
05f39ba4e4 Merge "Various changes on GPS.h HAL definitions" 2016-01-28 02:02:24 +00:00
Ruben Brunk
2c84f81cf0 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
2016-01-27 17:58:31 -08:00
Darren Krahn
6b09c49633 Merge "Add header for new NVRAM HAL." 2016-01-28 01:39:35 +00:00
Peng Xu
e641ba987a Dynamic sensor related definitions
Defined the dynamic sensor meta data type and UUID of sensor.

Change-Id: I54385bf70c366057d07ea049def1073cd8a35166
2016-01-27 16:44:34 -08:00
Ashutosh Joshi
5cbf2327b1 Merge "Adding new sensor types." 2016-01-27 22:57:42 +00:00
Ruchi Kandoi
4e2d56925d Merge "power: Adds a new power hint POWER_HINT_SUSTAINED_PERFORMANCE" 2016-01-27 21:21:08 +00:00
Marie Janssen
caf5ab6977 Merge "Add arguments to native dumpsys support" am: df4555d18d
am: 83517f7761

* commit '83517f77610fd0d0a50f9c49aa851a4215542a13':
  Add arguments to native dumpsys support
2016-01-27 21:05:11 +00:00
Marie Janssen
83517f7761 Merge "Add arguments to native dumpsys support"
am: df4555d18d

* commit 'df4555d18d1a916de5d938a0d09ae2a078659c8e':
  Add arguments to native dumpsys support
2016-01-27 20:50:54 +00:00
Marie Janssen
df4555d18d Merge "Add arguments to native dumpsys support" 2016-01-27 20:42:08 +00:00
Marie Janssen
32d45dd020 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
2016-01-27 17:49:32 +00:00
Ashutosh Joshi
8c3c46da69 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
2016-01-26 15:57:26 -08:00
Lifu Tang
df0fcf7ec9 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
2016-01-26 15:37:57 -08:00
Marie Janssen
addd3133f3 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)
2016-01-26 20:13:31 +00:00
Polina Bondarenko
d3bb859bc9 Merge "Added log declaration to hardware_properties.h" 2016-01-26 17:51:58 +00:00
Polina Bondarenko
0cd87cf451 Added log declaration to hardware_properties.h
Bug: 22407109
Change-Id: I99dc10b9cea03cc0d70a742c197497e9bcd17d21
2016-01-26 18:45:46 +01:00
Shawn Willden
71ca0109be Add KM_TAG_ALLOW_WHILE_ON_BODY.
Change-Id: I39ca0eee8be46a6acc65e975aad81d2f2c2aa5b8
2016-01-26 07:34:48 -07:00
Polina Bondarenko
1b9cafae1b Merge "Added errno declaration to hardware_properties.h" 2016-01-26 14:16:16 +00:00
Ashutosh Joshi
cb96331ac3 Adding new sensor types.
Adding new sensor types for the following -
     i) Stationay Detection
    ii) Motion Detection
   iii) Heart Beat Detection

Change-Id: I0e0dca011de99ed1dda56cbb3b6381df529a1345
2016-01-26 05:56:42 -08:00
Polina Bondarenko
81b83b3b16 Added errno declaration to hardware_properties.h
Bug: 22407109
Change-Id: I1675916c811fdbec88846042f018df57a4af8963
2016-01-26 14:26:37 +01:00
Polina Bondarenko
39f0c823b3 Merge "Hardware Properties HAL: header file and default implementation" 2016-01-26 12:13:57 +00:00
Ashutosh Joshi
ed021eae5c Adding support for a 6 DOF pose sensor
Adding a six degree of freedom sensor returning device pose.

This pose is comprised of two parts a rotation from an orientaion
pointing due north and zero pitch and roll && a translation from
an initial point of reference.

Change-Id: If9e1d5a421b81e6e388c446a5a1c19e9c08ad067
2016-01-25 14:22:29 -08:00
Glenn Kasten
04c88495bb Remove TimedAudioTrack and associated code
Bug: 8278435
Change-Id: I095c1a4888e645e14d93b0b15fbef4524a831ca1
2016-01-25 13:43:58 -08:00
Keun-young Park
6308b5874a Merge "use only positive range for property key" 2016-01-25 21:05:52 +00:00
Keun-young Park
77d3c395e3 use only positive range for property key
- negative range makes handling it inconvenient in java space where
  there is no unsigned int.

bug: 25183740
Change-Id: If4080201df5f933c0462afe229d876c6d9a8aa2c
2016-01-25 11:37:24 -08:00
Keun-young Park
14f09000f9 add zone_type definition to zoned properties
Change-Id: Id8fbaedd894e0ad4ac4c29b360cc8b16341f3bec
2016-01-25 11:34:31 -08:00
Shawn Willden
1227f460ce Merge "Add keymaster2 HAL." am: 0c5612db38
am: 7b4766882d

* commit '7b4766882d1a11a4b87570e7f0b83c5116a64f07':
  Add keymaster2 HAL.
2016-01-25 17:40:10 +00:00
Shawn Willden
7b4766882d Merge "Add keymaster2 HAL."
am: 0c5612db38

* commit '0c5612db385d359a7caef385fd1815aad2de7a46':
  Add keymaster2 HAL.
2016-01-25 17:37:07 +00:00
Shawn Willden
0c5612db38 Merge "Add keymaster2 HAL." 2016-01-25 17:33:00 +00:00
Polina Bondarenko
1c408b07ed Hardware Properties HAL: header file and default implementation
Added methods on Hardware Properties HAL:
getCpuTemperatures, getGpuTemperatures, getBatteryTemperautres,
getCpuUsages, getFanSpeeds and default/legacy empty implementations
(return empty lists by default).

Bug: 22407109
Change-Id: I3e0e74527cf759cc717ab03ea8e7184da5bea1e6
2016-01-22 17:29:38 +01:00
Shawn Willden
cf30fe17fd Add keymaster2 HAL.
Change-Id: Ibfcda30f33077f61e74701fa026983f9e72e140e
2016-01-21 12:19:31 -07:00
Adam Lesinski
726d830ad8 Merge "Add Bluetooth network traffic accounting to HAL API" am: 87882cc0f2
am: 432245ec7f

* commit '432245ec7f116a5587cb83b38248119fecc370e2':
  Add Bluetooth network traffic accounting to HAL API
2016-01-21 04:48:18 +00:00