summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Fixed apparent copy/paste mistakeDavid Friedman2014-02-051-1/+1
| | | | | | Bug: 11634373 Change-Id: I9b0ac4d3b4a9a2999b2013abd39465a062ec51ea
* Binder: Use 64 bit pointers in 32 processes if selected by the targetArve Hjønnevåg2014-01-312-9/+13
| | | | | | Uses new kernel header where void * has been replaced by binder_uintptr_t Change-Id: Icfc67c2a279269f700343bd9246fd7cb94efe2c1
* Binder: Make binder portableSerban Constantinescu2014-01-311-0/+4
| | | | | | | | | | | | | | | | | | | | Changes include - Binder attempts to cast pointers to a int datatype which is not sufficient on a 64-bit platform. - This patch introduces new read/write functions into Parcel that allow pointers to be written using the uintptr_t datatype for compile-time data type size selection. - Change access specifier for the methods above. - Binder uses the 64bit android_atomic_release_cas64 (aka cmpxchg) Change-Id: I595280541e0ba1d19c94b2ca2127bf9d96efabf1 Signed-off-by: Matthew Leach <matthew.leach@arm.com> Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
* Track Looper decoupling from ALooperBrian Carlstrom2013-12-121-1/+1
| | | | Change-Id: I612f0de7002e24948a4cbbea7b416b4fbb3929aa
* Native counterpart of new power manager methodMarco Nelissen2013-10-252-0/+2
| | | | | | | | Cherrypicked from master. b/9464621 Change-Id: I54c0ed50a57ac870da91db8589a73a2c792dbd8d
* Change API from flush(handle) to flush(). Call flush on all active sensors ↵Aravind Akella2013-10-092-2/+2
| | | | | | in the given SensorEventConnection. Change-Id: I4ef2bec80406c517903ab9782dc9eaf3fa8b7f36
* Merge "Allow blaming a single uid for work done" into klp-devMarco Nelissen2013-10-031-0/+2
|\
| * Allow blaming a single uid for work doneMarco Nelissen2013-10-031-0/+2
| | | | | | | | | | | | | | | | This lets audioflinger assign blame for wakelocks to a single uid. Currently this is only used for recording wakelocks. b/10985160 Change-Id: Idc9adb22c29030010ac690d4cb95e7e7ea6b91e6
* | Merge "media/hardware/HardwareAPI.h: Added PrepareForAdaptivePlaybackParams" ↵Lajos Molnar2013-10-031-0/+25
|\ \ | | | | | | | | | into klp-dev
| * | media/hardware/HardwareAPI.h: Added PrepareForAdaptivePlaybackParamsLajos Molnar2013-08-121-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the param struct used by stagefright to notify codec that the playback may include resolution changes, so that it can prepare accordingly to avoid port reconfiguration. Change-Id: I64e53b7ebf74c4f9d07cc9fe0cd65be55f666afe Signed-off-by: Lajos Molnar <lajos@google.com> Related-to-bug: 7093648
* | | GLConsumer: start using EGL_ANDROID_image_cropJamie Gennis2013-10-021-1/+5
| |/ |/| | | | | | | | | | | | | | | | | 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
* | GLConsumer: Add query for current frame number.Eino-Ville Talvala2013-09-191-0/+11
| | | | | | | | | | | | | | Surface the underlying frame number of the current texture. Bug: 10830400 Change-Id: Ide3a7da12ea0aac54588beb6bf00dbfe2cd37653
* | fix camera API 2.0 orientationMathias Agopian2013-09-172-1/+5
| | | | | | | | | | | | | | | | | | 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
* | Make sure do disconnect from a BQ when its client dies.Mathias Agopian2013-09-162-4/+21
| | | | | | | | | | | | Bug: 5679534 Change-Id: If447e8673df83fe0b1d6210641e0a48522501a53
* | fix a few problems with BitTubeMathias Agopian2013-09-102-6/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "HDCP: add enums for HDCP module capabilities" into klp-devChong Zhang2013-09-041-0/+13
|\ \
| * | HDCP: add enums for HDCP module capabilitiesChong Zhang2013-09-041-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds the enums for HDCP caps. An interface getCaps() will be added later for querying whether HDCP module supports encryption from a native buffer output from the encoder. Bug: 10609422 Change-Id: Ib7fa14e7f4de1da90b46eaa174a7a05ec9dacbdc
* | | Merge "Sensor batching. Changes to the native code." into klp-devAravind Akella2013-09-044-4/+39
|\ \ \
| * | | Sensor batching. Changes to the native code.Aravind Akella2013-09-034-4/+39
| |/ / | | | | | | | | | | | | Bug: 10109508 Change-Id: I7333f3aac76125a8226a4c99c901fb904588df04
* | | improve mat44 implementationMathias Agopian2013-09-036-155/+208
|/ / | | | | | | | | | | this will make it easier to create matrices of different sizes Change-Id: I2c1771ba0823c42d737762e2dfc2cd47eb302767
* | vector and matrix classes for graphics useMathias Agopian2013-08-266-0/+1301
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - this implements vec2, vec3, vec4, which are float vectors of size 2, 3 and 4 respectively. the code allows easy instantiation of vectors of a different type via the tvec{2|3|4}<T> template classes. - this also implements mat4 which is a float 4x4 matrix. the tmat44<T> template class allows easy instantiation of a 4x4 matrix of a different value_type. The vector types have some minimal support for the glsl style swizzled access; for instance: vec4 u; vec3 v = u.xyz; only .x, .xy, .xyz and their .stpq / .rgba equivalent are supported. most operators are supported on both vector and matrices: arithmetic, unary, compound assignment and comparison (bit-wise operators NOT supported). - operations available on vectors include: dot, length, distance, normalize and cross - operations available on matrices include: transpose, inverse, trace - and a few utilities to create matrices: ortho, frustum, lookAt Change-Id: I64add89ae90fa78d3f2f59985b63495575378635
* | Remove input flinger stubs. (DO NOT MERGE)Jeff Brown2013-08-221-54/+0
| | | | | | | | | | Bug: 10446930 Change-Id: I4dd46f539cd2a2e324dfc83b45ba2787f7404a4a
* | Merge "Add ability to test supported content types to MediaDrm" into klp-devJeff Tinker2013-08-221-0/+5
|\ \
| * | Add ability to test supported content types to MediaDrmJeff Tinker2013-08-211-0/+5
| | | | | | | | | | | | | | | bug: 10244066 Change-Id: I6666d0dbfdc6e791deb9a82c918255af4fa19816
* | | Re-enable frame dropping for non-auto timestampsAndy McFadden2013-08-162-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds an entire field to note whether the timestamp was auto-generated by Surface or supplied by the application. The value is used when deciding whether or not to drop frames based on buffer presentation timestamps. If a desired presentation time was set explicitly, BufferQueue will use that value to decide if a frame should be dropped. If the timestamp was generated by Surface at the time the buffer was queued, the timestamp is ignored. Bug 10151804 Change-Id: Ibd571a7578351063b813cbdad2ddbeed70655ba5
* | | gui: CpuConsumer::lockNextBuffer change return code when too many bufs acquiredIgor Murashkin2013-08-141-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | - Return NOT_ENOUGH_DATA instead of INVALID_OPERATION when too many buffers have already been locked. - INVALID_OPERATION is nominally used when something irrecoverable happens, but in this case the client just needs to call unlockBuffer to go back into a good state. Bug: 10333400 Change-Id: I3a034d77de85741429f832a90eedd670afa1dc94
* | SurfaceFlinger now uses GLES 2.x when availableMathias Agopian2013-08-132-8/+7
| | | | | | | | | | | | Bug: 8679321 Change-Id: I2b152d01fb4e2de2ea9fe87f1ddbd6826d7520d7
* | make sure GLConsumer::releaseTexImage() works after detachFromContext()Mathias Agopian2013-08-121-1/+3
|/ | | | Change-Id: I27e0bc57e927d47b2b98113ee37b5396bcc72019
* make GLConsumer's debug texture staticMathias Agopian2013-08-081-1/+7
| | | | | | | this is so that we don't burn a gralloc handle and a bit of memory per GLConsumer. Change-Id: I30c3e7ec45d7f1b5426aca8e06c7716870877706
* Add ISurfaceComposer::destroyDisplayJesse Hall2013-08-082-4/+13
| | | | | Bug: 10191053 Change-Id: Ia89286f95421344a60ffedaaca5825c4e3cd7f9e
* batteryservice: add battery current now and charge counter dataTodd Poynor2013-08-071-0/+2
| | | | Change-Id: I4b3ea25342d4a03a8e38bfee2ef3b1ce54f82582
* remove support for glReadPixels screenshot pathMathias Agopian2013-08-061-2/+1
| | | | | | | this was only needed on some chipset we're not supporting in KLP. Change-Id: I2e8fc07f135030bd61d2e241a8e426f1a4316425
* All consumers now take an IGraphicBufferConsumer instead of a BufferQueueMathias Agopian2013-08-067-30/+14
| | | | | | | | | | this means they only have access to the consumer end of the interface. we had a lot of code that assumed consumers where holding a BufferQueue (i.e.: both ends), so most of this change is untangling in fix that Bug: 9265647 Change-Id: Ic2e2596ee14c7535f51bf26d9a897a0fc036d22c
* Binderize the consumer side of BufferQueueMathias Agopian2013-08-014-104/+328
| | | | | | | | | | While currently untested, this should allow to move the BuffereQueue in the consumer process and have everything work as usual. Bug: 9265647 Change-Id: I9ca8f099f7c65b9a27b7e7a3643b46d1b58eacfc
* remove unused code form GraphicBufferMathias Agopian2013-07-311-11/+6
| | | | Change-Id: I0dd67f1f93f654331e8f17b55730931dbc695ca7
* remove libutilsAlex Ray2013-07-3148-7581/+0
| | | | | | | libutils is being moved from frameworks/native/ to system/core/ in order to facilitate native C++ platform (non-frameworks) code. Change-Id: I44089fb960591a40b8a9c30faabb10459d107d71
* Make Flattenable not virtualMathias Agopian2013-07-306-34/+79
| | | | | | | | | | | | | | | | | Fallout from the Flattenable change, update all its uses. Additionnaly, fix/tighten size checks when (un)flatten()ing things. Removed the assumption by some flattenables (e.g.: Fence) that the size passed to them would be exact (it can and will be larger in some cases) The code in Parcel is a bit complicated so that we don't have to expose the full implementation (and also to keep the code smallish). Change-Id: I0bf1c8aca2a3128491b4f45510bc46667e566dde
* Make Flattenable not virtual (libutils)Mathias Agopian2013-07-302-39/+92
| | | | | | | | | | | | 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
* 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
| * Add a symbol to represent MNC=0Johan Redestig2013-07-261-0/+2
| | | | | | | | | | Bug: 7170488 Change-Id: Icfd39fd0c739216e89446252ea0e7ceba6f002c6
| * Tweaks for forward compatibilityJean-Baptiste Queru2013-07-161-0/+3
| | | | | | | | Change-Id: Id6a96521b3fd5bd2a034fe89cfa4d3a179a66328
| * Tweak for forward compatibilityJean-Baptiste Queru2013-07-021-0/+6
| | | | | | | | Change-Id: I6be78b607789c469f4ffad849a493d78e2539450
* | single buffer mode for BufferQueueMathias Agopian2013-07-262-2/+25
| | | | | | | | | | Bug: 9891035 Change-Id: Id1ab5f911a6dc4c1d8235e65775b3d3635231ad4
* | get rid of HAL pixelformats 5551 and 4444Mathias Agopian2013-07-261-2/+2
| | | | | | | | Change-Id: I39409103144c1ba09078c4ddc323a58987fb09ea
* | get rid of PixelFormatInfo and simplify thingsMathias Agopian2013-07-252-56/+2
| | | | | | | | Change-Id: I025a362cc12d5b9b794fac14be500e25aab65396
* | get rid of PIXEL_FORMAT_A_8Mathias Agopian2013-07-251-1/+0
| | | | | | | | Change-Id: I4e409a69c01b95b48f20112084dd927e2d043407
* | add libbatteryserviceTodd Poynor2013-07-253-0/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | libutils: give BasicHashtableImpl a virtual destructorAlex Ray2013-07-241-0/+1
| | | | | | | | Change-Id: I4ec590b060d732af5fe525670becbe778684247b
* | 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
|\ \