OSDN Git Service

android-x86/frameworks-native.git
10 years agoMerge "Rewrite VirtualDisplaySurface"
Jesse Hall [Tue, 16 Jul 2013 20:29:29 +0000 (20:29 +0000)]
Merge "Rewrite VirtualDisplaySurface"

10 years agoalways pass the BufferQueue explicitely to consumers
Ying Wang [Tue, 16 Jul 2013 05:20:35 +0000 (22:20 -0700)]
always pass the BufferQueue explicitely to consumers

to fix tests build.

Change-Id: I70b9cf5b0d76df709e474181eeb7c42a54ecf43a

10 years agoMerge "always pass the BufferQueue explicitely to consumers"
Mathias Agopian [Tue, 16 Jul 2013 02:17:58 +0000 (02:17 +0000)]
Merge "always pass the BufferQueue explicitely to consumers"

10 years agoMerge "Completely remove skia dependency from libinput."
Jeff Brown [Tue, 16 Jul 2013 01:49:55 +0000 (01:49 +0000)]
Merge "Completely remove skia dependency from libinput."

10 years agoCompletely remove skia dependency from libinput.
Jeff Brown [Tue, 16 Jul 2013 01:07:09 +0000 (18:07 -0700)]
Completely remove skia dependency from libinput.

Including the tests...

Change-Id: I6ec8f1a5ae7e7514831d7e3b430b3b37b0841b92

10 years agoMerge "Add a keycode to switch audio tracks (2/2)"
michaelwr [Tue, 16 Jul 2013 01:38:36 +0000 (01:38 +0000)]
Merge "Add a keycode to switch audio tracks (2/2)"

10 years agoMerge "Fix issue #9860494: Waiting for service batteryinfo..."
Dianne Hackborn [Tue, 16 Jul 2013 01:15:44 +0000 (01:15 +0000)]
Merge "Fix issue #9860494: Waiting for service batteryinfo..."

10 years agoMerge "Fix PDK build."
Jeff Brown [Tue, 16 Jul 2013 00:44:19 +0000 (00:44 +0000)]
Merge "Fix PDK build."

10 years agoFix PDK build.
Jeff Brown [Tue, 16 Jul 2013 00:28:19 +0000 (17:28 -0700)]
Fix PDK build.

Quick hack to remove Skia dependency from libinput.

Change-Id: Ibaf2e312236f5e3f7251fa903ce381456a77467c

10 years agoMerge "Change legacy "persona" references to userid_t."
Jeff Sharkey [Tue, 16 Jul 2013 00:19:19 +0000 (00:19 +0000)]
Merge "Change legacy "persona" references to userid_t."

10 years agoAdd skeleton of input flinger.
Jeff Brown [Mon, 15 Jul 2013 20:27:05 +0000 (13:27 -0700)]
Add skeleton of input flinger.

Change-Id: I7f25080e446d4d3d9de9b18fe432a09bc751e0d9

10 years agoFix issue #9860494: Waiting for service batteryinfo...
Dianne Hackborn [Mon, 15 Jul 2013 22:20:11 +0000 (15:20 -0700)]
Fix issue #9860494: Waiting for service batteryinfo...

I changed the name of the service, this needs to follow.

Change-Id: Id8e346cee9d75cfe142cd43f6aea43302878b6dc

10 years agoChange legacy "persona" references to userid_t.
Jeff Sharkey [Wed, 10 Jul 2013 23:55:46 +0000 (16:55 -0700)]
Change legacy "persona" references to userid_t.

Offers stronger typing with no functional change.

Change-Id: I09f0262470feec5cfdf26658f998c20550af84d4

10 years agoMake getCallingUid/Pid const.
Jeff Brown [Fri, 12 Jul 2013 23:32:00 +0000 (16:32 -0700)]
Make getCallingUid/Pid const.

Change-Id: I1853b21eaa45d85274189dfd72f73fec48d0d6b7

10 years agoRewrite VirtualDisplaySurface
Jesse Hall [Sun, 7 Apr 2013 06:12:29 +0000 (23:12 -0700)]
Rewrite VirtualDisplaySurface

The previous implementation assumed that the HWC could read and write
the same buffer on frames that involved both GLES and HWC composition.
It turns out some hardware can't do this. The new implementation
maintains a scratch buffer pool to use on these mixed frames, but on
GLES-only or HWC-only frames still does composition directly into the
output buffer.

Bug: 8384764
Change-Id: I7a3addb34fad9bfcbdabbb8b635083e10223df69

10 years agoMerge "dumpstate: Show SELinux process labels"
Nick Kralevich [Mon, 15 Jul 2013 19:36:39 +0000 (19:36 +0000)]
Merge "dumpstate: Show SELinux process labels"

10 years agodumpstate: Show SELinux process labels
Nick Kralevich [Mon, 15 Jul 2013 19:21:40 +0000 (12:21 -0700)]
dumpstate: Show SELinux process labels

Change-Id: Ie19586a3b733bd4420f6b20b5d253d42c2f165ea

10 years agoam 65752b2b: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge
The Android Open Source Project [Mon, 15 Jul 2013 16:37:54 +0000 (09:37 -0700)]
am 65752b2b: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge

* commit '65752b2b516204d890e59dbc395608d7dec0cff5':

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

Change-Id: Ia73ebcebfb83a21442a31dc7280763484e47534c

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

10 years agoalways pass the BufferQueue explicitely to consumers
Mathias Agopian [Sat, 13 Jul 2013 05:06:26 +0000 (22:06 -0700)]
always pass the BufferQueue explicitely to consumers

Change-Id: I883b0a7b19d8e722f9ab714ba6f49e658b02ca86

10 years agoMerge "SurfaceFlinger: EventThread: Fix Vsync array size."
Jesse Hall [Fri, 12 Jul 2013 23:31:57 +0000 (23:31 +0000)]
Merge "SurfaceFlinger: EventThread: Fix Vsync array size."

10 years agoSurfaceFlinger: EventThread: Fix Vsync array size.
Saurabh Shah [Fri, 12 Jul 2013 21:42:40 +0000 (14:42 -0700)]
SurfaceFlinger: EventThread: Fix Vsync array size.

Vsync array size is specified as HWC_DISPLAY_TYPES_SUPPORTED whose
value luckily happens to be 2. That enum is actually used for querying
hwc for the number of displays supported.

The implementation file EventThread.cpp correctly accesses the array
upto HWC_NUM_DISPLAY_TYPES

Change-Id: I36e3f0913e7d6fda7bbf4449c1fb32c7f18bb934
Signed-off-by: Amara Venkata Mastan Manoj Kumar<manojavm@codeaurora.org>
Signed-off-by: Saurabh Shah <saurshah@codeaurora.org>
10 years agoresolved conflicts for merge of 00aea5c5 to master
Mathias Agopian [Fri, 12 Jul 2013 21:19:10 +0000 (14:19 -0700)]
resolved conflicts for merge of 00aea5c5 to master

Change-Id: Ie1769be863ee2d411eae451907a928db57882e14

10 years agoam ac9a96da: fix a dead-lock in sensorservice
Mathias Agopian [Fri, 12 Jul 2013 20:17:05 +0000 (13:17 -0700)]
am ac9a96da: fix a dead-lock in sensorservice

* commit 'ac9a96da65f6eae4513654adaad8a457d1c1575c':
  fix a dead-lock in sensorservice

10 years agoFix cmd line arguments for usagestats.
Dianne Hackborn [Thu, 11 Jul 2013 18:45:18 +0000 (11:45 -0700)]
Fix cmd line arguments for usagestats.

Change-Id: I9a1436aa1d1665924ba62a568bb4b66d67ae2814

10 years agofix a dead-lock in sensorservice
Mathias Agopian [Fri, 12 Jul 2013 09:01:16 +0000 (02:01 -0700)]
fix a dead-lock in sensorservice

sensorservice would deadlock if for some reason
a sensor failed to enable.

simplifed the code a bit, and made it behave a little
closer to mr1.1 -- I couldn't convince myself that
some changes in how locks were used were correct.

Bug: 9794362
Change-Id: I6110f5dbb67e543f1c71d127de2299232badb36a

10 years agoAdd a keycode to switch audio tracks (2/2)
Jaekyun Seok [Mon, 8 Jul 2013 04:56:02 +0000 (13:56 +0900)]
Add a keycode to switch audio tracks (2/2)

A key to switch audio tracks is general on media devices like blu-ray.

Bug: 9728155
Change-Id: I13ebbc64321f3cf10370f9a605f3d94ea0d16d6d

10 years agoam 9201798c: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge
The Android Open Source Project [Thu, 11 Jul 2013 17:17:28 +0000 (10:17 -0700)]
am 9201798c: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge

* commit '9201798cd99d0578fb781aea03635304e49ee3f3':

10 years agoam 47f31b19: (-s ours) Reconcile with jb-mr2-release - do not merge
The Android Open Source Project [Thu, 11 Jul 2013 17:17:06 +0000 (10:17 -0700)]
am 47f31b19: (-s ours) Reconcile with jb-mr2-release - do not merge

* commit '47f31b19811a177baa1ae868282374970295caeb':
  Find non-extension GLES wrappers in eglGetProcAddress

10 years agoam 54d97c88: am 9da67a94: am 67481607: Merge "Revert "Second try at adding a compatib...
Elliott Hughes [Thu, 11 Jul 2013 17:16:47 +0000 (10:16 -0700)]
am 54d97c88: am 9da67a94: am 67481607: Merge "Revert "Second try at adding a compatibility symbol for the MemoryBase constructor.""

* commit '54d97c88b57d2c341f0629c9648d4400a34e4f41':
  Revert "Second try at adding a compatibility symbol for the MemoryBase constructor."

10 years agoMerge "resolved conflicts for merge of 5477d0e4 to master"
Jesse Hall [Thu, 11 Jul 2013 17:07:26 +0000 (17:07 +0000)]
Merge "resolved conflicts for merge of 5477d0e4 to master"

10 years agoresolved conflicts for merge of 5477d0e4 to master
Jesse Hall [Thu, 11 Jul 2013 16:40:35 +0000 (09:40 -0700)]
resolved conflicts for merge of 5477d0e4 to master

Change-Id: I7ca75a44018a68bf3a7ac1de17a3ef568a48d2ac

10 years agoMerge "Pay attention to buffer timestamps"
Andy McFadden [Thu, 11 Jul 2013 14:40:45 +0000 (14:40 +0000)]
Merge "Pay attention to buffer timestamps"

10 years agoMerge "fix SF buffer cropping"
Mathias Agopian [Wed, 10 Jul 2013 23:10:58 +0000 (23:10 +0000)]
Merge "fix SF buffer cropping"

10 years agoPay attention to buffer timestamps
Andy McFadden [Fri, 28 Jun 2013 20:52:40 +0000 (13:52 -0700)]
Pay attention to buffer timestamps

When acquiring a buffer, SurfaceFlinger now computes the expected
presentation time and passes it to the BufferQueue acquireBuffer()
method.  If it's not yet time to display the buffer, acquireBuffer()
returns PRESENT_LATER instead of a buffer.

The current implementation of the expected-present-time computation
uses approximations and guesswork.

Bug 7900302

Change-Id: If9345611c5983a11a811935aaf27d6388a5036f1

10 years agofix SF buffer cropping
Mathias Agopian [Wed, 10 Jul 2013 04:24:52 +0000 (21:24 -0700)]
fix SF buffer cropping

When a buffer had a crop (meaning its content is scaled to the window size)
and a window crop was defined, the resulting crop couldn't be expressed
properly because h/w composer's API was limited to integers, since
this is fixed in h/w composer 1.3, we take adventage of this to
make sure we get the correct crop.

this bug could result in the buffer being scaled by an incorrect ratio and
be slightly offset; moreover, it would produce different results from the
GL code path, which is always correct.

Change-Id: I8e20e00b6e26177d14f4ab4d2cd581e26c818892

10 years agoRenaming dalvik.vm.lib to persist.sys.dalvik.vm.lib
Brian Carlstrom [Sun, 30 Jun 2013 20:17:38 +0000 (13:17 -0700)]
Renaming dalvik.vm.lib to persist.sys.dalvik.vm.lib

Change-Id: If31695e04bb813eb75b2fdd00e5d70ced4fbb0e9

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

Change-Id: I5445989fd1dd6e851d3efe060cf3fc4ae1d104fb

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

10 years agoReconcile with jb-mr2-release - do not merge
The Android Open Source Project [Wed, 10 Jul 2013 00:13:32 +0000 (17:13 -0700)]
Reconcile with jb-mr2-release - do not merge

Change-Id: Id26b917342f6ee70c32c2713d07944dae1c10e01

10 years agoFind non-extension GLES wrappers in eglGetProcAddress
Jesse Hall [Thu, 4 Jul 2013 19:08:16 +0000 (12:08 -0700)]
Find non-extension GLES wrappers in eglGetProcAddress

This allows apps to find OpenGL ES 3.0 functions using
eglGetProcAddress() instead of dlopen/dlsym.

Bug: 9681677
Change-Id: I7ce6e1636bc47d6b0bf20a4e46bd67235714d129

10 years agoam 9da67a94: am 67481607: Merge "Revert "Second try at adding a compatibility symbol...
Elliott Hughes [Tue, 9 Jul 2013 22:35:33 +0000 (15:35 -0700)]
am 9da67a94: am 67481607: Merge "Revert "Second try at adding a compatibility symbol for the MemoryBase constructor.""

* commit '9da67a9427f695128b5da61c8f987fd9198a5e05':
  Revert "Second try at adding a compatibility symbol for the MemoryBase constructor."

10 years agoam 67481607: Merge "Revert "Second try at adding a compatibility symbol for the Memor...
Elliott Hughes [Tue, 9 Jul 2013 22:30:48 +0000 (15:30 -0700)]
am 67481607: Merge "Revert "Second try at adding a compatibility symbol for the MemoryBase constructor.""

* commit '674816078588d0951c3c9bdaf26ecc9e9b3f2e0a':
  Revert "Second try at adding a compatibility symbol for the MemoryBase constructor."

10 years agoMerge "Revert "Second try at adding a compatibility symbol for the MemoryBase constru...
Elliott Hughes [Tue, 9 Jul 2013 22:27:16 +0000 (22:27 +0000)]
Merge "Revert "Second try at adding a compatibility symbol for the MemoryBase constructor.""

10 years agoRevert "Second try at adding a compatibility symbol for the MemoryBase constructor."
Elliott Hughes [Tue, 9 Jul 2013 22:15:42 +0000 (22:15 +0000)]
Revert "Second try at adding a compatibility symbol for the MemoryBase constructor."

This reverts commit ddd286301b466b5cd10cfcdc0a5ee5729ef2e385, because the third-party library in question has now been fixed.

Change-Id: Ic195a913f90b36268ed9d6e60be520decb4e198d

10 years agoUpdate to follow procstats options changes.
Dianne Hackborn [Tue, 9 Jul 2013 22:01:40 +0000 (15:01 -0700)]
Update to follow procstats options changes.

Change-Id: I6f016c944cfcd01bbbcf3cf37bc7ff05482f0012

10 years agoam c07b5206: Find non-extension GLES wrappers in eglGetProcAddress
Jesse Hall [Tue, 9 Jul 2013 17:54:20 +0000 (10:54 -0700)]
am c07b5206: Find non-extension GLES wrappers in eglGetProcAddress

* commit 'c07b52060acd627c8510c1a9151e0753fce76330':
  Find non-extension GLES wrappers in eglGetProcAddress

10 years agofix a bug where surfaceflinger and system_server could deadlock
Mathias Agopian [Tue, 9 Jul 2013 00:09:41 +0000 (17:09 -0700)]
fix a bug where surfaceflinger and system_server could deadlock

    because surfaceflinger handles screenshot in a different
    thread from the binder thread that requested it and because
    the IGraphicBufferProducer is a synchronous interface
    calling back into the system server; it is possible for
    the latter to run out of binder threads (b/c it holds
    a lock while calling into SF).

    The solution is to make sure all calls on IGraphicBufferProducer
    happen on the incoming binder thread. We achieve this by creating
    a IGBP wrapper which is given to the screenshot code.

    Bug: 8734824

Change-Id: I2be85660d9dc65d239d68f6d3ab3c973c13b34cc

10 years agoMerge "Refactor SF. Move all GL operations in their own class."
Mathias Agopian [Mon, 8 Jul 2013 22:50:01 +0000 (22:50 +0000)]
Merge "Refactor SF. Move all GL operations in their own class."

10 years agoimprove sensorservice's dumpsys
Mathias Agopian [Wed, 3 Jul 2013 23:20:57 +0000 (16:20 -0700)]
improve sensorservice's dumpsys

it now displays the reported trigger mode properly, as well as
the number and type of the last received data

Change-Id: I2ff64b32ab71f1332bc2e09671c8c02bb9550490

10 years agoMerge "simplify some unnecessary complex code"
Mathias Agopian [Mon, 8 Jul 2013 22:34:54 +0000 (22:34 +0000)]
Merge "simplify some unnecessary complex code"

10 years agoDebug code for detecting all black pixels screenshots
Mathias Agopian [Wed, 3 Jul 2013 19:34:01 +0000 (12:34 -0700)]
Debug code for detecting all black pixels screenshots

Bug: 9120292
Change-Id: If60db32524db973bb1f905ba3cb415c2a1cd7e71

10 years agosimplify some unnecessary complex code
Mathias Agopian [Mon, 8 Jul 2013 19:50:39 +0000 (12:50 -0700)]
simplify some unnecessary complex code

getSensorType() ran in O(n) instead of O(1). fix that.

Change-Id: Idcf29e46fc34db32604a0d8e5a9156486783b74f

10 years agoMerge "mv libcpustats from frameworks/native to frameworks/av"
Glenn Kasten [Mon, 8 Jul 2013 15:40:51 +0000 (15:40 +0000)]
Merge "mv libcpustats from frameworks/native to frameworks/av"

10 years agoFind non-extension GLES wrappers in eglGetProcAddress
Jesse Hall [Thu, 4 Jul 2013 19:08:16 +0000 (12:08 -0700)]
Find non-extension GLES wrappers in eglGetProcAddress

This allows apps to find OpenGL ES 3.0 functions using
eglGetProcAddress() instead of dlopen/dlsym.

Bug: 9681677
Change-Id: I7ce6e1636bc47d6b0bf20a4e46bd67235714d129

10 years agobinder: add polling / single-threaded operation
Todd Poynor [Wed, 26 Jun 2013 02:12:18 +0000 (19:12 -0700)]
binder: add polling / single-threaded operation

This is currently safe to do only for processes that disallow any binder
threads to be created: setThreadPoolMaxThreadCount(0).

Change-Id: I8a27f3cf26f4d51edb7f222af487ac256cbcab65

10 years agoUpdate to use --include-committed for procstats.
Dianne Hackborn [Wed, 3 Jul 2013 23:51:15 +0000 (16:51 -0700)]
Update to use --include-committed for procstats.

Change-Id: I5ce737b624c5617c94054d6bedebca754fbf16a9

10 years agoRefactor SF. Move all GL operations in their own class.
Mathias Agopian [Fri, 7 Jun 2013 22:35:48 +0000 (15:35 -0700)]
Refactor SF. Move all GL operations in their own class.

this is the first step to add support for GLES 2.x, this
change breaks the dependency of SF on GLES 1.x by moving
all operation into their own class.

Bug: 8679321

Change-Id: I0d2741eca2cefe67dfd9cf837cac10c4d126928b

10 years agoAdd support for mmc trace events
Ken Sumrall [Wed, 3 Jul 2013 19:32:03 +0000 (12:32 -0700)]
Add support for mmc trace events

Change-Id: I1d9f2a85e50f8e30d418fb97c01ce7b0fbb680bd

10 years agoam 8b931916: (-s ours) am f4f2bd21: Tweak for forward compatibility
Jean-Baptiste Queru [Tue, 2 Jul 2013 19:41:22 +0000 (12:41 -0700)]
am 8b931916: (-s ours) am f4f2bd21: Tweak for forward compatibility

* commit '8b9319162d4f574fc45f88e6f9e28e62a4b5da78':
  Tweak for forward compatibility

10 years agoam f4f2bd21: Tweak for forward compatibility
Jean-Baptiste Queru [Tue, 2 Jul 2013 19:33:15 +0000 (12:33 -0700)]
am f4f2bd21: Tweak for forward compatibility

* commit 'f4f2bd21d5b57f1598172ddbc44817c10785bdb3':
  Tweak for forward compatibility

10 years agoTweak for forward compatibility
Jean-Baptiste Queru [Tue, 2 Jul 2013 17:46:02 +0000 (10:46 -0700)]
Tweak for forward compatibility

Change-Id: I6be78b607789c469f4ffad849a493d78e2539450

10 years agodo not build libinput in PDK
keunyoung [Tue, 2 Jul 2013 17:45:21 +0000 (10:45 -0700)]
do not build libinput in PDK

- skia is not available in PDK, and it causes build break.

bug: 9528927
Change-Id: I89663e4a4bd52858506e3b52fbf8ca85d9992363

10 years agoMerge "Move input library code from frameworks/base."
Jeff Brown [Tue, 2 Jul 2013 03:20:11 +0000 (03:20 +0000)]
Merge "Move input library code from frameworks/base."

10 years agoMove input library code from frameworks/base.
Jeff Brown [Tue, 2 Jul 2013 02:10:31 +0000 (19:10 -0700)]
Move input library code from frameworks/base.

Change-Id: I4983db61b53e28479fc90d9211fafff68f7f49a6

10 years agoimprove GLES jumptables
Mathias Agopian [Sat, 15 Jun 2013 02:08:36 +0000 (19:08 -0700)]
improve GLES jumptables

in the common case this saves one instructions per jump
(which will help with the i-cache).

this change also gets rid of the "use slow tls" option,
which was useless. So at least now architectures that don't have
assembly bindings will perform much better.

Change-Id: I31be6c06ad2136b50ef3a1ac14682d7812ad40d2

10 years agoMerge "SurfaceFlinger: fix releaseBuffer in updateTexImage"
Lajos Molnar [Fri, 28 Jun 2013 00:42:23 +0000 (00:42 +0000)]
Merge "SurfaceFlinger: fix releaseBuffer in updateTexImage"

10 years agoSurfaceFlinger: fix releaseBuffer in updateTexImage
Lajos Molnar [Thu, 27 Jun 2013 18:51:25 +0000 (11:51 -0700)]
SurfaceFlinger: fix releaseBuffer in updateTexImage

Allow releasing a buffer acquired in the past.

Change-Id: I3f27f1caec109c1a47286fc4d2235c6e1afe9022
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 9516405

10 years agoAdd checkin dumps to bug reports.
Dianne Hackborn [Thu, 27 Jun 2013 01:59:09 +0000 (18:59 -0700)]
Add checkin dumps to bug reports.

This is a duplicate of the associated human-readable dumps
of these services, but much better for automated parsing.

Change-Id: I902b768b03aeac1472f03f96913f9b8ada5dba9c

10 years agoMerge "Small clarifications to EGL_ANDROID_presentation_time"
Jesse Hall [Wed, 26 Jun 2013 14:51:25 +0000 (14:51 +0000)]
Merge "Small clarifications to EGL_ANDROID_presentation_time"

10 years agoSmall clarifications to EGL_ANDROID_presentation_time
Jesse Hall [Wed, 26 Jun 2013 14:50:32 +0000 (07:50 -0700)]
Small clarifications to EGL_ANDROID_presentation_time

Change-Id: I4365a981776ab0a5719c268258b87ff1418f9aeb

10 years agoam db8c267e: am 3c0425cd: am 0ecf0b8d: Merge "Additional parameter validation for...
Jean-Baptiste Queru [Wed, 26 Jun 2013 00:02:09 +0000 (17:02 -0700)]
am db8c267e: am 3c0425cd: am 0ecf0b8d: Merge "Additional parameter validation for EGL functions"

* commit 'db8c267ec26997771eb718c29d3dacd4e738051b':
  Additional parameter validation for EGL functions

10 years agoam 3c0425cd: am 0ecf0b8d: Merge "Additional parameter validation for EGL functions"
Jean-Baptiste Queru [Tue, 25 Jun 2013 22:37:44 +0000 (15:37 -0700)]
am 3c0425cd: am 0ecf0b8d: Merge "Additional parameter validation for EGL functions"

* commit '3c0425cd95a7918d1dbfecf32aef3b238bf236a5':
  Additional parameter validation for EGL functions

10 years agoam 0ecf0b8d: Merge "Additional parameter validation for EGL functions"
Jean-Baptiste Queru [Tue, 25 Jun 2013 22:35:05 +0000 (15:35 -0700)]
am 0ecf0b8d: Merge "Additional parameter validation for EGL functions"

* commit '0ecf0b8db74682222bf095a235e28edefff871a5':
  Additional parameter validation for EGL functions

10 years agoMerge "Additional parameter validation for EGL functions"
Jean-Baptiste Queru [Tue, 25 Jun 2013 22:31:13 +0000 (22:31 +0000)]
Merge "Additional parameter validation for EGL functions"

10 years agoMerge "Add video extension OMX_VIDEO_CodingVP9 to support VP9 decoder."
Lajos Molnar [Tue, 25 Jun 2013 22:07:39 +0000 (22:07 +0000)]
Merge "Add video extension OMX_VIDEO_CodingVP9 to support VP9 decoder."

10 years agoFix includes in HardwareAPI.h to be absolute and not relative
Andreas Huber [Tue, 25 Jun 2013 17:08:42 +0000 (10:08 -0700)]
Fix includes in HardwareAPI.h to be absolute and not relative

(but using system header syntax)

Change-Id: I504c5c5330ddd1e3b3d2fb4760b0235a4fda84d8

10 years agoAdd video extension OMX_VIDEO_CodingVP9 to support VP9 decoder.
hkuang [Mon, 24 Jun 2013 18:06:44 +0000 (11:06 -0700)]
Add video extension OMX_VIDEO_CodingVP9 to support VP9 decoder.

Change OMX_Video_CodingVPX to OMX_VIDEO_CodingVP8 in order
to be consistant with official OMX_VideoExt.h and avoid the
confusion with new extension OMX_VIDEO_CodingVP9.

This change needs to be merged with changes in frameworks/av to
avoid build break due to header change.

Change-Id: Iaa2dbafa76dc24ad3cf52a9bf3dee312e3c64bfa

10 years agoMerge "media/hardware/HardwareAPI.h: Added metadata struct used by video decoder"
Lajos Molnar [Mon, 24 Jun 2013 17:47:16 +0000 (17:47 +0000)]
Merge "media/hardware/HardwareAPI.h: Added metadata struct used by video decoder"

10 years agoFix wrapper equals()
Andy McFadden [Fri, 21 Jun 2013 23:02:11 +0000 (16:02 -0700)]
Fix wrapper equals()

Make it faster and correcter.

Also, fixed the "gen" script to update the static/egl/*.java files
as part of doing an update.  Altered the "git" lines to change
directories before invoking git -- necessary because we're now
split between frameworks/base and frameworks/native.

Bug 9204146

Change-Id: Ie60504b1932349e6f2c9d3868dee6a645ef2b36e

10 years agomedia/hardware/HardwareAPI.h: Added metadata struct used by video decoder
Lajos Molnar [Fri, 3 May 2013 20:20:53 +0000 (13:20 -0700)]
media/hardware/HardwareAPI.h: Added metadata struct used by video decoder

This is the metadata layout when used by the video decoder.

Change-Id: I3497305ad23b3fc4e1e8eaaea7b0890bc1ffd5ad
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 7093648

10 years agoMoving dex2oat installd patches from frameworks/base
Brian Carlstrom [Fri, 22 Mar 2013 01:20:22 +0000 (18:20 -0700)]
Moving dex2oat installd patches from frameworks/base

(cherry picked from commit 3fa3a652ba9a7c5b23b6f2bc7c1851d4e23e430f)

Change-Id: I2f9bb66e1b0463bef41805f2d220160880121813

10 years agomv libcpustats from frameworks/native to frameworks/av
Glenn Kasten [Tue, 18 Jun 2013 16:36:51 +0000 (09:36 -0700)]
mv libcpustats from frameworks/native to frameworks/av

OK to lose history

Change-Id: I18bfd988f19d037e480c27134eea21c8edcbfbf3

10 years agoMerge "Add a note about emulated sdcard in rawbu usage dump"
Amith Yamasani [Fri, 14 Jun 2013 18:00:01 +0000 (18:00 +0000)]
Merge "Add a note about emulated sdcard in rawbu usage dump"

10 years agoAdd a note about emulated sdcard in rawbu usage dump
Amith Yamasani [Fri, 14 Jun 2013 17:13:53 +0000 (10:13 -0700)]
Add a note about emulated sdcard in rawbu usage dump

Change-Id: I95af9175235a18716d63a863b482a323392e4fa2

10 years agoadd dumpsys -l to list available services
keunyoung [Thu, 13 Jun 2013 22:08:51 +0000 (15:08 -0700)]
add dumpsys -l to list available services

- for people with poor memory like me :)

Change-Id: I60160ca333ac4864bb8328f164cc2e9eba3660fc

10 years agoam 03c06bc9: (-s ours) Reconcile with jb-mr2-release - do not merge
The Android Open Source Project [Thu, 13 Jun 2013 01:06:09 +0000 (18:06 -0700)]
am 03c06bc9: (-s ours) Reconcile with jb-mr2-release - do not merge

* commit '03c06bc9f44626eae1af9901aaddfb4e6e911c6a':
  Prevent IPCThreadState::joinThreadPool from spinning on unexpected error

10 years agoReconcile with jb-mr2-release - do not merge
The Android Open Source Project [Thu, 13 Jun 2013 01:04:25 +0000 (18:04 -0700)]
Reconcile with jb-mr2-release - do not merge

Change-Id: Ib28265f84583e4c1c8860f359145f38737817e99

10 years agoPrevent IPCThreadState::joinThreadPool from spinning on unexpected error
Jeff Tinker [Tue, 11 Jun 2013 18:30:21 +0000 (11:30 -0700)]
Prevent IPCThreadState::joinThreadPool from spinning on unexpected error

Adds logging to help determine what is happening to the /dev/binder
fd and dump the process state when it happens.

bug: 8912673
Change-Id: I2aa0c66fc499e91e0bf9ee4ae20404bec35adc82

10 years agoam cd9482d9: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge
The Android Open Source Project [Wed, 12 Jun 2013 14:26:00 +0000 (07:26 -0700)]
am cd9482d9: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge

* commit 'cd9482d961d1c14b6dea7279f8524e29908b6a27':

10 years agoReconcile with jb-mr2-zeroday-release - do not merge
The Android Open Source Project [Wed, 12 Jun 2013 14:23:36 +0000 (07:23 -0700)]
Reconcile with jb-mr2-zeroday-release - do not merge

Change-Id: I02e004028811a3efad8c010ed19e216bb87814d7

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

10 years agoam de836890: am ef07386e: Prevent IPCThreadState::joinThreadPool from spinning on...
Jeff Tinker [Wed, 12 Jun 2013 03:11:43 +0000 (20:11 -0700)]
am de836890: am ef07386e: Prevent IPCThreadState::joinThreadPool from spinning on unexpected error

* commit 'de836890abc7b5381e285833052375cbb85730cb':
  Prevent IPCThreadState::joinThreadPool from spinning on unexpected error

10 years agoam ef07386e: Prevent IPCThreadState::joinThreadPool from spinning on unexpected error
Jeff Tinker [Wed, 12 Jun 2013 03:09:27 +0000 (20:09 -0700)]
am ef07386e: Prevent IPCThreadState::joinThreadPool from spinning on unexpected error

* commit 'ef07386e2fca73680214ececc3c9c0ecbb0f6d88':
  Prevent IPCThreadState::joinThreadPool from spinning on unexpected error

10 years agoPrevent IPCThreadState::joinThreadPool from spinning on unexpected error
Jeff Tinker [Tue, 11 Jun 2013 18:30:21 +0000 (11:30 -0700)]
Prevent IPCThreadState::joinThreadPool from spinning on unexpected error

Adds logging to help determine what is happening to the /dev/binder
fd and dump the process state when it happens.

bug: 8912673
Change-Id: I2aa0c66fc499e91e0bf9ee4ae20404bec35adc82

10 years agoCpuConsumer: Add set buffer size and format functions.
Zhijun He [Thu, 6 Jun 2013 18:59:21 +0000 (11:59 -0700)]
CpuConsumer: Add set buffer size and format functions.

Add setDefaultBufferSize() and setDefaultBufferFormat(). ImageReader JNI need
them.

Bug: 9254294
Change-Id: I7d2464d43b0ca73fbb834ed22cecbfbb30eef60c

10 years agoclean-up SurfaceFlinger a bit
Mathias Agopian [Wed, 5 Jun 2013 23:59:15 +0000 (16:59 -0700)]
clean-up SurfaceFlinger a bit

- most methods on Layer didn't need to be virtual
- more consistency in naming drawing/current state

Change-Id: Ieb7b4951b40fc673b807994ed21ae4aea7281068

10 years agoMerge "Basic binary event-log helpers"
Mathias Agopian [Thu, 6 Jun 2013 00:01:15 +0000 (00:01 +0000)]
Merge "Basic binary event-log helpers"

10 years agofix a possible deadlock when removing a layer and destroying a client
Mathias Agopian [Wed, 5 Jun 2013 21:30:54 +0000 (14:30 -0700)]
fix a possible deadlock when removing a layer and destroying a client

generally the last reference to a Layer is released in commitTransaction()
with mStateLock held. Layer itself only holds weak references to Client,
however, ~Layer() briefly promotes this weak reference -- during that time
the all other strong references to that Client go away, ~Layer is left with
the last one... then hell breaks loose as ~Client is called, which in turn
needs to acquire mStateLock.

We fix this by holding a temporary copy of the drawing state during
the transaction so that the side-effects of copying the current
state into the drawing state are seen only after mStateLock has
been released.

Bug: 9106453
Change-Id: Ic5348ac12283500ead87286a37565e8da35f1db2