Commit graph

393 commits

Author SHA1 Message Date
Alex Ray
baa47f353a gralloc: add lock_ycbcr method
This method is meant for locking the flexible YCbCr format documented in
the system graphics header.

Change-Id: I98b196bab06f1d05fce725da44760180ce487034
2013-04-09 15:11:45 -07:00
Etienne Le Grand
28f04113f5 Sensor HAL updates
Improve explanation of Batch mode
Put the 4th component of the unit quaternion back in the rotation vector
Modify rotation vector description
Modify definition of uncalibrated sensor event
Remove query()

Change-Id: I7564073fac0e2467bcfca040b259d9d20e2688c5
2013-04-04 15:14:58 -07:00
Ravi Nagarajan
ebb8c1b8f6 Set max RC attribute count to 7
Per spec max RC attributes are 7

Change-Id: Ied4b5ff9487aab32b7e0c824ecaa20b21079c458
2013-04-01 17:28:31 -07:00
Eino-Ville Talvala
6ae9f7049c Merge "Camera3: Documentation additions" into jb-mr2-dev 2013-04-01 16:39:20 +00:00
Eino-Ville Talvala
acbc451e92 Camera3: Documentation additions
- Detailed documentation of the 3A state machines
  (autofocus, autoexposure, auto-whitebalance)
- Add error return value for out-of-sequence device calls
- Spelling fixes

Change-Id: Icc4e1980b1ff058425a42bc665d345070944b173
2013-03-29 17:14:18 -07:00
Jaikumar Ganesh
3e39c4906d Gps geofence.
Make the add / remove / pause / resume asynchronous.

Change-Id: I6d6d254613623b564f1cb6a59742fe000e47ac1e
2013-03-29 11:56:36 -07:00
Igor Murashkin
e1c3ff6641 Merge "camera_common.h: Add STATUS_ENUMERATING enum" into jb-mr2-dev 2013-03-21 23:16:47 +00:00
Igor Murashkin
152b50fda6 camera_common.h: Add STATUS_ENUMERATING enum
Change-Id: I0986d37364a2666d493cb771fa76967aa051ca5d
2013-03-21 16:06:42 -07:00
Zhihai Xu
bf94f90cdc Merge "Initial version of RC HAL for AVRCP 1.3" into jb-mr2-dev 2013-03-21 16:46:44 +00:00
Ravi Nagarajan
482ba78a99 Initial version of RC HAL for AVRCP 1.3
Change-Id: Idbea1294d091cbe0b9ebc3a7a0cad9f0c738e32c
2013-03-20 18:45:13 -07:00
Eino-Ville Talvala
ad186ba61c Merge "Camera: Minor fixes to camera3 HAL interface" into jb-mr2-dev 2013-03-14 19:00:33 +00:00
Eino-Ville Talvala
2f8cf5cb46 Camera: Minor fixes to camera3 HAL interface
- Add explicit status to buffer, to allow simple reporting
  of buffer filling failures.
- Clarify error management wording
- Clarify close() preconditions

Change-Id: I1660103aa1822d194ec0afab44e09554c1ac0782
2013-03-11 14:25:52 -07:00
Alex Ray
aa54f436cd Merge "libhardware: Add camera_info typedef" into jb-mr2-dev 2013-03-08 01:58:30 +00:00
Etienne Le Grand
2e7d3cd8a8 Minor fix in significant motion description
Change-Id: I155181e43750948a6fd6fc246a4e0203cea7c9cb
2013-03-07 12:22:32 -08:00
Etienne Le Grand
435e4a2b04 Merge "Add significant motion description" into jb-mr2-dev 2013-03-07 18:34:08 +00:00
Etienne Le Grand
1461f28f50 Add significant motion description
Change-Id: I56de3f2c12243b3d25cd825b66f7685e674533ff
2013-03-06 17:14:58 -08:00
Eino-Ville Talvala
3ba9dcb180 Merge "Camera: Fix incorrect pointer types" into jb-mr2-dev 2013-03-06 21:28:52 +00:00
Eino-Ville Talvala
3a6e6b4432 Camera: Fix incorrect pointer types
- Array of streams given to configure_streams() must be an array of
  pointers to streams, to allow framework to fulfill stream structure
  lifetime guarantees.

- buffer_handle_t needs extra level of indirection to match HAL1 & 2.

Change-Id: Iee071da39218a748933c3dfa7bccb66fe92c05f1
2013-03-06 13:21:11 -08:00
Alex Ray
9acc74043b libhardware: Add camera_info typedef
Change-Id: I67ce80c886723d4dba7f799b6b135aa7026c2187
2013-03-05 16:19:59 -08:00
Etienne Le Grand
ca8581433b Sensors HAL iterative update for jb-mr2
Specified more precisely what the uncalibrated magnetometer should be
Added uncalibrated sensors event struct
Specified that rotation vector and game rotation vector have to use gyroscopes
Added magnetic field rotation vector
Added accuracy field to rotation vector and magnetometer rotation vector
Added section on comparative importance of batching different sensors
Specified that one-shot sensors must deactivate themselves before sending an event.

Change-Id: Ibc30ce6fc30e698af49a91930bd5a8316b6568b9
2013-03-04 14:59:27 -08:00
Ganesh Ganapathi Batta
fefb334390 Initial version of BLE support for Bluedroid
Change-Id: Iacf3a56943b31c4fd4f4b833ed675a35cbd47104
2013-02-27 18:14:00 -08:00
Jaikumar Ganesh
5824b40278 Add GPS_GEOFENCE_ERROR constants.
Change APIs to return error constants.

Change-Id: I221e94060c1549c7ffc8e05c7ad4802b981a31bf
2013-02-26 09:34:28 -08:00
Alex Ray
8411381778 Merge "camera3: remove redundant hardware error condition" 2013-02-22 21:06:53 +00:00
Jaikumar Ganesh
052a20a854 Add GPS geofencing HAL.
This adds APIs for doing GPS Geofencing in the hardware.

Change-Id: I32564d7620969e6a1cd3c32242b7805d26b7af1e
2013-02-21 17:12:34 -08:00
Jaikumar Ganesh
9f6e4bf901 Merge "Revert "Add GPS geofencing HAL."" 2013-02-21 22:56:20 +00:00
Jaikumar Ganesh
aa24214a12 Revert "Add GPS geofencing HAL."
This reverts commit 86abc8cf18.
2013-02-21 14:55:50 -08:00
Jaikumar Ganesh
eee6ec95a1 Merge "Add GPS geofencing HAL." 2013-02-21 22:42:49 +00:00
Jaikumar Ganesh
86abc8cf18 Add GPS geofencing HAL.
This adds APIs for doing GPS Geofencing in the hardware.

Change-Id: Ia353a0919bfc44d31d152f10e3d20080daffd2e2
2013-02-21 14:01:15 -08:00
Eino-Ville Talvala
8ec5086826 Merge "WIP: Camera HAL module 2.1, device 2.1" 2013-02-19 18:23:55 +00:00
Alex Ray
d5ddbc9f7a camera3: remove redundant hardware error condition
Change-Id: I8cc538f82cf42972cc4d7cb155539222c41b4e0a
2013-02-15 13:47:24 -08:00
Eino-Ville Talvala
d76f8af6d4 WIP: Camera HAL module 2.1, device 2.1
- Support a simple callback from camera HAL module to framework, to
  indicate a change to module configuration or status.

- Add support for per-instance metadata to camera 2 device HAL.

Change-Id: I25699ff096c4f3578b9e54c7e6e60ce2449adc82
2013-02-15 13:44:53 -08:00
Eino-Ville Talvala
7effe0ce84 Camera: Minor cleanup to HAL 3.0 header
Change-Id: I64c61687cbf5850341d9e528c47b7b4dca773546
2013-02-15 12:09:48 -08:00
Eino-Ville Talvala
d2a877536a Camera device HAL 3.0
- High-level behavior is identical to device HAL 2.0
- Interface is cleaned up and simplified greatly

Change-Id: Ia867bbf9484be2256470f4acfab7fc3d47e408f4
2013-02-15 19:47:45 +00:00
Alex Ray
18dff4eb63 Revert "libhardware: Add camera_info typedef"
This reverts commit 71cb21980a.
2013-02-13 17:12:52 -08:00
Alex Ray
c87ae32b27 Merge "libhardware: Add camera_info typedef" 2013-02-13 23:58:41 +00:00
Eric Laurent
a3d76529ac Merge "audio effects: fix link problem with NULL UUID" 2013-02-11 23:51:28 +00:00
Jean-Michel Trivi
2661f346ab Audio policy exposes stream remote activity
Bug 7485803

Change-Id: Ib9ad2338d9e0c5f816de8d56d7b41c3771c0a8c3
2013-02-11 10:17:04 -08:00
Jeff Brown
296cf93d10 Revert "only orientation and geomagnetic field sensors support the "status" field"
This reverts commit fbe985ca9c

Change-Id: I7c65fd3326fe08363b5ed491f6438e541df879d4
2013-02-09 02:46:33 +00:00
Alex Ray
71cb21980a libhardware: Add camera_info typedef
Change-Id: Icfc0b2dc7739313a6266938f0e2b46fa823ba61e
2013-02-07 15:45:49 -08:00
Eric Laurent
099e61508e audio effects: fix link problem with NULL UUID
A special value for NULL effect UUID is declared as const
in audio_effect.h. This prevents several modules including
audio_effect.h to be linked together.

The fix consists in declaring the value as static const.

Change-Id: I86e74dc9da8eaed13a3ad44765abb9cd1e80f316
2013-02-07 11:35:29 -08:00
Mathias Agopian
fbe985ca9c only orientation and geomagnetic field sensors support the "status" field
enforce this in the HAL API.

Change-Id: I54d2fde84a852482a96140f8f1945cc6044e628a
2013-02-06 19:06:57 -08:00
Mathias Agopian
1144bea332 improves sensors HAL documentation
- added a period parameter to batch()
- added drift-estimate to uncalibrated gyro

Change-Id: I9cba8099c8906ba111d401ecbb4341e338b338a8
2013-02-06 14:55:54 -08:00
Mathias Agopian
e3e0a570a8 add support for plane-alpha in HWC
Change-Id: Ied228e689ca892c505fbd811fd2b8579287e4ac6
2013-02-04 20:47:13 -08:00
Mathias Agopian
2f276f5550 renamed sensor PEDOMETER to STEP_DETECTOR
pedometer was confusing.

Change-Id: Ib40c8034e9038f7153299aed4ee33a0a9f1e900e
2013-01-28 17:54:41 -08:00
Jesse Hall
1df68b42ca am c4f18ad3: am af05c912: am a8c06116: Merge "Remove remnants of HWC 0.x"
* commit 'c4f18ad3bfcd9c4d8867ee3b366ed24f13371c47':
  Remove remnants of HWC 0.x
2013-01-14 09:53:43 -08:00
Jesse Hall
af05c912e1 am a8c06116: Merge "Remove remnants of HWC 0.x"
* commit 'a8c061169752cbaf335a35e49568b7fe7d7e83cd':
  Remove remnants of HWC 0.x
2013-01-14 09:49:11 -08:00
Jesse Hall
71b9c1fab9 Remove remnants of HWC 0.x
Change-Id: I85f4b95e8db44998abc07686a554d3e802a6a4a9
2013-01-10 18:17:14 -08:00
Andrew Hsieh
1082c0b54c Fix build
Change-Id: Iaf3bba12e3f34d351890320b25aa340e75c1972c
2012-12-11 20:51:41 -08:00
Mathias Agopian
a455772cb3 sensor HAL major revision
mainly update the documentation, add new sensor types
and add a batch mode.

- TYPE_PEDOMETER, defines a pedometer sensor
- TYPE_SIGNIFICANT_MOTION, defines a sensor that triggers an
  event when the device is moving "enough". This sensor must allow
  the SoC to go into suspend, while it is enabled.
- TYPE_STEP_COUNTER, defines a pedometer but returns a step count
  (and looses precise timestamps, per step).

Change-Id: I3e20ff165851b7cb318f3c6637a6580de156b8fe
2012-12-10 18:45:08 -08:00
Greg Hackmann
d6f7aad8de Fix GRALLOC_USAGE_SW_WRITE flag documentation
Change-Id: Ie553c521290358bf37c6954f65f790162aa43730
Signed-off-by: Greg Hackmann <ghackmann@google.com>
2012-12-07 10:39:11 -08:00