Commit graph

435 commits

Author SHA1 Message Date
Satya Calloji
fe9728dfa1 Add support for AbsoluteVolume
Add support for AbsoluteVolume in HAL

bug 9595622

Change-Id: Iaf08b81b61aa07ebaa83f4bd6cc9e82171947aa1

Conflicts:
	include/hardware/bt_rc.h
2013-08-16 12:32:55 -07:00
John Du
b984481193 Add support for ff/rew
Change-Id: I95d17aa4f54d58596085f8d67e63e277b280a242
(cherry picked from commit a068b57857a6f9f2db335dbb18f1be37e85937c6)
2013-08-15 18:48:47 +00:00
Andre Eisenbach
299e43c186 LE: Add peripheral role support (3/4)
Initial stack support for the LE peripheral role.

Change-Id: Ie036432c90c405a331e2fceaf88bf97a46182176
2013-08-14 00:53:11 -07:00
Andre Eisenbach
02223d1602 LE: Add instance ID to descriptors (3/4)
If a remote devices offers multiple descriptors with the same UUID, the
instance ID is used to differentiate between them.

Change-Id: Ia5ab989f222a5cf1b7cb66966ad4f91f2b660708
2013-08-13 19:35:15 -07:00
Mathias Agopian
af32a8d594 minor changes to sensor HAL interface
Change-Id: Idc415fd0a92482f4f4cd051b458a28d97f251f35
2013-08-06 20:33:38 -07:00
Mathias Agopian
16671c5519 improvements to the batch mode APIs
- also added a flush() method to drain the FIFO before
  the batch timeout has expired

Change-Id: I73cc450fae0a6acf73d8b5d73bcd7a225bfbfe35
2013-08-05 17:07:02 -07:00
Eino-Ville Talvala
9d51856d71 Camera: Add new 3.1 device version
- Add new definition to camera_common
- Update comment in camera3.h

Change-Id: I9d8c594cfdaff40c543e8f9017091b0c06bbf022
2013-07-30 15:03:50 -07:00
Alex Ray
dbd278cd07 Merge "camera3: Add flush" 2013-07-26 20:47:51 +00:00
Alex Ray
dc1a7cbe8f Merge "camera3: Pass consumer information in configure_streams" 2013-07-26 20:42:04 +00:00
Zhihai Xu
e495baf7d7 Merge "Add debug menu to enable btsnoop" 2013-07-26 18:28:49 +00:00
Jason Sams
2242385281 Add usage bit for RenderScript.
Change-Id: I3ac3dc8e20e94ee885228febdc8eeb66278054cb
2013-07-16 12:51:13 -07:00
destradaa
d542a20074 Merge "Update FLP HAL definition for thread semantics." 2013-07-13 00:59:04 +00:00
destradaa
b89487944d Update FLP HAL definition for thread semantics.
Change-Id: I3dd1f5c72f0fa62a131b7ce166f3df631bb44394
2013-07-12 17:05:15 -07:00
Etienne Le Grand
00dcc21ea9 Merge "Clarify some comments in the sensor HAL" 2013-07-12 16:17:53 +00:00
Mathias Agopian
3b4732c9d5 bump HWC version to 1.3, add support for float crop rectangle
Change-Id: I8601ecc9f39052000b872805be1637ee73b0d3e1
2013-07-10 15:03:00 -07:00
Etienne Le Grand
f770b7a9b9 Clarify some comments in the sensor HAL
Step count can reset when android restarts
When calling activate() without calling setDelay() before, use a default rate
Uncalibrated magnetometer should not be low pass filtered
The accelerometer can be used for the geomagnetic rotation vector
When batching call retuns an error, it shouldn't change the state. In particular, it shouldn't change the rate.
batch(timeout=0) must always return success
Wake upon fifo full will never be specified when timeout=0
setDelay is not called when in batch mode

Change-Id: I8a437eeedbdc54e5f1f3e644a92e9f781d7add0d
2013-07-10 14:44:27 -07:00
Mathias Agopian
27e16688ec be more explicit about 64 bits values in sensor events
Change-Id: I61e4832ff2c721987c38897924b1b50b758384da
2013-07-08 15:30:54 -07:00
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