Commit graph

718 commits

Author SHA1 Message Date
Richard Fitzgerald
f37f187bba Add defines and support for audio offload
- Add non-blocking write support, set_callback() function
- Add pause, resume, flush, drain functions to audio output stream
- Add audio parameter defines for compressed audio metadata
- Extend audio_config_t to include an audio_offload_info_t field
- Add is_offload_supported() function to test whether there is
    hardware decode support for a given compressed audio format
- Change audio_stream_frame_size() to handle offloaded streams.
    For an offloaded stream the size is always counted in bytes
    (frame size == 1) and the number of channels is irrelevant.

Change-Id: I5b82c3fdcfa1456502d0042888f166bf02d8d54b
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Eric Laurent <elaurent@google.com>
2013-06-27 17:16:24 -07:00
Iliyan Malchev
12dc899cb6 am 1b8e21aa: am 1a70c0fd: libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODE
* commit '1b8e21aa2d4a48c3c0777929e723817995881f70':
  libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODE
2013-06-25 19:02:03 -07:00
Iliyan Malchev
1a70c0fd39 libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODE
Bug: 9581070
Change-Id: Ifb47ed0d4fc201732ca6593d41317ec356ead2ba
Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-06-25 18:55:59 -07:00
Jaikumar Ganesh
e61cdea04b Merge "Changes to fused location hardware hal." 2013-06-26 01:28:35 +00:00
Mekala Natarajan
d3d8cd25e9 am a2ce3e82: am 501fc0f1: Power: Add multimedia hints
* commit 'a2ce3e82d5b3667683f3b413e9896fa30b2a9e11':
  Power: Add multimedia hints
2013-06-25 17:02:04 -07:00
Kevin Tang
d2c966fa2b Changes to fused location hardware hal.
1. Added some comments.
2. Added device context information.

Change-Id: I0db21778b60339c92b4951aee4facb1148020198
2013-06-25 14:27:46 -07:00
Alex Ray
5f2fd854b3 camera3: Add flush
Flush is used to quiesce a camera device as quickly as possible, which
can be used to deal with a pathological client (requests a frame
duration of hours then dying) as well as speed up stream configuration
changes when the outstanding requests data isn't required.

Change-Id: Ie822efae8c705bd64d63c0eab7e9c291ecb570ef
2013-06-24 14:01:00 -07:00
Alex Ray
2ce219a746 camera3: Pass consumer information in configure_streams
HALs seem to need to know the gralloc usage flags of the opposite
endpoint (producer/consumer) of a stream at configure time.
Instead of adding another call to pass stream information, we just
pass the usage flags in the existing usage field.

Change-Id: I745baf2c4dd9123273d811b9bd52ae68c854b70c
2013-06-20 18:28:57 -07:00
Mekala Natarajan
501fc0f182 Power: Add multimedia hints
Add hints for video encode and decode use cases. These
hints are sent when the relevant use case starts and ends.
Clients can also send metadata along with the hint to provide
context to the power HAL so that it can make more informed
decisions about how to tweak system-level parameters.

Bug: 9325608
Change-Id: I4731acbe50a7401a95ec9231c4e1a4795098fcd4
Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-06-20 09:54:28 -07:00
Jaikumar Ganesh
b951dee9e6 Fused Location Provider HAL interface.
Fused location allows for fusion of information from
multiple source like GPS, Wifi, Cell, Bluetooth, Sensors etc
to get a location. Doing this in hardware is useful because
it can be done completely in the baseband without waking up the AP.

Change-Id: Ib007839ff51b7e87e8d62f0ff9fea1c4a474b1d1
2013-06-11 11:45:04 -07:00
Zhihai Xu
a17b75bb17 Add debug menu to enable btsnoop
bug: 8059358
Change-Id: Ib28ffe12d9b42726a0c12ecb144624862745e9ca
2013-06-10 20:23:45 -07:00
Eino-Ville Talvala
73dba5e043 Camera3: Document missing AF transitions.
Bug: 9075581

Change-Id: I7688cee904987f404b4ab7ff0e5212182f85a271
2013-05-21 16:31:27 -07:00
Jesse Hall
4ed61b22e0 Merge "Move virtual displays out of HWC 1.2, mark experimental" into jb-mr2-dev 2013-05-08 20:53:34 +00:00
Eino-Ville Talvala
c6ff6c40dd Merge "gralloc: Clarify alloc stride for HAL_PIXEL_FORMAT_YCbCr_420_888" into jb-mr2-dev 2013-05-08 16:55:15 +00:00
Jesse Hall
380f45dade Move virtual displays out of HWC 1.2, mark experimental
Bug: 8384764
Change-Id: I388ff3f46893b395e5c4187242f51ad7bb58da24
2013-05-07 12:03:27 -07:00
Eino-Ville Talvala
6efab252d5 gralloc: Clarify alloc stride for HAL_PIXEL_FORMAT_YCbCr_420_888
Bug: 8734880
Change-Id: I0cca7fd1965e1547991be06b6b18d6302dbe8670
2013-05-06 14:05:05 -07:00
Eino-Ville Talvala
b605944f0a Camera3: Document cropping behavior
Redefined somewhat from HAL2, to be simpler for everyone.

Bug: 8756080
Change-Id: I6b7608c74c06cc6a0bfe07997444e3b07c3edb10
2013-05-01 15:23:21 -07:00
Alex Ray
06e3bf2566 gralloc: add lock_ycbcr method
This method is meant for locking the flexible YCbCr format documented in
the system graphics header.

Bug: 8734880
Change-Id: I45ae8937dcc16d0ae8a204a136121f78b4cc51e0
2013-04-26 13:51:10 -07:00
Eino-Ville Talvala
75f0d0ec0d Merge "Camera3: Clarify SHUTTER timing, ownership of request contents" into jb-mr2-dev 2013-04-25 19:28:27 +00:00
Etienne Le Grand
7a813e8442 Modify sign of bias in uncalibrated magnetometer
bug 8632692
Change-Id: If92f0030e53d41a7d0bc3c3b003f5eb939123945
2013-04-23 14:32:22 -07:00
Eino-Ville Talvala
71af102b48 Camera3: Clarify SHUTTER timing, ownership of request contents
- Clarify ownership of fence file descriptors, including in case of
  errors.

- Make it clear notify SHUTTER must be called before the first
  process_capture_result.

Change-Id: I644054a7a055c2e8a6a164c5ab6439ef2a0d1df1
2013-04-22 14:19:21 -07:00
Alex Ray
a7c6642913 Revert "gralloc: add lock_ycbcr method"
This reverts commit baa47f353a.
2013-04-18 15:02:57 -07:00
Alex Ray
c82a0e7792 Merge "gralloc: add lock_ycbcr method" into jb-mr2-dev 2013-04-18 20:39:42 +00:00
Andre Eisenbach
3331718e7a LE (1/3): Add application ID to connection callback
Bug: 8589393
Change-Id: I1c9d83b988cad71c5652ecf4025fdc6f650fff42
2013-04-16 23:54:28 -07:00
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
Eino-Ville Talvala
7c9416b188 Camera3: Allow many calls to process_capture_result per request
Allow the HAL to split the capture result across multiple calls to
process_capture_result, so that when the sync framework cannot be
used, some output buffers can still be returned later than others.

Change-Id: Iea7f77a3d28daac3a94045ab4566f677aa53a7f9
2013-04-08 17:08:00 -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
Mathias Agopian
2a4caa5856 am 65b35c04: am 48697f6d: Fix HWC documentation.
* commit '65b35c047433a413617a877d9785d36c9da4b612':
  Fix HWC documentation.
2012-11-20 15:41:25 -08:00
Mathias Agopian
48697f6dc2 Fix HWC documentation.
Specify more clearly the behavior of compositionType
and hints.

Change-Id: I9abdccedd904b2fba783381bf9e2f8975ede8d67
2012-11-20 15:23:25 -08:00
Mathias Agopian
56f66ccfb4 Add support for new sensor types
- add support for SENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED
- add support for SENSOR_TYPE_GAME_ROTATION_VECTOR
- add support for SENSOR_TYPE_GYROSCOPE_UNCALIBRATED

Change-Id: I83048eb239d2123b5ec1f411b99f1883080a646f
2012-11-12 17:17:32 -08:00
Marco Nelissen
b0acad33a7 Remove unused methods from fx library API
Change-Id: Ifb1d8b596a34f8413819279c46cb236fd7fb04f4
2012-10-25 11:03:22 -07:00
Jean-Michel Trivi
20c7f50cd5 Support querying active record sources
Add support for querying whether there is currently a recording
 underway from the specified audio source.

Bug 7314859

Change-Id: I270f27eff4dcf1cc179089859a4c690140825ad1
2012-10-10 12:23:17 -07:00
Jamie Gennis
c7545189c8 hwcomposer: Specify set() call error behavior.
Bug: 7308829
Change-Id: Ibab6f0d2929860f02c17d6ffadb326fc0c333c4d
2012-10-08 19:25:20 -07:00
Martijn Coenen
442752aecd NFC HAL: Use a separate callback for data.
Bug: 7258325
Change-Id: I02d8ea1bdcb8ea6a9430e3dc286f5c2647277f72
2012-09-30 11:08:49 -07:00
Alex Ray
cecacd4e71 Camera2: Change JPEG transport header
The way buffers are passed to JPEG encoders makes it difficult to
account for a header offset.  This explains moving the header to
the end, and clarifies the required header packing.

Bug: 7108816
Change-Id: I569cd0cde37bd6fd7110fbc95d7fced9a55cff9c
2012-09-27 22:08:55 -07:00
Eino-Ville Talvala
3a90d5964b Merge "Camera2: Add JPEG transport header" into jb-mr1-dev 2012-09-21 18:33:51 -07:00
Jesse Hall
919e1c45b7 Merge "Document reentrancy and error conditions" into jb-mr1-dev 2012-09-20 14:13:07 -07:00
Jesse Hall
d91697ab8f Document reentrancy and error conditions
The hotplug callback is non-reentrant. The display config functions
return an error if called for a disconnected display type.

Change-Id: I52d11a53f9b30a7c39e98b0a9b07eb97a3d2becd
2012-09-19 22:53:30 -07:00
Eino-Ville Talvala
ada3a97820 Camera2: Add JPEG transport header
To simplify passing compressed JPEG data between the HAL and the
camera service, add a transport header for use with JPEG streams.

Bug: 7108816
Change-Id: I91060051f59032e66eaaab3ee9f651badd1f2ac0
2012-09-19 11:42:40 -07:00
Andre Eisenbach
05f49546a9 Initial Bluetooth open source release
Change-Id: I27bb95db854806d7deedaf6c622b17cb09f62f16
2012-09-18 12:52:41 -07:00
Mathias Agopian
7f9067f0fc Merge "Layer flags won't change between prepare and set" into jb-mr1-dev 2012-09-14 17:41:14 -07:00
Jesse Hall
6b01e2eaf7 Layer flags won't change between prepare and set
Change-Id: I0f25766976e4f783066e5b6fd917d1769906e43e
2012-09-14 17:21:22 -07:00
Martijn Coenen
1c970f1a49 Initial NFC HAL for NCI controllers.
Bug: 7123942
Change-Id: Ic64aa6477f2eb65b489b3be5d49ad21ccce63e2d
2012-09-14 13:56:58 -07:00
Eino-Ville Talvala
9633d506b7 Camera2: Add CAMERA2_HAL_PIXEL_FORMAT_ZSL temporarily.
Until all HAL implementations move to the new gralloc format selection
scheme, define FORMAT_ZSL for indicating ZSL streams.

Bug: 6243944
Change-Id: I90249beaaca5da80c9464eedd6aa9d3648bb56cc
2012-09-13 16:32:14 -07:00
Jesse Hall
7cb03d79b3 Add outbuf fields for HWC 1.2 virtual displays
Also rename HWC_DISPLAY_RESOLUTION_* to HWC_DISPLAY_WIDTH and
HWC_DISPLAY_HEIGHT for consistency.

Change-Id: Iabe6db0816f6f6eaaac24c3c9ae554177bcabf1d
2012-09-12 09:41:57 -07:00
Eric Laurent
85e08e2625 audio: new audio devices enums
Changed audio device API version to 2.0 because of
new enums for audio input and output devices.

Removed implementations of get_supported_devices() in
stub and usb audio modules.

Change-Id: I09345d38929d931e5015e36d18259f5a5f950298
2012-09-07 10:32:57 -07:00
Jean-Michel Trivi
88b79cb001 Add audio module for remote submix
New definitions of audio devices for remote submix: one representing
  a sink for writing the audio buffers that won't be played directly
  locally, another representing the audio source that can be read from
  to obtain the audio mix.

New audio hardware module encapsulating the submix loop functionality.
  Create a Pipe to serve as non-blocking audio ring buffer between
  the output device (the sink) and the input device (the source).

Change-Id: I527f4721a69ced0430a99ebba3b4db7d419f2bb2
2012-09-06 18:33:04 -07:00
Eric Laurent
3f014b988e Merge "audio effects: add audio source indication" into jb-mr1-dev 2012-09-06 18:04:40 -07:00
Eino-Ville Talvala
207466367a Merge "Revert "Revert "Add reprocess method, redefine gralloc ZSL usage flag""" into jb-mr1-dev 2012-09-04 16:22:06 -07:00
Eino-Ville Talvala
7f8dd0ad2d Revert "Revert "Add reprocess method, redefine gralloc ZSL usage flag""
Missing project ready to go.

This reverts commit 536148699beffcc4e6a2ced7c41fbbc3bcfa9886

Change-Id: I101343b443be6febe160685de6d72ddbf7e6aea5
2012-09-04 14:21:07 -07:00
Eino-Ville Talvala
3b98ffb168 Revert "Add reprocess method, redefine gralloc ZSL usage flag"
More dependent projects than I realized

This reverts commit 7fa4a7e706cd8da0a4fd6722ff3b00b8088a01ae

Change-Id: I813ffde0f8d602fd6d75186bf82e93c7ffed9a9a
2012-09-04 12:27:14 -07:00
Jesse Hall
903811cd00 Make HWC_MODULE_API_VERSION fit in uint16_t again
Change-Id: I4e32c3b7be9826cfac1e7226f7fd8894b6c97c1e
2012-09-04 11:43:06 -07:00
Eino-Ville Talvala
70d87bf07e Add reprocess method, redefine gralloc ZSL usage flag
- Camera2: Add allocate_reprocess_stream_from_stream for ZSL usecases
- Gralloc: Make GRALLOC_USAGE_HW_CAMERA_ZSL be simply
  GRALLOC_USAGE_HW_CAMERA_READ | GRALLOC_USAGE_HW_CAMERA_WRITE
- Gralloc: Add GRALLOC_USAGE_HW_CAMERA_MASK

Change-Id: Icd8ac1f786e3adb6a422f27f03a5a4cb04a815cc
2012-09-01 18:28:38 -07:00
Eric Laurent
a07ef69482 audio effects: add audio source indication
Added a command to audio effect API to indicate the
audio source to audio pre processings.

Change-Id: Ia9d68bc095b8bc5d3cf847a406ec0a719a1c14ac
2012-08-31 18:42:35 -07:00
Jesse Hall
b3f211aa06 Merge "Add new HWC 1.1 queries and hotplug callback" into jb-mr1-dev 2012-08-31 12:56:58 -07:00
Jesse Hall
2c13759c61 Add new HWC 1.1 queries and hotplug callback
Change-Id: I40164e60b33174e98a3843ec99f1680b1bb1c675
2012-08-31 09:25:46 -07:00
Jesse Hall
673a810469 Merge "Encode header version in api versions" into jb-mr1-dev 2012-08-30 13:53:14 -07:00
Jesse Hall
3f5b522ac9 Encode header version in api versions
Change-Id: I0216bef3ba0cfaed2fe908f735e546d0734c0b13
2012-08-29 10:36:36 -07:00
Eino-Ville Talvala
2388a2dc91 Camera2: Use HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED
Align camera2's management of platform-opaque formats with rest of
framework. Instead of using CAMERA2_PIXEL_FORMAT_OPAQUE, use
HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED as the format for both the
camera HAL and for gralloc, and depend on the gralloc usage flags to
let the gralloc module select the appropriate real format for specific
stream endpoints.

Add a new gralloc usage for ZSL mode, where the camera service will
hold a streaming circular buffer of opaque full-resolution images
during camera preview. Since this is an opaque format that needs to be
optimized for 30fps operation, need gralloc to be aware of this use
case.

Bug: 6243944
Change-Id: If7f2516649381ce9bcffe4e319b63cbc068f643f
2012-08-28 14:22:53 -07:00
Eino-Ville Talvala
b8b6439598 Camera2: Make static_camera_characteristics const.
Disallow modification to static characteristics structure, and clarify
ownership and lifetime of the structure.

Also update test code accordingly.

Bug: 6243944
Change-Id: I6921d6889937212867efb99aa3881ab3ffc4f6f9
2012-08-27 10:30:04 -07:00
Eino-Ville Talvala
43a2bbb9de Merge "Revert "Camera2: Make static_camera_characteristics const."" into jb-mr1-dev 2012-08-26 14:44:46 -07:00
Eino-Ville Talvala
dde2a9d4b5 Revert "Camera2: Make static_camera_characteristics const."
Needs a third change that's not yet done with review.

This reverts commit c9ec8a656b59912f496880d3a63c0decd490f09d

Change-Id: Ic3e465e1308cbf107a250ec17b73a59a35e52f9f
2012-08-26 14:44:38 -07:00
Eino-Ville Talvala
f186f98fb0 Merge "Camera2: Make static_camera_characteristics const." into jb-mr1-dev 2012-08-26 14:15:55 -07:00
Eino-Ville Talvala
d959ec5297 Camera2: Make static_camera_characteristics const.
Disallow modification to static characteristics structure, and clarify
ownership and lifetime of the structure.

Also update test code accordingly.

Bug: 6243944
Change-Id: Ib8de5e9d6580187b21a5ae9a28a3d24f1d083f7b
2012-08-24 14:28:54 -07:00
Jesse Hall
0a0a41653d Simplify and clean up legacy decisions
During the HWC 0.x evolution, some fields were left optional or
organized strangely to avoid breaking backwards compatibility. Since
we're breaking it in the transition to HWC 1.0 anyway, we can clean
these up a little.

* The current callbacks are now registered immediately after the
  device is opened and guaranteed to be present, so the implementation
  can rely on them being present.

* The hwc_methods_t structure is gone, with its two methods folded
  into the main hwc_composer_device_1_t.

* All methods and callbacks are now required except dump(). New
  methods and callbacks we add in the future will still be optional
  for backwards compatibility.

Change-Id: I5d58774a5144016993c12df3dd6ad2a5d746bee9
2012-08-22 12:10:06 -07:00
Jesse Hall
43b51d9fdd Add NUM_DISPLAY_TYPES query and refine display list semantics
Change-Id: I740859bfa2b126edcdf06f7b2c8208770bc864f9
2012-08-22 12:10:06 -07:00
Jesse Hall
f4e4624ef7 Define HWC_DEVICE_API_VERSION_1_1
Change-Id: I925e010fb6367979de9b7657607ea5b444820a7e
2012-08-21 15:24:55 -07:00
Jesse Hall
43923defb7 Merge "HWC 1.1: add FRAMEBUFFER_TARGET layer type" into jb-mr1-dev 2012-08-20 16:34:03 -07:00
Jesse Hall
d18c83fc04 HWC 1.1: add FRAMEBUFFER_TARGET layer type
Change-Id: I61965c343dceb4137bc439b49ea90ec13183b719
2012-08-16 16:21:13 -07:00
Colin Cross
705d2912b7 hwc: update blank documentation to specify that blank is synchronous
Change the documentation of the blank function in the hw composer to
specify that the screen state transition must be complete when the
function returns.

Change-Id: Ibd0a9cdef13991c36cabada5fc0e4f7bb8fa7af9
2012-08-16 14:46:45 -07:00
Eino-Ville Talvala
f7a60c464a Camera2: Add ZSL pixel format, AF CANCEL trigger, lots of docs
- Add CAMERA2_HAL_PIXEL_FORMAT_ZSL
- Add CAMERA2_TRIGGER_CANCEL_AUTOFOCUS
- Add documentation to describe how AUTOFOCUS and CANCEL_AUTOFOCUS
  triggers interact with AF state, mode, and notifications.
- Other minor edits

Bug: 6243944
Change-Id: I679c40cfe08e62d3a5851839f748fe2292bbfae7
2012-08-10 09:25:49 -07:00
Jamie Gennis
8655693eff Merge "Simplify prepare and set semantics (comments only)" into jb-mr1-dev 2012-08-07 16:20:07 -07:00
Jesse Hall
ac3f7e195c Simplify prepare and set semantics (comments only)
Documentation updated for semantic changes vs. HWC 0.x:

* Prepare won't be called with NULL pointers. This used to be used to
  disable hardware composition, though that wasn't documented. Now
  we'll call prepare with non-NULL pointers but the layer list will
  have zero layers.

* Set won't be called with NULL pointers. This used to cause the
  display to turn off; that is now done by calling the blank() method,
  which is no longer optional.

Change-Id: I9c69dc34f64e499a5ba5f8729836e7c216f8c733
2012-08-07 16:08:35 -07:00
John Grossman
47bf3d7ea5 Extend the audio HAL interface to support get/set master mute
(cherry picked from commit d245968b7ef0be5c776c9aefff3eca9e293d1b35)

> Extend the audio HAL interface to support get/set master mute
>
> Hand merge from ics-aah
>
> > Extend the audio HAL interface to support get/set master mute: DO NOT MERGE
> >
> > Extend the audio HAL interface to allow HALs to optionally support HW
> > level master mute.  This follows the same pattern as master volume and
> > is part of the fix for bug 6828363.  Because of the divergences
> > between ICS and master, this change will need to be merged by hand.
> >
> > Signed-off-by: John Grossman <johngro@google.com>
> > Change-Id: Ica6f5e37e13d13dde60463966f41f271ffa104fd
>
> Change-Id: I5e7aea6d7da0012dcc077281f9077fc04cfb9889
> Signed-off-by: John Grossman <johngro@google.com>

Change-Id: I2011cc5bc41ca7081ce255a4bfba65f36f899bc4
Signed-off-by: John Grossman <johngro@google.com>
2012-08-07 15:59:07 -07:00
Jesse Hall
f9d6cd7dee Add multi-display and flip fence to HWC
Change-Id: I3b0446050648e2b386ffb32976c9943b6fd9793d
2012-08-07 12:26:59 -07:00
Jesse Hall
85ab59a147 Revert "Add multi-display and flip fence to HWC"
This reverts commit 1d51b2b9fc713da6de18117bc19508ecdfde4f23

Change-Id: I1ae46d8cae1cb3064800cd24df56347b05eb6059
2012-07-31 12:16:24 -07:00
Jesse Hall
65bed1f947 Add multi-display and flip fence to HWC
Change-Id: I31b4fc293220bc51169971df93347dd35fdc30ef
2012-07-30 16:52:21 -07:00
Ed Heyl
d294b9ffa1 Merge remote-tracking branch 'goog/jb-dev-mako' into jb-mr1-dev 2012-07-26 13:47:35 -07:00
Glenn Kasten
d72e517056 Merge "Add comment" 2012-07-25 15:46:14 -07:00
Glenn Kasten
e57a2d2ec6 Add comment
Change-Id: Idc2890ebc10c0e6a116bc7c8872cd379e1cf3e25
2012-07-25 14:57:16 -07:00
Glenn Kasten
48915acb39 struct effect_descriptor_s const correctness
Also struct audio_stream in audio_stream_frame_size

Change-Id: Ie0de708e38a1850c186a8b4eb5f491adc44b3275
2012-07-24 07:53:14 -07:00
Eino-Ville Talvala
d2e7c834c7 Merge "Add camera gralloc usage flags." 2012-07-17 14:11:14 -07:00
Eino-Ville Talvala
7797d75b12 Add camera gralloc usage flags.
GRALLOC_USAGE_HW_CAMERA_WRITE is for camera outputs in the new camera HAL.

GRALLOC_USAGE_HW_CAMERA_READ is for sending previously captured camera
data back into the camera pipeline for further processing. For
example, for converting a raw sensor image into YUV or JPEG data.

Bug: 6243944
Change-Id: If9011ec320a1a804f3337704243ed7fc410fec91
2012-07-16 14:50:50 -07:00
Colin Cross
38fccf483b hwcomposer: add a new blank operation
Add a new blank operation to be called by surfaceflinger when the screen
turns on or off.  Also rev the API version to 1.1 for the new field.

Change-Id: I266fb33f66184538e34cfc319f63cf809dcb2f18
2012-07-13 15:49:04 -07:00
Naseer Ahmed
88ef190fcf hardware: Add field for number of framebuffers supported
Change-Id: Iec29018a956d2c048ce077c48fd3995a4ca6f72a
2012-07-09 22:09:13 -07:00
Glenn Kasten
a635449697 Use audio_channel_mask_t consistently
Change-Id: Ib832c0b707b1e0b82adf4ab3d4d18a2dc459d240
2012-06-25 10:45:43 -07:00
Jesse Hall
d479ad22a0 Introduce HWC_DEVICE_API_VERSION_1_0
The new version adds an acquire and release fence to each layer,
providing explicit producer->hwc and hwc->producer synchronization.

Change-Id: Ibd6e3c7b3515c012c767246e6d6514274fdef01d
2012-06-18 15:53:25 -07:00
Eino-Ville Talvala
74d793867e Merge "Camera2: Add JPEG capture test." 2012-06-14 08:38:13 -07:00
Eino-Ville Talvala
fa7a91d3d2 Camera2: Add JPEG capture test.
Bug: 6243944
Change-Id: Ifdf16f34b13df1e5bfe501eb7e6083862c71240a
2012-06-13 12:02:00 -07:00
Glenn Kasten
90b429d56b am 34afb68c: Add screen state parameter
* commit '34afb68c0cd1de315f0250f6a95b9dba234133ae':
  Add screen state parameter
2012-06-08 10:57:52 -07:00
Glenn Kasten
34afb68c0c Add screen state parameter
Change-Id: Iead23e0d91dac34d40e9e55f525916b73c31bcb5
2012-06-08 10:49:34 -07:00
Eric Laurent
762ce0423f am 41eeb4fe: audio HAL: add definitions for capabilities query
* commit '41eeb4fe9f0a043dc207111893dbea26827217a6':
  audio HAL: add definitions for capabilities query
2012-06-05 09:55:29 -07:00
Eric Laurent
41eeb4fe9f audio HAL: add definitions for capabilities query
Added definitions for querying supported channel masks, sampling rates and
format with out_get_parameters().

Change-Id: Icb28fcef504c7e0a0b2daeb1bc7e704d20d3b738
2012-06-04 14:18:16 -07:00
Eino-Ville Talvala
08a6e5e374 I am a HAL of constant structure.
Bug: 6243944
Change-Id: I126313f75f5f7165d3ca96f52054866c4fb6bee0
2012-05-17 17:54:56 -07:00
Eino-Ville Talvala
407a8eeeec Merge "Camera2: Add test for construct_default_request." 2012-05-16 11:55:29 -07:00
Mathias Agopian
b21b3acf68 am e291f71e: split hwcomposer.h
* commit 'e291f71e0a25ac9bb39fb754c599b710ab8f59d5':
  split hwcomposer.h
2012-05-15 11:43:04 -07:00
Eino-Ville Talvala
6adfd6b8ce Camera2: Add test for construct_default_request.
Bug: 6243944
Change-Id: I59b03d7ebece2a4b7672b265bd9f960b3faea621
2012-05-14 15:27:00 -07:00
Mathias Agopian
e291f71e0a split hwcomposer.h
hwcomposer_defs.h now contains enums, which are essentially names.
This won't change when we rev the h/w composer API (new ones will be added instead).

we do this to avoid having to abstract all these constants in higher
level APIs; instead hwcomposer_defs.h can be included without exposing
the hwcomposer's data structures (which are a lot more fragile wrt.
backward compatibility)

Change-Id: Ifb514f64de02a599fdd2d31c188327209ccb0ffc
2012-05-13 22:49:06 -07:00
Eino-Ville Talvala
567b4a24fa Substantial cleanup of camera2 HAL, and some initial unit tests
- Clean up const/struct usage in HAL
- Add user pointer to notify callback
- Revamp allocate_stream, now it picks its own ID.
- Much simpler stream interface
- Merged request/reprocess input queues
- Frame queue interface no longer a mirror of request queue
- Added triggers/notifications
- Added default request creation
- Lots of comments

Unit tests added:

- Lots of utility code to speed up test writing
- Basic open/close
- Capturing 1 raw buffer (request input, frame output, buffer output)
- Capturing a burst of 10 raw buffers

Bug: 6243944
Change-Id: I490bd5df81079a44c43d87b02c9a7f7ca251f531
2012-05-08 17:30:56 -07:00
Todd Poynor
bcdb4cd34b hardware: Power HAL: Add POWER_HINT_INTERACTION
Change-Id: I9b2c29eadc60e2bea2f01b3925ad6a8539ec2655
2012-05-03 16:04:41 -07:00
Jamie Gennis
6b7adef0ef hwcomposer: clarify vsync timestamp meaning
This change clarifies the meaning of the HWC vsync timestamp to specify that
the timestamp must be relative to the system monotonic clock.

Change-Id: I4386ce90511fd5b8f8e988917da637d84d86f026
2012-04-30 12:57:11 -07:00
Mathias Agopian
5cb1de89a9 add version number to power HAL
Change-Id: I6acf4523b5878565035ea6c85bddd58f9b20ef1b
2012-04-26 19:49:40 -07:00
Todd Poynor
2f143fba74 hardware: libhardware: Power HAL add power hints -- DO NOT MERGE
Change-Id: I8ab0376e4f5d8ef09d5b1062cbfbb30c30c5bb96
Signed-off-by: Todd Poynor <toddpoynor@google.com>
2012-04-25 18:16:40 -07:00
Mathias Agopian
eb67160b99 fix typo in documentation
Change-Id: I2c55034c25edd466180cd9c5718c2ad568aeedff
2012-04-24 15:42:37 -07:00
Eric Laurent
da4b0b26d1 rename audio policy output flags.
Change-Id: I965fa9bcba45f223f2f2cbc4adccfb5491414c8b
2012-04-18 13:58:44 -07:00
Eric Laurent
55786bcf3c audio: updated audio HAL device API
Modified open output and input stream functions to add new
parameters needed by audio HAL. Also grouped parameters
in a config structure for clarity.

Change-Id: I60832d8e5b5e4a48f209a6d83f5ca9c044be61f1
2012-04-17 16:02:48 -07:00
Eino-Ville Talvala
0c8e630ad6 Merge "Revise camera HAL 2, and add unit test skeleton." 2012-04-17 08:57:44 -07:00
Eino-Ville Talvala
fed0c0244b Revise camera HAL 2, and add unit test skeleton.
- Add missing method in stream_ops (set_buffers_geometry)

- Remove extra method in stream_ops (set_swap_interval)

- Document metadata queue protocol

- Change metadata queue methods to be set/get through function calls
  only, instead of a struct member in the HAL device ops.

- Change vendor extension tag query methods to be retrieved by a get
  call, instead of a struct member in the HAL device ops.

- Add basic gtest unit test skeleton, which currently just returns
  static info from all camera devices.

Change-Id: I94117097b0243023ad60638070cc7f0cefec18e6
2012-04-11 11:23:31 -07:00
Mathias Agopian
6d3fec70d8 improve hwc VSYNC documentation
Change-Id: I5820d8fa183701ebbc0a825cf27bd0004b47d62e
2012-04-10 21:22:28 -07:00
Eric Laurent
c65a2fe392 audio policy: load audio hw modules.
Added methods to audio_policy_service_ops to load an audio hw module.

Added methods to open an output or input stream on a particualr module.

Change-Id: Ia0618053bec9978c1b7d2a5f6c02b78209557256
2012-04-03 19:47:04 -07:00
Mathias Agopian
d126b910ab Merge "add support for VSYNC events in h/w composer HAL" 2012-04-03 19:10:25 -07:00
Eric Laurent
b934784bbe Merge "audio: added definitions for audio HAL modules" 2012-04-03 16:46:46 -07:00
Eric Laurent
431fc78c11 audio: added definitions for audio HAL modules
Change-Id: I16f8b42ab5de503d38086413b83e934ac9aa1f24
2012-04-03 16:01:17 -07:00
Mathias Agopian
b08d45dff6 add support for VSYNC events in h/w composer HAL
Change-Id: Ic19a41ae522a236f45957e50c792934d987b116a
2012-04-03 11:45:41 -07:00
Glenn Kasten
0cacd8d44b Update comments
Change-Id: I123d9baeceda13608cc01eda6a19e13822258dc0
2012-04-01 13:43:02 -07:00
Dima Zavin
e8da6bf1cc Merge "hardware: add some guidance on providing version defines" 2012-03-30 11:58:04 -07:00
Eino-Ville Talvala
e911e4c160 Merge "Add specific version number constants to Camera HAL." 2012-03-27 16:50:18 -07:00
Eino-Ville Talvala
ddc026e393 Add specific version number constants to Camera HAL.
These constants should be used by HAL implementations to indicate
which versions of the module and device APIs they support.

Change-Id: I4b6eae278481545694e6a1827833b5958c26720c
2012-03-27 16:15:25 -07:00
Dima Zavin
2fe3ae5ec9 hardware: add some guidance on providing version defines
Change-Id: I456cb209bc5d5eb739b6fd2e2f3e869caa363ff0
Signed-off-by: Dima Zavin <dima@android.com>
2012-03-26 23:14:15 -07:00
James Dong
89c8a6df0e Merge "Fixed an incorrect path for the include header file in a comment" 2012-03-26 17:47:50 -07:00
Kenny Root
6be478050f Merge "keymaster: add flags for keymaster features" 2012-03-26 16:42:39 -07:00
James Dong
d0ca70d834 Fixed an incorrect path for the include header file in a comment
Change-Id: I9c6f76279b54c2de66a31f751afc9222c345eb47
2012-03-26 16:32:23 -07:00
Kenny Root
3c338f4731 keymaster: add flags for keymaster features
The first flag is something for the default implementation to use to
indicate that its keys are importable to hardware keymasters. This
allows easy migration from the default software implementation to
hardware implementations as they become available.

Change-Id: Ideb26a4b1ac91ca8c330a4fe4df323f028b2f855
2012-03-26 16:21:07 -07:00
Kenny Root
6c64e73772 Merge "Add delete_all to keymaster API" 2012-03-26 14:54:22 -07:00
Kenny Root
8ae65e7199 Add delete_all to keymaster API
In order to aid keymasters erase their memory efficiently, introduce new
delete_all API to tell keymasters to forget everything. This will be
triggered when keystore itself is told to reset.

Change-Id: I730375f1f32cd1ea0bf1fa38d5b1bec2f81ba492
2012-03-26 13:26:05 -07:00
Mathias Agopian
81c323dd54 improve HWC versioning
Change-Id: Ieb50629f23c0d2b7af12c5541a8278a0979d2ee4
2012-03-25 01:11:43 -07:00
Mathias Agopian
eb8fb50814 add support for setting the background color
this is a revision of the h/w composer API. This change
is binary backward compatible.

Change-Id: Id4cf43447594db9049f7e2c44ea08157ca725129
2012-03-24 15:29:07 -07:00
Eino-Ville Talvala
daacbf4016 Fix camera2.h header.
Change-Id: Ibcc93279da2180743d7bbe2561f2bf10879ae08e
2012-03-22 13:09:56 -07:00
Eino-Ville Talvala
8bf364ef20 Reorganize camera HAL, and add versioning support.
Includes a draft of camera device HAL 2.

Change-Id: I5f56a8c54a33d0ca039360185822a9c22436cab8
2012-03-21 17:34:33 -07:00
Dima Zavin
02a5801af9 hardware: add hardware_device_api_version() macro
Change-Id: I79c4d65f6bab227364d5f271df9bd7bc565857c2
Signed-off-by: Dima Zavin <dima@android.com>
2012-03-21 13:35:49 -07:00
Dima Zavin
65820e4d7a libhardware: add current HAL version and a module version macro
Change-Id: I30c67a6c5231f8b270b57f78bd6322c201b90859
Signed-off-by: Dima Zavin <dima@android.com>
2012-03-20 23:23:06 -07:00
Dima Zavin
8dc4e710c0 hardware: provide temp version defines for source compatibility
This allows all the existing modules to have source level
compatibility until they are fixed to use the new field names.

Since the binary compatibility has not been altered, we do not
need to force all the implementors to rev their version numbers.

This change should be reverted when all the clients have been updated.

Change-Id: Ie543d3a972d8abe03ca5123e3000966f048d1771
Signed-off-by: Dima Zavin <dima@android.com>
2012-03-20 12:30:20 -07:00
Dima Zavin
2b57780d88 hardware: rename version_major/minor to module/hal api version
The previous names and documentation were not clear as to how the
version fields should be used. As a result, they were often either
unused or used improperly.

It became clear that there were two version fields necessary. One
to version the implementing module and the other to version the
hw_module_t interface itself.

This change renames version_major and version_minor members of
hw_module_t to module_api_version and hal_api_version. It also
provides in-depth descriptions for all the fields and clarifies
the purpose of the version field in hw_device_t structure.

Change-Id: I3e33e5a922cdc17c5e3b1c30a00e211394f18e86
Signed-off-by: Dima Zavin <dima@android.com>
2012-03-20 12:30:16 -07:00
Kenny Root
b2959a49be Merge "Update keymaster API to final signing spec" 2012-03-13 13:11:09 -07:00
Kenny Root
9271d04d88 Update keymaster API to final signing spec
Switch from unspecified encoding for import of keys to PKCS#8 (Java
standard encoding).

Add function for obtaining the public key from a keypair.

Add fields for RSA key generation that indicate modulus size and desired
public exponent.

Add in placeholder fields for possible digest and padding types for
signatures. Currently the only thing supported is "none" and "none"
respectively.

Change-Id: I19ee02cf35321aee859e2460a963c7213791414b
2012-03-13 13:03:22 -07:00
Rakesh Goyal
a776bb2e81 am 6d2bc4fc: am 4cbd62c2: add i2c_device_address member to nfc_pn544_device_t
* commit '6d2bc4fc11ca04326eaf982f97d13d6410a73af2':
  add i2c_device_address member to nfc_pn544_device_t
2012-03-09 11:43:56 -08:00
Rakesh Goyal
4cbd62c2ca add i2c_device_address member to nfc_pn544_device_t
Add I2C slave address. Multiple I2C addresses are possible
for PN544 module. Configure address according to board design.

Change-Id: I847e8f3db631f5039cf15143a9982f4b9b209f27
2012-03-09 08:51:15 -08:00
Eric Laurent
83c62ce4e3 audio policy: use audio_devices_t when appropriate
Change-Id: Iee57cf5c3bdfefd981e1ed5958df10171f8716e6
2012-03-08 13:45:03 -08:00
Eric Laurent
a70c5d0caf audio HAL : added string for A2DP address
Added a definition for A2DP sink address parameter.
It was previously defined at several places.

Change-Id: I757208e99db395f3d88c17e0de5ae303c71a85ec
2012-03-07 18:59:47 -08:00
Jean-Michel Trivi
a9a5f5d57f Update comments to reflect audio channel mask type name change
Replace references to "audio_channels_t" by "audio_channel_mask_t"

Change-Id: If779a4c24e40c0fcdab8376b479bd20040d686da
2012-03-05 11:44:30 -08:00
Mathias Agopian
d543b8ae4a Merge "HWComposer: update the hwc_layer::handle docs" 2012-02-20 22:51:15 -08:00
Todd Poynor
c5d3811864 Merge "Power HAL: Add initial header file and default/legacy implementation" 2012-02-17 20:23:21 -08:00
Todd Poynor
c82792c0a4 Power HAL: Add initial header file and default/legacy implementation
Change-Id: I43a515a8ffe72a9c4e7d5f7470a5e73e76d5e1b1
Signed-off-by: Todd Poynor <toddpoynor@google.com>
2012-02-17 16:26:32 -08:00
Kenny Root
60d0e5f24b Add hardware API for key handling
Add a hardware API for key handling from "keystore"

Change-Id: I5fd192cc212dbb057ee2a7003d602382ee2cd2c0
2012-02-16 15:22:27 -08:00
Mike J. Chen
5ad38a901d Modifications to audio_hal for Android@Home.
This is a squashed merge of the following changes:

Commit f560da61a5e128ca9f82f7fe939afcf1f09188c7
Author: John Grossman <johngro@google.com>
Date:   Thu Aug 11 15:34:55 2011 -0700

    Fill out a missing entry in the audio HAL function table.

    The entry for get_initial_master_volume was missing from the non-legacy audio
    HAL and needs to be filled out.  Also fix up the order of the comments
    describing the get_initial_master_volume method.

    Change-Id: I87d5415ef92611497a6dab4c657fc00367c4d80b

commit cea82facb63fd237a4ea6fb770605fcb500850ff
Author: Jason Simmons <jsimmons@google.com>
Date:   Thu Jun 16 14:24:24 2011 -0700

    Define a replacement for getSampleDelta that returns a DMA start time and count of samples queued

    Change-Id: I2d13f57b5a8c5b97fb3aa0a90834ce91c56864ef

commit 60a9acd7eee470a8d870218e8be618bfa3be15a5
Author: Mike J. Chen <mjchen@google.com>
Date:   Tue Jun 7 09:13:23 2011 -0700

    Add Android@Home extensions to new Audio HAL interface.

    Change-Id: I3ea4676d4b7d2afd78a5a7a7003ad5c437276d05
    Signed-off-by: Mike J. Chen <mjchen@google.com>

Change-Id: I09f3756d12a1ce4f9af39610ed857890742a72df
Signed-off-by: Mike J. Chen <mjchen@google.com>
Signed-off-by: John Grossman <johngro@google.com>

Conflicts:

	include/hardware/audio.h
	modules/audio/audio_hw.c
2012-02-10 08:58:32 -08:00
Mike J. Chen
ad255ee424 Add a HAL representing a system-wide local time counter.
This is a squashed merge of the following changes:

commit 9def1ae65f6b4d6a8fdec147fdcd34f22f08174a
Author: John Grossman <johngro@google.com>
Date:   Fri Aug 12 11:47:20 2011 -0700

    Change the signature of set_local_slew.

    Changed the definition of the slew function in the local time HAL to take an
    int16 instead of an int32 and to use the full range of the int instead of
    attempting to imply any particular PPM range.

    Change-Id: Ia67f50e77f1fe674a63ec69460e830d1191ef5a0

commit afab51327453d1bfc7423f8ce7a28933d8fc49b2
Author: John Grossman <johngro@google.com>
Date:   Mon Jun 27 17:29:07 2011 -0700

    Remove "primary" from the local_time HAL.

    Interface instances are a pattern which should only be used by audio.  Remove
    its use from the local_time HAL.

    Change-Id: If4c458cf16a02d9dc63c04185111ae793fc57801

commit 1c26e59a66e75ccb31027f42183aaa32bde6e456
Author: John Grossman <johngro@google.com>
Date:   Fri Jun 17 14:19:24 2011 -0700

    Refactor the local/common clock services.

    This change is one of a set of 5 changes made to different repositories.  Look
    for this comment in all of them.

    Refactor the local/common clock services to match android best
    practice.  Notable changes include

    + The kernel no longer knows anything about common time.  Common time has been
      moved completely up into user land.  This has an impact on the accuracy of the
      timesync debugging code, and the netfilter assisted approach to network based
      timesync is going to have to be modified.
    + The timesync driver used by A@H is now just local time driver.
    + The kernel no longer needs access to the linear transform math code, and it
      has been removed.
    + A new HAL has been introduced to expose the concept of local time to the
      system.
    + A non-slewable stub implementation of the local time HAL based on
      CLOCK_MONOTONIC has been added.
    + The old library has been eliminated.  Its functionality has been
      distributed among the common time binder service, the local time hal and the
      linear transform utility code.
    + All clients of the old library have been changed to be clients of
      the binder service, the hal and the utility code.
    + The reset_tt utilities have been removed, they no longer have a purpose in the
      system.

    Change-Id: I39843b94f9b6d13f63b22145a2edcafe4ca87349

Change-Id: Ib264c992d564b99ef7c7847a788e4fa7f5e101b4
Signed-off-by: Mike J. Chen <mjchen@google.com>
Signed-off-by: John Grossman <johngro@google.com>

Conflicts:

	modules/Android.mk
2012-02-10 08:57:16 -08:00
Glenn Kasten
bfb28ccfc6 Merge "Effect UUID inputs passed by pointer are const" 2012-02-08 09:37:49 -08:00
Glenn Kasten
2be4db4a95 Merge "Use audio_in_acoustics_t consistently" 2012-02-03 08:31:11 -08:00
Glenn Kasten
75a8b8f949 Effect UUID inputs passed by pointer are const
Change-Id: I3ef6d83ae539aef32f2a251660b2e2f9646eace5
2012-01-30 11:26:28 -08:00
Glenn Kasten
114c2fd2d3 Use audio_in_acoustics_t consistently
Change-Id: Id49ad9631092db8c9ace0f45db918f708b0b32e9
2012-01-27 12:51:17 -08:00
Glenn Kasten
ae2e42b244 Use audio_source_t consistently
Change-Id: Ie25ddeb091646b7e24149b3b23a18ce0807e1891
2012-01-26 16:47:25 -08:00
Glenn Kasten
ea84c55f2c Merge "Use audio_format_t consistently" 2012-01-20 14:50:29 -08:00
Eino-Ville Talvala
7c50e9bad4 Add timestamp control to camera preview stream operations.
At higher levels, SurfaceTextures include timestamp information in
their buffers. For accurate timestamps, they need to be set by the
driver code. This change adds the needed method into
preview_stream_ops.

Timestamp behavior is documented in SurfaceTexture.java, and
system/core/include/window.h, as well as here.

Bug-Id: 5081132
Change-Id: Id285f8e26edecf605444bc4b9e6eea9b224f9d31
2012-01-20 13:40:21 -08:00
Glenn Kasten
080a80212b Audio policy HAL set_ringer_mode is deprecated
Change-Id: If0f82d5c1cb9a0faf70f5a8434f68cdc39784ee6
2012-01-18 15:15:07 -08:00
Eric Laurent
d4cf73b362 Merge "audio policy: manage stream volume per device" 2012-01-17 17:34:53 -08:00
Eric Laurent
5b20536691 Merge "audio effects: add auxiliary channel feature" 2012-01-17 12:11:53 -08:00
Glenn Kasten
fad1f606a2 Merge "set_mode and set_phone_state now take audio_mode_t" 2012-01-17 11:33:22 -08:00
Eric Laurent
ca20b17b41 audio policy: manage stream volume per device
Improve volume management by keeping track of volume for each type
of device independently.

Added functions at the audio policy interface to set and get stream volume
for a particular device.

Change-Id: Ic8899e82e48193cb65b3673e9d20383efed943b5
2012-01-17 09:10:45 -08:00
Glenn Kasten
c38e7baa4f Merge "Use size_t for frame size" 2012-01-17 07:27:35 -08:00
Glenn Kasten
80eed7f096 Merge "Use audio_stream_type_t consistently" 2012-01-17 07:26:08 -08:00
Eric Laurent
66861e3740 audio effects: add auxiliary channel feature
Added API to query and configure effects supporting auxiliary channels.
An auxiliary channel contains an additional audio signal helping in the
processing of the main channel. An example is a dual mic noise suppressor
were the main channel contains the signal from the main mic and the aux channel
containss the signal from the sub mic.

Change-Id: Ibb7a19d7f492720ebad0be45f78f996e0beba272
2012-01-13 15:18:47 -08:00
Glenn Kasten
a26cbac8a0 Use size_t for frame size
Change-Id: Ib96808544ee6fd76d0c8ff42e27b9c05518e8415
2012-01-13 14:53:35 -08:00
Glenn Kasten
9fc1eaed52 Merge "Fix typo in gralloc.h" 2012-01-13 13:48:24 -08:00
Glenn Kasten
5161a847dd Use audio_stream_type_t consistently
Change-Id: I1e92f018a07e4b1b73ef8d4de461ef1e08bc48e7
2012-01-12 16:55:03 -08:00
Glenn Kasten
fe79eb3f06 Use audio_format_t consistently
Was sometimes int or uint32_t

Change-Id: Ib3d82f5aefeda371c0439e43e72737a54882f519
2012-01-12 14:55:57 -08:00
Glenn Kasten
6df641e269 set_mode and set_phone_state now take audio_mode_t
Change-Id: I12a3a5ad6c3cadc6b9de8281f78edfef53908e2d
2012-01-12 10:06:24 -08:00
Glenn Kasten
af320d7500 Add comment about actual type of set_mode
Change-Id: Ie50a66894831763b6e9eb6aa490441d7759cbeef
2012-01-05 15:34:27 -08:00
Jamie Gennis
9c5466b616 HWComposer: update the hwc_layer::handle docs
Change-Id: I3c1211146b2e5f84546724c86f344bd2e63bd55c
2011-12-20 14:33:52 -08:00
Eric Laurent
922f9e6e5f audio effects: rename configure command
Renamed audio effect library interface command for audio format
configuration from EFFECT_CMD_CONFIGURE to EFFECT_CMD_SET_CONFIG.
This makes the naming more consistent with other exixsting commands
and allow adding new a command to get the configuration (EFFECT_CMD_GET_CONFIG).
Same change for reverse channel configuration renamed from
EFFECT_CMD_CONFIGURE_REVERSE to EFFECT_CMD_SET_CONFIG_REVERSE.

Change-Id: I1cc462aa50e58ceec900b3da9bd3873d2d098098
2011-12-19 16:23:10 -08:00
Glenn Kasten
bb56a1007d Fix typo in gralloc.h
Change-Id: I8d989b21e10e19ae4124188f02ef84eeabdb4654
2011-12-19 09:14:19 -08:00
Mathias Agopian
a9b677fce4 Merge "improve h/w composer documentation" into ics-mr1 2011-11-28 16:07:36 -08:00
Jamie Gennis
29ead941b3 Gralloc: add a usage bit for video encoding
This change adds a new Gralloc usage bit to indicate that a buffer will
be passed to the HW video encoder.

Change-Id: I75c3fc514906e5b18fb60345a2d9c5a606403633
2011-11-21 17:45:29 -08:00
Mathias Agopian
71212e3fca improve h/w composer documentation
Change-Id: Ia3f47c1750f5a436037e4391d6744d63639ee099
2011-11-21 17:35:15 -08:00
Mathias Agopian
fb410365ca improve hw composer documentation
Change-Id: I39363e37417991b9853309154d6691240e706acf
2011-11-16 16:05:56 -08:00
Mathias Agopian
e9eaf3721d improve sensor HAL documentation
Change-Id: If2c1613902de6ed0e6cae8fe4755948c0f623bda
2011-11-08 12:20:21 -08:00
Martijn Coenen
45065f9735 Merge "New NFC HAL." into ics-mr1 2011-11-07 08:19:18 -08:00
Martijn Coenen
44ae5b2476 New NFC HAL.
First implementation of a NFC HAL. This implementation doesn't
offer a generic NFC device HAL (yet), but offers typed interfaces
for different NFC controllers. Currently only the PN544 is supported.

Change-Id: I3ac04dcd767fb12a433edbe88ec7068eb1930a57
2011-11-04 09:05:22 -07:00
Mathias Agopian
15879d89af change sensor HAL documentation to allow setting polling rate for "non continuous" sensors
the current API / Documentation would not allow to set the
rate of "non continuous" sensors.

Most sensors HAL implementation already support changing the rate
(technically they're not compliant with the doc), so it's easier
to change the doc (and also allows more control).

Change-Id: I4ad324ddc3b569ec61770b3cf927c06f8ff4af4e
2011-11-01 19:17:58 -07:00
David 'Digit' Turner
cf20952388 am 7bd7dd5d: am 3c935eda: resolved conflicts for merge of 33fddf0c to gingerbread-plus-aosp
* commit '7bd7dd5d49e21c66c83618cb9f85ef43af29e441':
  emulator: Add <hardware/qemu_pipe.h> header
2011-09-27 12:36:16 -07:00
David 'Digit' Turner
7bd7dd5d49 am 3c935eda: resolved conflicts for merge of 33fddf0c to gingerbread-plus-aosp
* commit '3c935eda2dcd96eda70da6367d705b3b081f6524':
  emulator: Add <hardware/qemu_pipe.h> header
2011-09-23 11:17:34 -07:00
David 'Digit' Turner
3c935eda2d resolved conflicts for merge of 33fddf0c to gingerbread-plus-aosp
Change-Id: I8720ca884f326b661e30b51c4cf1cfe31c1ac579
2011-09-23 20:13:07 +02:00
David 'Digit' Turner
33fddf0ca9 emulator: Add <hardware/qemu_pipe.h> header
This header is required by our GLES emulation guest code to be able
to access the emulator services provided through the /dev/qemu_pipe
special device.

Change-Id: Ia9782256048d7340237f3e1d18d7452dd815e561
2011-09-16 17:11:49 +02:00
Eric Laurent
78d2c69af4 audio policy: register effect CPU on enable
Added a method on audio policy interface to register
audio effect CPU usage on enable and unregister on disable
instead of when the effect is created or destroyed.

Change-Id: Iee20bf70fee7302f817ec4c7d9bf7640caca2e95
2011-08-11 08:48:25 -07:00
Jamie Gennis
2f94535daa Merge "Gralloc: add a HWComposer usage bit" 2011-08-10 12:54:46 -07:00
David Turner
54c673d30a am 73bff7f3: am bce402a8: Merge "qemu_pipe: fix Mac build error."
* commit '73bff7f3fddf182bc51a0e20096b76d9e0d877ad':
  qemu_pipe: fix Mac build error.
2011-08-10 12:21:16 -07:00
Vladimir Chtchetkine
3e7bfaede6 am abe47190: am 079ff13b: Merge "Enable connection to QEMUD via pipe."
* commit 'abe471909d749c7430409c00bdbc39bbf8ff0c43':
  Enable connection to QEMUD via pipe.
2011-08-10 12:21:03 -07:00
Jamie Gennis
4b560d5563 Gralloc: add a HWComposer usage bit
This change adds a new Gralloc usage bit to indicate that the Gralloc
buffer being allocated will be passed to the HWComposer HAL module.

Change-Id: If901f886cb22fc8379811898db3a380a61c0e442
2011-08-10 11:41:52 -07:00
David Turner
73bff7f3fd am bce402a8: Merge "qemu_pipe: fix Mac build error."
* commit 'bce402a8fadf27b07b164b0468e27bb9b6de79e6':
  qemu_pipe: fix Mac build error.
2011-08-09 10:05:32 -07:00
David Turner
554566e1ae qemu_pipe: fix Mac build error.
The <hardware/qemu_pipe.h> header was missing an include
that causes the code under development/tools/emulator/opengl
to fail to compile on OS X.

You need to define BUILD_EMULATOR_OPENGL=true in your
environment, otherwise this code doesn't get built yet by default.

Change-Id: Ia1b48c0ab84f493f3c9f95030d9165961069fb6e
2011-08-09 10:45:19 +02:00
Vladimir Chtchetkine
abe471909d am 079ff13b: Merge "Enable connection to QEMUD via pipe."
* commit '079ff13b07b41d49c4d2f961ba6131960bd81c89':
  Enable connection to QEMUD via pipe.
2011-08-08 13:18:48 -07:00
Eric Laurent
70e8110fcf audio HAL: add support for TTY mode selection
Change-Id: I680e008a091e31e6c0b11adb26f6b232829baacb
2011-08-07 10:05:40 -07:00
Vladimir Chtchetkine
39e2630dd9 Enable connection to QEMUD via pipe.
With the new model, we will try to connect client via pipe first, and only if
the pipe connection is not available we will fall back to the socket connection.

Change-Id: I7112ff3cb63e1f82a004b80b9ae579d97e15e029
2011-08-05 10:17:39 -07:00
Mike Lockwood
ee43a308b6 am 20013279: am 4306ca7d: Merge "GPS: added update_network_availability to AGpsRilInterface"
* commit '20013279f3dacec0b1d6c2844213d762b469cf98':
  GPS: added update_network_availability to AGpsRilInterface
2011-08-04 07:53:33 -07:00
Mike Lockwood
20013279f3 am 4306ca7d: Merge "GPS: added update_network_availability to AGpsRilInterface"
* commit '4306ca7d446c26752ecd9f724590487d68a27f10':
  GPS: added update_network_availability to AGpsRilInterface
2011-08-04 07:52:14 -07:00
Kevin Tang
b82c2db760 GPS: added update_network_availability to AGpsRilInterface
Change-Id: Ib2ed9ea96f1043d34a12c2ddf87b41c5256b585e
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-08-04 09:48:03 -04:00
Vladimir Chtchetkine
7c7a29401f am d9f2f74e: am da51d1ca: Merge "Inline implementation of qemu_pipe_open"
* commit 'd9f2f74e1939eb268ec557171149375f220628d2':
  Inline implementation of qemu_pipe_open
2011-08-03 18:16:35 -07:00
Vladimir Chtchetkine
d9f2f74e19 am da51d1ca: Merge "Inline implementation of qemu_pipe_open"
* commit 'da51d1ca145b8cc82588d97ea33e81d6a0cda408':
  Inline implementation of qemu_pipe_open
2011-08-03 12:44:05 -07:00
Vladimir Chtchetkine
08ab51b65c Inline implementation of qemu_pipe_open
Change-Id: Icbe0528b1ac2b215d2cebc5c35cce9c3c830b722
2011-08-03 09:07:39 -07:00
Eric Laurent
ed9928c76d audio HAL: add defines for BT NREC parameter
Added definitions of keys and values used to enable or disable
AEC and NS via set_parameters according to BT headset capabilities.

Change-Id: Id3fba06edfe77e2832b8256c0c4c46eeef17b816
2011-08-02 19:30:37 -07:00
Mathias Agopian
d6afef62ff Add a h/w composer HAL API to allow the HAL to trigger a redraw
This is useful in various situations, for instance if the HAL
wants to change its compositing strategy.

Bug: 4488017
Change-Id: Idc410c689af30a2c9613dc3141e323d6e02a5648
2011-08-01 20:45:24 -07:00
Wu-cheng Li
482c49bf27 Merge "Add frame metadata to camera data callback." 2011-07-28 17:23:41 -07:00
Wu-cheng Li
37ea6f730e Add frame metadata to camera data callback.
bug:4460717
Change-Id: I6175af70d0f10e0ba1b7158a237bceed2be06dd2
2011-07-29 07:08:56 +08:00
Mike Lockwood
6952a72cd3 am bc287a05: am 61659b21: Merge "gps: Adding ip address for AGps"
* commit 'bc287a056561b52d3f4067c3a9a2f948635ed2c1':
  gps: Adding ip address for AGps
2011-07-28 14:06:05 -07:00
Mike Lockwood
bc287a0565 am 61659b21: Merge "gps: Adding ip address for AGps"
* commit '61659b21b512a4d1e26a1843738e0486a68be36b':
  gps: Adding ip address for AGps
2011-07-28 14:04:11 -07:00
Stephen Li
9e48a97c96 gps: Adding ip address for AGps
Change-Id: I3ac752294b81e1fa69019d037d8b89563773b35e
2011-07-28 16:41:58 -04:00
Iliyan Malchev
2280003113 camera HAL: add optional put_parameters callback
Change-Id: I2b2436c68b3095e840458059f8533dc897e1ca87
Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-07-26 15:56:03 -07:00
Jean-Baptiste Queru
6f3cb7d497 am 03e7ec95: Merge "Tweaks for forward-compatibility"
* commit '03e7ec959823279937ceae1290b938c4b0b68317':
  Tweaks for forward-compatibility
2011-07-11 17:54:07 -07:00
Jean-Baptiste Queru
5e8f4999d0 Tweaks for forward-compatibility
Change-Id: I9171f0f0155c910cf5ae4109e812c9ff10702946
2011-07-11 17:37:42 -07:00
Eric Laurent
f3008aa707 Audio HAL: added interface for audio preprocessing
Change-Id: I032f6dd8f9ad11283a3f0a6721018dabfd12236d
2011-07-08 09:59:52 -07:00
Mike Lockwood
8aac5911c9 GPS: Add support for on-demand NTP time injection
Change-Id: I95ea2bc2a345d6fbde22356f575506385257e574
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-06-29 15:10:36 -04:00
Sundar Raman
ac0e067896 Camera: Add lock_buffer to preview_stream_ops
Giving HAL control of locking buffer instead of locking in dequeue buffer.

Change-Id: I2640b784218fa67ccb051c13b24f2d3dda48ce9a
Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-06-24 11:04:17 -07:00
Jean-Baptiste Queru
e710fc70e4 am 910cf83c: Merge "tweak for forward-compatibility"
* commit '910cf83c9a58e4ee42b6aea919de80273cb25aa4':
  tweak for forward-compatibility
2011-06-20 09:10:56 -07:00
Jean-Baptiste Queru
bbf64ecd19 tweak for forward-compatibility
Change-Id: I4230a049221f551a6b0c279c0ba75e872e703a83
2011-06-18 10:32:53 -07:00
Dima Zavin
3bc15860a9 hardware: drop the _hal suffixes from audio.h and audio_policy.h
Change-Id: Ib9bfc4049cf350f72af3ee577ce4756ac4118cfc
Signed-off-by: Dima Zavin <dima@android.com>
2011-06-13 18:12:17 -07:00
Dima Zavin
1199865d0c hardware: move audio_policy.h to system/
Change-Id: I392c5f91db88ca923dead7202064169edc1cc0c7
Signed-off-by: Dima Zavin <dima@android.com>
2011-06-13 18:10:06 -07:00
Iliyan Malchev
4deb188904 libhardware: report stride on dequeue_buffer
Change-Id: Ic41f625f69e135fd2dc3929f99af83b9584f8c1d
Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-06-10 16:06:52 -07:00
Dima Zavin
66d6b04b84 Merge "hardware: audio: add stream parameter strings needed by HALs" 2011-06-07 15:23:24 -07:00
Dima Zavin
57dde28fb8 hardware: audio: add stream parameter strings needed by HALs
Change-Id: Ib5fcb67426ad5d67fd021894db71ae7114ea3367
Signed-off-by: Dima Zavin <dima@android.com>
2011-06-06 19:32:08 -07:00
Iliyan Malchev
24b325e614 libhardware/camera.h: camera HAL memory management updates
-- add a callback to camera_memory_t that can be used to free the requested
   memory
-- memory requests are in the form of N buffers S bytes each
-- data callbacks pass an index to a buffer in addition to the camera_memory
   pointer

Change-Id: I368139809f25a662d8895f205e3b87fa5046a4b2
Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-06-06 18:08:24 -07:00
Eric Laurent
fcc446f42c Modified audio effect API.
Moved and renamed media/EffectApi.h to hardware/audio_effect.h
Modified the effect library API to expose a library info structure
containing an interface functions table.
Also removed enums for audio channels, audio format and devices
from effect API and use values from system/audio.h instead.

Change-Id: I32fd752e449337410115121c1c60c699d95247c2
2011-05-27 15:18:05 -07:00
Jean-Baptiste Queru
6e17d2c46c Merge 48e4ab6b7
Change-Id: Ie034418055ed9b10608e06fd6e35d64bddb73598
2011-05-18 16:40:03 -07:00
Jean-Baptiste Queru
48e4ab6b74 am 83eb0af0: Merge "support humidity sensor type"
* commit '83eb0af000c80bc9d9b2a19eb15ab22bb0dddb1b':
  support humidity sensor type
2011-05-18 15:15:48 -07:00
Jean-Baptiste Queru
83eb0af000 Merge "support humidity sensor type" 2011-05-18 14:39:13 -07:00
Mathias Agopian
128d102f38 Merge "split fb.h out of gralloc.h" 2011-05-16 19:05:15 -07:00
Jean-Baptiste Queru
61b1626244 am ab8a3590: Merge "Revert "Extra audio headers for better build-time compatibility""
* commit 'ab8a35906f6ed5055a0a6c52db4d5cb154cdf703':
  Revert "Extra audio headers for better build-time compatibility"
2011-05-13 16:35:54 -07:00
Jean-Baptiste Queru
e60fb8c4a3 Revert "Extra audio headers for better build-time compatibility"
This reverts commit 54aa0e1520.

Change-Id: Id13be86091d064db69b47a85d69c02332a2c5193
2011-05-13 14:23:07 -07:00
Mathias Agopian
5337b10289 split fb.h out of gralloc.h
fb and gralloc are part of the same HAL for now,
but for clarity we split them into these two headers.

Change-Id: I8e9e3068e47f0d94dd7c145d72fdc2e9fff24af5
2011-05-12 16:21:49 -07:00
Dima Zavin
aa21172bcd audio: move audio.h to system/core/include/system/audio.h
Change-Id: I523dfb361b1b3862cf8bc41c1691c607b2c815b0
Signed-off-by: Dima Zavin <dima@android.com>
2011-05-12 14:10:06 -07:00
Jean-Baptiste Queru
e3193479ae am 47050dc6: Merge "Extra audio headers for better build-time compatibility"
* commit '47050dc62e02fe9129217495281f8201de7fcb91':
  Extra audio headers for better build-time compatibility
2011-05-12 09:28:31 -07:00
Derek Sollenberger
54aa0e1520 Extra audio headers for better build-time compatibility
Change-Id: I58724c04b73403391b157bcc14792ad080e5912f
2011-05-12 09:14:32 -07:00
Iliyan Malchev
33c0fe022e libhardware: move buffer_handle_t to system/core
Change-Id: I2ed9ff7360086bc3458b2211437c102fee615481
Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-05-03 15:49:54 -07:00
Iliyan Malchev
41693fa555 libhardware: introduce camera HAL header
camera.h

-- a HAL module for the camera, camera_module_t, which can be queried for the
   number and orientation of the available camera sensors.  A camera sensor is
   also opened through this module, and is represented by:

-- a HAL device for each camera sensor, camera_device_t, which encapsulates all
   the functionality of the base class CameraHardwareInterface;

Change-Id: I79a9524ceeafc4275581c009d7b9c0fa05eed764
Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-05-03 15:49:54 -07:00
Iliyan Malchev
c12d0e9240 libhardware: break pixel formats out of hardware.h
These definitions now live under system/core/include/android/graphics.h

Change-Id: I65ca8226cb42387748c3aaa1432423153d1dad33
Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-05-03 15:49:54 -07:00
Iliyan Malchev
ef1ab51f16 libhardware: minor cleanup in gralloc.h
Change-Id: I2180725805e47d313e29ed80b4c9c05e06b77831
Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-05-03 15:49:54 -07:00
Mathias Agopian
bbc13bc837 Merge "Improve ROTATION_VECTOR sensor documentation" 2011-05-03 15:36:17 -07:00
Mathias Agopian
d93ff971bd Improve ROTATION_VECTOR sensor documentation
Change-Id: Iebc978beadf365d63c60c04d54ce7331605348b3
2011-05-02 19:10:31 -07:00
David 'Digit' Turner
1ca194d2d4 am 05a9b62f: am d1be1d02: Merge "<hardware/qemu_pipe.h>: Allow inclusion from C++"
* commit '05a9b62f315c933e9f92e2fb8ee64f6f8f261d3f':
  <hardware/qemu_pipe.h>: Allow inclusion from C++
2011-04-29 15:09:45 -07:00
David 'Digit' Turner
1714a2a53f am 61d6a702: am 67e71a87: am ee5636cf: Merge "Add <hardware/qemu_pipe.h> header."
* commit '61d6a702dc318247273169e0eafb74f4bd7e7c59':
  Add <hardware/qemu_pipe.h> header.
2011-04-29 15:09:43 -07:00
David 'Digit' Turner
05a9b62f31 am d1be1d02: Merge "<hardware/qemu_pipe.h>: Allow inclusion from C++"
* commit 'd1be1d02135917497866526ce12ef4c2548e63cb':
  <hardware/qemu_pipe.h>: Allow inclusion from C++
2011-04-29 14:57:56 -07:00
David 'Digit' Turner
61d6a702dc am 67e71a87: am ee5636cf: Merge "Add <hardware/qemu_pipe.h> header."
* commit '67e71a870d882be851def98fb3e87c3a67a4b93e':
  Add <hardware/qemu_pipe.h> header.
2011-04-29 14:53:39 -07:00
David 'Digit' Turner
ca196ed978 <hardware/qemu_pipe.h>: Allow inclusion from C++
Change-Id: Ic33b5daf7a01e8fe638ea1ccc54ed76561745abe
2011-04-29 16:38:51 +02:00
Mathias Agopian
03dd9c671d remove deprecated/unused HAL headers
copybit, overlay, sensors_deprecated are no longer supported.

Change-Id: Ie5da20bd4ff95f7565a162d628bf572a76327b7b
2011-04-28 20:09:45 -07:00
Mathias Agopian
53b8af5e9c get rid of GRALLOC_MODULE_PERFORM_CREATE_HANDLE_FROM_BUFFER
Change-Id: I916812dcfa2e1188e7e249303b80b7b221de71fd
2011-04-28 19:05:05 -07:00
David 'Digit' Turner
e2762c449d Add <hardware/qemu_pipe.h> header.
This header is used to implement qemu pipes, a very fast way to exchange
messages between the guest and the emulator program. See implementation and
tests under development/tools/emulator/system/libqemu/

Change-Id: I8272435cb9bf6e2a96ac62b9a56cbc5930052682
2011-04-28 11:35:57 +02:00
Dima Zavin
f1504dbca3 libhardware: add audio defines and HAL headers
Change-Id: Iae523059834c252f0d39f7efc6e15832e6273101
Signed-off-by: Dima Zavin <dima@android.com>
2011-04-27 14:08:57 -07:00
Mathias Agopian
fa9c285fed Merge "add a method to blank/unblank the screen" 2011-04-21 17:13:45 -07:00
Mathias Agopian
97c7c40b73 add a method to blank/unblank the screen
Change-Id: I3874654248826c29e57bb62bb5217184bdfb4263
2011-04-18 19:05:29 -07:00
Dima Zavin
54921de415 libhardware: add concept of module classes
Needed for things like audio and audio effects. Provides a
new interface to loading modules named 'hw_get_module_by_class'.
This takes two parameters: 'class_id' and 'instance' which are
used to construct the filename for the module to be loaded. If
instance is NULL, then this function acts identically to
hw_get_module where 'class_id' == 'id' (and in fact the latter
implemented exactly this way).

For audio, this new mechanism allows us to load multiple audio
interfaces by doing:

hw_get_module_by_class("audio", "primary", &module);
hw_get_module_by_class("audio", "a2dp", &module);
hw_get_module_by_class("audio", "usb", &module);
...

In the future we will likely want to add the ability to load a set of
module instances based on a config file, which will have a standard
syntax and the mechanism will be provided by libhardware.

Change-Id: I9976cc6d59a85a414b18e7b398a36edfbce4abd8
Signed-off-by: Dima Zavin <dima@android.com>
2011-04-18 15:59:13 -07:00
Urs Fleisch
d2ed15a6b8 support humidity sensor type
Change-Id: I7600d64ea28d2eefc20104cbf81270ddad9d57c0
2011-04-12 17:25:57 -07:00
Mathias Agopian
54f9dd032d fix [4056232] Deprecate Sensor.TYPE_TEMPERATURE and add Sensor.TYPE_AMBIENT_TEMPERATURE
Bug: 4056232
Change-Id: I4555823abacc8aa127429bda78033ef6007aa04b
2011-03-22 18:44:02 -07:00
Glenn Kasten
7cb277a5c2 Protected surface API
Change-Id: I63a16e77228b4a440ad08b9f21d8fbbacef3698e
2011-01-27 17:54:12 -08:00
Erik Gilling
158549c894 gralloc: add dump hooks to gralloc/hwcomposer
Change-Id: I27bf46103b4d1d547c42a6de4f3270a6dfd7b7ec
2010-12-08 15:31:40 -08:00
Erik Gilling
e99520400f gralloc: add padding to alloc_device_t and hwc_composer_device_t
also adds version #defines

Change-Id: I89f19fc7811ea9c9efb579a9f6abb4c3d9011bbf
2010-12-08 15:16:52 -08:00
Louis Huemiller
45e2371cb9 const native_handle_t* -> buffer_handle_t
Change-Id: If4ac1bcfba7192ac1339039cac75f76a5c09f4c6
2010-12-01 12:25:00 -08:00
Mathias Agopian
1b514ad358 am 778ab436: am 3cceacee: Merge "update rotation-vector documentation." into gingerbread
* commit '778ab436dee2918ae2fa083f4afa4ba68dc39235':
  update rotation-vector documentation.
2010-12-01 03:37:43 -08:00
Mathias Agopian
3cceaceeca Merge "update rotation-vector documentation." into gingerbread 2010-11-30 14:05:02 -08:00
Jamie Gennis
2c1001e10a am 2d17786b: am 2ec21933: Update the docs for the private pixel formats.
* commit '2d17786be760f473b2a05f5ab48f82cc463c860b':
  Update the docs for the private pixel formats.
2010-11-24 16:27:25 -08:00
Louis Huemiller
38476faf8f Hardware Composer add const for handle pointer
Change-Id: Icf53be12ed43bce19b152fa7f1dee104d713b8da
2010-11-22 16:34:10 -08:00
Mathias Agopian
42b743c855 update rotation-vector documentation.
the rotation-vector sensor must transmit the W component of the
unit quaternion in data[4].
This change doesn't cause a compatibility issue because nothing in the
system relies on the W component being present.

Change-Id: If4f699ac8d41d8b957925b375e355a138a82dcf8
2010-11-22 15:55:32 -08:00
Jamie Gennis
2ec2193365 Update the docs for the private pixel formats.
Change-Id: I337d9e7ba7f3a625294398790844c6d15ee75237
2010-11-22 15:28:58 -08:00
Jamie Gennis
7edeaf91a8 Add a gralloc usage flag for external displays.
This change adds a gralloc usage flag to indicate that a buffer should
be displayed full-screen on an external display if one is present.

Change-Id: I3230a8dd2c49c89c81bf0ee9e646a448028bda2e
2010-11-17 18:51:17 -08:00
Mathias Agopian
2ec5715af2 am caf9528e: am 2d1e978e: improve hardware.h documentation 2010-10-26 12:21:50 -07:00
Mathias Agopian
2d1e978e32 improve hardware.h documentation
Change-Id: I637a1d8924af144a9c2cc4645659e9d23e9527d6
2010-10-25 17:55:55 -07:00
Louis Huemiller
871815b5f1 hwcomposer.h - Add comment that buffer handles in a list must be unique
Change-Id: Iaa4984258572b46d6ded4c74b616b842003031c8
2010-10-25 17:00:52 -07:00
Mathias Agopian
abcf2c6a17 am ccacbce3: am 937af9b7: fix part of [Issue 3114236] [Crespo] The order of FLIP_H and ROT_90 is different from other devices
Merge commit 'ccacbce375af6422fa24f81bdc771a5460f60fed'

* commit 'ccacbce375af6422fa24f81bdc771a5460f60fed':
  fix part of [Issue 3114236] [Crespo] The order of FLIP_H and ROT_90 is different from other devices
2010-10-21 13:49:17 -07:00
Mathias Agopian
937af9b713 fix part of [Issue 3114236] [Crespo] The order of FLIP_H and ROT_90 is different from other devices
there are a typo in hardware.h where FLIP_V and FLIP_H were inverted.
this change will probably break all the overlay HALs which
implement FLIP_V/H, which thanksfully are not many.

Change-Id: Ie824d9a924354d637e44eb6476cb4e5e945c3594
2010-10-21 00:07:32 -07:00
Mike Lockwood
e202e28662 am 7b96b46c: am 455e83b7: GPS: Add update_network_state call to AGpsRilInterface
Merge commit '7b96b46c5bc0bb7149c5323c9537660558e65bad'

* commit '7b96b46c5bc0bb7149c5323c9537660558e65bad':
  GPS: Add update_network_state call to AGpsRilInterface
2010-10-12 11:49:55 -07:00
Mike Lockwood
455e83b705 GPS: Add update_network_state call to AGpsRilInterface
Change-Id: I3ecc24965ef7fbd943738dee7d0e440bfdeae753
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-10-11 14:30:13 -04:00
Miguel Torroja
41f4cb352c am b15cd546: am 5f404f58: gps: Adding AgpsRilInterface extension
Merge commit 'b15cd546e2043b7530c8eabf235820906e42eaa3'

* commit 'b15cd546e2043b7530c8eabf235820906e42eaa3':
  gps: Adding AgpsRilInterface extension
2010-10-07 09:28:09 -07:00
Miguel Torroja
5f404f58df gps: Adding AgpsRilInterface extension
Change-Id: Iddc10906ca4bd59fef25d51068e0c69998aae13f
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-10-05 08:05:08 -04:00
Mathias Agopian
8cd4162a14 resolved conflicts for merge of 72c113ee to master
Change-Id: Icef7703423fdb153477bfd3dc49980e979bbd8e7
2010-09-15 12:08:05 -07:00
Mathias Agopian
c04e5f6890 Added a data field for gyroscopes and improved documentation.
Change-Id: Iddc9710d8b724af9285df0396949479dccc3de7a
2010-09-14 10:53:55 -07:00
Mathias Agopian
355e330fae am 20d7bafc: am a2df7ab5: Fix (again) description of our interchange YV12 format
Merge commit '20d7bafcf02a629d4d02401445a5d4804f86336b'

* commit '20d7bafcf02a629d4d02401445a5d4804f86336b':
  Fix (again) description of our interchange YV12 format
2010-09-10 17:24:19 -07:00
Mathias Agopian
a2df7ab5fe Fix (again) description of our interchange YV12 format
Change-Id: I8cd81654b51d50385cccec7b96f6e694fd372925
2010-09-10 14:33:16 -07:00
Kenny Root
e8b8c39057 resolved conflicts for merge of 5e610d6a to master
Change-Id: Ibeaa176ff4b25f81559d14dd8c73283ee4f2eacf
2010-08-24 10:22:45 -07:00
Mathias Agopian
bfbf26c2c8 am 3691181b: am 76022c6f: Merge "revert pixelformat hack" into gingerbread
Merge commit '3691181b21454bcd56c9521e8b61d96ed6e01f84'

* commit '3691181b21454bcd56c9521e8b61d96ed6e01f84':
  revert pixelformat hack
2010-08-21 09:43:27 -07:00
Kevin Powell
4ec14c1e23 add new sensor types for handling gyro data and device orientation more efficiently.
Change-Id: I89faf5b3d57a3e726d1c347ce01d931b100188cd
2010-08-20 19:25:04 -07:00
Jean-Baptiste Queru
5e610d6ad6 resolved conflicts for merge of b01a043d to gingerbread-plus-aosp
Change-Id: I60466613c7ea0335a78d553a10876367d65557d9
2010-08-20 17:30:45 -07:00
Mathias Agopian
2250f45ff0 revert pixelformat hack
Change-Id: Ia5e01b2b2f205f48ede1d29275094a64221df2d4
2010-08-19 13:14:46 -07:00
Mathias Agopian
2698f0cd99 Revert hwcomposer HAL. DO NOT MERGE.
This reverts commit cdd44a0db3.
This reverts commit e6b5c05aa0.
This reverts commit 5d3de309f4.
2010-08-17 20:29:08 -07:00
Mathias Agopian
db23b533af am ee1b98f8: am cdd44a0d: added a new hint to tell SF it should clear the FB for some layers
Merge commit 'ee1b98f8b3016173b3aadcb652cc53c5ca09c093'

* commit 'ee1b98f8b3016173b3aadcb652cc53c5ca09c093':
  added a new hint to tell SF it should clear the FB for some layers
2010-08-12 15:11:19 -07:00
Mathias Agopian
cdd44a0db3 added a new hint to tell SF it should clear the FB for some layers
Change-Id: I784e7c5be2eab84c321773dc53b4cb657ca9a457
2010-08-12 15:04:58 -07:00
Makarand Karvekar
3120b58768 hw: sensors: Add gyro field
Change-Id: I113f0a067fccbc8d69d1949b6af3ed9e119d0355
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2010-08-11 15:12:52 -07:00
Mathias Agopian
b3ae979489 am 754c7a01: am 60d641e5: Merge "first stab at hwcomposer HAL and default implementation." into gingerbread
Merge commit '754c7a01d76493a2c3afafe21c3d52abbada3ef0'

* commit '754c7a01d76493a2c3afafe21c3d52abbada3ef0':
  first stab at hwcomposer HAL and default implementation.
2010-08-10 13:55:30 -07:00
Mathias Agopian
5d3de309f4 first stab at hwcomposer HAL and default implementation.
Change-Id: I7ff47b94a6b34a8f61031bd94e936a088dcea6ab
2010-08-09 17:15:16 -07:00
Kevin Powell
b01a043df4 add new sensor types for handling gyro data and device orientation more efficiently.
Change-Id: I453b7a2e84b885ca207d9d938b923e1624554644
2010-08-05 09:51:37 -07:00
Mathias Agopian
d521dcac2e am ae3b05e8: am 67d82220: temporary hack to allow compilation of adreno driver
Merge commit 'ae3b05e8f38e588df1a500ccea9f7961c93686ba'

* commit 'ae3b05e8f38e588df1a500ccea9f7961c93686ba':
  temporary hack to allow compilation of adreno driver
2010-07-31 12:19:29 -07:00
Mathias Agopian
67d8222063 temporary hack to allow compilation of adreno driver
Change-Id: Ib3c260df2c22e1c59c5380278ea470e34aedbd81
2010-07-30 17:57:02 -07:00
Mathias Agopian
5c0b977701 am bb2c87ea: am 1511e20f: improved comments and added a minDelay attribute to sensor_t
Merge commit 'bb2c87ea03c6bff09ea05dc6ba69796efe31ebdb'

* commit 'bb2c87ea03c6bff09ea05dc6ba69796efe31ebdb':
  improved comments and added a minDelay attribute to sensor_t
2010-07-29 18:20:40 -07:00
Mathias Agopian
1a4ca39725 am 0bcdefe8: am 1832f557: Added definition/documentation for pressure sensors
Merge commit '0bcdefe8180c8d44e1d2ad6ec8e332263bd94377'

* commit '0bcdefe8180c8d44e1d2ad6ec8e332263bd94377':
  Added definition/documentation for pressure sensors
2010-07-29 18:20:38 -07:00
Mathias Agopian
1511e20fbb improved comments and added a minDelay attribute to sensor_t
Change-Id: Ie00fe8260089614e15f1f8035b8392711dff048c
2010-07-29 15:33:22 -07:00
Mathias Agopian
1832f55760 Added definition/documentation for pressure sensors
Change-Id: I68b1bb74ebf1aceee09b6e8cbb8e37b906dbdcd0
2010-07-29 15:22:30 -07:00
Mathias Agopian
0f1aaf80c7 am c0611f0f: am 478994a7: improve sensor HAL documentation
Merge commit 'c0611f0f19b138bba04027d3fb530ab1d85fb9ce'

* commit 'c0611f0f19b138bba04027d3fb530ab1d85fb9ce':
  improve sensor HAL documentation
2010-07-26 12:27:45 -07:00
Mathias Agopian
478994a758 improve sensor HAL documentation
Change-Id: If443c1d2e48c697fa8774bd94af4e65866d1dedb
2010-07-23 17:23:43 -07:00
Mathias Agopian
2ba551b90b am f0e4ec1a: am 66a4095c: Be more explicit about the rate at which sensor events must be returned
Merge commit 'f0e4ec1a04701c40e38a09a97e6f1c417163e0c2'

* commit 'f0e4ec1a04701c40e38a09a97e6f1c417163e0c2':
  Be more explicit about the rate at which sensor events must be returned
2010-07-22 17:17:45 -07:00
Mathias Agopian
66a4095ca0 Be more explicit about the rate at which sensor events must be returned
Change-Id: I937e84c34c539b4e3ff34eddcf4fb24e2866ebfa
2010-07-22 17:11:50 -07:00
Mathias Agopian
6c84d7a579 resolved conflicts for merge of e153b430 to master
Change-Id: I72e67a7e6b23219f0c1b6fa7d114da2c1e22fdc1
2010-07-21 18:00:36 -07:00
Mathias Agopian
87bd257849 am 97ba26bb: am cdefccdb: new sensor_event_t structure for the new HAL that can handle bigger payloads
Merge commit '97ba26bb6de7dd7317c36ac0a3406919dd09bdaf'

* commit '97ba26bb6de7dd7317c36ac0a3406919dd09bdaf':
  new sensor_event_t structure for the new HAL that can handle bigger payloads
2010-07-21 17:49:27 -07:00
Mathias Agopian
9de11a9c1c am 39cd81ce: am b1e212e7: New sensor HAL and test
Merge commit '39cd81ce725b28db98a4cb7b47f35c59e3a289e7'

* commit '39cd81ce725b28db98a4cb7b47f35c59e3a289e7':
  New sensor HAL and test
2010-07-21 17:49:24 -07:00
Mathias Agopian
98c5309047 move the old sensorHAL interface into a separate header
sensors_deprecated.h is included from sensors.h, for
easier reading.

Change-Id: I97883e1db73beb6c612da2ec023ee6bb8d4858c3
2010-07-19 15:32:24 -07:00
Mathias Agopian
cdefccdba5 new sensor_event_t structure for the new HAL that can handle bigger payloads
Change-Id: I8f21e457c308eea9cb1f73b49b1fed36627ec55e
2010-07-19 14:14:04 -07:00
Mathias Agopian
b1e212e7b6 New sensor HAL and test
Change-Id: I216e3dd0b2b45829fef7c682774d2cdd8271d4e7
2010-07-14 20:39:46 -07:00