summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make Flattenable not virtual (libutils)Mathias Agopian2013-07-305-82/+94
| | | | | | | | | | | | Making an object Flattenable doesn't force it to become virtual anymore. For instance, Fence and GraphicBuffer are now non-virtual classes. Also change Flatennable protocol a bit so that it updates its parameters (pointers, sizes) to make it easier to implement a flattenable in terms of other flattenables. Change-Id: Ie81dc7637180b3c2cfcbaf644f8987ca804eb891
* Merge "EGL: fix eglTerminate blob cache behavior"Jamie Gennis2013-07-301-6/+3
|\
| * EGL: fix eglTerminate blob cache behaviorJamie Gennis2013-07-301-6/+3
| | | | | | | | | | Bug: 9610573 Change-Id: I258e7e0d82ab76fbacf0b9c25d4f92fca6df04ac
* | am 9f476fd0: Merge "Add a symbol to represent MNC=0"Wink Saville2013-07-301-0/+2
|\ \ | | | | | | | | | | | | * commit '9f476fd08079701d1ad0f7c591667b6e673ed38e': Add a symbol to represent MNC=0
| * \ Merge "Add a symbol to represent MNC=0"Wink Saville2013-07-301-0/+2
| |\ \
| | * | Add a symbol to represent MNC=0Johan Redestig2013-07-261-0/+2
| |/ / | | | | | | | | | | | | Bug: 7170488 Change-Id: Icfd39fd0c739216e89446252ea0e7ceba6f002c6
* | | SurfaceFlinger: Set the result of binderized screencaptureMike J. Chen2013-07-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A recent change to screencapture to have the call to IGraphicBufferProducer happen on the incoming binder thread didn't set the result so the result was always returned as NO_ERROR. This made screencap fail on some devices (e.g. Wolfie) which relies on some kind of fallback mechanism to generate the screencap but the fallback mechanism doesn't get triggered because the error isn't returned. Bug: 9989385 Change-Id: I2aee91ea1034869fcbb0f49b9a0087c3cff43bbe Signed-off-by: Mike J. Chen <mjchen@google.com>
* | | single buffer mode for BufferQueueMathias Agopian2013-07-266-14/+140
| | | | | | | | | | | | | | | Bug: 9891035 Change-Id: Id1ab5f911a6dc4c1d8235e65775b3d3635231ad4
* | | fix buildMathias Agopian2013-07-261-2/+0
| | | | | | | | | | | | Change-Id: I04df8ec96510b16e84054089f7c02609d8fe2b0c
* | | get rid of HAL pixelformats 5551 and 4444Mathias Agopian2013-07-267-42/+16
| | | | | | | | | | | | Change-Id: I39409103144c1ba09078c4ddc323a58987fb09ea
* | | make transparent pixels transparents againMathias Agopian2013-07-261-2/+2
| | | | | | | | | | | | | | | | | | apparently boolean logic in hard... Change-Id: Ie70401fe12e0fa00b0b8c7cc475c1438cdbbf531
* | | get rid of PixelFormatInfo and simplify thingsMathias Agopian2013-07-255-183/+47
| | | | | | | | | | | | Change-Id: I025a362cc12d5b9b794fac14be500e25aab65396
* | | get rid of PIXEL_FORMAT_A_8Mathias Agopian2013-07-251-1/+0
| | | | | | | | | | | | Change-Id: I4e409a69c01b95b48f20112084dd927e2d043407
* | | Merge "Fix a race in BufferQueue"Mathias Agopian2013-07-251-17/+27
|\ \ \
| * | | Fix a race in BufferQueueMathias Agopian2013-07-231-17/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BufferQueue::dequeueBuffer() could incorrectly return WOULD_BLOCK while in "cannot block" mode if it happened while a consumer acquired the last allowed buffer before releasing the old one (which is a valid thing to do). Change-Id: I318e5408871ba85e068ea9ef4dc9b578f1bb1043
* | | | add libbatteryserviceTodd Poynor2013-07-257-0/+357
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IBatteryPropertiesListener is used by clients such as BatteryService to receive notifications of changed battery/power status (from healthd). IBatteryPropertiesRegistrar manages registrations of IBatteryPropertiesListener clients. Add BatteryService native header with defines from BatteryManager, and class BatteryProperties to pass battery/power status around. Change-Id: I44e2736e503b586794097b7b9d31d07fefd9b15a
* | | | defaultServiceManager wait for service manager readyTodd Poynor2013-07-242-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If the service manager is not ready when we attempt to create a local proxy, fail and retry. Change-Id: I7d7300bc07cd70608793479aa3da282d066da7f6
* | | | Merge "surfaceflinger: add frame duration logging"Jamie Gennis2013-07-249-12/+176
|\ \ \ \
| * | | | surfaceflinger: add frame duration loggingJamie Gennis2013-07-239-12/+176
| | |_|/ | |/| | | | | | | | | | Change-Id: Ib414a45e7e191f23a2726cbbbeb606e9ce68a3b5
* | | | Merge "libutils: give BasicHashtableImpl a virtual destructor"Alex Ray2013-07-242-0/+5
|\ \ \ \
| * | | | libutils: give BasicHashtableImpl a virtual destructorAlex Ray2013-07-242-0/+5
| | | | | | | | | | | | | | | | | | | | Change-Id: I4ec590b060d732af5fe525670becbe778684247b
* | | | | Merge "add static dependency on liblog"Colin Cross2013-07-242-0/+53
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | add static dependency on liblogColin Cross2013-07-232-0/+53
| | | | | | | | | | | | | | | | | | | | Change-Id: Ibf8733142d52e4ffac2e3b26932d7196fb79c5a7
* | | | | dumpstate: remove libutils dependencyAlex Ray2013-07-231-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I9745f389402c01b90877612e060ac996eba99964
* | | | | utils: move thread enums to system/coreAlex Ray2013-07-231-47/+1
|/ / / / | | | | | | | | | | | | Change-Id: Ia97963cc9acf8661d01355786f5e7e7bf54581c2
* | | | Merge "libbinder: include sys/uio.h instead of cutils/uio.h"Colin Cross2013-07-231-1/+1
|\ \ \ \
| * | | | libbinder: include sys/uio.h instead of cutils/uio.hColin Cross2013-07-231-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | libbinder is only built for the target, where bionic will provide uio, so it does not need to include the libcutils wrapper around uio for windows. Change-Id: Ifc2dd353bf7ed51bf08ec0ae91c43b12830f94ba
* | | | Merge "libbinder: add libutils dependency"Alex Ray2013-07-231-0/+1
|\ \ \ \
| * | | | libbinder: add libutils dependencyAlex Ray2013-07-231-0/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I30c7291b04788c98faa43843a51b026b8a01932c
* | | | | Merge "Add controller numbers for gamepads / joysticks"Michael Wright2013-07-232-11/+12
|\ \ \ \ \
| * | | | | Add controller numbers for gamepads / joysticksMichael Wright2013-07-222-11/+12
| | |_|/ / | |/| | | | | | | | | | | | | Change-Id: I5294aabbadb836a6a4c7ce76a670abcf50c1f885
* | | | | Merge "Add C++ library for ConnectivityManager"Geremy Condra2013-07-233-0/+106
|\ \ \ \ \
| * | | | | Add C++ library for ConnectivityManagerChad Brubaker2013-07-163-0/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add C++ library for access to ConnectivityManager's markSocketAsUser. Change-Id: Icb9faa5be8c11d10e5c4a3bf95d338319449399c
* | | | | | Merge "fix log messages and bogus error message"Mathias Agopian2013-07-231-23/+18
|\ \ \ \ \ \
| * | | | | | fix log messages and bogus error messageMathias Agopian2013-07-221-23/+18
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also assert when releasing a buffer and it has been queued Change-Id: I6f78d9ceb406ec85ff46c7b6d0c047b14063e3d0
* | | | | | Merge "Fix AppOsManager missing mutex unlock."Zhijun He2013-07-231-0/+1
|\ \ \ \ \ \
| * | | | | | Fix AppOsManager missing mutex unlock.Zhijun He2013-07-221-0/+1
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Need unlock the mutex after finish the getToken operation. Change-Id: Icd83b383913d06e4d60976857aa314c3008ebea1
* | | | | | Add NFC host-based card emulation feature.Martijn Coenen2013-07-221-0/+21
| |/ / / / |/| | | | | | | | | | | | | | Change-Id: I699817731cdaf7139daeb10d4e24e376ba66fc8e
* | | | | move services executables sources in their respective src folderMathias Agopian2013-07-229-67/+52
| |_|/ / |/| | | | | | | | | | | Change-Id: Ic65434a26c7fed1699abf0851fec6faa40e09c0c
* | | | Merge changes Ic45929f3,Ic63f4f96,I1e703d36,I691f9507Mathias Agopian2013-07-2029-441/+212
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: make sure to reset the framenumber when a buffer is marked FREE Make ANW.setSwapInterval(0) work again BuffferQueue disconnect is now always asynchrnous BufferQueue improvements and APIs changes
| * | | | make sure to reset the framenumber when a buffer is marked FREEMathias Agopian2013-07-191-0/+3
| | | | | | | | | | | | | | | | | | | | Change-Id: Ic45929f35553de209801f74e8006fb1bf0b25b45
| * | | | Make ANW.setSwapInterval(0) work againMathias Agopian2013-07-1910-75/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we can now queue/dequeue a buffer in asynchrnous mode by using the async parameter to these calls. async mode is only specified with those calls (it is not modal anymore). as a consequence it can only be specified when the buffer count is not overidden, as error is returned otherwise. Change-Id: Ic63f4f96f671cb9d65c4cecbcc192615e09a8b6b
| * | | | BuffferQueue disconnect is now always asynchrnousMathias Agopian2013-07-183-78/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we tag queued buffers with the "bufferqueue cannot block" flag and use that bit to discard a buffer in the queue by new ones comming in. this allows us to remove the buffer queue drain in disconnect while maintaining the right behaviour if it gets connected again (since each buffer remembers how it was enqueued). Change-Id: I1e703d363a687b70b19ba49cef32213116e8bd3f
| * | | | BufferQueue improvements and APIs changesMathias Agopian2013-07-1830-324/+96
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this is the first step of a series of improvements to BufferQueue. A few things happen in this change: - setSynchronousMode() goes away as well as the SynchronousModeAllowed flag - BufferQueue now defaults to (what used to be) synchronous mode - a new "controlled by app" flag is passed when creating consumers and producers those flags are used to put the BufferQueue in a mode where it will never block if both flags are set. This is achieved by: - returning an error from dequeueBuffer() if it would block - making sure a buffer is always available by replacing the previous buffer with the new one in queueBuffer() (note: this is similar to what asynchrnous mode used to be) Note: in this change EGL's swap-interval 0 is broken; this will be fixed in another change. Change-Id: I691f9507d6e2e158287e3039f2a79a4d4434211d
* | | | Merge "Add input device property for buttons under touchpads"Michael Wright2013-07-192-0/+6
|\ \ \ \ | |/ / / |/| | |
| * | | Add input device property for buttons under touchpadsMichael Wright2013-07-112-0/+6
| | | | | | | | | | | | | | | | | | | | Bug: 8990644 Change-Id: I6df5fb9e11199173d62523928082db428af55394
* | | | Merge "Follow framework change to track started ops by proc."Dianne Hackborn2013-07-183-9/+49
|\ \ \ \
| * | | | Follow framework change to track started ops by proc.Dianne Hackborn2013-07-173-9/+49
| | | | | | | | | | | | | | | | | | | | Change-Id: Ibbce3bf6556f45751c74bab045b46377e56bff9b
* | | | | Merge "Clarify some android-specific OMX extensions for native buffers."Lajos Molnar2013-07-171-4/+12
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Clarify some android-specific OMX extensions for native buffers.Lajos Molnar2013-07-171-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clarify the use of enableAndroidNativeBuffers and storeMetaDataInBuffers extensions. Change-Id: Ia1ca4a262525de74f133619f92ef6ba8271a6f72 Signed-off-by: Lajos Molnar <lajos@google.com>