OSDN Git Service

android-x86/hardware-libhardware.git
10 years agolibhardware: search hals by hal.* properties jb-x86
Chih-Wei Huang [Mon, 14 Jan 2013 08:39:14 +0000 (16:39 +0800)]
libhardware: search hals by hal.* properties

The patch allows us to control which hals to be loaded more flexible.
It's the key point to make a generic image to support more devices.

10 years agogralloc: Add DRM actions.
Chia-I Wu [Mon, 11 Oct 2010 05:17:10 +0000 (13:17 +0800)]
gralloc: Add DRM actions.

Change-Id: I1eaefcea4da6ed01b769717d69ef08cce7ce7ef4

10 years agogralloc: fallback to use fewer buffer on mapping error
Chih-Wei Huang [Thu, 2 Dec 2010 03:54:46 +0000 (11:54 +0800)]
gralloc: fallback to use fewer buffer on mapping error

Change-Id: I6be89437fd10bdc3f5e05d56944d3d547bffbf3c

10 years agogralloc: auto select pixel format according to color depth
Chih-Wei Huang [Thu, 2 Dec 2010 03:27:10 +0000 (11:27 +0800)]
gralloc: auto select pixel format according to color depth

Change-Id: I1e6db2bbe03260d156644ca0700eb2e3e02956dc

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 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 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 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 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 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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 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 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 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 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 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 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 agoRevert "gralloc: add lock_ycbcr method"
Alex Ray [Thu, 18 Apr 2013 22:02:57 +0000 (15:02 -0700)]
Revert "gralloc: add lock_ycbcr method"

This reverts commit baa47f353a318b9f498f093e70d57e4f43f7c345.

11 years agoMerge "gralloc: add lock_ycbcr method" into jb-mr2-dev
Alex Ray [Thu, 18 Apr 2013 20:39:42 +0000 (20:39 +0000)]
Merge "gralloc: add lock_ycbcr method" into jb-mr2-dev

11 years agoMerge "LE (1/3): Add application ID to connection callback" into jb-mr2-dev
Matthew Xie [Thu, 18 Apr 2013 18:31:12 +0000 (18:31 +0000)]
Merge "LE (1/3): Add application ID to connection callback" into jb-mr2-dev

11 years agoMake raw tests optional, add sanity checks for format/resolutions static info.
Igor Murashkin [Thu, 18 Apr 2013 17:09:16 +0000 (10:09 -0700)]
Make raw tests optional, add sanity checks for format/resolutions static info.

Bug: 8654456
Change-Id: Iadd0d3c326d595dce2822a9bd3ff33ce8e8f6a36

11 years agoLE (1/3): Add application ID to connection callback
Andre Eisenbach [Wed, 10 Apr 2013 18:18:03 +0000 (11:18 -0700)]
LE (1/3): Add application ID to connection callback

Bug: 8589393
Change-Id: I1c9d83b988cad71c5652ecf4025fdc6f650fff42

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

11 years agoMerge "Update the test output path." into jb-mr2-dev
Yu Shan Emily Lau [Mon, 15 Apr 2013 01:30:02 +0000 (01:30 +0000)]
Merge "Update the test output path." into jb-mr2-dev

11 years agoUpdate the test output path.
Yu Shan Emily Lau [Fri, 12 Apr 2013 21:50:20 +0000 (14:50 -0700)]
Update the test output path.

In order for the automated test to pick up the test.
The output must be in /data/nativetest.

Change-Id: I453805a1d186fec014e34b3d37a1e8bc62b2a5ac

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

11 years agoMerge "Camera3: Allow many calls to process_capture_result per request" into jb-mr2-dev
Eino-Ville Talvala [Wed, 10 Apr 2013 22:27:57 +0000 (22:27 +0000)]
Merge "Camera3: Allow many calls to process_capture_result per request" into jb-mr2-dev

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

11 years agoAdd liblog
Ying Wang [Wed, 10 Apr 2013 04:57:28 +0000 (21:57 -0700)]
Add liblog

Bug: 8580410
Change-Id: I24645233148f70c57d2f2b3a46952cb2a1aea9ba

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.

Change-Id: I98b196bab06f1d05fce725da44760180ce487034

11 years agoCamera3: Allow many calls to process_capture_result per request
Eino-Ville Talvala [Wed, 3 Apr 2013 22:18:20 +0000 (15:18 -0700)]
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

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

11 years agoMerge "Sensor HAL updates" into jb-mr2-dev
Etienne Le Grand [Fri, 5 Apr 2013 04:05:39 +0000 (04:05 +0000)]
Merge "Sensor HAL updates" into jb-mr2-dev

11 years agoMerge "Log when creating a second buffer mapping in a process" into jb-mr2-dev
Jesse Hall [Thu, 4 Apr 2013 22:36:35 +0000 (22:36 +0000)]
Merge "Log when creating a second buffer mapping in a process" into jb-mr2-dev

11 years agoSensor HAL updates
Etienne Le Grand [Thu, 28 Mar 2013 01:59:10 +0000 (18:59 -0700)]
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

11 years agomerge in jb-mr2-release history after reset to jb-mr2-dev
The Android Automerger [Tue, 2 Apr 2013 16:18:57 +0000 (09:18 -0700)]
merge in jb-mr2-release history after reset to jb-mr2-dev

11 years agoSet max RC attribute count to 7
Ravi Nagarajan [Fri, 22 Mar 2013 11:18:47 +0000 (04:18 -0700)]
Set max RC attribute count to 7

Per spec max RC attributes are 7

Change-Id: Ied4b5ff9487aab32b7e0c824ecaa20b21079c458

11 years agoMerge "Camera3: Documentation additions" into jb-mr2-dev
Eino-Ville Talvala [Mon, 1 Apr 2013 16:39:20 +0000 (16:39 +0000)]
Merge "Camera3: Documentation additions" into jb-mr2-dev

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

11 years agoCamera3: Documentation additions
Eino-Ville Talvala [Sat, 16 Mar 2013 23:53:28 +0000 (16:53 -0700)]
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

11 years agoMerge "Gps geofence." into jb-mr2-dev
Jaikumar Ganesh [Fri, 29 Mar 2013 18:58:44 +0000 (18:58 +0000)]
Merge "Gps geofence." into jb-mr2-dev

11 years agoGps geofence.
Jaikumar Ganesh [Fri, 29 Mar 2013 18:56:36 +0000 (11:56 -0700)]
Gps geofence.

Make the add / remove / pause / resume asynchronous.

Change-Id: I6d6d254613623b564f1cb6a59742fe000e47ac1e

11 years agoLog when creating a second buffer mapping in a process
Jesse Hall [Thu, 28 Mar 2013 23:51:25 +0000 (16:51 -0700)]
Log when creating a second buffer mapping in a process

Bug: 8468756
Change-Id: Ia883f459ea9e2648ca4a0b5a6f09ded4f46f13b3

11 years agoRemove pid check in register/unregister
Jesse Hall [Thu, 28 Mar 2013 18:04:16 +0000 (11:04 -0700)]
Remove pid check in register/unregister

The register/unregister gralloc calls were avoiding
mmapping/munmapping the shared memory region if the buffer was created
by the current process. This is left over from the pmem-based
implementation, where trying to map the same region twice in the same
process would fail, or would reuse a single mapping without
refcounting.

This causes problems if a buffer is
- allocated in process A,
- transferred from A to process B and registered there
- unregistered/freed in A
- transferred back from B to A and re-registered

Process A then has a new handle to the buffer, but since it originally
created the buffer it will not be mmapped, so trying to read or write
the buffer will crash.

With ashmem, mmaping a region twice in the same process creates two
distinct mappings which can be used and munmapped independently. So
we no longer need to avoid mmapping again in the allocating process.

Bug: 8468756
Change-Id: I167bec5ca07e5534c5e2115630fe8386e481388e

11 years agoMerge "Remove pid check in register/unregister" into jb-mr2-dev
Jesse Hall [Thu, 28 Mar 2013 21:24:55 +0000 (21:24 +0000)]
Merge "Remove pid check in register/unregister" into jb-mr2-dev

11 years agoRemove pid check in register/unregister
Jesse Hall [Thu, 28 Mar 2013 18:04:16 +0000 (11:04 -0700)]
Remove pid check in register/unregister

The register/unregister gralloc calls were avoiding
mmapping/munmapping the shared memory region if the buffer was created
by the current process. This is left over from the pmem-based
implementation, where trying to map the same region twice in the same
process would fail, or would reuse a single mapping without
refcounting.

This causes problems if a buffer is
- allocated in process A,
- transferred from A to process B and registered there
- unregistered/freed in A
- transferred back from B to A and re-registered

Process A then has a new handle to the buffer, but since it originally
created the buffer it will not be mmapped, so trying to read or write
the buffer will crash.

With ashmem, mmaping a region twice in the same process creates two
distinct mappings which can be used and munmapped independently. So
we no longer need to avoid mmapping again in the allocating process.

Bug: 8468756
Change-Id: I167bec5ca07e5534c5e2115630fe8386e481388e

11 years agocamera2_test: Allow for HAL2 version >= 2.0 (i.e. 2.1, 3.0, etc)
Igor Murashkin [Wed, 27 Mar 2013 01:07:31 +0000 (18:07 -0700)]
camera2_test: Allow for HAL2 version >= 2.0 (i.e. 2.1, 3.0, etc)

Change-Id: If9004d2a6d5fc581b8f63814f2f115bcd7fa5a34

11 years agoMerge "camera_common.h: Add STATUS_ENUMERATING enum" into jb-mr2-dev
Igor Murashkin [Thu, 21 Mar 2013 23:16:47 +0000 (23:16 +0000)]
Merge "camera_common.h: Add STATUS_ENUMERATING enum" into jb-mr2-dev

11 years agocamera_common.h: Add STATUS_ENUMERATING enum
Igor Murashkin [Mon, 18 Mar 2013 20:30:14 +0000 (13:30 -0700)]
camera_common.h: Add STATUS_ENUMERATING enum

Change-Id: I0986d37364a2666d493cb771fa76967aa051ca5d

11 years agoMerge "Initial version of RC HAL for AVRCP 1.3" into jb-mr2-dev
Zhihai Xu [Thu, 21 Mar 2013 16:46:43 +0000 (16:46 +0000)]
Merge "Initial version of RC HAL for AVRCP 1.3" into jb-mr2-dev

11 years agoInitial version of RC HAL for AVRCP 1.3
Ravi Nagarajan [Tue, 26 Feb 2013 18:34:41 +0000 (10:34 -0800)]
Initial version of RC HAL for AVRCP 1.3

Change-Id: Idbea1294d091cbe0b9ebc3a7a0cad9f0c738e32c

11 years agoMerge "Camera: Minor fixes to camera3 HAL interface" into jb-mr2-dev
Eino-Ville Talvala [Thu, 14 Mar 2013 19:00:33 +0000 (19:00 +0000)]
Merge "Camera: Minor fixes to camera3 HAL interface" into jb-mr2-dev

11 years agoCamera: Minor fixes to camera3 HAL interface
Eino-Ville Talvala [Wed, 6 Mar 2013 21:23:31 +0000 (13:23 -0800)]
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

11 years agoam 1d0c7e05: am 6e5236ee: am 5c8f84a1: am 3a18bccc: (-s ours) am 431cd416: (-s ours...
Jean-Baptiste Queru [Mon, 11 Mar 2013 19:41:19 +0000 (12:41 -0700)]
am 1d0c7e05: am 6e5236ee: am 5c8f84a1: am 3a18bccc: (-s ours) am 431cd416: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '1d0c7e05d80ab18c1a859782313448dc6a31bab9':

11 years agoam 6e5236ee: am 5c8f84a1: am 3a18bccc: (-s ours) am 431cd416: (-s ours) Reconcile...
Jean-Baptiste Queru [Mon, 11 Mar 2013 19:34:30 +0000 (12:34 -0700)]
am 6e5236ee: am 5c8f84a1: am 3a18bccc: (-s ours) am 431cd416: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '6e5236ee082070242f6e5e6e0fe0d1892368880e':

11 years agoam 5c8f84a1: am 3a18bccc: (-s ours) am 431cd416: (-s ours) Reconcile with jb-mr1...
Jean-Baptiste Queru [Mon, 11 Mar 2013 19:32:00 +0000 (12:32 -0700)]
am 5c8f84a1: am 3a18bccc: (-s ours) am 431cd416: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '5c8f84a15fba998baf9703c81e86a25048ce368a':

11 years agoam 3a18bccc: (-s ours) am 431cd416: (-s ours) Reconcile with jb-mr1-release - do...
Jean-Baptiste Queru [Mon, 11 Mar 2013 19:28:32 +0000 (12:28 -0700)]
am 3a18bccc: (-s ours) am 431cd416: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '3a18bcccb201b37e5b0cdff76febafb214cb8b90':

11 years agoam 431cd416: (-s ours) Reconcile with jb-mr1-release - do not merge
Jean-Baptiste Queru [Mon, 11 Mar 2013 19:23:00 +0000 (12:23 -0700)]
am 431cd416: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '431cd41604208d7c30788d6e3c6655a34fd3e157':

11 years agoReconcile with jb-mr1-release - do not merge
Jean-Baptiste Queru [Mon, 11 Mar 2013 19:20:12 +0000 (12:20 -0700)]
Reconcile with jb-mr1-release - do not merge

11 years agoMerge "libhardware: Add camera_info typedef" into jb-mr2-dev
Alex Ray [Fri, 8 Mar 2013 01:58:30 +0000 (01:58 +0000)]
Merge "libhardware: Add camera_info typedef" into jb-mr2-dev

11 years agoMinor fix in significant motion description
Etienne Le Grand [Thu, 7 Mar 2013 20:22:32 +0000 (12:22 -0800)]
Minor fix in significant motion description

Change-Id: I155181e43750948a6fd6fc246a4e0203cea7c9cb

11 years agoMerge "Add significant motion description" into jb-mr2-dev
Etienne Le Grand [Thu, 7 Mar 2013 18:34:08 +0000 (18:34 +0000)]
Merge "Add significant motion description" into jb-mr2-dev

11 years agoAdd significant motion description
Etienne Le Grand [Wed, 6 Mar 2013 06:00:33 +0000 (22:00 -0800)]
Add significant motion description

Change-Id: I56de3f2c12243b3d25cd825b66f7685e674533ff

11 years agoMerge "Camera: Fix incorrect pointer types" into jb-mr2-dev
Eino-Ville Talvala [Wed, 6 Mar 2013 21:28:52 +0000 (21:28 +0000)]
Merge "Camera: Fix incorrect pointer types" into jb-mr2-dev

11 years agoCamera: Fix incorrect pointer types
Eino-Ville Talvala [Wed, 6 Mar 2013 21:21:11 +0000 (13:21 -0800)]
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

11 years agolibhardware: Add camera_info typedef
Alex Ray [Thu, 7 Feb 2013 23:44:24 +0000 (15:44 -0800)]
libhardware: Add camera_info typedef

Change-Id: I67ce80c886723d4dba7f799b6b135aa7026c2187

11 years agoSensors HAL iterative update for jb-mr2
Etienne Le Grand [Wed, 27 Feb 2013 03:17:20 +0000 (19:17 -0800)]
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

11 years agomodules: camera: make Camera object id const
Alex Ray [Thu, 28 Feb 2013 23:40:08 +0000 (15:40 -0800)]
modules: camera: make Camera object id const

Change-Id: Ic36fa7c6193086aa6415647ff8fe59cc358dd99f

11 years agoInitial version of BLE support for Bluedroid
Ganesh Ganapathi Batta [Tue, 5 Feb 2013 23:23:45 +0000 (15:23 -0800)]
Initial version of BLE support for Bluedroid

Change-Id: Iacf3a56943b31c4fd4f4b833ed675a35cbd47104

11 years agomodules: camera: Camera v3 Devices
Alex Ray [Mon, 25 Feb 2013 23:02:16 +0000 (15:02 -0800)]
modules: camera: Camera v3 Devices

Default camera HAL statically allocates camera devices. Update camera
device to API v3.

Change-Id: Ic53ffcf3b746b9b4011b932e26dbb0f533cba554

11 years agomodules: camera: Update to v2.1 camera module API
Alex Ray [Thu, 21 Feb 2013 01:46:41 +0000 (17:46 -0800)]
modules: camera: Update to v2.1 camera module API

Refactor the camera module into a single CameraHAL object.  Adds
set_callbacks, new in the v2.1 module API.

Change-Id: I4da677c28d7425f545f68998844fcfa4caf0feb9

11 years agomodules: camera: Hide HAL symbols DO NOT MERGE
Alex Ray [Mon, 18 Feb 2013 23:38:05 +0000 (15:38 -0800)]
modules: camera: Hide HAL symbols DO NOT MERGE

Explicitly hide all symbols from being exported from the camera HAL
except the symbol required to load the module.

Change-Id: I940b24b8d3895f46e63df3c28e43b8cb012bd637

11 years agoAdd GPS_GEOFENCE_ERROR constants.
Jaikumar Ganesh [Mon, 25 Feb 2013 19:43:33 +0000 (11:43 -0800)]
Add GPS_GEOFENCE_ERROR constants.

Change APIs to return error constants.

Change-Id: I221e94060c1549c7ffc8e05c7ad4802b981a31bf

11 years agoMerge "camera3: remove redundant hardware error condition"
Alex Ray [Fri, 22 Feb 2013 21:06:52 +0000 (21:06 +0000)]
Merge "camera3: remove redundant hardware error condition"

11 years agoMerge "Tests: Camera: Refactor CameraMetadata into frameworks/av"
Igor Murashkin [Fri, 22 Feb 2013 19:29:01 +0000 (19:29 +0000)]
Merge "Tests: Camera: Refactor CameraMetadata into frameworks/av"

11 years agoMerge "Tests: Camera2: Add Y8/Y16 to Stream create/delete tests"
Igor Murashkin [Fri, 22 Feb 2013 19:29:01 +0000 (19:29 +0000)]
Merge "Tests: Camera2: Add Y8/Y16 to Stream create/delete tests"

11 years agoAdd GPS geofencing HAL.
Jaikumar Ganesh [Tue, 5 Feb 2013 01:22:04 +0000 (17:22 -0800)]
Add GPS geofencing HAL.

This adds APIs for doing GPS Geofencing in the hardware.

Change-Id: I32564d7620969e6a1cd3c32242b7805d26b7af1e

11 years agoTests: Camera: Refactor CameraMetadata into frameworks/av
Igor Murashkin [Thu, 14 Feb 2013 01:33:36 +0000 (17:33 -0800)]
Tests: Camera: Refactor CameraMetadata into frameworks/av

Change-Id: Ibc2917a18163f07b5e37eb83abb3d1ef919a5766

11 years agoTests: Camera2: Add Y8/Y16 to Stream create/delete tests
Igor Murashkin [Mon, 11 Feb 2013 23:52:03 +0000 (15:52 -0800)]
Tests: Camera2: Add Y8/Y16 to Stream create/delete tests

Change-Id: I7e066569edcab84c0d61fe7a4ae5c3e2683f63eb

11 years agoMerge "Revert "Add GPS geofencing HAL.""
Jaikumar Ganesh [Thu, 21 Feb 2013 22:56:20 +0000 (22:56 +0000)]
Merge "Revert "Add GPS geofencing HAL.""

11 years agoRevert "Add GPS geofencing HAL."
Jaikumar Ganesh [Thu, 21 Feb 2013 22:55:50 +0000 (14:55 -0800)]
Revert "Add GPS geofencing HAL."

This reverts commit 86abc8cf18a5895e5bdf1b9e5bd7bf9db603a7fe.

11 years agoMerge "Add GPS geofencing HAL."
Jaikumar Ganesh [Thu, 21 Feb 2013 22:42:49 +0000 (22:42 +0000)]
Merge "Add GPS geofencing HAL."

11 years agoAdd GPS geofencing HAL.
Jaikumar Ganesh [Tue, 5 Feb 2013 01:22:04 +0000 (17:22 -0800)]
Add GPS geofencing HAL.

This adds APIs for doing GPS Geofencing in the hardware.

Change-Id: Ia353a0919bfc44d31d152f10e3d20080daffd2e2

11 years agoMerge "WIP: Camera HAL module 2.1, device 2.1"
Eino-Ville Talvala [Tue, 19 Feb 2013 18:23:54 +0000 (18:23 +0000)]
Merge "WIP: Camera HAL module 2.1, device 2.1"

11 years agofix build: SurfaceTextureClient to Surface rename
Mathias Agopian [Fri, 15 Feb 2013 22:27:15 +0000 (14:27 -0800)]
fix build: SurfaceTextureClient to Surface rename

Change-Id: I8b4bbccc570ddfaaad6f7eeaa72edde05a720b35

11 years agocamera3: remove redundant hardware error condition
Alex Ray [Fri, 15 Feb 2013 21:47:24 +0000 (13:47 -0800)]
camera3: remove redundant hardware error condition

Change-Id: I8cc538f82cf42972cc4d7cb155539222c41b4e0a