OSDN Git Service

android-x86/frameworks-native.git
10 years agoam 8e26b28b: Filter out vsync events from HWC with duplicate timestamps
Jesse Hall [Tue, 15 Oct 2013 03:34:58 +0000 (20:34 -0700)]
am 8e26b28b: Filter out vsync events from HWC with duplicate timestamps

* commit '8e26b28be62e7c0e093900540db5e5cdcf52a0ff':
  Filter out vsync events from HWC with duplicate timestamps

10 years agoFilter out vsync events from HWC with duplicate timestamps
Jesse Hall [Mon, 14 Oct 2013 19:36:45 +0000 (12:36 -0700)]
Filter out vsync events from HWC with duplicate timestamps

Bug: 11220224
Change-Id: I4efe0b66ea8969bf0ec3c4fcb325d354c8a0c315

10 years agoam 2d344979: Merge "Adding PackageManager feature strings for stepcounter and stepdet...
Aravind Akella [Sun, 13 Oct 2013 22:51:59 +0000 (15:51 -0700)]
am 2d344979: Merge "Adding PackageManager feature strings for stepcounter and stepdetector." into klp-dev

* commit '2d344979eb200b7fb8ba4d811a22c80b1d77b564':
  Adding PackageManager feature strings for stepcounter and stepdetector.

10 years agoMerge "Adding PackageManager feature strings for stepcounter and stepdetector." into...
Aravind Akella [Sun, 13 Oct 2013 22:47:47 +0000 (22:47 +0000)]
Merge "Adding PackageManager feature strings for stepcounter and stepdetector." into klp-dev

10 years agoAdding PackageManager feature strings for stepcounter and stepdetector.
Aravind Akella [Sun, 13 Oct 2013 00:30:40 +0000 (17:30 -0700)]
Adding PackageManager feature strings for stepcounter and stepdetector.

Change-Id: I75ec21900fdc3ea80b61ec12c851a0c5ce9c44e8

10 years agoam 44e45cfe: Merge "DispSync: don\'t compensate for wakeup latency" into klp-dev
Jesse Hall [Sun, 13 Oct 2013 20:18:58 +0000 (13:18 -0700)]
am 44e45cfe: Merge "DispSync: don\'t compensate for wakeup latency" into klp-dev

* commit '44e45cfeb37a04c206730b12ff001525ebe42a7b':
  DispSync: don't compensate for wakeup latency

10 years agoMerge "DispSync: don't compensate for wakeup latency" into klp-dev
Jesse Hall [Sun, 13 Oct 2013 20:13:59 +0000 (20:13 +0000)]
Merge "DispSync: don't compensate for wakeup latency" into klp-dev

10 years agoam 6410c8c4: Merge "Use black for blackout layer" into klp-dev
Andy McFadden [Fri, 11 Oct 2013 21:47:25 +0000 (14:47 -0700)]
am 6410c8c4: Merge "Use black for blackout layer" into klp-dev

* commit '6410c8c4097f1a3246aa3d03b3291d47f982bc4b':
  Use black for blackout layer

10 years agoMerge "Use black for blackout layer" into klp-dev
Andy McFadden [Fri, 11 Oct 2013 21:39:49 +0000 (21:39 +0000)]
Merge "Use black for blackout layer" into klp-dev

10 years agoUse black for blackout layer
Andy McFadden [Fri, 11 Oct 2013 18:16:03 +0000 (11:16 -0700)]
Use black for blackout layer

SurfaceFlinger was rendering dark purple for secure content, which
showed up when we took a screen shot for the orientation change
animation.  Use black instead.

Bug 11157921

Change-Id: I3895e8168891d49dc5b84eed599bcd0a303bb70a

10 years agoam 9c0dfa09: Merge "Eliminate latency when resampling is disabled" into klp-dev
Dave Burke [Fri, 11 Oct 2013 02:39:05 +0000 (19:39 -0700)]
am 9c0dfa09: Merge "Eliminate latency when resampling is disabled" into klp-dev

* commit '9c0dfa09731a8366a7cdcd7171dde64b73af0d5c':
  Eliminate latency when resampling is disabled

10 years agoMerge "Eliminate latency when resampling is disabled" into klp-dev
Dave Burke [Fri, 11 Oct 2013 02:33:15 +0000 (02:33 +0000)]
Merge "Eliminate latency when resampling is disabled" into klp-dev

10 years agoam 5d6aa951: Merge "Change API from flush(handle) to flush(). Call flush on all activ...
Aravind Akella [Fri, 11 Oct 2013 02:21:05 +0000 (19:21 -0700)]
am 5d6aa951: Merge "Change API from flush(handle) to flush(). Call flush on all active sensors in the given SensorEventConnection." into klp-dev

* commit '5d6aa95129a13aae37a60b3e4246a0592dab396d':
  Change API from flush(handle) to flush(). Call flush on all active sensors in the given SensorEventConnection.

10 years agoMerge "Change API from flush(handle) to flush(). Call flush on all active sensors...
Aravind Akella [Fri, 11 Oct 2013 02:05:40 +0000 (02:05 +0000)]
Merge "Change API from flush(handle) to flush(). Call flush on all active sensors in the given SensorEventConnection." into klp-dev

10 years agoEliminate latency when resampling is disabled
Michael Wright [Fri, 11 Oct 2013 01:54:12 +0000 (18:54 -0700)]
Eliminate latency when resampling is disabled

Since the latency was introduced to avoid egregious errors during
resampling, remove it when we aren't resampling.

Change-Id: Ia8e9a9afb1e16212fec81a8c9c661c598e1b0ebf

10 years agoam 5c65efe2: Merge "Wake up disp sync thread when setting display period" into klp-dev
Jesse Hall [Thu, 10 Oct 2013 23:05:37 +0000 (16:05 -0700)]
am 5c65efe2: Merge "Wake up disp sync thread when setting display period" into klp-dev

* commit '5c65efe2b1d632226f02751e6b1d3cfd7c8ecb26':
  Wake up disp sync thread when setting display period

10 years agoMerge "Wake up disp sync thread when setting display period" into klp-dev
Jesse Hall [Thu, 10 Oct 2013 22:24:32 +0000 (22:24 +0000)]
Merge "Wake up disp sync thread when setting display period" into klp-dev

10 years agoWake up disp sync thread when setting display period
Jesse Hall [Thu, 10 Oct 2013 21:48:22 +0000 (14:48 -0700)]
Wake up disp sync thread when setting display period

Bug: 10624956
Change-Id: I272c15f319521bfbd1bb70451366c7dd84d60bf9

10 years agoam 2d8d120d: Fix blank / partial screenshots
Andy McFadden [Thu, 10 Oct 2013 15:23:01 +0000 (08:23 -0700)]
am 2d8d120d: Fix blank / partial screenshots

* commit '2d8d120dc175c131a75e93fb1de61a9f432ddce9':
  Fix blank / partial screenshots

10 years agoDispSync: don't compensate for wakeup latency
Jamie Gennis [Thu, 10 Oct 2013 00:49:37 +0000 (17:49 -0700)]
DispSync: don't compensate for wakeup latency

This change removes the wakeup latency compensation from the software-generated
vsync events.  Choreographer can't handle timestamps in the future, so don't
aim for early wake-ups with the expectation that the actual wake-up will be
late.

Bug: 11153576

10 years agoChange API from flush(handle) to flush(). Call flush on all active sensors in the...
Aravind Akella [Tue, 8 Oct 2013 21:59:26 +0000 (14:59 -0700)]
Change API from flush(handle) to flush(). Call flush on all active sensors in the given SensorEventConnection.

Change-Id: I4ef2bec80406c517903ab9782dc9eaf3fa8b7f36

10 years agoFix blank / partial screenshots
Andy McFadden [Wed, 9 Oct 2013 23:38:02 +0000 (16:38 -0700)]
Fix blank / partial screenshots

The screen capture code wasn't waiting for the render to finish,
so sometimes you'd see an empty or partial image.

Bug 11131777

Change-Id: Ic64087322ce3bb15bb5f4fb1eb07579880fe6197

10 years agoam 98c197d8: merge in KQS81M
Ed Heyl [Tue, 8 Oct 2013 22:57:56 +0000 (15:57 -0700)]
am 98c197d8: merge in KQS81M

* commit '98c197d826f95a82de41e16350f58a70a7ad23c6':
  GLConsumer: Add query for current frame number.
  Disable GLES 2.x rendering
  Initialize mIndent

10 years agomerge in KQS81M
Ed Heyl [Tue, 8 Oct 2013 22:40:38 +0000 (15:40 -0700)]
merge in KQS81M

10 years agoam faf77cce: SurfaceFlinger: SW-based vsync events
Jamie Gennis [Tue, 8 Oct 2013 22:17:12 +0000 (15:17 -0700)]
am faf77cce: SurfaceFlinger: SW-based vsync events

* commit 'faf77cce9d9ec0238d6999b3bd0d40c71ff403c5':
  SurfaceFlinger: SW-based vsync events

10 years agoSurfaceFlinger: SW-based vsync events
Jamie Gennis [Tue, 30 Jul 2013 22:10:32 +0000 (15:10 -0700)]
SurfaceFlinger: SW-based vsync events

This change adds the DispSync class, which models the hardware vsync event
times to allow vsync event callbacks to be done at an arbitrary phase offset
from the hardware vsync.  This can be used to reduce the minimum latency from
Choreographer wake-up to on-screen image presentation.

Bug: 10624956
Change-Id: I8c7a54ceacaa4d709726ed97b0dcae4093a7bdcf

10 years agoam d457ec52: Add feature android.hardware.consumerir xml file
Alex Ray [Fri, 4 Oct 2013 21:18:35 +0000 (14:18 -0700)]
am d457ec52: Add feature android.hardware.consumerir xml file

* commit 'd457ec52d7023e9a6112f313cd2bf94293162214':
  Add feature android.hardware.consumerir xml file

10 years agoam 48d3741b: Merge "Allow blaming a single uid for work done" into klp-dev
Marco Nelissen [Thu, 3 Oct 2013 22:40:30 +0000 (15:40 -0700)]
am 48d3741b: Merge "Allow blaming a single uid for work done" into klp-dev

* commit '48d3741ba5f4b3bb411ee5c083a11f4f52f9e907':
  Allow blaming a single uid for work done

10 years agoam b1f94ef3: Merge "media/hardware/HardwareAPI.h: Added PrepareForAdaptivePlaybackPar...
Lajos Molnar [Thu, 3 Oct 2013 22:40:30 +0000 (15:40 -0700)]
am b1f94ef3: Merge "media/hardware/HardwareAPI.h: Added PrepareForAdaptivePlaybackParams" into klp-dev

* commit 'b1f94ef3f97bd20b928cf980791526861650eab9':
  media/hardware/HardwareAPI.h: Added PrepareForAdaptivePlaybackParams

10 years agoAdd feature android.hardware.consumerir xml file
Alex Ray [Thu, 3 Oct 2013 20:09:37 +0000 (13:09 -0700)]
Add feature android.hardware.consumerir xml file

Bug: 10676690
Change-Id: I2cc62b9c97a71588c43ff96ca38d470976bde9b0

10 years agoMerge "Allow blaming a single uid for work done" into klp-dev
Marco Nelissen [Thu, 3 Oct 2013 16:34:51 +0000 (16:34 +0000)]
Merge "Allow blaming a single uid for work done" into klp-dev

10 years agoMerge "media/hardware/HardwareAPI.h: Added PrepareForAdaptivePlaybackParams" into...
Lajos Molnar [Thu, 3 Oct 2013 16:10:25 +0000 (16:10 +0000)]
Merge "media/hardware/HardwareAPI.h: Added PrepareForAdaptivePlaybackParams" into klp-dev

10 years agoAllow blaming a single uid for work done
Marco Nelissen [Wed, 2 Oct 2013 19:42:20 +0000 (12:42 -0700)]
Allow blaming a single uid for work done

This lets audioflinger assign blame for wakelocks to a single uid.
Currently this is only used for recording wakelocks.
b/10985160

Change-Id: Idc9adb22c29030010ac690d4cb95e7e7ea6b91e6

10 years agoam f0cf5f10: BufferQueue: fix a test crash
Jamie Gennis [Wed, 2 Oct 2013 18:16:59 +0000 (11:16 -0700)]
am f0cf5f10: BufferQueue: fix a test crash

* commit 'f0cf5f103cf9c54d59de4ed6f1d8ddd2302dec1b':
  BufferQueue: fix a test crash

10 years agoBufferQueue: fix a test crash
Jamie Gennis [Thu, 26 Sep 2013 00:21:56 +0000 (17:21 -0700)]
BufferQueue: fix a test crash

Bug: 10935880
Change-Id: If76e9fb055103bad0db7e6c16487532671573149

10 years agoam a9c47f32: Merge "GLConsumer: start using EGL_ANDROID_image_crop" into klp-dev
Jamie Gennis [Wed, 2 Oct 2013 17:41:58 +0000 (10:41 -0700)]
am a9c47f32: Merge "GLConsumer: start using EGL_ANDROID_image_crop" into klp-dev

* commit 'a9c47f327373cbe48e187442c7f9554d24a75c08':
  GLConsumer: start using EGL_ANDROID_image_crop

10 years agoam 06993503: Merge "only clear FB when asked for the opaque layer" into klp-dev
Dave Burke [Wed, 2 Oct 2013 17:41:57 +0000 (10:41 -0700)]
am 06993503: Merge "only clear FB when asked for the opaque layer" into klp-dev

* commit '0699350336cccc244bb6c52a0d910f9599253812':
  only clear FB when asked for the opaque layer

10 years agoMerge "GLConsumer: start using EGL_ANDROID_image_crop" into klp-dev
Jamie Gennis [Wed, 2 Oct 2013 17:36:48 +0000 (17:36 +0000)]
Merge "GLConsumer: start using EGL_ANDROID_image_crop" into klp-dev

10 years agoMerge "only clear FB when asked for the opaque layer" into klp-dev
Dave Burke [Wed, 2 Oct 2013 17:36:40 +0000 (17:36 +0000)]
Merge "only clear FB when asked for the opaque layer" into klp-dev

10 years agoGLConsumer: start using EGL_ANDROID_image_crop
Jamie Gennis [Tue, 24 Sep 2013 00:22:10 +0000 (17:22 -0700)]
GLConsumer: start using EGL_ANDROID_image_crop

This change makes GLConsumer use the EGL_ANDROID_image_crop extension when
available on a device.  The crop rectangle is passed to the EGL driver when
creating EGLImages, allowing the crop to be performed by the driver rather than
using the texture transform matrix.

Bug: 10897141
Change-Id: I63e9a5d5c85067376abc420e3639154468346311

10 years agoam 93573e91: Merge "Treat composition frames with no layers as using GLES composition...
Jesse Hall [Wed, 2 Oct 2013 16:37:50 +0000 (09:37 -0700)]
am 93573e91: Merge "Treat composition frames with no layers as using GLES composition" into klp-dev

* commit '93573e91c22ba8329222c69cd7f099f5703fb444':
  Treat composition frames with no layers as using GLES composition

10 years agoam b716e570: Set the outbuf acquire fence after we actually have it.
Jesse Hall [Wed, 2 Oct 2013 16:37:49 +0000 (09:37 -0700)]
am b716e570: Set the outbuf acquire fence after we actually have it.

* commit 'b716e57048e945d5bceda33c2434c65d06464dba':
  Set the outbuf acquire fence after we actually have it.

10 years agoMerge "Treat composition frames with no layers as using GLES composition" into klp-dev
Jesse Hall [Wed, 2 Oct 2013 14:54:03 +0000 (14:54 +0000)]
Merge "Treat composition frames with no layers as using GLES composition" into klp-dev

10 years agoSet the outbuf acquire fence after we actually have it.
Jesse Hall [Wed, 2 Oct 2013 00:25:20 +0000 (17:25 -0700)]
Set the outbuf acquire fence after we actually have it.

In GLES-only mode, we don't have the outbuf acquire fence until after
GLES composition is done for the frame. We were setting the fence in
HWC's state immediately after dequeueing the buffer from the consumer,
before GLES had started. This fence got passed through HWC and on to
the consumer, so the consumer was reading the buffer before GLES was
done writing to it.

Now we update HWC's state just before set(), when we know we have the
right fence.

Bug: 11000763
Change-Id: Iea9db4c69634c352dc2d600f0bdb6bef2a432636

10 years agoonly clear FB when asked for the opaque layer
Mathias Agopian [Tue, 1 Oct 2013 22:36:52 +0000 (15:36 -0700)]
only clear FB when asked for the opaque layer

a layer need to be considered NOT opaque if it has a
plane-alpha.

Bug: 10846930
Change-Id: Ibd8981b63ede4560c7096bacc4cff46a7eb2a8bb

10 years agoam b65f32eb: Fix two EGLConfig selection bugs
Jesse Hall [Tue, 1 Oct 2013 04:38:40 +0000 (21:38 -0700)]
am b65f32eb: Fix two EGLConfig selection bugs

* commit 'b65f32ebe2c86869b07ac1c986660dfb2187b7d3':
  Fix two EGLConfig selection bugs

10 years agoTreat composition frames with no layers as using GLES composition
Jesse Hall [Mon, 30 Sep 2013 23:49:30 +0000 (16:49 -0700)]
Treat composition frames with no layers as using GLES composition

When there are no window layers for a display, SurfaceFlinger clears
the undefined region using GLES. Some of the places that check for
GLES composition weren't considering this special case, in particular:

- We were skipping the eglSwapBuffers() on these frames.
- We were putting VirtualDisplaySurface in HWC-only composition mode.

This change centralizes the logic for this special case.

Bug: 10957068
Change-Id: I2deaf2ed101e8ea76708862a6bb67751b6078794

10 years agoFix two EGLConfig selection bugs
Jesse Hall [Sat, 28 Sep 2013 05:10:47 +0000 (22:10 -0700)]
Fix two EGLConfig selection bugs

This fixes two bugs introduced by
  Change-Id: Ia8cc084c02a0e3de910def024da8a08d02bbd89d

(a) There is no invalid EGLConfig value, in particular zero is valid.
    Checking return values of eglGetConfigs and eglChooseConfig is the
    only way to determine success.
(b) The "simple" EGLConfig query used as the emulator fallback should
    not include EGL_RECORDABLE; the emulator doesn't have it.

Bug: 10935622
Change-Id: Ib798a24e7cf06a679811c46eaa45d39174a715ec

10 years agoam d9be16f9: Merge "Fix OpenGL stub exception handling."
Elliott Hughes [Fri, 27 Sep 2013 22:38:04 +0000 (15:38 -0700)]
am d9be16f9: Merge "Fix OpenGL stub exception handling."

* commit 'd9be16f920f7c2581fda3ca495c1e6fc88857a6c':
  Fix OpenGL stub exception handling.

10 years agoMerge "Fix OpenGL stub exception handling."
Elliott Hughes [Fri, 27 Sep 2013 22:31:18 +0000 (22:31 +0000)]
Merge "Fix OpenGL stub exception handling."

10 years agoam 86206b41: Merge "fix initialization of framebuffer target crop rect on hwc 1.3...
Mathias Agopian [Thu, 26 Sep 2013 19:44:27 +0000 (12:44 -0700)]
am 86206b41: Merge "fix initialization of framebuffer target crop rect on hwc 1.3" into klp-dev

* commit '86206b41b2ff000e086301c6bafb8da577e563b2':
  fix initialization of framebuffer target crop rect on hwc 1.3

10 years agoam 6da15f46: fix crashers with wifi/virtual displays
Mathias Agopian [Thu, 26 Sep 2013 19:44:27 +0000 (12:44 -0700)]
am 6da15f46: fix crashers with wifi/virtual displays

* commit '6da15f46f5f8b38e31384d641f8d3db2c3c6ea30':
  fix crashers with wifi/virtual displays

10 years agoMerge "fix initialization of framebuffer target crop rect on hwc 1.3" into klp-dev
Mathias Agopian [Thu, 26 Sep 2013 19:41:22 +0000 (19:41 +0000)]
Merge "fix initialization of framebuffer target crop rect on hwc 1.3" into klp-dev

10 years agofix initialization of framebuffer target crop rect on hwc 1.3
Mathias Agopian [Thu, 26 Sep 2013 03:44:34 +0000 (20:44 -0700)]
fix initialization of framebuffer target crop rect on hwc 1.3

Bug: 10936771
Change-Id: If283e5e231ca34b93e0b1784bb4e8e4c7bfd75de

10 years agofix crashers with wifi/virtual displays
Mathias Agopian [Thu, 26 Sep 2013 03:40:07 +0000 (20:40 -0700)]
fix crashers with wifi/virtual displays

Bug: 10647742
Change-Id: I4b8ed9da52ef95af3a3b3a04b98514a3776a674d

10 years agoFix OpenGL stub exception handling.
Elliott Hughes [Wed, 25 Sep 2013 00:18:05 +0000 (17:18 -0700)]
Fix OpenGL stub exception handling.

Bug: https://code.google.com/p/android/issues/detail?id=60390
Change-Id: I2bdc22c5fe75f5e41ffb9dd9259ae92cf8a12917

10 years agoresolved conflicts for merge of e678897f to klp-dev-plus-aosp
Nick Kralevich [Fri, 20 Sep 2013 19:45:20 +0000 (12:45 -0700)]
resolved conflicts for merge of e678897f to klp-dev-plus-aosp

Change-Id: Ie2a5e7a917ab7f5a0ee98300b880d22c7a10bf70

10 years agoMerge "Proper security labeling of multi-user data directories."
Nick Kralevich [Fri, 20 Sep 2013 19:35:36 +0000 (19:35 +0000)]
Merge "Proper security labeling of multi-user data directories."

10 years agoGLConsumer: Add query for current frame number.
Eino-Ville Talvala [Thu, 19 Sep 2013 20:36:07 +0000 (13:36 -0700)]
GLConsumer: Add query for current frame number.

Surface the underlying frame number of the current texture.

Bug: 10830400
Change-Id: Ide3a7da12ea0aac54588beb6bf00dbfe2cd37653

10 years agoam d555684c: reinstate black-screenshot debugging code
Mathias Agopian [Fri, 20 Sep 2013 00:13:52 +0000 (17:13 -0700)]
am d555684c: reinstate black-screenshot debugging code

* commit 'd555684cb36dfb959694db76962e570184f98838':
  reinstate black-screenshot debugging code

10 years agoreinstate black-screenshot debugging code
Mathias Agopian [Fri, 20 Sep 2013 00:08:37 +0000 (17:08 -0700)]
reinstate black-screenshot debugging code

turned off by default.

Bug: 10809349
Change-Id: I3e6b8c7860e6b0e122b8f07de4020967cd1f005c

10 years agoam e2a3e872: Merge "Fix GLES context version selection" into klp-dev
Mathias Agopian [Thu, 19 Sep 2013 22:34:15 +0000 (15:34 -0700)]
am e2a3e872: Merge "Fix GLES context version selection" into klp-dev

* commit 'e2a3e8727408937bb7107c206444fa49a150f358':
  Fix GLES context version selection

10 years agoMerge "Fix GLES context version selection" into klp-dev
Mathias Agopian [Thu, 19 Sep 2013 22:29:30 +0000 (22:29 +0000)]
Merge "Fix GLES context version selection" into klp-dev

10 years agoam d171da97: GLConsumer: Add query for current frame number.
Eino-Ville Talvala [Thu, 19 Sep 2013 21:59:51 +0000 (14:59 -0700)]
am d171da97: GLConsumer: Add query for current frame number.

* commit 'd171da973de3c6b30263011334fdcd916739144f':
  GLConsumer: Add query for current frame number.

10 years agoGLConsumer: Add query for current frame number.
Eino-Ville Talvala [Thu, 19 Sep 2013 20:36:07 +0000 (13:36 -0700)]
GLConsumer: Add query for current frame number.

Surface the underlying frame number of the current texture.

Bug: 10830400
Change-Id: Ide3a7da12ea0aac54588beb6bf00dbfe2cd37653

10 years agomerge in klp-release history after reset to klp-dev
The Android Automerger [Thu, 19 Sep 2013 13:01:50 +0000 (06:01 -0700)]
merge in klp-release history after reset to klp-dev

10 years agoFix GLES context version selection
Mathias Agopian [Wed, 18 Sep 2013 23:20:26 +0000 (16:20 -0700)]
Fix GLES context version selection

Explicitly selects an ES 2.0 config first, then an ES 1.x config,
before attempting the fallback path for the emulator.

Bug: 10820214
Change-Id: Ia8cc084c02a0e3de910def024da8a08d02bbd89d

10 years agoam c1c05de4: fix camera API 2.0 orientation
Mathias Agopian [Wed, 18 Sep 2013 22:33:38 +0000 (15:33 -0700)]
am c1c05de4: fix camera API 2.0 orientation

* commit 'c1c05de415854eb7a13a16b7e22a22de8515123a':
  fix camera API 2.0 orientation

10 years agoProper security labeling of multi-user data directories.
Robert Craig [Mon, 29 Jul 2013 13:18:09 +0000 (09:18 -0400)]
Proper security labeling of multi-user data directories.

Add seinfo paramater to appropriate make directory
functions. This allows proper labeling for multi-user
scenarios.

Change-Id: Iaba7c40645bc7b6cc823d613da0c3782acf6ddd5
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
10 years agofix camera API 2.0 orientation
Mathias Agopian [Wed, 18 Sep 2013 06:45:22 +0000 (23:45 -0700)]
fix camera API 2.0 orientation

we add a flag to ANativeWindow::setBufferTransform that means
"apply the inverse rotation of the display this buffer is displayed
onto to".

Bug: 10804238
Change-Id: Id2447676271950463e8dbcef1b95935c5c3f32b2

10 years agomerge in klp-release history after reset to klp-dev
The Android Automerger [Wed, 18 Sep 2013 04:11:23 +0000 (21:11 -0700)]
merge in klp-release history after reset to klp-dev

10 years agomerge in klp-release history after reset to klp-dev
The Android Automerger [Wed, 18 Sep 2013 00:39:56 +0000 (17:39 -0700)]
merge in klp-release history after reset to klp-dev

10 years agoam 799f5126: Fix build (tests)
Mathias Agopian [Tue, 17 Sep 2013 22:58:55 +0000 (15:58 -0700)]
am 799f5126: Fix build (tests)

* commit '799f51268006f319f6ae538dca670bfc7f522688':
  Fix build (tests)

10 years agoFix build (tests)
Mathias Agopian [Tue, 17 Sep 2013 22:55:18 +0000 (15:55 -0700)]
Fix build (tests)

Change-Id: I5b233ef448e5e7eec3818c6586dfea138b28f7b6

10 years agoam 02b62df7: Merge "Make sure do disconnect from a BQ when its client dies." into...
Mathias Agopian [Tue, 17 Sep 2013 21:33:09 +0000 (14:33 -0700)]
am 02b62df7: Merge "Make sure do disconnect from a BQ when its client dies." into klp-dev

* commit '02b62df7119b27c89d91d96938d8f4f5232b296b':
  Make sure do disconnect from a BQ when its client dies.

10 years agoMerge "Make sure do disconnect from a BQ when its client dies." into klp-dev
Mathias Agopian [Tue, 17 Sep 2013 21:31:13 +0000 (21:31 +0000)]
Merge "Make sure do disconnect from a BQ when its client dies." into klp-dev

10 years agoam fca43392: Merge "Fix for AOSP fusion sensors not handling multiple clients correct...
Aravind Akella [Tue, 17 Sep 2013 18:22:59 +0000 (11:22 -0700)]
am fca43392: Merge "Fix for AOSP fusion sensors not handling multiple clients correctly." into klp-dev

* commit 'fca43392b755b34c83c3abbfea216bafa9cd8171':
  Fix for AOSP fusion sensors not handling multiple clients correctly.

10 years agoMerge "Fix for AOSP fusion sensors not handling multiple clients correctly." into...
Aravind Akella [Tue, 17 Sep 2013 18:17:50 +0000 (18:17 +0000)]
Merge "Fix for AOSP fusion sensors not handling multiple clients correctly." into klp-dev

10 years agoam f0c72846: Merge "Sensor Batching Bug fixes." into klp-dev
Aravind Akella [Tue, 17 Sep 2013 17:51:53 +0000 (10:51 -0700)]
am f0c72846: Merge "Sensor Batching Bug fixes." into klp-dev

* commit 'f0c728465a87435e6a8a66991451cf6fe72acc24':
  Sensor Batching Bug fixes.

10 years agoMerge "Sensor Batching Bug fixes." into klp-dev
Aravind Akella [Tue, 17 Sep 2013 17:49:26 +0000 (17:49 +0000)]
Merge "Sensor Batching Bug fixes." into klp-dev

10 years agoam fc7083a8: Merge "Enable FEATURE_DEVICE_ADMIN for handheld devices" into klp-dev
Amith Yamasani [Tue, 17 Sep 2013 15:58:55 +0000 (08:58 -0700)]
am fc7083a8: Merge "Enable FEATURE_DEVICE_ADMIN for handheld devices" into klp-dev

* commit 'fc7083a828b6db00698c1418e5f370b31625213c':
  Enable FEATURE_DEVICE_ADMIN for handheld devices

10 years agoMerge "Enable FEATURE_DEVICE_ADMIN for handheld devices" into klp-dev
Amith Yamasani [Tue, 17 Sep 2013 15:56:23 +0000 (15:56 +0000)]
Merge "Enable FEATURE_DEVICE_ADMIN for handheld devices" into klp-dev

10 years agomerge in klp-release history after reset to klp-dev
The Android Automerger [Tue, 17 Sep 2013 13:01:01 +0000 (06:01 -0700)]
merge in klp-release history after reset to klp-dev

10 years agoam 2a36497e: Merge "Stop using default value for Surface producerControlledByApp...
Jesse Hall [Tue, 17 Sep 2013 03:30:11 +0000 (20:30 -0700)]
am 2a36497e: Merge "Stop using default value for Surface producerControlledByApp parameter" into klp-dev

* commit '2a36497e45d4d96e35fed89cfdcb09b71459ac3c':
  Stop using default value for Surface producerControlledByApp parameter

10 years agoMerge "Stop using default value for Surface producerControlledByApp parameter" into...
Jesse Hall [Tue, 17 Sep 2013 03:27:15 +0000 (03:27 +0000)]
Merge "Stop using default value for Surface producerControlledByApp parameter" into klp-dev

10 years agoMake sure do disconnect from a BQ when its client dies.
Mathias Agopian [Thu, 12 Sep 2013 02:35:45 +0000 (19:35 -0700)]
Make sure do disconnect from a BQ when its client dies.

Bug: 5679534

Change-Id: If447e8673df83fe0b1d6210641e0a48522501a53

10 years agoFix for AOSP fusion sensors not handling multiple clients correctly.
Aravind Akella [Mon, 16 Sep 2013 22:37:41 +0000 (15:37 -0700)]
Fix for AOSP fusion sensors not handling multiple clients correctly.

Bug: 10786801
Change-Id: I7b938bc583a303a30237c3d93b5accbf64cc90b5

10 years agoStop using default value for Surface producerControlledByApp parameter
Jesse Hall [Mon, 16 Sep 2013 22:24:53 +0000 (15:24 -0700)]
Stop using default value for Surface producerControlledByApp parameter

Bug: 10785749
Change-Id: Ifbf9340e5eabe621a69e990ec3e05ac51f8db66a

10 years agoSensor Batching Bug fixes.
Aravind Akella [Fri, 6 Sep 2013 00:03:38 +0000 (17:03 -0700)]
Sensor Batching Bug fixes.

i) SensorService dropping events. Increase SOCKET_BUFFER_SIZE in BitTube ctor.
ii) Call flush before every activate.
iii) Emulate flush for older devices. Add a trivial flush complete event when flush is called.

Bug: 10641596
Change-Id: I30d0f3948e830457143f16e157b6ad81908687ce

10 years agoam a2ba428a: Disable the egl_khr_gl_colorspace extension
Jesse Hall [Mon, 16 Sep 2013 19:44:40 +0000 (12:44 -0700)]
am a2ba428a: Disable the egl_khr_gl_colorspace extension

* commit 'a2ba428a22125558a129c6ba4001dfc2169de2fe':
  Disable the egl_khr_gl_colorspace extension

10 years agoDisable the egl_khr_gl_colorspace extension
Jesse Hall [Sun, 15 Sep 2013 04:00:14 +0000 (21:00 -0700)]
Disable the egl_khr_gl_colorspace extension

Bug: 10777398
Change-Id: Ib50ea8b9d5d960537701b85929d6312304993a0f

10 years agoEnable FEATURE_DEVICE_ADMIN for handheld devices
Amith Yamasani [Mon, 16 Sep 2013 17:48:35 +0000 (10:48 -0700)]
Enable FEATURE_DEVICE_ADMIN for handheld devices

Bug: 9520957
Change-Id: I9c09dc726509db9e6d9ba4700255c74528b9f9fa

10 years agoresolved conflicts for merge of 1852eb4f to klp-dev-plus-aosp
Kenny Root [Thu, 12 Sep 2013 18:51:34 +0000 (11:51 -0700)]
resolved conflicts for merge of 1852eb4f to klp-dev-plus-aosp

Change-Id: I7217c0e859b384a042c02fe339e745996c6ef49e

10 years agoMerge "Remove copy of UniquePtr.h"
Kenny Root [Thu, 12 Sep 2013 18:41:19 +0000 (18:41 +0000)]
Merge "Remove copy of UniquePtr.h"

10 years agomerge in klp-release history after reset to klp-dev
The Android Automerger [Thu, 12 Sep 2013 13:01:32 +0000 (06:01 -0700)]
merge in klp-release history after reset to klp-dev

10 years agoam 90ed3e8d: fix a few problems with BitTube
Mathias Agopian [Wed, 11 Sep 2013 22:06:10 +0000 (15:06 -0700)]
am 90ed3e8d: fix a few problems with BitTube

* commit '90ed3e8d7883d9c80fb8bf11b1c593bd8b2b39d0':
  fix a few problems with BitTube

10 years agoRemove copy of UniquePtr.h
Kenny Root [Wed, 11 Sep 2013 21:29:20 +0000 (14:29 -0700)]
Remove copy of UniquePtr.h

The UniquePtr.h file is no longer in libcore/... so there is no need to
have this extra copy of it anymore.

Change-Id: I4ec4f86d2844e524b50441c3a9100a50a6a45b1a

10 years agofix a few problems with BitTube
Mathias Agopian [Tue, 10 Sep 2013 06:36:25 +0000 (23:36 -0700)]
fix a few problems with BitTube

BitTube used to send objects one at a time and didn't
handle errors properly.

We now send all the objects in one call, which means they
have to be read as a single batch as well. This changes the
BitTube API.

Update SensorService to the new API.

Also added an API to set the size of the send buffer.

Bug: 10641596
Change-Id: I77c70d35e351fdba0416fae4b7ca3b1d56272251

10 years agomerge in klp-release history after reset to klp-dev
The Android Automerger [Mon, 9 Sep 2013 13:01:45 +0000 (06:01 -0700)]
merge in klp-release history after reset to klp-dev

10 years agoam 63108c34: fix a possible null dereference when eglMakeCurrent() fails
Mathias Agopian [Fri, 6 Sep 2013 22:06:41 +0000 (15:06 -0700)]
am 63108c34: fix a possible null dereference when eglMakeCurrent() fails

* commit '63108c34ec181e923b68ee840bb7960f205466a7':
  fix a possible null dereference when eglMakeCurrent() fails