OSDN Git Service

android-x86/frameworks-native.git
10 years agoam 340aa8cb: Merge "New command line tool \'idmap\'"
Dianne Hackborn [Fri, 7 Mar 2014 02:27:02 +0000 (02:27 +0000)]
am 340aa8cb: Merge "New command line tool \'idmap\'"

* commit '340aa8cbd4afbb68b16f369336cc1c202582f021':
  New command line tool 'idmap'

10 years agoam 74be0f7b: Merge "binder: fix all warnings"
Colin Cross [Fri, 7 Mar 2014 02:23:38 +0000 (02:23 +0000)]
am 74be0f7b: Merge "binder: fix all warnings"

* commit '74be0f7be35e7b40a322fa9a407cb49265333a0b':
  binder: fix all warnings

10 years agoam 055dac1b: Merge "Fixed apparent copy/paste mistake Bug: 11634373"
Andrew Hsieh [Fri, 7 Mar 2014 02:23:17 +0000 (02:23 +0000)]
am 055dac1b: Merge "Fixed apparent copy/paste mistake Bug: 11634373"

* commit '055dac1b54af46a0608b32e83fcae45e75a4a8f0':
  Fixed apparent copy/paste mistake Bug: 11634373

10 years agoam fd6a3ff4: Merge "GLES_trace: fix compile errors on 64 bit architectures"
Siva Velusamy [Fri, 7 Mar 2014 01:35:47 +0000 (01:35 +0000)]
am fd6a3ff4: Merge "GLES_trace: fix compile errors on 64 bit architectures"

* commit 'fd6a3ff4b4dda34f8e6e03989dd7466e4cbd8b0e':
  GLES_trace: fix compile errors on 64 bit architectures

10 years agoam 4e7fd950: Merge "Use 64 bit binder interface if TARGET_USES_64_BIT_BINDER _or_...
Arve Hjønnevåg [Fri, 7 Mar 2014 01:35:23 +0000 (01:35 +0000)]
am 4e7fd950: Merge "Use 64 bit binder interface if TARGET_USES_64_BIT_BINDER _or_ TARGET_IS_64_BIT is set."

* commit '4e7fd9506103dcc9750788caf1f94b8d1348f37b':
  Use 64 bit binder interface if TARGET_USES_64_BIT_BINDER _or_ TARGET_IS_64_BIT is set.

10 years agoam 58242fc2: Merge changes Ib0e5a037,I1bd7c38e,Icfc67c2a,I96c64312,I59528054, ...
Arve Hjønnevåg [Fri, 7 Mar 2014 01:34:26 +0000 (01:34 +0000)]
am 58242fc2: Merge changes Ib0e5a037,I1bd7c38e,Icfc67c2a,I96c64312,I59528054, ...

* commit '58242fc29881cf29d56ee6e5fde6d73b16d0b67c':
  ServiceManager: Implement PING_TRANSACTION
  ServiceManager: Use 32/64 bit types from new binder header
  Binder: Use 64 bit pointers in 32 processes if selected by the target
  Add BINDER_IPC_32BIT to CFLAGS unless TARGET_USES_64_BIT_BINDER is true
  Binder: Make binder portable
  ServiceManager: Fix the binder interface
  ServiceManager: Store handles in uint32_t instead of void *
  ServiceManager: Generic Fixes
  ServiceManager: Add extra error handling
  ServiceManager: Fix Android.mk
  ServiceManager: Make use of kernel exported structures

10 years agoam af3efe8c: Merge "frameworks/native: Rename persist.sys.dalvik.vm.lib to allow...
Brian Carlstrom [Fri, 7 Mar 2014 00:37:20 +0000 (00:37 +0000)]
am af3efe8c: Merge "frameworks/native: Rename persist.sys.dalvik.vm.lib to allow new default"

* commit 'af3efe8ce7e2eeb7a98552af5cf38d8a9720f018':
  frameworks/native: Rename persist.sys.dalvik.vm.lib to allow new default

10 years agoam 4b84704b: Ignore flush complete events when recording last value for a sensor.
Aravind Akella [Thu, 6 Mar 2014 02:18:29 +0000 (02:18 +0000)]
am 4b84704b: Ignore flush complete events when recording last value for a sensor.

* commit '4b84704b97300eff3ebfab85652e64d54149d205':
  Ignore flush complete events when recording last value for a sensor.

10 years agoIgnore flush complete events when recording last value for a sensor.
Aravind Akella [Tue, 4 Mar 2014 03:02:46 +0000 (19:02 -0800)]
Ignore flush complete events when recording last value for a sensor.

Bug: 11822806
Change-Id: I1402d6684ed71ed413aef6a7be3aad945b331ec2

10 years agoam 67903293: Fix "Binder: Make sure binder objects do not overlap" to work old binder...
Arve Hjønnevåg [Thu, 20 Feb 2014 00:00:49 +0000 (00:00 +0000)]
am 67903293: Fix "Binder: Make sure binder objects do not overlap" to work old binder kernel interface

* commit '6790329358d1c84af2fe9ba093bcfc1c6176e758':
  Fix "Binder: Make sure binder objects do not overlap" to work old binder kernel interface

10 years agoFix "Binder: Make sure binder objects do not overlap" to work old binder kernel interface
Arve Hjønnevåg [Wed, 19 Feb 2014 23:35:52 +0000 (15:35 -0800)]
Fix "Binder: Make sure binder objects do not overlap" to work old binder kernel interface

DO NOT MERGE into any branch that uses the new interface

Change-Id: Id54308a89327e69a389ac5916c052ad97f57cb28

10 years agoam f50b9eaa: Binder: Make sure binder objects do not overlap
Arve Hjønnevåg [Wed, 19 Feb 2014 21:45:25 +0000 (21:45 +0000)]
am f50b9eaa: Binder: Make sure binder objects do not overlap

* commit 'f50b9eaaeeaeae16981f11b05d3f3a6fb0dea30d':
  Binder: Make sure binder objects do not overlap

10 years agoBinder: Make sure binder objects do not overlap
Arve Hjønnevåg [Fri, 14 Feb 2014 03:22:08 +0000 (19:22 -0800)]
Binder: Make sure binder objects do not overlap

Fixes crashing part of bug 11355082.
The driver still leaks references.

Change-Id: Ibc6a63b151c1fc1f7666237f25255ba781e02071

10 years agoMerge "New command line tool 'idmap'"
Dianne Hackborn [Tue, 11 Feb 2014 20:29:54 +0000 (20:29 +0000)]
Merge "New command line tool 'idmap'"

10 years agoMerge "binder: fix all warnings"
Colin Cross [Thu, 6 Feb 2014 02:06:42 +0000 (02:06 +0000)]
Merge "binder: fix all warnings"

10 years agobinder: fix all warnings
Colin Cross [Thu, 6 Feb 2014 01:42:44 +0000 (17:42 -0800)]
binder: fix all warnings

Fix warnings related to casting pointers to ints, using %d or %ld to
print size_t/ssize_t, and unused parameters.

Change-Id: I7a13ba83d402952989c1f795cd9e880a95b98d9e

10 years agoMerge "Fixed apparent copy/paste mistake Bug: 11634373"
Andrew Hsieh [Wed, 5 Feb 2014 07:16:30 +0000 (07:16 +0000)]
Merge "Fixed apparent copy/paste mistake Bug: 11634373"

10 years agoFixed apparent copy/paste mistake
David Friedman [Wed, 5 Feb 2014 03:11:33 +0000 (11:11 +0800)]
Fixed apparent copy/paste mistake
Bug: 11634373

Change-Id: I9b0ac4d3b4a9a2999b2013abd39465a062ec51ea

10 years agoMerge "GLES_trace: fix compile errors on 64 bit architectures"
Siva Velusamy [Tue, 4 Feb 2014 19:14:06 +0000 (19:14 +0000)]
Merge "GLES_trace: fix compile errors on 64 bit architectures"

10 years agoMerge "Use 64 bit binder interface if TARGET_USES_64_BIT_BINDER _or_ TARGET_IS_64_BIT...
Arve Hjønnevåg [Tue, 4 Feb 2014 00:48:12 +0000 (00:48 +0000)]
Merge "Use 64 bit binder interface if TARGET_USES_64_BIT_BINDER _or_ TARGET_IS_64_BIT is set."

10 years agoUse 64 bit binder interface if TARGET_USES_64_BIT_BINDER _or_ TARGET_IS_64_BIT is...
Arve Hjønnevåg [Mon, 3 Feb 2014 22:46:30 +0000 (14:46 -0800)]
Use 64 bit binder interface if TARGET_USES_64_BIT_BINDER _or_ TARGET_IS_64_BIT is set.

Change-Id: I46a29939fa29ec9421ab6dff3285502f69a31745

10 years agoMerge changes Ib0e5a037,I1bd7c38e,Icfc67c2a,I96c64312,I59528054, ...
Arve Hjønnevåg [Mon, 3 Feb 2014 21:12:57 +0000 (21:12 +0000)]
Merge changes Ib0e5a037,I1bd7c38e,Icfc67c2a,I96c64312,I59528054, ...

* changes:
  ServiceManager: Implement PING_TRANSACTION
  ServiceManager: Use 32/64 bit types from new binder header
  Binder: Use 64 bit pointers in 32 processes if selected by the target
  Add BINDER_IPC_32BIT to CFLAGS unless TARGET_USES_64_BIT_BINDER is true
  Binder: Make binder portable
  ServiceManager: Fix the binder interface
  ServiceManager: Store handles in uint32_t instead of void *
  ServiceManager: Generic Fixes
  ServiceManager: Add extra error handling
  ServiceManager: Fix Android.mk
  ServiceManager: Make use of kernel exported structures

10 years agoNew command line tool 'idmap'
Mårten Kongstad [Fri, 31 Jan 2014 13:00:54 +0000 (14:00 +0100)]
New command line tool 'idmap'

Introduce a new tool 'idmap' to handle generation and verification of
idmap files. The tool is modelled on 'dexopt', and is intended to be
used similarly, notably by 'installd'.
See cmds/idmap/idmap.cpp for further documentation on 'idmap'.

Note: this commit is interdependent on a commit in project build/ to add
'idmap' to PRODUCT_PACKAGES.

Note: the changes to androidfw are only stubs. The actual implementation
will be provided in Runtime resource overlay, iteration 2.

Change-Id: I7131b74ece1e46c8a9c0a31d103e686aa07da2bb

10 years agoServiceManager: Implement PING_TRANSACTION
Arve Hjønnevåg [Wed, 29 Jan 2014 05:35:03 +0000 (21:35 -0800)]
ServiceManager: Implement PING_TRANSACTION

Stop printing "invalid id " to stderr every time a process tries to
connect to the servicemanager.

Change-Id: Ib0e5a0375bfa2dec2c2f9cd668bd5dda46ed6588

10 years agoServiceManager: Use 32/64 bit types from new binder header
Arve Hjønnevåg [Wed, 29 Jan 2014 05:25:12 +0000 (21:25 -0800)]
ServiceManager: Use 32/64 bit types from new binder header

Change-Id: I1bd7c38ed9f43125cf9c63aa533434ee7ca06f80

10 years agoBinder: Use 64 bit pointers in 32 processes if selected by the target
Arve Hjønnevåg [Wed, 29 Jan 2014 04:12:59 +0000 (20:12 -0800)]
Binder: Use 64 bit pointers in 32 processes if selected by the target

Uses new kernel header where void * has been replaced by binder_uintptr_t

Change-Id: Icfc67c2a279269f700343bd9246fd7cb94efe2c1

10 years agoAdd BINDER_IPC_32BIT to CFLAGS unless TARGET_USES_64_BIT_BINDER is true
Arve Hjønnevåg [Wed, 29 Jan 2014 03:57:02 +0000 (19:57 -0800)]
Add BINDER_IPC_32BIT to CFLAGS unless TARGET_USES_64_BIT_BINDER is true

Change-Id: I96c643123b0314c361b7f48a18d5c22c660d4ff5

10 years agoBinder: Make binder portable
Serban Constantinescu [Tue, 5 Nov 2013 16:53:55 +0000 (16:53 +0000)]
Binder: Make binder portable

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>
10 years agoServiceManager: Fix the binder interface
Serban Constantinescu [Thu, 19 Dec 2013 09:11:41 +0000 (09:11 +0000)]
ServiceManager: Fix the binder interface

This patch adds support for binder transactions on 64bit systems
without breaking the existing 32bit ABI. It has been tested on
the Android emulator and ARMv8 Model.

Most of the changes in this patch just follow the binder ABI.

Change-Id: I8c37b847ea65008d56554d34d4696fe3d22f7533
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
10 years agoServiceManager: Store handles in uint32_t instead of void *
Serban Constantinescu [Thu, 30 Jan 2014 14:07:34 +0000 (14:07 +0000)]
ServiceManager: Store handles in uint32_t instead of void *

This patch corrects the types used for storing handles.

Change-Id: If9c10782345f1de9e12b4b3fd6be9e02e6b568cd
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
10 years agoServiceManager: Generic Fixes
Serban Constantinescu [Fri, 10 Jan 2014 15:48:29 +0000 (15:48 +0000)]
ServiceManager: Generic Fixes

This patch fixes some of the ServiceManager issues. The following patches
of the series add fixes to the ABI.

Change-Id: Ib479234c8704e12592f1b149ddec67881bc50230
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
10 years agoServiceManager: Add extra error handling
Serban Constantinescu [Thu, 30 Jan 2014 15:16:45 +0000 (15:16 +0000)]
ServiceManager: Add extra error handling

This patch extends the error handling. It also adds a check for a matching
binder version - kernel/userspace.

Change-Id: I43a262934b38c5711536aaa42754fed1ef04b39e
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
10 years agoServiceManager: Fix Android.mk
Serban Constantinescu [Thu, 30 Jan 2014 14:58:32 +0000 (14:58 +0000)]
ServiceManager: Fix Android.mk

This patch fixes Android.mk and enables building bctest as an optional
module without any extra hacks.

Change-Id: Icaf8bf9452776db2ea4a2ba75f3abf05b4e2cdab
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
10 years agoServiceManager: Make use of kernel exported structures
Serban Constantinescu [Fri, 10 Jan 2014 13:56:27 +0000 (13:56 +0000)]
ServiceManager: Make use of kernel exported structures

This patch switches ServiceManager to use the structures exported in the
kernel headers rather then redefining its own.

struct binder_txn is replaced with struct binder_transaction_data and struct
binder_object with struct flat_binder_object, both defined in the binder driver
header <linux/binder.h>.

Change-Id: I3b3e97918173ea35a289e184774ae06193192da3
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
10 years agoMerge "frameworks/native: Rename persist.sys.dalvik.vm.lib to allow new default"
Brian Carlstrom [Thu, 30 Jan 2014 21:50:56 +0000 (21:50 +0000)]
Merge "frameworks/native: Rename persist.sys.dalvik.vm.lib to allow new default"

10 years agoframeworks/native: Rename persist.sys.dalvik.vm.lib to allow new default
Brian Carlstrom [Thu, 30 Jan 2014 21:14:01 +0000 (13:14 -0800)]
frameworks/native: Rename persist.sys.dalvik.vm.lib to allow new default

Bug: 12798969
Change-Id: I6b40317eceb3d89b0acff88238a9a9ab423c4d78

10 years agoGLES_trace: fix compile errors on 64 bit architectures
Siva Velusamy [Tue, 28 Jan 2014 22:08:46 +0000 (14:08 -0800)]
GLES_trace: fix compile errors on 64 bit architectures

GLES_trace passes some pointers back to the host. Encode them
using int64's rather than int32's

This fix requires an update to the host tool to look at pointers
as 64 bit, and if not found, then fall back to 32 bit integers.

Change-Id: I11ff2ca51290f05913c1b9143cecee1caf015543

10 years agoam f5bcb391: Merge "SurfaceFlinger: mFbProducerSlot initailization"
Jesse Hall [Tue, 28 Jan 2014 18:22:35 +0000 (18:22 +0000)]
am f5bcb391: Merge "SurfaceFlinger: mFbProducerSlot initailization"

* commit 'f5bcb391c5a4282fa5fe14856faf1423a2bc44c5':
  SurfaceFlinger: mFbProducerSlot initailization

10 years agoMerge "SurfaceFlinger: mFbProducerSlot initailization"
Jesse Hall [Tue, 28 Jan 2014 18:17:46 +0000 (18:17 +0000)]
Merge "SurfaceFlinger: mFbProducerSlot initailization"

10 years agoSurfaceFlinger: mFbProducerSlot initailization
mayank parshar [Thu, 23 Jan 2014 09:38:31 +0000 (15:08 +0530)]
SurfaceFlinger: mFbProducerSlot initailization

b/12487813

SurfaceFlinger crash is observed during simulation of
Secondary display

Note: change 14e8b01a761180250671f3d6494532d8bd04fa8e
removed the initialization leading to the crash when
simulating secondary display.  Restore the initialization
to solve the problem.

Change-Id: Iae5845fb82735e01de5cc0dc582d13c27e3c614f
Signed-off-by: mayank parshar <mayankp@broadcom.com>
Signed-off-by: Pierre Couillaud <pierre@broadcom.com>
10 years agoam 851b2cb1: Merge "Make libEGL build cleanly under 64-bit"
Colin Cross [Tue, 28 Jan 2014 02:27:41 +0000 (02:27 +0000)]
am 851b2cb1: Merge "Make libEGL build cleanly under 64-bit"

* commit '851b2cb18c329e0d19f9f56f68425b714007a274':
  Make libEGL build cleanly under 64-bit

10 years agoMerge "Make libEGL build cleanly under 64-bit"
Colin Cross [Tue, 28 Jan 2014 02:22:11 +0000 (02:22 +0000)]
Merge "Make libEGL build cleanly under 64-bit"

10 years agoMake libEGL build cleanly under 64-bit
Dan Stoza [Fri, 17 Jan 2014 19:38:34 +0000 (11:38 -0800)]
Make libEGL build cleanly under 64-bit

Change-Id: I255dfb70b166b7469d59352b1acfc7aececa07de

10 years agoam 55f0668f: Merge "frameworks/native: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELA...
Colin Cross [Tue, 28 Jan 2014 00:59:40 +0000 (00:59 +0000)]
am 55f0668f: Merge "frameworks/native: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH"

* commit '55f0668ffd6fd7889e027b3072bf173a7ee48f08':
  frameworks/native: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH

10 years agoMerge "frameworks/native: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH"
Colin Cross [Tue, 28 Jan 2014 00:48:31 +0000 (00:48 +0000)]
Merge "frameworks/native: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH"

10 years agoframeworks/native: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH
Colin Cross [Sat, 25 Jan 2014 05:00:32 +0000 (21:00 -0800)]
frameworks/native: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH

LOCAL_MODULE_PATH doesn't work for multiarch builds, replace it
with LOCAL_MODULE_RELATIVE_PATH.

Change-Id: I4e4ceec61d026bbe74ba604554c06104bde42e5e

10 years agoam fcf9c1ba: Merge "SurfaceFlinger: mFbFence initialization"
Jesse Hall [Sun, 26 Jan 2014 16:45:40 +0000 (08:45 -0800)]
am fcf9c1ba: Merge "SurfaceFlinger: mFbFence initialization"

* commit 'fcf9c1bafb251c186191b9d066ed00d0b59b962a':
  SurfaceFlinger: mFbFence initialization

10 years agoMerge "SurfaceFlinger: mFbFence initialization"
Jesse Hall [Sun, 26 Jan 2014 08:15:15 +0000 (08:15 +0000)]
Merge "SurfaceFlinger: mFbFence initialization"

10 years agoSurfaceFlinger: mFbFence initialization
mayank parshar [Fri, 10 Jan 2014 04:57:45 +0000 (10:27 +0530)]
SurfaceFlinger: mFbFence initialization

MobC00383030
b/12487813

SurfaceFlinger crash is observed while connecting
to Wi-Fi display.

Note: change 14e8b01a761180250671f3d6494532d8bd04fa8e
removed the initialization leading to the crash when
running through the HWC composition path.  Restore the
initialization to solve the problem.

Change-Id: I581defc7135ac512080c0da06a62b1dae7d218c4
Signed-off-by: mayank parshar <mayankp@broadcom.com>
Signed-off-by: Pierre Couillaud <pierre@broadcom.com>
10 years agoam af29b77a: Merge "libGLES_android: fix 64-bit compile errors"
Colin Cross [Sat, 25 Jan 2014 00:42:36 +0000 (16:42 -0800)]
am af29b77a: Merge "libGLES_android: fix 64-bit compile errors"

* commit 'af29b77ab7dab5a1b5af27e7f7eeeb14584c101c':
  libGLES_android: fix 64-bit compile errors

10 years agoMerge "libGLES_android: fix 64-bit compile errors"
Colin Cross [Sat, 25 Jan 2014 00:38:15 +0000 (00:38 +0000)]
Merge "libGLES_android: fix 64-bit compile errors"

10 years agolibGLES_android: fix 64-bit compile errors
Colin Cross [Fri, 24 Jan 2014 22:35:39 +0000 (14:35 -0800)]
libGLES_android: fix 64-bit compile errors

Fix size of vertex_t on 64-bit architectures
Fix __get_tls casts, the TLS area is a void**
Cast through uintptr_t to store integers in a pointer
Use %zu to print size_t

Change-Id: I91079ec76025237e6d2081784c5348518b0ce122

10 years agoam b6c21004: Merge "Implement per-display EGLConfig and configless EGLContext"
Jesse Hall [Fri, 3 Jan 2014 18:30:11 +0000 (10:30 -0800)]
am b6c21004: Merge "Implement per-display EGLConfig and configless EGLContext"

* commit 'b6c2100458bd4dda880ec24dc7d1f39825d5243d':
  Implement per-display EGLConfig and configless EGLContext

10 years agoam 662d3134: Merge "Move EGLConfig selection to RenderEngine"
Jesse Hall [Fri, 3 Jan 2014 18:30:10 +0000 (10:30 -0800)]
am 662d3134: Merge "Move EGLConfig selection to RenderEngine"

* commit '662d3134cb3fe3f18a0a6bfbc24368c2291c8e19':
  Move EGLConfig selection to RenderEngine

10 years agoMerge "Implement per-display EGLConfig and configless EGLContext"
Jesse Hall [Fri, 3 Jan 2014 18:25:07 +0000 (18:25 +0000)]
Merge "Implement per-display EGLConfig and configless EGLContext"

10 years agoMerge "Move EGLConfig selection to RenderEngine"
Jesse Hall [Fri, 3 Jan 2014 18:24:30 +0000 (18:24 +0000)]
Merge "Move EGLConfig selection to RenderEngine"

10 years agoImplement per-display EGLConfig and configless EGLContext
Jesse Hall [Tue, 24 Dec 2013 05:02:15 +0000 (21:02 -0800)]
Implement per-display EGLConfig and configless EGLContext

Bug: 12230666
Change-Id: Icca608b108cbdcab9cf01a9236d8cdbda000a836
Signed-off-by: Jesse Hall <jessehall@google.com>
10 years agoMove EGLConfig selection to RenderEngine
Jesse Hall [Tue, 24 Dec 2013 04:44:38 +0000 (20:44 -0800)]
Move EGLConfig selection to RenderEngine

Bug: 12230666
Change-Id: I8d1111a7e0fd9d9e2525e6a80da8ce46d7dd085d
Signed-off-by: Jesse Hall <jessehall@google.com>
10 years agoam 7fea2361: Merge "Track Looper decoupling from ALooper"
Brian Carlstrom [Thu, 19 Dec 2013 07:21:51 +0000 (23:21 -0800)]
am 7fea2361: Merge "Track Looper decoupling from ALooper"

* commit '7fea23613a8bcfae2d6f13234c3f0d7c9c3ef570':
  Track Looper decoupling from ALooper

10 years agoMerge "Track Looper decoupling from ALooper"
Brian Carlstrom [Thu, 19 Dec 2013 07:13:03 +0000 (07:13 +0000)]
Merge "Track Looper decoupling from ALooper"

10 years agoam c02c35fb: Merge "restorecon /data/media when re-creating it for multi-user upgrade."
Nick Kralevich [Tue, 17 Dec 2013 23:08:30 +0000 (15:08 -0800)]
am c02c35fb: Merge "restorecon /data/media when re-creating it for multi-user upgrade."

* commit 'c02c35fbdc90acbb6483fddd9a8822a16a63689d':
  restorecon /data/media when re-creating it for multi-user upgrade.

10 years agoMerge "restorecon /data/media when re-creating it for multi-user upgrade."
Nick Kralevich [Tue, 17 Dec 2013 23:02:36 +0000 (23:02 +0000)]
Merge "restorecon /data/media when re-creating it for multi-user upgrade."

10 years agorestorecon /data/media when re-creating it for multi-user upgrade.
Stephen Smalley [Tue, 17 Dec 2013 21:04:20 +0000 (16:04 -0500)]
restorecon /data/media when re-creating it for multi-user upgrade.

Change-Id: I112c61863f2104d1962697c54cff25106e9b48a0
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
10 years agoTrack Looper decoupling from ALooper
Brian Carlstrom [Fri, 13 Dec 2013 07:13:18 +0000 (23:13 -0800)]
Track Looper decoupling from ALooper

Change-Id: I612f0de7002e24948a4cbbea7b416b4fbb3929aa

10 years agoam de8c8069: Merge commit \'1ee45c2d2d816ee912624d81ff1b0aaa98e8fa74\' into HEAD
The Android Open Source Project [Fri, 6 Dec 2013 01:26:03 +0000 (17:26 -0800)]
am de8c8069: Merge commit \'1ee45c2d2d816ee912624d81ff1b0aaa98e8fa74\' into HEAD

* commit 'de8c80692b0b2fcef705ba9b417477d2bba81e75':

10 years agoMerge commit '1ee45c2d2d816ee912624d81ff1b0aaa98e8fa74' into HEAD
The Android Open Source Project [Thu, 5 Dec 2013 20:38:18 +0000 (12:38 -0800)]
Merge commit '1ee45c2d2d816ee912624d81ff1b0aaa98e8fa74' into HEAD

10 years agoam 708602cc: Merge "DispSync: remove delay when enabling vsync events"
Jesse Hall [Tue, 3 Dec 2013 05:19:56 +0000 (21:19 -0800)]
am 708602cc: Merge "DispSync: remove delay when enabling vsync events"

* commit '708602ccaad0f6e896c4bd4457503614b9ee81d0':
  DispSync: remove delay when enabling vsync events

10 years agoMerge "DispSync: remove delay when enabling vsync events"
Jesse Hall [Tue, 3 Dec 2013 05:12:31 +0000 (05:12 +0000)]
Merge "DispSync: remove delay when enabling vsync events"

10 years agoDispSync: remove delay when enabling vsync events
Jamie Gennis [Tue, 29 Oct 2013 20:36:12 +0000 (13:36 -0700)]
DispSync: remove delay when enabling vsync events

This change fixes a bug that caused an extra frame of latency when enabling
vsync event callbacks in DispSync.  The bug was related to the logic that
prevents the two events from firing with very little time between them due to
updates to the vsync model.

Bug: 11479720
Change-Id: Ie7eaff9e92ffb7b7b6cb4d3d4402c96cbd29af7e

10 years agoam bef08b8d: Merge "Handle policy reloads within installd rather than restarting...
Nick Kralevich [Wed, 27 Nov 2013 21:16:46 +0000 (13:16 -0800)]
am bef08b8d: Merge "Handle policy reloads within installd rather than restarting it."

* commit 'bef08b8d1b30976ff273fc9041bc8d934f52fea9':
  Handle policy reloads within installd rather than restarting it.

10 years agoMerge "Handle policy reloads within installd rather than restarting it."
Nick Kralevich [Wed, 27 Nov 2013 21:09:12 +0000 (21:09 +0000)]
Merge "Handle policy reloads within installd rather than restarting it."

10 years agoam 63b62e8c: am 66ad04bc: Merge "Remove incompatible ashmem.h"
Dima Zavin [Sat, 23 Nov 2013 20:36:54 +0000 (12:36 -0800)]
am 63b62e8c: am 66ad04bc: Merge "Remove incompatible ashmem.h"

* commit '63b62e8cd48176abbfddb6bd67c138ae447f6ac7':
  Remove incompatible ashmem.h

10 years agoam 66ad04bc: Merge "Remove incompatible ashmem.h"
Dima Zavin [Sat, 23 Nov 2013 04:45:07 +0000 (20:45 -0800)]
am 66ad04bc: Merge "Remove incompatible ashmem.h"

* commit '66ad04bc039c73763c55c8d3aad282378e05d257':
  Remove incompatible ashmem.h

10 years agoMerge "Remove incompatible ashmem.h"
Dima Zavin [Sat, 23 Nov 2013 04:41:17 +0000 (04:41 +0000)]
Merge "Remove incompatible ashmem.h"

10 years agoam fc3cdb93: Merge commit \'afd0debe4bdf47dc0f968282ca1261842bb65d60\' into HEAD
The Android Open Source Project [Sat, 23 Nov 2013 01:41:41 +0000 (17:41 -0800)]
am fc3cdb93: Merge commit \'afd0debe4bdf47dc0f968282ca1261842bb65d60\' into HEAD

* commit 'fc3cdb936e6b34257a3bfaf30e89db8f11667cc5':

10 years agoMerge commit 'afd0debe4bdf47dc0f968282ca1261842bb65d60' into HEAD
The Android Open Source Project [Fri, 22 Nov 2013 19:20:20 +0000 (11:20 -0800)]
Merge commit 'afd0debe4bdf47dc0f968282ca1261842bb65d60' into HEAD

Change-Id: Ic9aed2c57bdfeb250ce2dd7f0e9289ba5b6e936a

10 years agoam f2f74ca6: Merge "Remove references to obsolete pmem functionality."
Elliott Hughes [Fri, 22 Nov 2013 02:43:51 +0000 (18:43 -0800)]
am f2f74ca6: Merge "Remove references to obsolete pmem functionality."

* commit 'f2f74ca65f34ae0cae6f0cca40f1c18aa771739d':
  Remove references to obsolete pmem functionality.

10 years agoMerge "Remove references to obsolete pmem functionality."
Elliott Hughes [Thu, 21 Nov 2013 20:42:32 +0000 (20:42 +0000)]
Merge "Remove references to obsolete pmem functionality."

10 years agoRemove references to obsolete pmem functionality.
Elliott Hughes [Thu, 21 Nov 2013 20:22:39 +0000 (12:22 -0800)]
Remove references to obsolete pmem functionality.

Change-Id: I5d3befd075e51614e6801115388a0a9f32fbb6ea

10 years agoam 14e8b01a: Don\'t change the framebuffer target until we render a new one
Jesse Hall [Fri, 8 Nov 2013 20:58:20 +0000 (12:58 -0800)]
am 14e8b01a: Don\'t change the framebuffer target until we render a new one

* commit '14e8b01a761180250671f3d6494532d8bd04fa8e':
  Don't change the framebuffer target until we render a new one

10 years agoDon't change the framebuffer target until we render a new one
Jesse Hall [Thu, 7 Nov 2013 20:28:26 +0000 (12:28 -0800)]
Don't change the framebuffer target until we render a new one

Continuing to send the last-rendered framebuffer to HWC on subsequent
frames allows the HWC to read partially-composed regions that haven't
changed, instead of re-composing from scratch.

Bug: 11573910
Change-Id: I8829877d2a06001f1e1b3f168cbba71c7b217b2d

10 years agoam 356c2386: Merge "Provide virtual display output buffer to HWC in prepare" into...
Jesse Hall [Thu, 7 Nov 2013 04:48:51 +0000 (20:48 -0800)]
am 356c2386: Merge "Provide virtual display output buffer to HWC in prepare" into klp-dev

* commit '356c23865d588659f1eea55bbe7e2b16b9cff08e':
  Provide virtual display output buffer to HWC in prepare

10 years agoMerge "Provide virtual display output buffer to HWC in prepare" into klp-dev
Jesse Hall [Thu, 7 Nov 2013 04:43:19 +0000 (04:43 +0000)]
Merge "Provide virtual display output buffer to HWC in prepare" into klp-dev

10 years agoam 49318631: Merge "Don\'t use implementation-defined format with CPU consumers"...
Jesse Hall [Wed, 6 Nov 2013 15:38:36 +0000 (07:38 -0800)]
am 49318631: Merge "Don\'t use implementation-defined format with CPU consumers" into klp-dev

* commit '493186312a9a8c0215da0d6d3a9b0369491c0796':
  Don't use implementation-defined format with CPU consumers

10 years agoMerge "Don't use implementation-defined format with CPU consumers" into klp-dev
Jesse Hall [Wed, 6 Nov 2013 15:35:08 +0000 (15:35 +0000)]
Merge "Don't use implementation-defined format with CPU consumers" into klp-dev

10 years agoProvide virtual display output buffer to HWC in prepare
Jesse Hall [Wed, 6 Nov 2013 00:12:31 +0000 (16:12 -0800)]
Provide virtual display output buffer to HWC in prepare

We were already making sure the HWComposer class had the handle before
prepare, but it wasn't passing the handle along to HWC as intended.

Partial fix for bug: 11430248
Change-Id: I25f672c4fdfaa6a81fe0acb24d9ad05153ee17dc

10 years agoam ee874caa: Merge "DispSync: remove delay when enabling vsync events" into klp-dev
Jamie Gennis [Tue, 5 Nov 2013 05:55:09 +0000 (21:55 -0800)]
am ee874caa: Merge "DispSync: remove delay when enabling vsync events" into klp-dev

* commit 'ee874caa81ad48d6d0ee34509d3050ca9c046676':
  DispSync: remove delay when enabling vsync events

10 years agoDon't use implementation-defined format with CPU consumers
Jesse Hall [Tue, 5 Nov 2013 00:43:03 +0000 (16:43 -0800)]
Don't use implementation-defined format with CPU consumers

If the virtual display surface is being consumed by the CPU, it can't
be allowed with HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED since there is
no way for the CPU consumer to find out what format gralloc chose. So
for CPU-consumer surfaces, just use the BufferQueue's default format,
which can be set by the consumer.

A better but more invasive change would be to let the consumer require
a certain format (or set of formats?), and disallow the producer from
requesting a different format.

Bug: 11479817
Change-Id: I5b20ee6ac1146550e8799b806e14661d279670c0

10 years agoMerge "DispSync: remove delay when enabling vsync events" into klp-dev
Jamie Gennis [Mon, 4 Nov 2013 22:47:31 +0000 (22:47 +0000)]
Merge "DispSync: remove delay when enabling vsync events" into klp-dev

10 years agoDispSync: remove delay when enabling vsync events
Jamie Gennis [Tue, 29 Oct 2013 20:36:12 +0000 (13:36 -0700)]
DispSync: remove delay when enabling vsync events

This change fixes a bug that caused an extra frame of latency when enabling
vsync event callbacks in DispSync.  The bug was related to the logic that
prevents the two events from firing with very little time between them due to
updates to the vsync model.

Bug: 11479720
Change-Id: Ie7eaff9e92ffb7b7b6cb4d3d4402c96cbd29af7e

10 years agoresolved conflicts for merge of 51b27e82 to klp-dev-plus-aosp
Jesse Hall [Thu, 31 Oct 2013 06:21:21 +0000 (23:21 -0700)]
resolved conflicts for merge of 51b27e82 to klp-dev-plus-aosp

File was moved to system/core.git. Change will be applied there.

Change-Id: Ic2027b7f3f1f1fb4b896a219a8c1b4ab545d9723

10 years agoMerge "fix corruption in Vector<> when malloc falied"
Jesse Hall [Thu, 31 Oct 2013 04:02:24 +0000 (04:02 +0000)]
Merge "fix corruption in Vector<> when malloc falied"

10 years agoam 40da5283: Merge "EGL: rename CallStack::dump into CallStack::log" into klp-dev
Igor Murashkin [Wed, 30 Oct 2013 21:16:19 +0000 (14:16 -0700)]
am 40da5283: Merge "EGL: rename CallStack::dump into CallStack::log" into klp-dev

* commit '40da5283ebc6b5cf1e3820740dc274c47cc55f6d':
  EGL: rename CallStack::dump into CallStack::log

10 years agoMerge "EGL: rename CallStack::dump into CallStack::log" into klp-dev
Igor Murashkin [Wed, 30 Oct 2013 21:09:39 +0000 (21:09 +0000)]
Merge "EGL: rename CallStack::dump into CallStack::log" into klp-dev

10 years agoam 46417b84: Merge "Bug fixes for SensorService" into klp-dev
Aravind Akella [Sat, 26 Oct 2013 01:10:55 +0000 (18:10 -0700)]
am 46417b84: Merge "Bug fixes for SensorService" into klp-dev

* commit '46417b845a257d6725adf048a3cfad6306218e9b':
  Bug fixes for SensorService

10 years agoEGL: rename CallStack::dump into CallStack::log
Igor Murashkin [Sat, 26 Oct 2013 00:13:57 +0000 (17:13 -0700)]
EGL: rename CallStack::dump into CallStack::log

Bug: 11324229
Change-Id: Ibac1be182c336e7aa5ac098f08d18b3c188964b4

10 years agoMerge "Bug fixes for SensorService" into klp-dev
Aravind Akella [Fri, 25 Oct 2013 23:16:59 +0000 (23:16 +0000)]
Merge "Bug fixes for SensorService" into klp-dev

10 years agoam 708cc794: Native counterpart of new power manager method
Marco Nelissen [Fri, 25 Oct 2013 22:01:29 +0000 (15:01 -0700)]
am 708cc794: Native counterpart of new power manager method

* commit '708cc794f6ccd4d31e0a00a23b289272c665adc1':
  Native counterpart of new power manager method

10 years agoBug fixes for SensorService
Aravind Akella [Tue, 15 Oct 2013 22:43:10 +0000 (15:43 -0700)]
Bug fixes for SensorService

i) Emulate Flush for AOSP Fusion Sesnsors on newer HALs that support batching.
ii) Early return if there are no events for the current SensorEventConnection.

Bug: 1132570711376538

Change-Id: Idb856302463649a99d3d5d0c965bb06ba06b8e1d

10 years agoNative counterpart of new power manager method
Marco Nelissen [Wed, 16 Oct 2013 17:57:51 +0000 (10:57 -0700)]
Native counterpart of new power manager method

Cherrypicked from master.

b/9464621

Change-Id: I54c0ed50a57ac870da91db8589a73a2c792dbd8d