OSDN Git Service

android-x86/hardware-libhardware.git
11 years agoam a0ed4bea: modules: camera: Camera v3 Devices
Alex Ray [Wed, 27 Feb 2013 16:10:16 +0000 (16:10 +0000)]
am a0ed4bea: modules: camera: Camera v3 Devices

* commit 'a0ed4bead4d7a9b9031f7cefe0ef49a951443461':
  modules: camera: Camera v3 Devices

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 agoam 819cfd87: modules: camera: Update to v2.1 camera module API
Alex Ray [Wed, 27 Feb 2013 06:48:58 +0000 (06:48 +0000)]
am 819cfd87: modules: camera: Update to v2.1 camera module API

* commit '819cfd87bad560fbd89747371088ad35aaef8d43':
  modules: camera: Update to v2.1 camera module API

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 agoam bb13a323: modules: camera: Hide HAL symbols DO NOT MERGE
Alex Ray [Tue, 26 Feb 2013 23:19:42 +0000 (23:19 +0000)]
am bb13a323: modules: camera: Hide HAL symbols DO NOT MERGE

* commit 'bb13a3231d24bf640e7060fee3a18643f7a9f0db':
  modules: camera: Hide HAL symbols DO NOT MERGE

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

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

11 years agoWIP: Camera HAL module 2.1, device 2.1
Eino-Ville Talvala [Wed, 13 Feb 2013 23:29:48 +0000 (15:29 -0800)]
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

11 years agoRefactoring: Rename SurfaceTextureClient to Surface
Mathias Agopian [Fri, 15 Feb 2013 01:34:35 +0000 (17:34 -0800)]
Refactoring: Rename SurfaceTextureClient to Surface

Change-Id: Iff197c557c06673a1ad85a9bbd36caa38efb88b7

11 years agoCamera: Minor cleanup to HAL 3.0 header
Eino-Ville Talvala [Fri, 15 Feb 2013 20:09:48 +0000 (12:09 -0800)]
Camera: Minor cleanup to HAL 3.0 header

Change-Id: I64c61687cbf5850341d9e528c47b7b4dca773546

11 years agoCamera device HAL 3.0
Eino-Ville Talvala [Wed, 28 Nov 2012 02:06:06 +0000 (18:06 -0800)]
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

11 years agoRevert "libhardware: Add camera_info typedef"
Alex Ray [Thu, 14 Feb 2013 01:12:52 +0000 (17:12 -0800)]
Revert "libhardware: Add camera_info typedef"

This reverts commit 71cb21980a8f6a7ab3b5f86b6d81e8584769f489.

11 years agoMerge "libhardware: Add camera_info typedef"
Alex Ray [Wed, 13 Feb 2013 23:58:41 +0000 (23:58 +0000)]
Merge "libhardware: Add camera_info typedef"

11 years agoMerge "audio effects: fix link problem with NULL UUID"
Eric Laurent [Mon, 11 Feb 2013 23:51:28 +0000 (23:51 +0000)]
Merge "audio effects: fix link problem with NULL UUID"

11 years agoAudio policy exposes stream remote activity
Jean-Michel Trivi [Tue, 5 Feb 2013 00:27:18 +0000 (16:27 -0800)]
Audio policy exposes stream remote activity

Bug 7485803

Change-Id: Ib9ad2338d9e0c5f816de8d56d7b41c3771c0a8c3

11 years agoRevert "only orientation and geomagnetic field sensors support the "status" field"
Jeff Brown [Sat, 9 Feb 2013 02:46:33 +0000 (02:46 +0000)]
Revert "only orientation and geomagnetic field sensors support the "status" field"

This reverts commit fbe985ca9c8cd502ce9b8b0332dbdd639e9b723e

Change-Id: I7c65fd3326fe08363b5ed491f6438e541df879d4

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

11 years agoaudio effects: fix link problem with NULL UUID
Eric Laurent [Thu, 7 Feb 2013 19:31:48 +0000 (11:31 -0800)]
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

11 years agoonly orientation and geomagnetic field sensors support the "status" field
Mathias Agopian [Thu, 7 Feb 2013 03:06:57 +0000 (19:06 -0800)]
only orientation and geomagnetic field sensors support the "status" field

enforce this in the HAL API.

Change-Id: I54d2fde84a852482a96140f8f1945cc6044e628a

11 years agoimproves sensors HAL documentation
Mathias Agopian [Tue, 29 Jan 2013 23:52:10 +0000 (15:52 -0800)]
improves sensors HAL documentation

- added a period parameter to batch()
- added drift-estimate to uncalibrated gyro

Change-Id: I9cba8099c8906ba111d401ecbb4341e338b338a8

11 years agoadd support for plane-alpha in HWC
Mathias Agopian [Wed, 30 Jan 2013 02:57:48 +0000 (18:57 -0800)]
add support for plane-alpha in HWC

Change-Id: Ied228e689ca892c505fbd811fd2b8579287e4ac6

11 years agoam 46e9befb: (-s ours) am 4c645d0a: Camera2: Fix metadata symbols: DO NOT MERGE
Igor Murashkin [Thu, 31 Jan 2013 02:59:47 +0000 (18:59 -0800)]
am 46e9befb: (-s ours) am 4c645d0a: Camera2: Fix metadata symbols: DO NOT MERGE

# Via Android Git Automerger (1) and Igor Murashkin (1)
* commit '46e9befbe45e0d53c7ad1cb0f570865c08335aab':
  Camera2: Fix metadata symbols: DO NOT MERGE

11 years agoam e0731653: (-s ours) am 803a8c76: Revert "Camera2: Tests: Future-alias select metad...
Igor Murashkin [Thu, 31 Jan 2013 02:59:47 +0000 (18:59 -0800)]
am e0731653: (-s ours) am 803a8c76: Revert "Camera2: Tests: Future-alias select metadata symbols: DO NOT MERGE": DO NOT MERGE

# Via Android Git Automerger (1) and Igor Murashkin (1)
* commit 'e073165389625fcb54c4d6b2565a6ada2d125048':
  Revert "Camera2: Tests: Future-alias select metadata symbols: DO NOT MERGE": DO NOT MERGE

11 years agoam 4c645d0a: Camera2: Fix metadata symbols: DO NOT MERGE
Igor Murashkin [Thu, 31 Jan 2013 02:57:20 +0000 (18:57 -0800)]
am 4c645d0a: Camera2: Fix metadata symbols: DO NOT MERGE

# Via Igor Murashkin
* commit '4c645d0a9bd4721fe65f1c2264fed7a5830428a2':
  Camera2: Fix metadata symbols: DO NOT MERGE

11 years agoam 803a8c76: Revert "Camera2: Tests: Future-alias select metadata symbols: DO NOT...
Igor Murashkin [Thu, 31 Jan 2013 02:57:19 +0000 (18:57 -0800)]
am 803a8c76: Revert "Camera2: Tests: Future-alias select metadata symbols: DO NOT MERGE": DO NOT MERGE

# Via Igor Murashkin
* commit '803a8c76c532f1548425fc1a3d3d9d04554b29f3':
  Revert "Camera2: Tests: Future-alias select metadata symbols: DO NOT MERGE": DO NOT MERGE

11 years agoCamera2: Fix metadata symbols: DO NOT MERGE
Igor Murashkin [Mon, 3 Dec 2012 21:33:08 +0000 (13:33 -0800)]
Camera2: Fix metadata symbols: DO NOT MERGE

Change-Id: I5d7c8416b8ed8effca699aa9e51068f5678927ea

11 years agoRevert "Camera2: Tests: Future-alias select metadata symbols: DO NOT MERGE": DO NOT...
Igor Murashkin [Thu, 31 Jan 2013 00:33:31 +0000 (16:33 -0800)]
Revert "Camera2: Tests: Future-alias select metadata symbols: DO NOT MERGE": DO NOT MERGE

This reverts commit 4ac84a428d05ce7963f201df7ca308acb88fd8d8.

11 years agorenamed sensor PEDOMETER to STEP_DETECTOR
Mathias Agopian [Tue, 29 Jan 2013 01:54:41 +0000 (17:54 -0800)]
renamed sensor PEDOMETER to STEP_DETECTOR

pedometer was confusing.

Change-Id: Ib40c8034e9038f7153299aed4ee33a0a9f1e900e

11 years agoam c4f18ad3: am af05c912: am a8c06116: Merge "Remove remnants of HWC 0.x"
Jesse Hall [Mon, 14 Jan 2013 17:53:43 +0000 (09:53 -0800)]
am c4f18ad3: am af05c912: am a8c06116: Merge "Remove remnants of HWC 0.x"

* commit 'c4f18ad3bfcd9c4d8867ee3b366ed24f13371c47':
  Remove remnants of HWC 0.x

11 years agoam af05c912: am a8c06116: Merge "Remove remnants of HWC 0.x"
Jesse Hall [Mon, 14 Jan 2013 17:51:22 +0000 (09:51 -0800)]
am af05c912: am a8c06116: Merge "Remove remnants of HWC 0.x"

* commit 'af05c912e1afa1f7d7b3f4b1d8b3034427abc37b':
  Remove remnants of HWC 0.x

11 years agoam a8c06116: Merge "Remove remnants of HWC 0.x"
Jesse Hall [Mon, 14 Jan 2013 17:49:11 +0000 (09:49 -0800)]
am a8c06116: Merge "Remove remnants of HWC 0.x"

* commit 'a8c061169752cbaf335a35e49568b7fe7d7e83cd':
  Remove remnants of HWC 0.x

11 years agoMerge "Remove remnants of HWC 0.x"
Jesse Hall [Mon, 14 Jan 2013 17:24:59 +0000 (09:24 -0800)]
Merge "Remove remnants of HWC 0.x"

11 years agoam efabd3c6: (-s ours) am 2dc781d2: Camera2: Tests: ModuleTests should not return...
Igor Murashkin [Fri, 11 Jan 2013 18:54:12 +0000 (10:54 -0800)]
am efabd3c6: (-s ours) am 2dc781d2: Camera2: Tests: ModuleTests should not return OK for bad indices: DO NOT MERGE

* commit 'efabd3c6c6c0e0ca0625dadf1d4a2ed00c2d0a21':
  Camera2: Tests: ModuleTests should not return OK for bad indices: DO NOT MERGE

11 years agoam 85f18a15: (-s ours) am 2d3c3e14: Camera2: Tests: Fix Camera2Test to be correct...
Igor Murashkin [Fri, 11 Jan 2013 18:54:12 +0000 (10:54 -0800)]
am 85f18a15: (-s ours) am 2d3c3e14: Camera2: Tests: Fix Camera2Test to be correct: DO NOT MERGE

* commit '85f18a15b1375c4d59b93f4dac1d4b5995854fe6':
  Camera2: Tests: Fix Camera2Test to be correct: DO NOT MERGE

11 years agoam 1af4dc05: (-s ours) am f32c9ea6: Camera2: Tests: Ignore V1 device initialization...
Igor Murashkin [Fri, 11 Jan 2013 18:54:11 +0000 (10:54 -0800)]
am 1af4dc05: (-s ours) am f32c9ea6: Camera2: Tests: Ignore V1 device initialization failures.: DO NOT MERGE

* commit '1af4dc058ef26804cc3617e1ec4a80cc9e1ad715':
  Camera2: Tests: Ignore V1 device initialization failures.: DO NOT MERGE

11 years agoam e5326c29: (-s ours) am 1f51808a: Camera2: Tests: Fix CameraFrameTests to pass...
Igor Murashkin [Fri, 11 Jan 2013 18:54:10 +0000 (10:54 -0800)]
am e5326c29: (-s ours) am 1f51808a: Camera2: Tests: Fix CameraFrameTests to pass instead of failing and hanging.: DO NOT MERGE

* commit 'e5326c296fe91b7ae7d43d00def34d22dc8e5771':
  Camera2: Tests: Fix CameraFrameTests to pass instead of failing and hanging.: DO NOT MERGE

11 years agoam 32b9b9ff: (-s ours) am d8875030: Camera2: Tests: Release streams after HAL is...
Igor Murashkin [Fri, 11 Jan 2013 18:54:09 +0000 (10:54 -0800)]
am 32b9b9ff: (-s ours) am d8875030: Camera2: Tests: Release streams after HAL is unloaded: DO NOT MERGE

* commit '32b9b9ff9ae2f367ad3626690d6ef1fd9339e423':
  Camera2: Tests: Release streams after HAL is unloaded: DO NOT MERGE

11 years agoam 5a6b76d2: (-s ours) am 2a5c0e2a: Camera2: Tests: Skip stream tests /w formats...
Igor Murashkin [Fri, 11 Jan 2013 18:54:08 +0000 (10:54 -0800)]
am 5a6b76d2: (-s ours) am 2a5c0e2a: Camera2: Tests: Skip stream tests /w formats that are not available.: DO NOT MERGE

* commit '5a6b76d2ae1e6da5929a6f475fada31b280a2360':
  Camera2: Tests: Skip stream tests /w formats that are not available.: DO NOT MERGE

11 years agoam be3b59c4: (-s ours) am ff4d762c: Camera2: Tests: Add CLI arguments for disabling...
Igor Murashkin [Fri, 11 Jan 2013 18:54:08 +0000 (10:54 -0800)]
am be3b59c4: (-s ours) am ff4d762c: Camera2: Tests: Add CLI arguments for disabling forking and changing camera ID: DO NOT MERGE

* commit 'be3b59c46e1fd6050bcc743202fcd6d109125701':
  Camera2: Tests: Add CLI arguments for disabling forking and changing camera ID: DO NOT MERGE

11 years agoam 3739a345: (-s ours) am afdd2b62: Camera2: Add a test for bursting 10 frames at...
Igor Murashkin [Fri, 11 Jan 2013 18:54:07 +0000 (10:54 -0800)]
am 3739a345: (-s ours) am afdd2b62: Camera2: Add a test for bursting 10 frames at a time /w manual exp controls: DO NOT MERGE

* commit '3739a345b688e89ae28145683c50590cc168b480':
  Camera2: Add a test for bursting 10 frames at a time /w manual exp controls: DO NOT MERGE

11 years agoam 16e5a644: (-s ours) am 4ac84a42: Camera2: Tests: Future-alias select metadata...
Igor Murashkin [Fri, 11 Jan 2013 18:54:06 +0000 (10:54 -0800)]
am 16e5a644: (-s ours) am 4ac84a42: Camera2: Tests: Future-alias select metadata symbols: DO NOT MERGE

* commit '16e5a6440f54b396219315bc27f49f103083393b':
  Camera2: Tests: Future-alias select metadata symbols: DO NOT MERGE

11 years agoam f6892043: (-s ours) am 919cf643: Camera2: Tests -- Fork each test before executing...
Igor Murashkin [Fri, 11 Jan 2013 18:54:04 +0000 (10:54 -0800)]
am f6892043: (-s ours) am 919cf643: Camera2: Tests -- Fork each test before executing it: DO NOT MERGE

* commit 'f68920430b5dd669f89e9a0f74b095229fddf42c':
  Camera2: Tests -- Fork each test before executing it: DO NOT MERGE

11 years agoam 4c4b2a91: (-s ours) am 7e38f5fa: Camera2: Automated tests for testing HAL2.0 inter...
Igor Murashkin [Fri, 11 Jan 2013 18:54:03 +0000 (10:54 -0800)]
am 4c4b2a91: (-s ours) am 7e38f5fa: Camera2: Automated tests for testing HAL2.0 interface: DO NOT MERGE

* commit '4c4b2a9120c59ed8172a0e94b4410e8f5c3143e3':
  Camera2: Automated tests for testing HAL2.0 interface: DO NOT MERGE

11 years agoRemove remnants of HWC 0.x
Jesse Hall [Fri, 11 Jan 2013 00:19:19 +0000 (16:19 -0800)]
Remove remnants of HWC 0.x

Change-Id: I85f4b95e8db44998abc07686a554d3e802a6a4a9

11 years agoam 2dc781d2: Camera2: Tests: ModuleTests should not return OK for bad indices: DO...
Igor Murashkin [Thu, 10 Jan 2013 21:37:15 +0000 (13:37 -0800)]
am 2dc781d2: Camera2: Tests: ModuleTests should not return OK for bad indices: DO NOT MERGE

* commit '2dc781d20e8321aada3e8f46f76414c8dd3229da':
  Camera2: Tests: ModuleTests should not return OK for bad indices: DO NOT MERGE

11 years agoam 2d3c3e14: Camera2: Tests: Fix Camera2Test to be correct: DO NOT MERGE
Igor Murashkin [Thu, 10 Jan 2013 21:37:14 +0000 (13:37 -0800)]
am 2d3c3e14: Camera2: Tests: Fix Camera2Test to be correct: DO NOT MERGE

* commit '2d3c3e145545f0920f38340a8702d39e5ae8a792':
  Camera2: Tests: Fix Camera2Test to be correct: DO NOT MERGE

11 years agoam f32c9ea6: Camera2: Tests: Ignore V1 device initialization failures.: DO NOT MERGE
Igor Murashkin [Thu, 10 Jan 2013 21:37:14 +0000 (13:37 -0800)]
am f32c9ea6: Camera2: Tests: Ignore V1 device initialization failures.: DO NOT MERGE

* commit 'f32c9ea6dfa86904fff4935ee0ffe989c4297b39':
  Camera2: Tests: Ignore V1 device initialization failures.: DO NOT MERGE

11 years agoam 1f51808a: Camera2: Tests: Fix CameraFrameTests to pass instead of failing and...
Igor Murashkin [Thu, 10 Jan 2013 21:37:13 +0000 (13:37 -0800)]
am 1f51808a: Camera2: Tests: Fix CameraFrameTests to pass instead of failing and hanging.: DO NOT MERGE

* commit '1f51808ad12e52b44097b4bbe0cfb454ed21687f':
  Camera2: Tests: Fix CameraFrameTests to pass instead of failing and hanging.: DO NOT MERGE

11 years agoam d8875030: Camera2: Tests: Release streams after HAL is unloaded: DO NOT MERGE
Igor Murashkin [Thu, 10 Jan 2013 21:37:12 +0000 (13:37 -0800)]
am d8875030: Camera2: Tests: Release streams after HAL is unloaded: DO NOT MERGE

* commit 'd887503095926eadfefefdc07fcedaff51e4f07d':
  Camera2: Tests: Release streams after HAL is unloaded: DO NOT MERGE

11 years agoam 2a5c0e2a: Camera2: Tests: Skip stream tests /w formats that are not available...
Igor Murashkin [Thu, 10 Jan 2013 21:37:11 +0000 (13:37 -0800)]
am 2a5c0e2a: Camera2: Tests: Skip stream tests /w formats that are not available.: DO NOT MERGE

* commit '2a5c0e2a466fe5252cd12c0199d4868efcc83264':
  Camera2: Tests: Skip stream tests /w formats that are not available.: DO NOT MERGE

11 years agoam ff4d762c: Camera2: Tests: Add CLI arguments for disabling forking and changing...
Igor Murashkin [Thu, 10 Jan 2013 21:37:11 +0000 (13:37 -0800)]
am ff4d762c: Camera2: Tests: Add CLI arguments for disabling forking and changing camera ID: DO NOT MERGE

* commit 'ff4d762c34e2f785a01f7d2253d746d0bcdc7aa4':
  Camera2: Tests: Add CLI arguments for disabling forking and changing camera ID: DO NOT MERGE

11 years agoam afdd2b62: Camera2: Add a test for bursting 10 frames at a time /w manual exp contr...
Igor Murashkin [Thu, 10 Jan 2013 21:37:10 +0000 (13:37 -0800)]
am afdd2b62: Camera2: Add a test for bursting 10 frames at a time /w manual exp controls: DO NOT MERGE

* commit 'afdd2b621140f90c2df1a161ed36e42caa2d26da':
  Camera2: Add a test for bursting 10 frames at a time /w manual exp controls: DO NOT MERGE

11 years agoam 4ac84a42: Camera2: Tests: Future-alias select metadata symbols: DO NOT MERGE
Igor Murashkin [Thu, 10 Jan 2013 21:37:09 +0000 (13:37 -0800)]
am 4ac84a42: Camera2: Tests: Future-alias select metadata symbols: DO NOT MERGE

* commit '4ac84a428d05ce7963f201df7ca308acb88fd8d8':
  Camera2: Tests: Future-alias select metadata symbols: DO NOT MERGE

11 years agoam 919cf643: Camera2: Tests -- Fork each test before executing it: DO NOT MERGE
Igor Murashkin [Thu, 10 Jan 2013 21:37:08 +0000 (13:37 -0800)]
am 919cf643: Camera2: Tests -- Fork each test before executing it: DO NOT MERGE

* commit '919cf643730fe7aacbbbaf014f2dfbf47521ecfa':
  Camera2: Tests -- Fork each test before executing it: DO NOT MERGE

11 years agoam 7e38f5fa: Camera2: Automated tests for testing HAL2.0 interface: DO NOT MERGE
Igor Murashkin [Thu, 10 Jan 2013 21:37:07 +0000 (13:37 -0800)]
am 7e38f5fa: Camera2: Automated tests for testing HAL2.0 interface: DO NOT MERGE

* commit '7e38f5faac9a8404bd13ea02cf136f1a69443715':
  Camera2: Automated tests for testing HAL2.0 interface: DO NOT MERGE

11 years agoCamera2: Tests: ModuleTests should not return OK for bad indices: DO NOT MERGE
Igor Murashkin [Fri, 21 Dec 2012 01:11:56 +0000 (17:11 -0800)]
Camera2: Tests: ModuleTests should not return OK for bad indices: DO NOT MERGE

Change-Id: Ie2a0558104c13fe881d90ababf66a54f810f12aa

11 years agoCamera2: Tests: Fix Camera2Test to be correct: DO NOT MERGE
Igor Murashkin [Wed, 19 Dec 2012 00:06:07 +0000 (16:06 -0800)]
Camera2: Tests: Fix Camera2Test to be correct: DO NOT MERGE

- Requests were missing control type (capture vs reprocess)
- Not waiting for streams to be drained before disconnecting (sporadic fails)

Change-Id: Icaf88287344e98138b22afcd14b9f1878cdffa47

11 years agoCamera2: Tests: Ignore V1 device initialization failures.: DO NOT MERGE
Igor Murashkin [Tue, 18 Dec 2012 22:08:27 +0000 (14:08 -0800)]
Camera2: Tests: Ignore V1 device initialization failures.: DO NOT MERGE

This allows CameraModuleTests.LoadModule and GetCameraInfo to pass.

Change-Id: I0489ef996b5caf3e97bb71ef8c2502b0ee4d7ec3

11 years agoCamera2: Tests: Fix CameraFrameTests to pass instead of failing and hanging.: DO...
Igor Murashkin [Tue, 18 Dec 2012 21:40:32 +0000 (13:40 -0800)]
Camera2: Tests: Fix CameraFrameTests to pass instead of failing and hanging.: DO NOT MERGE

Producer would wait for buffers to be released so it could dequeue into them.
Since the test never acquired/released buffers, it would run out, and then
the HAL would deadlock when trying to shutdown since the producing thread
would never finish.

Change-Id: I123f36d87a2e72a2c42d942c975c02b8bd3f9f1a

11 years agoCamera2: Tests: Release streams after HAL is unloaded: DO NOT MERGE
Igor Murashkin [Tue, 18 Dec 2012 21:38:40 +0000 (13:38 -0800)]
Camera2: Tests: Release streams after HAL is unloaded: DO NOT MERGE

This fixes a segfault in the HAL where it was trying to write to a locked buffer
that disappeared from underneath it.

Any users of CameraModuleFixture should now call SetUp/TearDown explicitly.
Other classes remain unchanged until we need a custom TearDown order for them.

Change-Id: Ia2dc3ac3e2497d9ede9b580f6e10cf9ec646bdab

11 years agoCamera2: Tests: Skip stream tests /w formats that are not available.: DO NOT MERGE
Igor Murashkin [Sat, 15 Dec 2012 00:33:46 +0000 (16:33 -0800)]
Camera2: Tests: Skip stream tests /w formats that are not available.: DO NOT MERGE

Change-Id: I0c0d6c639ee3b0fe625d0888cca4486da9e2bb98

11 years agoCamera2: Tests: Add CLI arguments for disabling forking and changing camera ID: DO...
Igor Murashkin [Tue, 11 Dec 2012 23:19:25 +0000 (15:19 -0800)]
Camera2: Tests: Add CLI arguments for disabling forking and changing camera ID: DO NOT MERGE

Change-Id: I3c9133f74ef88dfdf10eb2c28760fc4acba8eb2f

11 years agoCamera2: Add a test for bursting 10 frames at a time /w manual exp controls: DO NOT...
Igor Murashkin [Fri, 7 Dec 2012 23:08:35 +0000 (15:08 -0800)]
Camera2: Add a test for bursting 10 frames at a time /w manual exp controls: DO NOT MERGE

Change-Id: Ib7c706a0d1f2d917d01397efe55b7e45035cb252

11 years agoCamera2: Tests: Future-alias select metadata symbols: DO NOT MERGE
Igor Murashkin [Thu, 10 Jan 2013 18:33:10 +0000 (10:33 -0800)]
Camera2: Tests: Future-alias select metadata symbols: DO NOT MERGE

Change-Id: I4010311d32a9c57790653b6c4ef0f51bfe24f853

11 years agoCamera2: Tests -- Fork each test before executing it: DO NOT MERGE
Igor Murashkin [Wed, 7 Nov 2012 01:02:54 +0000 (17:02 -0800)]
Camera2: Tests -- Fork each test before executing it: DO NOT MERGE

Use CAMERA2_TEST_FORKING_DISABLED=1 environment variable to override this
behavior (e.g. when wanting to attach gdb to the test app).

Change-Id: I3696243825901e5c7a7e4d0515831e76ae47ef4f

11 years agoCamera2: Automated tests for testing HAL2.0 interface: DO NOT MERGE
Igor Murashkin [Mon, 5 Nov 2012 19:14:49 +0000 (11:14 -0800)]
Camera2: Automated tests for testing HAL2.0 interface: DO NOT MERGE

Change-Id: If5c922a0c0139b90c4781f022d80f7b9a0932e9e

11 years agomodules: camera: Add tracing
Alex Ray [Thu, 27 Dec 2012 18:42:22 +0000 (10:42 -0800)]
modules: camera: Add tracing

Change-Id: I00ee447e6b57bc57fd09b6e7d8c62cb07cb37cf0

11 years agomodules: camera: Defer documenting API
Alex Ray [Wed, 19 Dec 2012 20:21:38 +0000 (12:21 -0800)]
modules: camera: Defer documenting API

Avoid duplicating the api docs in the example HAL, instead point to
canonical source for them.

Change-Id: If3f5acb7a73260248bd00ce01cb1c80f230f7188

11 years agoMerge "Use strong pointers and scope"
Jean-Michel Trivi [Wed, 26 Dec 2012 17:12:17 +0000 (09:12 -0800)]
Merge "Use strong pointers and scope"

11 years agoUse strong pointers and scope
Jean-Michel Trivi [Tue, 18 Dec 2012 19:30:33 +0000 (11:30 -0800)]
Use strong pointers and scope

Rely on strong pointers and scope rather than the more error prone
 incStrong / decStrong approach which can cause object leaks.
No change in functionality.

Change-Id: I1bfc7f0cdeeac022e4120482cd3521e52ffea94e

11 years agoCamera2: Tests: ModuleTests should not return OK for bad indices
Igor Murashkin [Fri, 21 Dec 2012 01:11:56 +0000 (17:11 -0800)]
Camera2: Tests: ModuleTests should not return OK for bad indices

Change-Id: Ia7a199d091edb4054dcd2d7164e57b3b653c5a64

11 years agoCamera2: Tests: Fix Camera2Test to be correct.
Igor Murashkin [Wed, 19 Dec 2012 00:06:07 +0000 (16:06 -0800)]
Camera2: Tests: Fix Camera2Test to be correct.

- Requests were missing control type (capture vs reprocess)
- Not waiting for streams to be drained before disconnecting (sporadic fails)

Change-Id: Iab218b89a663db6dc26d791a390d0e11667f6889

11 years agoCamera2: Tests: Ignore V1 device initialization failures.
Igor Murashkin [Tue, 18 Dec 2012 22:08:27 +0000 (14:08 -0800)]
Camera2: Tests: Ignore V1 device initialization failures.

This allows CameraModuleTests.LoadModule and GetCameraInfo to pass.

Change-Id: Id6e38afc6d9c5d45933d3117c7895775a30ee679

11 years agoCamera2: Tests: Fix CameraFrameTests to pass instead of failing and hanging.
Igor Murashkin [Tue, 18 Dec 2012 21:40:32 +0000 (13:40 -0800)]
Camera2: Tests: Fix CameraFrameTests to pass instead of failing and hanging.

Producer would wait for buffers to be released so it could dequeue into them.
Since the test never acquired/released buffers, it would run out, and then
the HAL would deadlock when trying to shutdown since the producing thread
would never finish.

Change-Id: I4222feeec7a3ffab4c243e12b7d9bd56364ad983

11 years agoCamera2: Tests: Release streams after HAL is unloaded
Igor Murashkin [Tue, 18 Dec 2012 21:38:40 +0000 (13:38 -0800)]
Camera2: Tests: Release streams after HAL is unloaded

This fixes a segfault in the HAL where it was trying to write to a locked buffer
that disappeared from underneath it.

Any users of CameraModuleFixture should now call SetUp/TearDown explicitly.
Other classes remain unchanged until we need a custom TearDown order for them.

Change-Id: I9aa8c2d86492a76f2c01c1ad4cbe0cf91e5c7916

11 years agoMerge "Rename ISurfaceTexture and SurfaceTexture"
Andy McFadden [Tue, 18 Dec 2012 23:21:32 +0000 (15:21 -0800)]
Merge "Rename ISurfaceTexture and SurfaceTexture"

11 years agoMerge "Camera2: Tests: Skip stream tests /w formats that are not available."
Igor Murashkin [Tue, 18 Dec 2012 22:49:48 +0000 (14:49 -0800)]
Merge "Camera2: Tests: Skip stream tests /w formats that are not available."

11 years agoMerge "Camera2: Tests: Add CLI arguments for disabling forking and changing camera ID"
Igor Murashkin [Tue, 18 Dec 2012 22:49:30 +0000 (14:49 -0800)]
Merge "Camera2: Tests: Add CLI arguments for disabling forking and changing camera ID"

11 years agoCamera2: Tests: Skip stream tests /w formats that are not available.
Igor Murashkin [Sat, 15 Dec 2012 00:33:46 +0000 (16:33 -0800)]
Camera2: Tests: Skip stream tests /w formats that are not available.

Change-Id: I187ca983010483d1cb3ac951da2aa8b886828ef7

11 years agoCamera2: Tests: Add CLI arguments for disabling forking and changing camera ID
Igor Murashkin [Tue, 11 Dec 2012 23:19:25 +0000 (15:19 -0800)]
Camera2: Tests: Add CLI arguments for disabling forking and changing camera ID

Change-Id: I0adfda42e861d7e5a85801f7e0c3f0b3950b6e0e

11 years agoRename ISurfaceTexture and SurfaceTexture
Andy McFadden [Tue, 18 Dec 2012 17:50:24 +0000 (09:50 -0800)]
Rename ISurfaceTexture and SurfaceTexture

The C++ class names don't match what the classes do, so rename
ISurfaceTexture to IGraphicBufferProducer, and SurfaceTexture to
GLConsumer.

Bug 7736700

Change-Id: I7fc8474c1d0d95658609b69cdb0af412d69a42c4

11 years agoMerge "Camera2: Add a test for bursting 10 frames at a time /w manual exp controls"
Igor Murashkin [Wed, 12 Dec 2012 20:48:27 +0000 (12:48 -0800)]
Merge "Camera2: Add a test for bursting 10 frames at a time /w manual exp controls"

11 years agoFix build
Andrew Hsieh [Wed, 12 Dec 2012 04:51:41 +0000 (20:51 -0800)]
Fix build

Change-Id: Iaf3bba12e3f34d351890320b25aa340e75c1972c

11 years agosensor HAL major revision
Mathias Agopian [Thu, 29 Nov 2012 01:21:55 +0000 (17:21 -0800)]
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

11 years agoCamera2: Add a test for bursting 10 frames at a time /w manual exp controls
Igor Murashkin [Fri, 7 Dec 2012 23:08:35 +0000 (15:08 -0800)]
Camera2: Add a test for bursting 10 frames at a time /w manual exp controls

Change-Id: Idc1a3ebb26d0e189a543435f7f9be5f6376963d6

11 years agoFix GRALLOC_USAGE_SW_WRITE flag documentation
Greg Hackmann [Fri, 7 Dec 2012 18:32:58 +0000 (10:32 -0800)]
Fix GRALLOC_USAGE_SW_WRITE flag documentation

Change-Id: Ie553c521290358bf37c6954f65f790162aa43730
Signed-off-by: Greg Hackmann <ghackmann@google.com>