OSDN Git Service

android-x86/hardware-libhardware.git
10 years agoAdd usage bit for RenderScript.
Jason Sams [Tue, 16 Jul 2013 19:51:13 +0000 (12:51 -0700)]
Add usage bit for RenderScript.

Change-Id: I3ac3dc8e20e94ee885228febdc8eeb66278054cb

10 years agoMerge "Update FLP HAL definition for thread semantics."
destradaa [Sat, 13 Jul 2013 00:59:03 +0000 (00:59 +0000)]
Merge "Update FLP HAL definition for thread semantics."

10 years agoMerge "Camera tests: Add variable burst test"
Eino-Ville Talvala [Sat, 13 Jul 2013 00:10:41 +0000 (00:10 +0000)]
Merge "Camera tests: Add variable burst test"

10 years agoUpdate FLP HAL definition for thread semantics.
destradaa [Fri, 12 Jul 2013 23:18:12 +0000 (16:18 -0700)]
Update FLP HAL definition for thread semantics.

Change-Id: I3dd1f5c72f0fa62a131b7ce166f3df631bb44394

10 years agoCamera tests: Add variable burst test
Eino-Ville Talvala [Tue, 2 Jul 2013 01:47:09 +0000 (18:47 -0700)]
Camera tests: Add variable burst test

By default, this test runs through a range of application-set
exposure, frame duration, and sensitivity values, and verifies
that the duration of capture, and in some cases the brightness,
match what's expected.

Optionally, it can use environment variables to specify the
burst parameters, and to enable dumping the captured YUV images
to flash for later debugging.

Change-Id: I647d360344ef3684e99c86c369e96ac82e62fc96

10 years agoMerge "Clarify some comments in the sensor HAL"
Etienne Le Grand [Fri, 12 Jul 2013 16:17:52 +0000 (16:17 +0000)]
Merge "Clarify some comments in the sensor HAL"

10 years agoMerge "bump HWC version to 1.3, add support for float crop rectangle"
Mathias Agopian [Wed, 10 Jul 2013 23:10:47 +0000 (23:10 +0000)]
Merge "bump HWC version to 1.3, add support for float crop rectangle"

10 years agobump HWC version to 1.3, add support for float crop rectangle
Mathias Agopian [Wed, 10 Jul 2013 02:55:41 +0000 (19:55 -0700)]
bump HWC version to 1.3, add support for float crop rectangle

Change-Id: I8601ecc9f39052000b872805be1637ee73b0d3e1

10 years agoClarify some comments in the sensor HAL
Etienne Le Grand [Wed, 10 Jul 2013 21:08:40 +0000 (14:08 -0700)]
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

10 years agomodules: camera: simplify metadata list traversal
Alex Ray [Tue, 9 Jul 2013 19:19:49 +0000 (12:19 -0700)]
modules: camera: simplify metadata list traversal

keep traveling pointer local to the walking loop

Change-Id: I0038007d6e7a45e519b9b2162c674132477879cc

10 years agomodules: camera: Shutter notify message support
Alex Ray [Tue, 4 Jun 2013 19:38:07 +0000 (12:38 -0700)]
modules: camera: Shutter notify message support

The shutter callback timestamp should originate from the sensor itself,
since it knows exactly when the first line of the frame started
exposing.  However, as a fallback (or in the CPU-painting case) query
CLOCK_BOOTTIME instead.

Change-Id: Id57c05525e9c575d009b9deb96a69557fccac16b

10 years agoMerge "modules: camera: make Metadata a delete-able object"
Alex Ray [Tue, 9 Jul 2013 19:18:35 +0000 (19:18 +0000)]
Merge "modules: camera: make Metadata a delete-able object"

10 years agoMerge "modules: camera: only wait on valid acquire fence"
Alex Ray [Tue, 9 Jul 2013 19:18:17 +0000 (19:18 +0000)]
Merge "modules: camera: only wait on valid acquire fence"

10 years agoam cb7f5b94: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge
The Android Open Source Project [Mon, 8 Jul 2013 22:52:25 +0000 (15:52 -0700)]
am cb7f5b94: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge

* commit 'cb7f5b94a3d683f297ddf839ca4aa897e0927139':

10 years agoReconcile with jb-mr2-zeroday-release - do not merge
The Android Open Source Project [Mon, 8 Jul 2013 22:35:35 +0000 (15:35 -0700)]
Reconcile with jb-mr2-zeroday-release - do not merge

Change-Id: I2c24ec07adc57969cc48647a07afca7337923d51

10 years agoMerge "be more explicit about 64 bits values in sensor events"
Mathias Agopian [Mon, 8 Jul 2013 22:33:54 +0000 (22:33 +0000)]
Merge "be more explicit about 64 bits values in sensor events"

10 years agobe more explicit about 64 bits values in sensor events
Mathias Agopian [Mon, 8 Jul 2013 21:00:54 +0000 (14:00 -0700)]
be more explicit about 64 bits values in sensor events

Change-Id: I61e4832ff2c721987c38897924b1b50b758384da

10 years agomerge in jb-mr2-zeroday-release history after reset to jb-mr2-dev
The Android Automerger [Mon, 8 Jul 2013 12:55:35 +0000 (05:55 -0700)]
merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev

10 years agomodules: camera: make Metadata a delete-able object
Alex Ray [Fri, 31 May 2013 23:51:39 +0000 (16:51 -0700)]
modules: camera: make Metadata a delete-able object

Metadata is currently only used for immutable persistent settings
(static camera characteristics, and the capture templates), but will be
used for dynamic metadata as well.  Make it deleteable so we can
create/destroy these at will.

Change-Id: I7372b07b904d5a6b55453093712e0bb2675918b5

10 years agomodules: camera: only wait on valid acquire fence
Alex Ray [Thu, 30 May 2013 07:19:04 +0000 (00:19 -0700)]
modules: camera: only wait on valid acquire fence

Change-Id: I4f51e509d86722c18308f4f1312ca3379cffd795

10 years agomodules: camera: Write back stream parameters
Alex Ray [Wed, 29 May 2013 22:08:29 +0000 (15:08 -0700)]
modules: camera: Write back stream parameters

max_buffers and usage are read by the framework inside the struct used
to pass the stream configuration parameters;  scribble our new
calculated values whever they are updated internally.

Adds logging to stream creation method (reuse/new).

Change-Id: I04e12880820571900f2ae80c27100f8aedcf9d02

10 years agomodules: camera: Fix stream type characterization
Alex Ray [Tue, 2 Jul 2013 23:56:14 +0000 (16:56 -0700)]
modules: camera: Fix stream type characterization

Type is now enum, not mask.

Change-Id: I264da26a457957a7659154e507970e0303c76e25

10 years agomodules: camera: Dirty metadata objects on update
Alex Ray [Tue, 2 Jul 2013 22:47:24 +0000 (15:47 -0700)]
modules: camera: Dirty metadata objects on update

Change-Id: I4fbd4ad919b855168e3ff5424613271b1fa907af

10 years agomodules: camera: default request templates
Alex Ray [Wed, 29 May 2013 03:32:48 +0000 (20:32 -0700)]
modules: camera: default request templates

Change-Id: I0a4b389e1850c10e12a65b3c8a5670c78c6746f7

10 years agoam 43c754f4: am 4c543a14: Enable native HAL tests to work for camera3 devices
Eino-Ville Talvala [Tue, 2 Jul 2013 19:41:26 +0000 (12:41 -0700)]
am 43c754f4: am 4c543a14: Enable native HAL tests to work for camera3 devices

* commit '43c754f49c0cbd31f3a067b6bff4b98829cb3811':
  Enable native HAL tests to work for camera3 devices

10 years agoam 4c543a14: Enable native HAL tests to work for camera3 devices
Eino-Ville Talvala [Tue, 2 Jul 2013 19:36:39 +0000 (12:36 -0700)]
am 4c543a14: Enable native HAL tests to work for camera3 devices

* commit '4c543a1456cd34a94e2c3a09879aa65ed8cd2f3a':
  Enable native HAL tests to work for camera3 devices

10 years agomodules: camera: fix compiler warnings
Alex Ray [Tue, 28 May 2013 22:52:04 +0000 (15:52 -0700)]
modules: camera: fix compiler warnings

Change-Id: Id1aa624d377776a7e37b52978664d30c927595be

10 years agoMerge "modules: camera: add get_camera_info support"
Alex Ray [Fri, 28 Jun 2013 21:07:01 +0000 (21:07 +0000)]
Merge "modules: camera: add get_camera_info support"

10 years agomodules: camera: add get_camera_info support
Alex Ray [Tue, 28 May 2013 22:52:47 +0000 (15:52 -0700)]
modules: camera: add get_camera_info support

Basic static metadata statically constructed from preprocessor passes
over an array of camera metadata tags.

Change-Id: I16ea9f4d68120d5a0bc010a4a67b0cbcd761329e

10 years agoEnable native HAL tests to work for camera3 devices
Eino-Ville Talvala [Wed, 26 Jun 2013 01:12:19 +0000 (18:12 -0700)]
Enable native HAL tests to work for camera3 devices

Change-Id: Ie11270cc8cf301ec94795b595f0517ee3bad2817

10 years agoAdd defines and support for audio offload
Richard Fitzgerald [Mon, 25 Mar 2013 16:11:44 +0000 (16:11 +0000)]
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>
10 years agoam 0ab04716: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge
The Android Open Source Project [Wed, 26 Jun 2013 19:37:51 +0000 (12:37 -0700)]
am 0ab04716: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge

* commit '0ab04716dcb05f085edcc80bbed3ecefcbec9c46':

10 years agoReconcile with jb-mr2-zeroday-release - do not merge
The Android Open Source Project [Wed, 26 Jun 2013 19:33:43 +0000 (12:33 -0700)]
Reconcile with jb-mr2-zeroday-release - do not merge

Change-Id: I645db66e377a7f385129f72507f19036d4029445

10 years agomerge in jb-mr2-zeroday-release history after reset to jb-mr2-dev
The Android Automerger [Wed, 26 Jun 2013 19:17:24 +0000 (12:17 -0700)]
merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev

10 years agoam 1b8e21aa: am 1a70c0fd: libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODE
Iliyan Malchev [Wed, 26 Jun 2013 02:02:03 +0000 (19:02 -0700)]
am 1b8e21aa: am 1a70c0fd: libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODE

* commit '1b8e21aa2d4a48c3c0777929e723817995881f70':
  libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODE

10 years agoam 1a70c0fd: libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODE
Iliyan Malchev [Wed, 26 Jun 2013 02:00:07 +0000 (19:00 -0700)]
am 1a70c0fd: libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODE

* commit '1a70c0fd39eed070c2c28fc0731fa689d15931c4':
  libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODE

10 years agolibhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODE
Iliyan Malchev [Wed, 26 Jun 2013 01:50:49 +0000 (18:50 -0700)]
libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODE

Bug: 9581070
Change-Id: Ifb47ed0d4fc201732ca6593d41317ec356ead2ba
Signed-off-by: Iliyan Malchev <malchev@google.com>
10 years agoMerge "Changes to fused location hardware hal."
Jaikumar Ganesh [Wed, 26 Jun 2013 01:28:35 +0000 (01:28 +0000)]
Merge "Changes to fused location hardware hal."

10 years agoam a2ce3e82: am 501fc0f1: Power: Add multimedia hints
Mekala Natarajan [Wed, 26 Jun 2013 00:02:04 +0000 (17:02 -0700)]
am a2ce3e82: am 501fc0f1: Power: Add multimedia hints

* commit 'a2ce3e82d5b3667683f3b413e9896fa30b2a9e11':
  Power: Add multimedia hints

10 years agoam 501fc0f1: Power: Add multimedia hints
Mekala Natarajan [Tue, 25 Jun 2013 22:11:07 +0000 (15:11 -0700)]
am 501fc0f1: Power: Add multimedia hints

* commit '501fc0f18249468d485415a3a7f892c644271e63':
  Power: Add multimedia hints

10 years agoChanges to fused location hardware hal.
Kevin Tang [Mon, 17 Jun 2013 19:47:27 +0000 (12:47 -0700)]
Changes to fused location hardware hal.

1. Added some comments.
2. Added device context information.

Change-Id: I0db21778b60339c92b4951aee4facb1148020198

10 years agoPower: Add multimedia hints
Mekala Natarajan [Wed, 19 Jun 2013 22:57:22 +0000 (15:57 -0700)]
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>
10 years agoMerge "Fused Location Provider HAL interface."
Jaikumar Ganesh [Tue, 11 Jun 2013 21:01:37 +0000 (21:01 +0000)]
Merge "Fused Location Provider HAL interface."

10 years agoFused Location Provider HAL interface.
Jaikumar Ganesh [Tue, 4 Jun 2013 22:43:07 +0000 (15:43 -0700)]
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

10 years agomodules: camera: No-op result submission with request
Alex Ray [Sat, 27 Apr 2013 02:32:29 +0000 (19:32 -0700)]
modules: camera: No-op result submission with request

Change-Id: If4e377ba0ac327cc02ac2b9765ce5d406b8960a8

10 years agomodules: camera: Input buffer reprocessing scaffolding
Alex Ray [Fri, 26 Apr 2013 21:47:08 +0000 (14:47 -0700)]
modules: camera: Input buffer reprocessing scaffolding

Change-Id: I158ba833549aee47ca3be5673f6f5d33e455ef59

10 years agomodules: camera: memoize request settings metadata
Alex Ray [Wed, 20 Mar 2013 20:20:02 +0000 (13:20 -0700)]
modules: camera: memoize request settings metadata

Change-Id: I19c3a6a55a42e60f627702cd4a995664a0dfc4d2

11 years agoam 94a155a4: (-s ours) Reconcile with jb-mr2-release - do not merge
The Android Open Source Project [Thu, 23 May 2013 15:06:40 +0000 (08:06 -0700)]
am 94a155a4: (-s ours) Reconcile with jb-mr2-release - do not merge

* commit '94a155a41a562db983e4aa9c51bbeb39438885de':

11 years agoReconcile with jb-mr2-release - do not merge
The Android Open Source Project [Thu, 23 May 2013 15:05:38 +0000 (08:05 -0700)]
Reconcile with jb-mr2-release - do not merge

Change-Id: I31743534d947232b1cce9b36877c58d43e459d08

11 years agomerge in jb-mr2-release history after reset to jb-mr2-dev
The Android Automerger [Thu, 23 May 2013 12:55:23 +0000 (05:55 -0700)]
merge in jb-mr2-release history after reset to jb-mr2-dev

11 years agoam b3d4dae4: am 73dba5e0: Camera3: Document missing AF transitions.
Eino-Ville Talvala [Wed, 22 May 2013 16:22:45 +0000 (09:22 -0700)]
am b3d4dae4: am 73dba5e0: Camera3: Document missing AF transitions.

* commit 'b3d4dae427ea06a5ef21fda013694603a1c6ebcc':
  Camera3: Document missing AF transitions.

11 years agoam 73dba5e0: Camera3: Document missing AF transitions.
Eino-Ville Talvala [Wed, 22 May 2013 16:20:06 +0000 (09:20 -0700)]
am 73dba5e0: Camera3: Document missing AF transitions.

* commit '73dba5e043d44910a8cee4def742f58607fc5894':
  Camera3: Document missing AF transitions.

11 years agoCamera3: Document missing AF transitions.
Eino-Ville Talvala [Tue, 21 May 2013 23:29:14 +0000 (16:29 -0700)]
Camera3: Document missing AF transitions.

Bug: 9075581

Change-Id: I7688cee904987f404b4ab7ff0e5212182f85a271

11 years agoam 9b5408ff: (-s ours) Reconcile with jb-mr2-release - do not merge
The Android Open Source Project [Thu, 16 May 2013 12:48:25 +0000 (05:48 -0700)]
am 9b5408ff: (-s ours) Reconcile with jb-mr2-release - do not merge

* commit '9b5408ffd6f6100e6a62d99983e1524c03ac1304':

11 years agoReconcile with jb-mr2-release - do not merge
The Android Open Source Project [Thu, 16 May 2013 12:43:48 +0000 (05:43 -0700)]
Reconcile with jb-mr2-release - do not merge

Change-Id: I1e981404c88dd61fe418ae799d599ae4d072555c

11 years agomerge in jb-mr2-release history after reset to jb-mr2-dev
The Android Automerger [Wed, 15 May 2013 12:55:32 +0000 (05:55 -0700)]
merge in jb-mr2-release history after reset to jb-mr2-dev

11 years agoam ee37c3a8: am 63b64337: Add larger RSA key sizes
Brian Carlstrom [Tue, 14 May 2013 22:59:22 +0000 (15:59 -0700)]
am ee37c3a8: am 63b64337: Add larger RSA key sizes

* commit 'ee37c3a845ea1de5508ad3059457117170a8e5d5':
  Add larger RSA key sizes

11 years agoam 63b64337: Add larger RSA key sizes
Brian Carlstrom [Tue, 14 May 2013 22:56:46 +0000 (15:56 -0700)]
am 63b64337: Add larger RSA key sizes

* commit '63b64337fbaa10b282f85a7e887b40ced6d6d632':
  Add larger RSA key sizes

11 years agoAdd larger RSA key sizes
Brian Carlstrom [Tue, 14 May 2013 22:20:28 +0000 (15:20 -0700)]
Add larger RSA key sizes

Bug: 8734191
Change-Id: I82413505b32d5cdd2c4330c63d5f66e6b7e34634

11 years agomodules: camera: Add buffer registration scaffold
Alex Ray [Fri, 1 Mar 2013 09:32:21 +0000 (01:32 -0800)]
modules: camera: Add buffer registration scaffold

Change-Id: Ic1d20dd7f93a0ca3cd2c3af3b33a7a9df47b5e89

11 years agoMerge "modules: camera: Add Streams"
Alex Ray [Mon, 13 May 2013 19:47:22 +0000 (19:47 +0000)]
Merge "modules: camera: Add Streams"

11 years agomerge in jb-mr2-release history after reset to jb-mr2-dev
The Android Automerger [Thu, 9 May 2013 12:55:29 +0000 (05:55 -0700)]
merge in jb-mr2-release history after reset to jb-mr2-dev

11 years agoam f20cae6b: am 4ed61b22: Merge "Move virtual displays out of HWC 1.2, mark experimen...
Jesse Hall [Wed, 8 May 2013 22:05:14 +0000 (15:05 -0700)]
am f20cae6b: am 4ed61b22: Merge "Move virtual displays out of HWC 1.2, mark experimental" into jb-mr2-dev

* commit 'f20cae6b94b7714e76b284f4167bb238e3aee2d2':
  Move virtual displays out of HWC 1.2, mark experimental

11 years agoam df336e2d: am c6ff6c40: Merge "gralloc: Clarify alloc stride for HAL_PIXEL_FORMAT_Y...
Eino-Ville Talvala [Wed, 8 May 2013 22:04:16 +0000 (15:04 -0700)]
am df336e2d: am c6ff6c40: Merge "gralloc: Clarify alloc stride for HAL_PIXEL_FORMAT_YCbCr_420_888" into jb-mr2-dev

* commit 'df336e2de4a57cc29815f4cdc75ee975676997d5':
  gralloc: Clarify alloc stride for HAL_PIXEL_FORMAT_YCbCr_420_888

11 years agoam c2f433d0: am b605944f: Camera3: Document cropping behavior
Eino-Ville Talvala [Wed, 8 May 2013 22:03:38 +0000 (15:03 -0700)]
am c2f433d0: am b605944f: Camera3: Document cropping behavior

* commit 'c2f433d00ce5e5c56094d78808e580c426d728cf':
  Camera3: Document cropping behavior

11 years agoam 4ed61b22: Merge "Move virtual displays out of HWC 1.2, mark experimental" into...
Jesse Hall [Wed, 8 May 2013 20:57:55 +0000 (13:57 -0700)]
am 4ed61b22: Merge "Move virtual displays out of HWC 1.2, mark experimental" into jb-mr2-dev

* commit '4ed61b22e046ed544f6afb50abd0af25d478d8b1':
  Move virtual displays out of HWC 1.2, mark experimental

11 years agoMerge "Move virtual displays out of HWC 1.2, mark experimental" into jb-mr2-dev
Jesse Hall [Wed, 8 May 2013 20:53:34 +0000 (20:53 +0000)]
Merge "Move virtual displays out of HWC 1.2, mark experimental" into jb-mr2-dev

11 years agoam c6ff6c40: Merge "gralloc: Clarify alloc stride for HAL_PIXEL_FORMAT_YCbCr_420_888...
Eino-Ville Talvala [Wed, 8 May 2013 16:56:53 +0000 (09:56 -0700)]
am c6ff6c40: Merge "gralloc: Clarify alloc stride for HAL_PIXEL_FORMAT_YCbCr_420_888" into jb-mr2-dev

* commit 'c6ff6c40dd4408c7aac0e079a6d26359902c240f':
  gralloc: Clarify alloc stride for HAL_PIXEL_FORMAT_YCbCr_420_888

11 years agoMerge "gralloc: Clarify alloc stride for HAL_PIXEL_FORMAT_YCbCr_420_888" into jb...
Eino-Ville Talvala [Wed, 8 May 2013 16:55:15 +0000 (16:55 +0000)]
Merge "gralloc: Clarify alloc stride for HAL_PIXEL_FORMAT_YCbCr_420_888" into jb-mr2-dev

11 years agomerge in jb-mr2-release history after reset to jb-mr2-dev
The Android Automerger [Wed, 8 May 2013 12:55:35 +0000 (05:55 -0700)]
merge in jb-mr2-release history after reset to jb-mr2-dev

11 years agoam b605944f: Camera3: Document cropping behavior
Eino-Ville Talvala [Wed, 8 May 2013 00:05:52 +0000 (17:05 -0700)]
am b605944f: Camera3: Document cropping behavior

* commit 'b605944f0a0590d0f31d48a14eaf8e6a075ddba1':
  Camera3: Document cropping behavior

11 years agoMove virtual displays out of HWC 1.2, mark experimental
Jesse Hall [Wed, 20 Mar 2013 17:11:10 +0000 (10:11 -0700)]
Move virtual displays out of HWC 1.2, mark experimental

Bug: 8384764
Change-Id: I388ff3f46893b395e5c4187242f51ad7bb58da24

11 years agogralloc: Clarify alloc stride for HAL_PIXEL_FORMAT_YCbCr_420_888
Eino-Ville Talvala [Mon, 6 May 2013 21:05:05 +0000 (14:05 -0700)]
gralloc: Clarify alloc stride for HAL_PIXEL_FORMAT_YCbCr_420_888

Bug: 8734880
Change-Id: I0cca7fd1965e1547991be06b6b18d6302dbe8670

11 years agomodules: camera: Add Streams
Alex Ray [Fri, 1 Mar 2013 00:04:35 +0000 (16:04 -0800)]
modules: camera: Add Streams

Adds a Stream object, and configureStreams support in parsing the
provided stream_array. Streams are naively setup for sync-less software
painting.

Change-Id: Ibbd90e3e2c7fa984dd5d2dcbd4da7bf4dad43aa1

11 years agoCamera3: Document cropping behavior
Eino-Ville Talvala [Mon, 29 Apr 2013 22:26:16 +0000 (15:26 -0700)]
Camera3: Document cropping behavior

Redefined somewhat from HAL2, to be simpler for everyone.

Bug: 8756080
Change-Id: I6b7608c74c06cc6a0bfe07997444e3b07c3edb10

11 years agoam 1a0be33f: am 74b8c4e5: Merge "gralloc: add lock_ycbcr method" into jb-mr2-dev
Alex Ray [Tue, 30 Apr 2013 15:31:51 +0000 (08:31 -0700)]
am 1a0be33f: am 74b8c4e5: Merge "gralloc: add lock_ycbcr method" into jb-mr2-dev

* commit '1a0be33faa697ed455dfdf8a398b1481e518b1a3':
  gralloc: add lock_ycbcr method

11 years agoam 03fa29db: am eca8b3cd: keymaster_test: simulate binder pages
Kenny Root [Tue, 30 Apr 2013 15:31:40 +0000 (08:31 -0700)]
am 03fa29db: am eca8b3cd: keymaster_test: simulate binder pages

* commit '03fa29dbc6a0048c98de22444f5d686b1bb9eb06':
  keymaster_test: simulate binder pages

11 years agomerge in jb-mr2-release history after reset to jb-mr2-dev
The Android Automerger [Tue, 30 Apr 2013 12:56:08 +0000 (05:56 -0700)]
merge in jb-mr2-release history after reset to jb-mr2-dev

11 years agomodules: camera: Add scoped trace helper
Alex Ray [Mon, 29 Apr 2013 19:24:49 +0000 (12:24 -0700)]
modules: camera: Add scoped trace helper

This c++ helper class is normally provided by frameworks/native's
libutils, but cannot be used from the context of a hardware module.  For
now just add the required functionality locally in the hardware module.

Change-Id: I5b399cbeb1c017a95baf19456dbf20569e677fbe

11 years agomodules: camera: remove unused variable
Alex Ray [Tue, 5 Mar 2013 22:37:28 +0000 (14:37 -0800)]
modules: camera: remove unused variable

Change-Id: Ic21cd58a750411167ef4b060e8d3abc295edc83d

11 years agomodules: camera: fix dump log message
Alex Ray [Mon, 29 Apr 2013 21:16:10 +0000 (14:16 -0700)]
modules: camera: fix dump log message

Change-Id: I2511653b3d2d21d03785ea220c760e2b65f0b035

11 years agoam 74b8c4e5: Merge "gralloc: add lock_ycbcr method" into jb-mr2-dev
Alex Ray [Mon, 29 Apr 2013 19:11:54 +0000 (12:11 -0700)]
am 74b8c4e5: Merge "gralloc: add lock_ycbcr method" into jb-mr2-dev

* commit '74b8c4e57b6d0db6bdb79d298ef8bb19cad3be2e':
  gralloc: add lock_ycbcr method

11 years agoMerge "gralloc: add lock_ycbcr method" into jb-mr2-dev
Alex Ray [Mon, 29 Apr 2013 19:10:07 +0000 (19:10 +0000)]
Merge "gralloc: add lock_ycbcr method" into jb-mr2-dev

11 years agoam eca8b3cd: keymaster_test: simulate binder pages
Kenny Root [Mon, 29 Apr 2013 18:27:55 +0000 (11:27 -0700)]
am eca8b3cd: keymaster_test: simulate binder pages

* commit 'eca8b3cdf0f906062285d03a0d08e3104625df94':
  keymaster_test: simulate binder pages

11 years agomerge in jb-mr2-release history after reset to jb-mr2-dev
The Android Automerger [Mon, 29 Apr 2013 12:55:52 +0000 (05:55 -0700)]
merge in jb-mr2-release history after reset to jb-mr2-dev

11 years agokeymaster_test: simulate binder pages
Kenny Root [Fri, 26 Apr 2013 23:46:01 +0000 (16:46 -0700)]
keymaster_test: simulate binder pages

Make sure pages we use in the unit tests are read-only maps from
/dev/zero

Bug: 8736730
Change-Id: I15d816a8fd3dd7313277c9f5c44c4a102a899d03

11 years agogralloc: add lock_ycbcr method
Alex Ray [Wed, 20 Mar 2013 06:13:56 +0000 (23:13 -0700)]
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

11 years agoam ddf31fd6: am 75f0d0ec: Merge "Camera3: Clarify SHUTTER timing, ownership of reques...
Eino-Ville Talvala [Thu, 25 Apr 2013 20:50:36 +0000 (13:50 -0700)]
am ddf31fd6: am 75f0d0ec: Merge "Camera3: Clarify SHUTTER timing, ownership of request contents" into jb-mr2-dev

* commit 'ddf31fd62a10d4fea6cdd2c4d3723257d0f53a66':
  Camera3: Clarify SHUTTER timing, ownership of request contents

11 years agoam 75f0d0ec: Merge "Camera3: Clarify SHUTTER timing, ownership of request contents...
Eino-Ville Talvala [Thu, 25 Apr 2013 19:30:37 +0000 (12:30 -0700)]
am 75f0d0ec: Merge "Camera3: Clarify SHUTTER timing, ownership of request contents" into jb-mr2-dev

* commit '75f0d0ec0db5ab01e0937e4068c4be9e799e9853':
  Camera3: Clarify SHUTTER timing, ownership of request contents

11 years agoMerge "Camera3: Clarify SHUTTER timing, ownership of request contents" into jb-mr2-dev
Eino-Ville Talvala [Thu, 25 Apr 2013 19:28:27 +0000 (19:28 +0000)]
Merge "Camera3: Clarify SHUTTER timing, ownership of request contents" into jb-mr2-dev

11 years agomerge in jb-mr2-release history after reset to jb-mr2-dev
The Android Automerger [Wed, 24 Apr 2013 12:55:34 +0000 (05:55 -0700)]
merge in jb-mr2-release history after reset to jb-mr2-dev

11 years agoam 4daa2f8e: am 7a813e84: Modify sign of bias in uncalibrated magnetometer
Etienne Le Grand [Tue, 23 Apr 2013 22:02:08 +0000 (15:02 -0700)]
am 4daa2f8e: am 7a813e84: Modify sign of bias in uncalibrated magnetometer

* commit '4daa2f8ea99631655fa469b3af33c0d3477dd42b':
  Modify sign of bias in uncalibrated magnetometer

11 years agoam 7a813e84: Modify sign of bias in uncalibrated magnetometer
Etienne Le Grand [Tue, 23 Apr 2013 21:38:46 +0000 (14:38 -0700)]
am 7a813e84: Modify sign of bias in uncalibrated magnetometer

* commit '7a813e844252612cd8f7fa4e391825477d8b63d0':
  Modify sign of bias in uncalibrated magnetometer

11 years agoModify sign of bias in uncalibrated magnetometer
Etienne Le Grand [Tue, 23 Apr 2013 21:22:23 +0000 (14:22 -0700)]
Modify sign of bias in uncalibrated magnetometer

bug 8632692
Change-Id: If92f0030e53d41a7d0bc3c3b003f5eb939123945

11 years agoCamera3: Clarify SHUTTER timing, ownership of request contents
Eino-Ville Talvala [Mon, 22 Apr 2013 21:19:21 +0000 (14:19 -0700)]
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

11 years agomerge in jb-mr2-release history after reset to jb-mr2-dev
The Android Automerger [Mon, 22 Apr 2013 12:55:46 +0000 (05:55 -0700)]
merge in jb-mr2-release history after reset to jb-mr2-dev

11 years agoam a3f1b92b: am 29156e43: Merge "Make raw tests optional, add sanity checks for forma...
Igor Murashkin [Fri, 19 Apr 2013 17:41:35 +0000 (10:41 -0700)]
am a3f1b92b: am 29156e43: Merge "Make raw tests optional, add sanity checks for format/resolutions static info." into jb-mr2-dev

* commit 'a3f1b92b774c07bcbd9437142718d8faa99ba4c2':
  Make raw tests optional, add sanity checks for format/resolutions static info.

11 years agoam 29156e43: Merge "Make raw tests optional, add sanity checks for format/resolutions...
Igor Murashkin [Fri, 19 Apr 2013 17:38:32 +0000 (10:38 -0700)]
am 29156e43: Merge "Make raw tests optional, add sanity checks for format/resolutions static info." into jb-mr2-dev

* commit '29156e437858087c393c21e0502a1652fb77dd13':
  Make raw tests optional, add sanity checks for format/resolutions static info.

11 years agoMerge "Make raw tests optional, add sanity checks for format/resolutions static info...
Igor Murashkin [Fri, 19 Apr 2013 17:34:04 +0000 (17:34 +0000)]
Merge "Make raw tests optional, add sanity checks for format/resolutions static info." into jb-mr2-dev

11 years agoam 071d9e4b: am a7c66429: Revert "gralloc: add lock_ycbcr method"
Alex Ray [Thu, 18 Apr 2013 22:13:47 +0000 (15:13 -0700)]
am 071d9e4b: am a7c66429: Revert "gralloc: add lock_ycbcr method"

* commit '071d9e4b82a3d280b61ce8bb0a969b319465cd76':
  Revert "gralloc: add lock_ycbcr method"