OSDN Git Service

android-x86/frameworks-native.git
10 years agoam a02e9484: Merge "SurfaceFlinger: Prevent deadlock by updating an atomic layer...
Eric Penner [Fri, 1 Aug 2014 13:48:37 +0000 (13:48 +0000)]
am a02e9484: Merge "SurfaceFlinger: Prevent deadlock by updating an atomic layer set." into lmp-dev

* commit 'a02e9484be6894f8a4db7049d432f534a4e0a676':
  SurfaceFlinger: Prevent deadlock by updating an atomic layer set.

10 years agoam 68fd9e71: Merge "Sensor.cpp changes." into lmp-dev
Aravind Akella [Thu, 31 Jul 2014 16:55:59 +0000 (16:55 +0000)]
am 68fd9e71: Merge "Sensor.cpp changes." into lmp-dev

* commit '68fd9e71263cb16bbc4de1b5d26fbe4831480c9d':
  Sensor.cpp changes.

10 years agoam d4c3d389: Improve network connectivity dumping.
Lorenzo Colitti [Thu, 31 Jul 2014 02:04:20 +0000 (02:04 +0000)]
am d4c3d389: Improve network connectivity dumping.

* commit 'd4c3d38957870fa27423dbc55d99d68772fbd490':
  Improve network connectivity dumping.

10 years agoImprove network connectivity dumping.
Lorenzo Colitti [Wed, 30 Jul 2014 05:38:20 +0000 (14:38 +0900)]
Improve network connectivity dumping.

1. Explicitly dump IP addresses.

   Currently, some IP addresses are dumped using netcfg, but that
   only dumps the first IPv4 address on each interface. Instead,
   call ip -4 addr and ip -6 addr explicitly to dump all IPv4 and
   IPv6 addresses on the system.

2. Disable dumping /proc/net/{ipv6,}route, because:

 - We already dump all IPv4 and IPv6 routes in the tables that
   we use.
 - /proc/net/route is confusing because it only includes routes
   in the main table, which are all but unused. It's also in
   unreadable host-byte-order hex.
 - /proc/net/ipv6_route is confusing because it includes routes
   from all tables but does not say what table they are in.

3. Instead of dumping the contents of /proc/net/arp , use
   "ip -4 neigh show" and "ip -6 neigh show" to dump the
   neighbour caches for both IPv4 and IPv6.

Bug: 16663736
Change-Id: Id3e509b877ab7b00eb2399b6a9868b12245da2f0

10 years agoam 9ae79d86: Build fix for size_t on 64bit.
Michael Lentine [Wed, 30 Jul 2014 23:51:11 +0000 (23:51 +0000)]
am 9ae79d86: Build fix for size_t on 64bit.

* commit '9ae79d869a37633fa956a4f16f3fa45b23c189f1':
  Build fix for size_t on 64bit.

10 years agoBuild fix for size_t on 64bit.
Michael Lentine [Wed, 30 Jul 2014 23:42:12 +0000 (16:42 -0700)]
Build fix for size_t on 64bit.

Change-Id: Ic16895b30d78ba8a635b709adbae31a590501b20

10 years agoMerge "Sensor.cpp changes." into lmp-dev
Aravind Akella [Thu, 31 Jul 2014 16:46:14 +0000 (16:46 +0000)]
Merge "Sensor.cpp changes." into lmp-dev

10 years agoSensor.cpp changes.
Aravind Akella [Tue, 29 Jul 2014 19:27:41 +0000 (12:27 -0700)]
Sensor.cpp changes.

  1) Rename TILT_DETECTOR
  2) Set mFlags correctly for wake-up sensors.
  2) Log errors for incorrect sensor flags.

Change-Id: Ia449217d3b8a53353ad6b5c33c544ce37eb1de4f

10 years agoam 258ee43f: Build fix for printf with int64 and size_t
Michael Lentine [Wed, 30 Jul 2014 23:33:45 +0000 (23:33 +0000)]
am 258ee43f: Build fix for printf with int64 and size_t

* commit '258ee43fbcbc752cb08c134a12c08d5d99c4a866':
  Build fix for printf with int64 and size_t

10 years agoBuild fix for printf with int64 and size_t
Michael Lentine [Wed, 30 Jul 2014 23:24:48 +0000 (16:24 -0700)]
Build fix for printf with int64 and size_t

Change-Id: I642584cce7dd43e6d491a49228b0bce047d53354

10 years agoam fd9d183c: Build fix to use the correct source.
Michael Lentine [Wed, 30 Jul 2014 22:49:02 +0000 (22:49 +0000)]
am fd9d183c: Build fix to use the correct source.

* commit 'fd9d183cd8c859ab8480dea572430398438ba8b5':
  Build fix to use the correct source.

10 years agoBuild fix to use the correct source.
Michael Lentine [Wed, 30 Jul 2014 22:39:17 +0000 (15:39 -0700)]
Build fix to use the correct source.

Change-Id: If36710be600dd0e15c31682e0343f281baa55627

10 years agoam 7306c670: Add error for format and make sure setActiveConfig fails with an invalid...
Michael Lentine [Wed, 30 Jul 2014 22:25:08 +0000 (22:25 +0000)]
am 7306c670: Add error for format and make sure setActiveConfig fails with an invalid mode.

* commit '7306c670eb3ddb471d983a7458eb9f522afd0763':
  Add error for format and make sure setActiveConfig fails with an invalid mode.

10 years agoam 47e45405: Allow for resizing of Virtual Displays.
Michael Lentine [Wed, 30 Jul 2014 22:25:07 +0000 (22:25 +0000)]
am 47e45405: Allow for resizing of Virtual Displays.

* commit '47e45405d1533aa73307014f7bf371e118695cf3':
  Allow for resizing of Virtual Displays.

10 years agoAdd error for format and make sure setActiveConfig fails with an invalid mode.
Michael Lentine [Wed, 30 Jul 2014 20:00:37 +0000 (13:00 -0700)]
Add error for format and make sure setActiveConfig fails with an invalid mode.

Change-Id: Iacdb5cbad125787f96c64c88d432fc541c4cad1a

10 years agoAllow for resizing of Virtual Displays.
Michael Lentine [Fri, 18 Jul 2014 22:34:25 +0000 (15:34 -0700)]
Allow for resizing of Virtual Displays.

Modify SurfaceFlinger to use VirtualDisplaySurface in all cases when a virtual
display is used. Add functionality in VirtualDisplaySurface to resize the
buffers aquired in the QueueBufferOutput. Add transaction support in
SurfaceFlinger for resize. Add the modification of the size in DisplayDevice.

Change-Id: Iae7e3556dc06fd18d470adbbd76f7255f6e6dd6b
Tested: None

10 years agoam 1f6078ae: Have VirtualDisplays send SF resize messages when resizing
Michael Wright [Wed, 30 Jul 2014 21:34:46 +0000 (21:34 +0000)]
am 1f6078ae: Have VirtualDisplays send SF resize messages when resizing

* commit '1f6078aef71b1d3f080cd565adbec350c71088dd':
  Have VirtualDisplays send SF resize messages when resizing

10 years agoHave VirtualDisplays send SF resize messages when resizing
Michael Wright [Thu, 26 Jun 2014 23:01:02 +0000 (16:01 -0700)]
Have VirtualDisplays send SF resize messages when resizing

Change-Id: I76d15b22099a659450ec875836c9bf2b6584838f

10 years agoam 99c7dc59: Merge "Modified SurfaceFlinger to implment setActiveConfig and getActive...
Michael Lentine [Wed, 30 Jul 2014 18:03:04 +0000 (18:03 +0000)]
am 99c7dc59: Merge "Modified SurfaceFlinger to implment setActiveConfig and getActiveConfig." into lmp-dev

* commit '99c7dc596adeef45604a596075043e1f37daf7ca':
  Modified SurfaceFlinger to implment setActiveConfig and getActiveConfig.

10 years agoam cd36eb44: Merge "Modify EGL to disconnect the window when the surface gets destroy...
Michael Lentine [Wed, 30 Jul 2014 17:30:48 +0000 (17:30 +0000)]
am cd36eb44: Merge "Modify EGL to disconnect the window when the surface gets destroyed." into lmp-dev

* commit 'cd36eb445bcc55c88e157584d9ac229280459463':
  Modify EGL to disconnect the window when the surface gets destroyed.

10 years agoMerge "Modified SurfaceFlinger to implment setActiveConfig and getActiveConfig."...
Michael Lentine [Wed, 30 Jul 2014 17:52:57 +0000 (17:52 +0000)]
Merge "Modified SurfaceFlinger to implment setActiveConfig and getActiveConfig." into lmp-dev

10 years agoMerge "SurfaceFlinger: Prevent deadlock by updating an atomic layer set." into lmp-dev
Eric Penner [Thu, 31 Jul 2014 18:31:37 +0000 (18:31 +0000)]
Merge "SurfaceFlinger: Prevent deadlock by updating an atomic layer set." into lmp-dev

10 years agoSurfaceFlinger: Prevent deadlock by updating an atomic layer set.
Eric Penner [Tue, 29 Jul 2014 02:51:58 +0000 (19:51 -0700)]
SurfaceFlinger: Prevent deadlock by updating an atomic layer set.

Bug: 12934849

Change-Id: I9dede7316f1e967de4140bd731ac810115ea302f

10 years agoam 330cf473: Merge "Remove WAKE_UP_* sensor constants." into lmp-dev
Aravind Akella [Tue, 29 Jul 2014 19:13:26 +0000 (19:13 +0000)]
am 330cf473: Merge "Remove WAKE_UP_* sensor constants." into lmp-dev

* commit '330cf47336bc52e02a11954281486b38b3e7e6ad':
  Remove WAKE_UP_* sensor constants.

10 years agoModified SurfaceFlinger to implment setActiveConfig and getActiveConfig.
Michael Lentine [Mon, 14 Jul 2014 20:48:55 +0000 (13:48 -0700)]
Modified SurfaceFlinger to implment setActiveConfig and getActiveConfig.

This can be used to change the current display mode of the device.

Change-Id: Icdc3fb58389b861dc77b68102083da6f7a96eccb
Tested: None
(cherry picked from commit 2651fa94635a96d653038fb389a0dd827338f8d3)

10 years agoam 03414a1c: Turn on support for async cursor update in surfaceflinger.
Riley Andrews [Mon, 28 Jul 2014 23:58:30 +0000 (23:58 +0000)]
am 03414a1c: Turn on support for async cursor update in surfaceflinger.

* commit '03414a1cfe6c1222fd7723949bd622f9cba145aa':
  Turn on support for async cursor update in surfaceflinger.

10 years agoTurn on support for async cursor update in surfaceflinger.
Riley Andrews [Tue, 1 Jul 2014 21:22:59 +0000 (14:22 -0700)]
Turn on support for async cursor update in surfaceflinger.

If available, surfaceflinger will use the hwc setCursorPositionAsync()
api to change the position of supported cursor layers outside of
the usual prepare/set loop.

Change-Id: Ib3fc5c0c390b3489ddbba202379840a1d2748917

10 years agoam d8e5e813: Merge "BufferQueueProducer: fix which slot gets pre-allocated" into...
Antoine Labour [Sat, 26 Jul 2014 02:14:08 +0000 (02:14 +0000)]
am d8e5e813: Merge "BufferQueueProducer: fix which slot gets pre-allocated" into lmp-dev

* commit 'd8e5e813433c5c5e4fea29a24d993b5cfe436fe0':
  BufferQueueProducer: fix which slot gets pre-allocated

10 years agoam 524077ca: OMX: add supporting methods for flexible YUV
Lajos Molnar [Sat, 26 Jul 2014 02:00:40 +0000 (02:00 +0000)]
am 524077ca: OMX: add supporting methods for flexible YUV

* commit '524077caa6a5e5508af40cf2012d45087ed9e7f3':
  OMX: add supporting methods for flexible YUV

10 years agoOMX: add supporting methods for flexible YUV
Lajos Molnar [Fri, 25 Jul 2014 14:53:56 +0000 (07:53 -0700)]
OMX: add supporting methods for flexible YUV

Bug: 10706245
Change-Id: I2427930a34c468e49d3db7ba2865344f1fba2960

10 years agoMerge "Modify EGL to disconnect the window when the surface gets destroyed." into...
Michael Lentine [Wed, 30 Jul 2014 17:19:32 +0000 (17:19 +0000)]
Merge "Modify EGL to disconnect the window when the surface gets destroyed." into lmp-dev

10 years agoModify EGL to disconnect the window when the surface gets destroyed.
Michael Lentine [Wed, 23 Jul 2014 17:19:41 +0000 (10:19 -0700)]
Modify EGL to disconnect the window when the surface gets destroyed.

Bug: 14445579

Change-Id: I1d263ff6cffcb6e448761fca7ca4b06466ad65aa

10 years agoMerge "BufferQueueProducer: fix which slot gets pre-allocated" into lmp-dev
Antoine Labour [Sat, 26 Jul 2014 02:05:44 +0000 (02:05 +0000)]
Merge "BufferQueueProducer: fix which slot gets pre-allocated" into lmp-dev

10 years agoBufferQueueProducer: fix which slot gets pre-allocated
Antoine Labour [Sat, 26 Jul 2014 01:14:42 +0000 (18:14 -0700)]
BufferQueueProducer: fix which slot gets pre-allocated

Commit 78014f32da6d0ebf52fb34ebb7663863000520a0 introduced a bug that
made us pre-allocate buffers into the last available free slots instead
of the first available ones. This in turn caused more re-allocations,
and possibly triggered driver bugs.

Change-Id: Ic4a70e676b4f2bbb054bc873be62ced26e3099a0

10 years agoMerge "Remove WAKE_UP_* sensor constants." into lmp-dev
Aravind Akella [Tue, 29 Jul 2014 19:02:00 +0000 (19:02 +0000)]
Merge "Remove WAKE_UP_* sensor constants." into lmp-dev

10 years agoRemove WAKE_UP_* sensor constants.
Aravind Akella [Tue, 29 Jul 2014 01:01:11 +0000 (18:01 -0700)]
Remove WAKE_UP_* sensor constants.

Change-Id: I3de9d114ce82de4ed841932747d72e1f6f73c24f

10 years agoam c268068c: Merge "SensorService performance improvements." into lmp-dev
Aravind Akella [Fri, 25 Jul 2014 19:11:59 +0000 (19:11 +0000)]
am c268068c: Merge "SensorService performance improvements." into lmp-dev

* commit 'c268068c55afaaa441fda903b1b84a5b5c8a0a01':
  SensorService performance improvements.

10 years agoam 22956874: Merge "GLProducer: Reference count images rather than buffers." into...
Eric Penner [Thu, 24 Jul 2014 23:34:09 +0000 (23:34 +0000)]
am 22956874: Merge "GLProducer: Reference count images rather than buffers." into lmp-dev

* commit '2295687487a0f2cc3e77915d5b0fe794d3af4d20':
  GLProducer: Reference count images rather than buffers.

10 years agoam d1ceb8b7: Install symlinks in multilib build.
Ying Wang [Thu, 24 Jul 2014 23:32:37 +0000 (23:32 +0000)]
am d1ceb8b7: Install symlinks in multilib build.

* commit 'd1ceb8b78f4823c58185a22c5dd047c4174f91b1':
  Install symlinks in multilib build.

10 years agoam 7dc7f322: Add dumping of tombstones to dumpstate.
Christopher Ferris [Thu, 24 Jul 2014 19:48:11 +0000 (19:48 +0000)]
am 7dc7f322: Add dumping of tombstones to dumpstate.

* commit '7dc7f3221f26b771c266a26ec785eb74287922f1':
  Add dumping of tombstones to dumpstate.

10 years agoInstall symlinks in multilib build.
Ying Wang [Wed, 23 Jul 2014 18:33:24 +0000 (11:33 -0700)]
Install symlinks in multilib build.

(cherry picked from commit c3aed1eaefa9c824d5863d58db3954eb642cffe4)

Change-Id: Ic0082ffbd7ecf610476bccb0929e67427a05190d

10 years agoMerge "SensorService performance improvements." into lmp-dev
Aravind Akella [Fri, 25 Jul 2014 18:04:57 +0000 (18:04 +0000)]
Merge "SensorService performance improvements." into lmp-dev

10 years agoSensorService performance improvements.
Aravind Akella [Thu, 10 Jul 2014 23:01:10 +0000 (16:01 -0700)]
SensorService performance improvements.

  i) Send ack for wake_up sensors on the socket connection instead of using Binder RPC.
  ii) Cache events per connection in case there are write failures. Compute cache size
      from FIFO counts of sensors.
 iii) Send FlushCompleteEvent only for apps that explicitly called flush().

Change-Id: I018969736b7794b1b930529586f2294a03ee8667

10 years agoMerge "GLProducer: Reference count images rather than buffers." into lmp-dev
Eric Penner [Thu, 24 Jul 2014 19:14:50 +0000 (19:14 +0000)]
Merge "GLProducer: Reference count images rather than buffers." into lmp-dev

10 years agoAdd dumping of tombstones to dumpstate.
Christopher Ferris [Tue, 22 Jul 2014 23:08:19 +0000 (16:08 -0700)]
Add dumping of tombstones to dumpstate.

Dump only those tombstones modified within the last half an hour.

Change-Id: I8ce836b2e19eba7a9c0c31a4f312f9a382526da7

10 years agoresolved conflicts for merge of e8878921 to lmp-dev-plus-aosp
Christopher Ferris [Thu, 24 Jul 2014 01:03:00 +0000 (18:03 -0700)]
resolved conflicts for merge of e8878921 to lmp-dev-plus-aosp

Change-Id: I930dda54336a3f6d694cec06299f09e3580671a0

10 years agoam 2cbba477: add noteResetVideo/Audio to IBatteryStats
Chong Zhang [Wed, 23 Jul 2014 22:04:39 +0000 (22:04 +0000)]
am 2cbba477: add noteResetVideo/Audio to IBatteryStats

* commit '2cbba477bea136698944ece498115dbddd7bb659':
  add noteResetVideo/Audio to IBatteryStats

10 years agoadd noteResetVideo/Audio to IBatteryStats
Chong Zhang [Wed, 23 Jul 2014 21:47:00 +0000 (14:47 -0700)]
add noteResetVideo/Audio to IBatteryStats

Bug: 12979595
Change-Id: Ida474e539a3af0a85ec157a66bbf986430c8020e

10 years agoam 45e695a2: Merge "crash if getNativeBuffer() called on NULL GraphicBuffer" into...
Colin Cross [Wed, 23 Jul 2014 20:05:26 +0000 (20:05 +0000)]
am 45e695a2: Merge "crash if getNativeBuffer() called on NULL GraphicBuffer" into lmp-dev

* commit '45e695a248ab9548c1e8ab976572f7a978ecd64b':
  crash if getNativeBuffer() called on NULL GraphicBuffer

10 years agoam e9105be3: Merge "Install symlinks in multilib build."
Ying Wang [Wed, 23 Jul 2014 19:25:18 +0000 (19:25 +0000)]
am e9105be3: Merge "Install symlinks in multilib build."

* commit 'e9105be32f6856dcb4fa67bd9f9a4fa91bff9b97':
  Install symlinks in multilib build.

10 years agoMerge "Add dumping of tombstones to dumpstate."
Christopher Ferris [Thu, 24 Jul 2014 00:09:45 +0000 (00:09 +0000)]
Merge "Add dumping of tombstones to dumpstate."

10 years agoAdd dumping of tombstones to dumpstate.
Christopher Ferris [Tue, 22 Jul 2014 23:08:19 +0000 (16:08 -0700)]
Add dumping of tombstones to dumpstate.

Dump only those tombstones modified within the last half an hour.

Change-Id: I8ce836b2e19eba7a9c0c31a4f312f9a382526da7

10 years agoMerge "crash if getNativeBuffer() called on NULL GraphicBuffer" into lmp-dev
Colin Cross [Wed, 23 Jul 2014 19:56:38 +0000 (19:56 +0000)]
Merge "crash if getNativeBuffer() called on NULL GraphicBuffer" into lmp-dev

10 years agoMerge "Install symlinks in multilib build."
Ying Wang [Wed, 23 Jul 2014 19:20:09 +0000 (19:20 +0000)]
Merge "Install symlinks in multilib build."

10 years agoInstall symlinks in multilib build.
Ying Wang [Wed, 23 Jul 2014 18:33:24 +0000 (11:33 -0700)]
Install symlinks in multilib build.

Change-Id: Ia8a4995de127c42beebb3fe603366ce29a6f94d3

10 years agocrash if getNativeBuffer() called on NULL GraphicBuffer
Colin Cross [Tue, 22 Jul 2014 22:55:08 +0000 (15:55 -0700)]
crash if getNativeBuffer() called on NULL GraphicBuffer

If getNativeBuffer() is called on a NULL GraphicBuffer the
static_cast of this from GraphicBuffer* to ANativeWindowBuffer*
will return a small pointer like (ANativeWindowBuffer*)0x10.
This value can propagate past NULL checks until it causes a crash
far away from the original NULL pointer.  Crash immediately
instead.

Change-Id: Id614b9eb1484108b3c3c733545309844c4b87532

10 years agoam 9b365296: Merge "update battery status for audio/video" into lmp-dev
Chong Zhang [Wed, 23 Jul 2014 00:14:28 +0000 (00:14 +0000)]
am 9b365296: Merge "update battery status for audio/video" into lmp-dev

* commit '9b365296a745751c08731f369435e00682165f18':
  update battery status for audio/video

10 years agoMerge "update battery status for audio/video" into lmp-dev
Chong Zhang [Wed, 23 Jul 2014 00:02:53 +0000 (00:02 +0000)]
Merge "update battery status for audio/video" into lmp-dev

10 years agoupdate battery status for audio/video
Chong Zhang [Tue, 22 Jul 2014 16:12:21 +0000 (09:12 -0700)]
update battery status for audio/video

Bug: 12979595

Change-Id: Ic8e8d625becc6d1050f840ad63b7423f388eeba3

10 years agoam 78014f32: BufferQueue: release mutex while allocating. DO NOT MERGE
Antoine Labour [Tue, 22 Jul 2014 21:47:39 +0000 (21:47 +0000)]
am 78014f32: BufferQueue: release mutex while allocating. DO NOT MERGE

* commit '78014f32da6d0ebf52fb34ebb7663863000520a0':
  BufferQueue: release mutex while allocating. DO NOT MERGE

10 years agoBufferQueue: release mutex while allocating. DO NOT MERGE
Antoine Labour [Wed, 16 Jul 2014 04:17:03 +0000 (21:17 -0700)]
BufferQueue: release mutex while allocating. DO NOT MERGE

BufferQueueProducer::allocateBuffers used to keep the BufferQueueCore
mutex while doing the buffer allocation, which would cause the consumer
(which also needs the mutex) to block if the allocation takes a long
time.
Instead, release the mutex while doing the allocation, and grab it again
before filling the slots. Keep a bool state and a condvar to prevent
other producers from trying to allocate the slots while the mutex is
released.

Bug: 11792166

Change-Id: I4ab1319995ef892be2beba892f1fdbf50ce0416d
(cherry picked from commit ea96044470a29133321c681080870b9d31f81a19)

10 years agoGLProducer: Reference count images rather than buffers.
Eric Penner [Sat, 12 Jul 2014 02:08:04 +0000 (19:08 -0700)]
GLProducer: Reference count images rather than buffers.

In most cases, EGLImages can be created one-to-one with graphic
buffers in slots, but that was difficult due to some special
cases:
- ReleaseTexImage binds a custom 'unslotted' debug image.
- When all slots are freed, we still need to hang on to one.

These cases were handled by keeping an additional reference to
the 'current' buffer (mCurrentTextureBuf), but we would create
new images since we can't reference count them in the same way.
This patch uses the same semantics, except that it reference
counts the image (an EglImage wrapper class) rather than just
buffer. The wrapper class also detects the cases when we need
a new EGLImage, and only creates them in those rare cases.

Change-Id: I2915761dbe49d2a9bda1f59e60f857543634636b

10 years agoam 7b3f48d2: Use the count parameter to store all the uniform vectors, not just the...
Ben Clayton [Mon, 21 Jul 2014 15:11:53 +0000 (15:11 +0000)]
am 7b3f48d2: Use the count parameter to store all the uniform vectors, not just the first one. DO NOT MERGE.

* commit '7b3f48d2efc83094de70c24520bafacda3749a20':
  Use the count parameter to store all the uniform vectors, not just the first one. DO NOT MERGE.

10 years agoam c6414d13: Merge "Add OpenGL ES AEP feature xml." into lmp-dev
Jesse Hall [Mon, 21 Jul 2014 12:40:28 +0000 (12:40 +0000)]
am c6414d13: Merge "Add OpenGL ES AEP feature xml." into lmp-dev

* commit 'c6414d13a3611f9e29eac11a037c7c51b94d0c58':
  Add OpenGL ES AEP feature xml.

10 years agoUse the count parameter to store all the uniform vectors, not just the first one...
Ben Clayton [Thu, 17 Jul 2014 10:10:45 +0000 (11:10 +0100)]
Use the count parameter to store all the uniform vectors, not just the first one. DO NOT MERGE.

Change-Id: Ib56d859051f0b895de5c12ffa371cd4b2b65ac0b
(cherry picked from commit 31b0aec64ba44b1ee0581e00a588d84f4b081512)

10 years agoam d2a04922: Always #include <sys/...>, not <linux/...>.
Elliott Hughes [Sun, 20 Jul 2014 18:02:21 +0000 (18:02 +0000)]
am d2a04922: Always #include <sys/...>, not <linux/...>.

* commit 'd2a049220a8299ab19a96d6dcc12b7034da28d28':
  Always #include <sys/...>, not <linux/...>.

10 years agoam 119b765a: Fix implicit declaration of function \'prctl\' in installd.
Elliott Hughes [Sun, 20 Jul 2014 18:00:45 +0000 (18:00 +0000)]
am 119b765a: Fix implicit declaration of function \'prctl\' in installd.

* commit '119b765a053f650b4b47256245ce836f8c403d7f':
  Fix implicit declaration of function 'prctl' in installd.

10 years agoMerge "Add OpenGL ES AEP feature xml." into lmp-dev
Jesse Hall [Mon, 21 Jul 2014 04:51:56 +0000 (04:51 +0000)]
Merge "Add OpenGL ES AEP feature xml." into lmp-dev

10 years agoAlways #include <sys/...>, not <linux/...>.
Elliott Hughes [Sat, 19 Jul 2014 00:54:09 +0000 (17:54 -0700)]
Always #include <sys/...>, not <linux/...>.

(cherry picked from commit 1e4ee9afd2de12af98dbf476b73e2d43f605384c)

Change-Id: Ie005774484f98bb33c8f867cddb778ac04a1d4ea

10 years agoam 76cbbc07: Merge "Always #include <sys/...>, not <linux/...>."
Elliott Hughes [Sat, 19 Jul 2014 01:01:01 +0000 (01:01 +0000)]
am 76cbbc07: Merge "Always #include <sys/...>, not <linux/...>."

* commit '76cbbc07ea98d2a2f75173fe7ba5444d44ebd99f':
  Always #include <sys/...>, not <linux/...>.

10 years agoam 4dd0d800: Merge "Fix implicit declaration of function \'prctl\' in installd."
Elliott Hughes [Sat, 19 Jul 2014 00:38:11 +0000 (00:38 +0000)]
am 4dd0d800: Merge "Fix implicit declaration of function \'prctl\' in installd."

* commit '4dd0d8008a84d1b8e5d9cae2a3491fa92b79c388':
  Fix implicit declaration of function 'prctl' in installd.

10 years agoFix implicit declaration of function 'prctl' in installd.
Elliott Hughes [Sat, 19 Jul 2014 00:29:15 +0000 (17:29 -0700)]
Fix implicit declaration of function 'prctl' in installd.

(cherry picked from commit ec535c5ba515f58791aa5044ba116d35a10a188e)

Change-Id: I3da977d85ce544b23ff00934fdbd201d683e9210

10 years agoAdd OpenGL ES AEP feature xml.
Jesse Hall [Fri, 18 Jul 2014 18:58:19 +0000 (11:58 -0700)]
Add OpenGL ES AEP feature xml.

Bug: 15593761
Change-Id: Ia961c64c5bf33da752518921c570c7f6dafe724e

10 years agoam 31d825d7: Add glance gesture for doze mode.
Jeff Brown [Fri, 18 Jul 2014 03:16:59 +0000 (03:16 +0000)]
am 31d825d7: Add glance gesture for doze mode.

* commit '31d825d7edcaac7254f310d3cf85af9fc1927c25':
  Add glance gesture for doze mode.

10 years agoAdd glance gesture for doze mode.
Jeff Brown [Thu, 17 Jul 2014 22:13:55 +0000 (15:13 -0700)]
Add glance gesture for doze mode.

Change-Id: I038a706c3999200313ff5360c5ff1150ec081f08

10 years agoMerge "Always #include <sys/...>, not <linux/...>."
Elliott Hughes [Sat, 19 Jul 2014 00:54:52 +0000 (00:54 +0000)]
Merge "Always #include <sys/...>, not <linux/...>."

10 years agoAlways #include <sys/...>, not <linux/...>.
Elliott Hughes [Sat, 19 Jul 2014 00:54:09 +0000 (17:54 -0700)]
Always #include <sys/...>, not <linux/...>.

Change-Id: I9a3f574e0dd1d3ba39312254513b8b193b610c09

10 years agoFix implicit declaration of function 'prctl' in installd.
Elliott Hughes [Sat, 19 Jul 2014 00:29:15 +0000 (17:29 -0700)]
Fix implicit declaration of function 'prctl' in installd.

Change-Id: I469ee15a0a8a79d005b15aad5097b6c13c20ab7e

10 years agoMerge "Fix implicit declaration of function 'prctl' in installd."
Elliott Hughes [Sat, 19 Jul 2014 00:30:04 +0000 (00:30 +0000)]
Merge "Fix implicit declaration of function 'prctl' in installd."

10 years agoam 0d6180f1: dumpstate: fix dumping traces for vm processes on 64-bit
Colin Cross [Thu, 17 Jul 2014 21:29:24 +0000 (21:29 +0000)]
am 0d6180f1: dumpstate: fix dumping traces for vm processes on 64-bit

* commit '0d6180f122127a9541e6193e0e6eceb5b08c608c':
  dumpstate: fix dumping traces for vm processes on 64-bit

10 years agoam 8227caaa: Add XML files for new camera2 hardware features
Eino-Ville Talvala [Thu, 17 Jul 2014 20:59:32 +0000 (20:59 +0000)]
am 8227caaa: Add XML files for new camera2 hardware features

* commit '8227caaabfdb6c693bac125cffbe559993450258':
  Add XML files for new camera2 hardware features

10 years agodumpstate: fix dumping traces for vm processes on 64-bit
Colin Cross [Thu, 17 Jul 2014 02:00:46 +0000 (19:00 -0700)]
dumpstate: fix dumping traces for vm processes on 64-bit

dumpstate was not dumping any stack traces for vm processes because
it was failing the string compare for /system/bin/app_process.
64-bit devices use app_process32 and app_process64 instead of
app_process, and zygote64 alongside zygote.  Change the string
matching to be prefix matching.

(cherry picked from commit 8eb25d552b07ffa799b7b61ad46d0109e7512741)

Change-Id: I6b1568161fae278f0e6107990e5b750cf0ca902b

10 years agoam da92bfda: Merge "dumpstate: fix dumping traces for vm processes on 64-bit"
Colin Cross [Thu, 17 Jul 2014 16:32:07 +0000 (16:32 +0000)]
am da92bfda: Merge "dumpstate: fix dumping traces for vm processes on 64-bit"

* commit 'da92bfda815aaa5f29ff77a38fcc6d821f61804c':
  dumpstate: fix dumping traces for vm processes on 64-bit

10 years agoMerge "dumpstate: fix dumping traces for vm processes on 64-bit"
Colin Cross [Thu, 17 Jul 2014 16:25:06 +0000 (16:25 +0000)]
Merge "dumpstate: fix dumping traces for vm processes on 64-bit"

10 years agodumpstate: fix dumping traces for vm processes on 64-bit
Colin Cross [Thu, 17 Jul 2014 02:00:46 +0000 (19:00 -0700)]
dumpstate: fix dumping traces for vm processes on 64-bit

dumpstate was not dumping any stack traces for vm processes because
it was failing the string compare for /system/bin/app_process.
64-bit devices use app_process32 and app_process64 instead of
app_process, and zygote64 alongside zygote.  Change the string
matching to be prefix matching.

Change-Id: I6970e1b1fedfcd601f8db6af62852422fcb71d59

10 years agoAdd XML files for new camera2 hardware features
Eino-Ville Talvala [Tue, 15 Jul 2014 18:05:18 +0000 (11:05 -0700)]
Add XML files for new camera2 hardware features

Bug: 15415688
Change-Id: I1ea9f65b03c4fa06a5004f9d1d485935742001c8

10 years agoam c796b681: Offer to delete code cache directories.
Jeff Sharkey [Wed, 16 Jul 2014 17:00:31 +0000 (17:00 +0000)]
am c796b681: Offer to delete code cache directories.

* commit 'c796b681e52fbb792da9a5b4f30e935cc927c1d7':
  Offer to delete code cache directories.

10 years agoOffer to delete code cache directories.
Jeff Sharkey [Wed, 16 Jul 2014 04:49:51 +0000 (21:49 -0700)]
Offer to delete code cache directories.

Bug: 16187224
Change-Id: Ia860b051a34ffdfb4f6e0ea19f90cb73509c4eee

10 years agoam 7869e224: CW on L: Fix a SIGSEGV crash in sensor service.
Sean Wan [Tue, 15 Jul 2014 18:50:12 +0000 (18:50 +0000)]
am 7869e224: CW on L: Fix a SIGSEGV crash in sensor service.

* commit '7869e224aaaf717b5ab86df00b60fd5be5a0996c':
  CW on L: Fix a SIGSEGV crash in sensor service.

10 years agoam 2a0e4094: Add MAC for remaining service_manager functionality.
Riley Spahn [Tue, 15 Jul 2014 18:49:26 +0000 (18:49 +0000)]
am 2a0e4094: Add MAC for remaining service_manager functionality.

* commit '2a0e40945b5f7adf2055b2f439b3ba4c6389ddc3':
  Add MAC for remaining service_manager functionality.

10 years agoCW on L: Fix a SIGSEGV crash in sensor service.
Sean Wan [Tue, 15 Jul 2014 00:07:33 +0000 (17:07 -0700)]
CW on L: Fix a SIGSEGV crash in sensor service.

This is to fix b/16189080.

BUG: 16189080
Change-Id: I78d44e82f797c0808891acde609040c46745a0bb

10 years agoAdd MAC for remaining service_manager functionality.
Riley Spahn [Tue, 8 Jul 2014 16:03:00 +0000 (09:03 -0700)]
Add MAC for remaining service_manager functionality.

Add SELinux MAC for the list and find functionality
to service_manager. By default the list action uses
the service_manager_type attribute as its target
object.

(cherry picked from commit c67e6307cadb1f2cd876907c42d39b8374b93acd)

Change-Id: Iaf14b21346822a6b544091a0f4a9949117934b9a

10 years agoam 2ad9d8a6: Merge "Add sticky transform to surfaceflinger." into lmp-dev
Ruben Brunk [Mon, 14 Jul 2014 23:10:58 +0000 (23:10 +0000)]
am 2ad9d8a6: Merge "Add sticky transform to surfaceflinger." into lmp-dev

* commit '2ad9d8a6e71f80b373c3ed0fece26b286d846292':
  Add sticky transform to surfaceflinger.

10 years agoam b7d559be: Merge "surfaceflinger: Make all sources depend on Android.mk" into lmp-dev
Jesse Hall [Mon, 14 Jul 2014 23:10:57 +0000 (23:10 +0000)]
am b7d559be: Merge "surfaceflinger: Make all sources depend on Android.mk" into lmp-dev

* commit 'b7d559be1f931585c444a54637cd49cda248a8fb':
  surfaceflinger: Make all sources depend on Android.mk

10 years agoam f3381cf1: dump bluedroid kernel status do not merge
Matthew Xie [Mon, 14 Jul 2014 22:24:21 +0000 (22:24 +0000)]
am f3381cf1: dump bluedroid kernel status do not merge

* commit 'f3381cf1a645f857dccad9a4369ae23054e9d7d4':
  dump bluedroid kernel status do not merge

10 years agoam b154c42c: Improve memory coherence management in screenshot code [DO NOT MERGE]
Jesse Hall [Mon, 14 Jul 2014 21:39:12 +0000 (21:39 +0000)]
am b154c42c: Improve memory coherence management in screenshot code [DO NOT MERGE]

* commit 'b154c42c39c1499c26d88fff8ca642cd86f91098':
  Improve memory coherence management in screenshot code [DO NOT MERGE]

10 years agoam 24cd98ee: Compile libsurfaceflinger with Clang and -std=c++11 [DO NOT MERGE]
Jesse Hall [Mon, 14 Jul 2014 21:39:12 +0000 (21:39 +0000)]
am 24cd98ee: Compile libsurfaceflinger with Clang and -std=c++11 [DO NOT MERGE]

* commit '24cd98eef88ac93f80c327f8d74f0a1ae0aceee4':
  Compile libsurfaceflinger with Clang and -std=c++11 [DO NOT MERGE]

10 years agoresolved conflicts for merge of 652c4854 to lmp-dev-plus-aosp
Nick Kralevich [Mon, 14 Jul 2014 21:35:20 +0000 (14:35 -0700)]
resolved conflicts for merge of 652c4854 to lmp-dev-plus-aosp

10 years agodump bluedroid kernel status do not merge
Matthew Xie [Fri, 11 Jul 2014 20:58:17 +0000 (13:58 -0700)]
dump bluedroid kernel status do not merge

Change-Id: I4617f770088f86ceda2caf58bd1fdae81b3e31df
(cherry picked from commit ed3b9a09771a79b62fd4a5943d3845e7ceee6a34)

10 years agoam 721fdd3a: Merge "Add MAC for remaining service_manager functionality."
Nick Kralevich [Mon, 14 Jul 2014 20:46:46 +0000 (20:46 +0000)]
am 721fdd3a: Merge "Add MAC for remaining service_manager functionality."

* commit '721fdd3a6a6851079c1984ea7a8267bdaaf53c80':
  Add MAC for remaining service_manager functionality.