OSDN Git Service

android-x86/frameworks-native.git
10 years agoam 4b46776f: am 8a6cd189: am f60564a1: Merge "Use asynchronous lock/unlock API"
Greg Hackmann [Fri, 9 May 2014 21:54:48 +0000 (21:54 +0000)]
am 4b46776f: am 8a6cd189: am f60564a1: Merge "Use asynchronous lock/unlock API"

* commit '4b46776ff88c5a365700b88e8b2b04e1b2c77e6e':
  Use asynchronous lock/unlock API

10 years agoam 8a6cd189: am f60564a1: Merge "Use asynchronous lock/unlock API"
Greg Hackmann [Fri, 9 May 2014 21:13:16 +0000 (21:13 +0000)]
am 8a6cd189: am f60564a1: Merge "Use asynchronous lock/unlock API"

* commit '8a6cd189034ec4709a66e581b41deba56c028291':
  Use asynchronous lock/unlock API

10 years agoam f60564a1: Merge "Use asynchronous lock/unlock API"
Greg Hackmann [Fri, 9 May 2014 21:08:39 +0000 (21:08 +0000)]
am f60564a1: Merge "Use asynchronous lock/unlock API"

* commit 'f60564a13e917877c76c99294194a621d872076b':
  Use asynchronous lock/unlock API

10 years agoMerge "Use asynchronous lock/unlock API"
Greg Hackmann [Fri, 9 May 2014 21:02:20 +0000 (21:02 +0000)]
Merge "Use asynchronous lock/unlock API"

10 years agoam 39cde06a: (-s ours) am b6601961: Merge "DO NOT MERGE Add "dumpsys SurfaceFlinger...
Andy McFadden [Fri, 9 May 2014 18:00:54 +0000 (18:00 +0000)]
am 39cde06a: (-s ours) am b6601961: Merge "DO NOT MERGE Add "dumpsys SurfaceFlinger --dispsync"" into klp-modular-dev

* commit '39cde06aee5bc9338b1ed26513233cb54e9b446d':
  DO NOT MERGE Add "dumpsys SurfaceFlinger --dispsync"

10 years agoam b6601961: Merge "DO NOT MERGE Add "dumpsys SurfaceFlinger --dispsync"" into klp...
Andy McFadden [Fri, 9 May 2014 17:57:12 +0000 (17:57 +0000)]
am b6601961: Merge "DO NOT MERGE Add "dumpsys SurfaceFlinger --dispsync"" into klp-modular-dev

* commit 'b66019615da8750588f1233a77b9c686b0a248c3':
  DO NOT MERGE Add "dumpsys SurfaceFlinger --dispsync"

10 years agoMerge "DO NOT MERGE Add "dumpsys SurfaceFlinger --dispsync"" into klp-modular-dev
Andy McFadden [Fri, 9 May 2014 17:54:29 +0000 (17:54 +0000)]
Merge "DO NOT MERGE Add "dumpsys SurfaceFlinger --dispsync"" into klp-modular-dev

10 years agoMerge "Add "dumpsys SurfaceFlinger --dispsync""
Andy McFadden [Fri, 9 May 2014 17:49:32 +0000 (17:49 +0000)]
Merge "Add "dumpsys SurfaceFlinger --dispsync""

10 years agoDO NOT MERGE Add "dumpsys SurfaceFlinger --dispsync"
Andy McFadden [Thu, 8 May 2014 21:53:26 +0000 (14:53 -0700)]
DO NOT MERGE Add "dumpsys SurfaceFlinger --dispsync"

Dumps the current DispSync state.

Bug 14651879

(this is a near-cherrypick of Ide4e6dbd58b117bc1a6b97b57d10cd92ec86dc84)

Change-Id: I6e6c8452ede5c2d5098db1b884d28226e77d9a03

10 years agoam 127b798f: (-s ours) am 0b42423c: DO NOT MERGE: Add standard android.hardware.camer...
Eino-Ville Talvala [Fri, 9 May 2014 15:55:44 +0000 (15:55 +0000)]
am 127b798f: (-s ours) am 0b42423c: DO NOT MERGE: Add standard android.hardware.camera.external permission file.

* commit '127b798ff9bd6a76c3a5a8816b59a92586e355d3':
  DO NOT MERGE: Add standard android.hardware.camera.external permission file.

10 years agoam 0b42423c: DO NOT MERGE: Add standard android.hardware.camera.external permission...
Eino-Ville Talvala [Fri, 9 May 2014 15:48:02 +0000 (15:48 +0000)]
am 0b42423c: DO NOT MERGE: Add standard android.hardware.camera.external permission file.

* commit '0b42423c59a12674d954079a9eb1f58a55fc55a6':
  DO NOT MERGE: Add standard android.hardware.camera.external permission file.

10 years agoAdd "dumpsys SurfaceFlinger --dispsync"
Andy McFadden [Thu, 8 May 2014 21:53:26 +0000 (14:53 -0700)]
Add "dumpsys SurfaceFlinger --dispsync"

Dumps the current DispSync state.

Bug 14651879

Change-Id: Ide4e6dbd58b117bc1a6b97b57d10cd92ec86dc84

10 years agoMerge "Add mutex"
Andy McFadden [Thu, 8 May 2014 23:10:31 +0000 (23:10 +0000)]
Merge "Add mutex"

10 years agoAdd mutex
Andy McFadden [Thu, 8 May 2014 21:56:50 +0000 (14:56 -0700)]
Add mutex

Change-Id: I81072031e74a5cca8384e4e8bce4babf2187d8bb

10 years agoDO NOT MERGE: Add standard android.hardware.camera.external permission file.
Eino-Ville Talvala [Thu, 8 May 2014 18:43:53 +0000 (11:43 -0700)]
DO NOT MERGE: Add standard android.hardware.camera.external permission file.

Any device that lists the android.hardware.camera.external feature
must also list android.hardware.camera.any feature.

Change-Id: I7accd27501e66e99a8addaeed890df709208fd13

10 years agoMerge "Add standard android.hardware.camera.external permission file."
Eino-Ville Talvala [Thu, 8 May 2014 21:33:54 +0000 (21:33 +0000)]
Merge "Add standard android.hardware.camera.external permission file."

10 years agoAdd standard android.hardware.camera.external permission file.
Eino-Ville Talvala [Thu, 8 May 2014 18:43:53 +0000 (11:43 -0700)]
Add standard android.hardware.camera.external permission file.

Any device that lists the android.hardware.camera.external feature
must also list android.hardware.camera.any feature.

Change-Id: I7accd27501e66e99a8addaeed890df709208fd13

10 years agoam 114d71ce: am 214b4a61: am 8155ce81: Merge "Remove unused LOCAL_LDLIBS."
Ying Wang [Thu, 8 May 2014 18:23:58 +0000 (18:23 +0000)]
am 114d71ce: am 214b4a61: am 8155ce81: Merge "Remove unused LOCAL_LDLIBS."

* commit '114d71ce7c6ec1ce0327c812a42966c4258b4a46':
  Remove unused LOCAL_LDLIBS.

10 years agoam 214b4a61: am 8155ce81: Merge "Remove unused LOCAL_LDLIBS."
Ying Wang [Wed, 7 May 2014 23:01:19 +0000 (23:01 +0000)]
am 214b4a61: am 8155ce81: Merge "Remove unused LOCAL_LDLIBS."

* commit '214b4a61ac3fa63e35c79157d3acf0d8b692b3ac':
  Remove unused LOCAL_LDLIBS.

10 years agoam 8155ce81: Merge "Remove unused LOCAL_LDLIBS."
Ying Wang [Wed, 7 May 2014 22:54:27 +0000 (22:54 +0000)]
am 8155ce81: Merge "Remove unused LOCAL_LDLIBS."

* commit '8155ce81d4b150e6e453d9443f9fea4cc2c546d2':
  Remove unused LOCAL_LDLIBS.

10 years agoMerge "Remove unused LOCAL_LDLIBS."
Ying Wang [Wed, 7 May 2014 22:48:40 +0000 (22:48 +0000)]
Merge "Remove unused LOCAL_LDLIBS."

10 years agoRemove unused LOCAL_LDLIBS.
Ying Wang [Wed, 7 May 2014 22:26:38 +0000 (15:26 -0700)]
Remove unused LOCAL_LDLIBS.

Change-Id: I62904c410a66f256da8253764577acae18f964f8

10 years agoMerge "Fix InputEvent_test."
Narayan Kamath [Wed, 7 May 2014 08:16:43 +0000 (08:16 +0000)]
Merge "Fix InputEvent_test."

10 years agoMerge "Enable changing display configuration"
Dan Stoza [Tue, 6 May 2014 21:08:16 +0000 (21:08 +0000)]
Merge "Enable changing display configuration"

10 years agoFix InputEvent_test.
Narayan Kamath [Tue, 6 May 2014 10:31:37 +0000 (11:31 +0100)]
Fix InputEvent_test.

Axis 0 sets the MSB and Axis 63 sets the LSB, and not
the other way round like the test expects.

This was broken by commit 38dcdff3087f01 which moved this
code over to using BitSet.

Change-Id: I63a72abe7ce14720b0bf26e5f6d651bb42452f79

10 years agoMerge "Change InputMessage.motion.pointerSize to a uint32_t."
Narayan Kamath [Tue, 6 May 2014 10:00:56 +0000 (10:00 +0000)]
Merge "Change InputMessage.motion.pointerSize to a uint32_t."

10 years agoMerge "HEVC Support Added HEVC enums and structures to OMX header files"
Rachad [Tue, 6 May 2014 00:39:09 +0000 (00:39 +0000)]
Merge "HEVC Support Added HEVC enums and structures to OMX header files"

10 years agoEnable changing display configuration
Dan Stoza [Fri, 2 May 2014 22:26:25 +0000 (15:26 -0700)]
Enable changing display configuration

This allows querying and switching display device configurations
through the ISurfaceComposer/SurfaceComposerClient interface.

Bug: 14320401
Change-Id: I8c22165698950e5da32204c1c4da92122f91a715

10 years agoam 9fdfa60a: am 424b093a: am ef923fcf: Merge "fix GraphicBuffer::flatten crash issue...
Jesse Hall [Mon, 5 May 2014 22:53:55 +0000 (22:53 +0000)]
am 9fdfa60a: am 424b093a: am ef923fcf: Merge "fix GraphicBuffer::flatten crash issue when handle is null"

* commit '9fdfa60aaf477cc944013b637a2a35d357d4340f':
  fix GraphicBuffer::flatten crash issue when handle is null

10 years agoam 424b093a: am ef923fcf: Merge "fix GraphicBuffer::flatten crash issue when handle...
Jesse Hall [Mon, 5 May 2014 22:51:27 +0000 (22:51 +0000)]
am 424b093a: am ef923fcf: Merge "fix GraphicBuffer::flatten crash issue when handle is null"

* commit '424b093a58c9f428081da991afa347183bf07847':
  fix GraphicBuffer::flatten crash issue when handle is null

10 years agoam ef923fcf: Merge "fix GraphicBuffer::flatten crash issue when handle is null"
Jesse Hall [Mon, 5 May 2014 22:48:50 +0000 (22:48 +0000)]
am ef923fcf: Merge "fix GraphicBuffer::flatten crash issue when handle is null"

* commit 'ef923fcfd3db9ca1d7df48273cf9a6258aaf15c2':
  fix GraphicBuffer::flatten crash issue when handle is null

10 years agoMerge "fix GraphicBuffer::flatten crash issue when handle is null"
Jesse Hall [Mon, 5 May 2014 22:45:49 +0000 (22:45 +0000)]
Merge "fix GraphicBuffer::flatten crash issue when handle is null"

10 years agoHEVC Support
Rachad [Fri, 2 May 2014 01:42:43 +0000 (18:42 -0700)]
HEVC Support
Added HEVC enums and structures to OMX header files

Change-Id: If4135c6df86df51098fc7a979543975ed70b0641

10 years agoam 57fdbbda: am 4314ccd1: am 70278fbf: Merge "Add error message for hints when except...
Jesse Hall [Mon, 5 May 2014 17:33:01 +0000 (17:33 +0000)]
am 57fdbbda: am 4314ccd1: am 70278fbf: Merge "Add error message for hints when exceptions occur during binder transactions."

* commit '57fdbbda2c475d2abdd828177f942ddb6d164bef':
  Add error message for hints when exceptions occur during binder transactions.

10 years agoam 4314ccd1: am 70278fbf: Merge "Add error message for hints when exceptions occur...
Jesse Hall [Mon, 5 May 2014 17:30:19 +0000 (17:30 +0000)]
am 4314ccd1: am 70278fbf: Merge "Add error message for hints when exceptions occur during binder transactions."

* commit '4314ccd1ba9fe773b0fc91f0a08dc536ebce8dfe':
  Add error message for hints when exceptions occur during binder transactions.

10 years agoam 70278fbf: Merge "Add error message for hints when exceptions occur during binder...
Jesse Hall [Mon, 5 May 2014 17:27:46 +0000 (17:27 +0000)]
am 70278fbf: Merge "Add error message for hints when exceptions occur during binder transactions."

* commit '70278fbfe012c1fce3e63a41ffb9feaf1e53a64a':
  Add error message for hints when exceptions occur during binder transactions.

10 years agoMerge "Add error message for hints when exceptions occur during binder transactions."
Jesse Hall [Mon, 5 May 2014 17:26:00 +0000 (17:26 +0000)]
Merge "Add error message for hints when exceptions occur during binder transactions."

10 years agoUse asynchronous lock/unlock API
Francis Hart [Tue, 1 Apr 2014 12:30:53 +0000 (15:30 +0300)]
Use asynchronous lock/unlock API

The gralloc API now provides a way for using lock/unlock with the Android
explicit synchronisation concept. This changes updates the GraphicBuffer class
to also expose this functionality, and updates the Surface class to make use of
in line with the dequeueBuffer/queueBuffer mechanism.

This new behaviour is dependent on GRALLOC_MODULE_API_VERSION_0_3. If the local
gralloc module does not support this then the existing synchronous lock/unlock
mechanism will be used.

Change-Id: I77daa1beb197b63b1c2f281b8414ac4ae4b5b03c

10 years agoMerge "Improve SurfaceFlinger PTS estimation"
Andy McFadden [Fri, 2 May 2014 17:59:22 +0000 (17:59 +0000)]
Merge "Improve SurfaceFlinger PTS estimation"

10 years agoImprove SurfaceFlinger PTS estimation
Andy McFadden [Fri, 25 Apr 2014 23:58:34 +0000 (16:58 -0700)]
Improve SurfaceFlinger PTS estimation

Get the next refresh time from DispSync instead of guessing based
on the current time.

Change-Id: I8dc72a3217bfd4e9b4c905034194d1a298cad69a

10 years agoChange InputMessage.motion.pointerSize to a uint32_t.
Narayan Kamath [Fri, 2 May 2014 16:53:33 +0000 (17:53 +0100)]
Change InputMessage.motion.pointerSize to a uint32_t.

This ensures it's the same size in both 32 and 64 bit
processes and also brings it in line with struct
MotionEntry.

Change-Id: I66bb8b8d8664763e7dcbd489686051f563d5e1dc

10 years agoMerge "Handle failed requestBuffer after successful dequeueBuffer"
Jesse Hall [Fri, 2 May 2014 16:50:40 +0000 (16:50 +0000)]
Merge "Handle failed requestBuffer after successful dequeueBuffer"

10 years agoam 1f9f945c: am 19f7cd5c: Merge "Remove some features from wearables" into klp-modula...
Adam Lesinski [Thu, 1 May 2014 21:37:35 +0000 (21:37 +0000)]
am 1f9f945c: am 19f7cd5c: Merge "Remove some features from wearables" into klp-modular-dev

* commit '1f9f945c8d66aab510df82a931c2328b3f6a2acd':
  Remove some features from wearables

10 years agoam 19f7cd5c: Merge "Remove some features from wearables" into klp-modular-dev
Adam Lesinski [Thu, 1 May 2014 21:33:56 +0000 (21:33 +0000)]
am 19f7cd5c: Merge "Remove some features from wearables" into klp-modular-dev

* commit '19f7cd5c635b295e3e15ca2129a1f24fe9df98ec':
  Remove some features from wearables

10 years agoMerge "Remove some features from wearables" into klp-modular-dev
Adam Lesinski [Thu, 1 May 2014 21:30:42 +0000 (21:30 +0000)]
Merge "Remove some features from wearables" into klp-modular-dev

10 years agoRemove some features from wearables
Adam Lesinski [Wed, 23 Apr 2014 20:19:53 +0000 (13:19 -0700)]
Remove some features from wearables

It was incorrectly assumed that these devices must require
a device admin, camera, and network location.

Change-Id: I51942ece6c0b9f824bfc3ee82917a2496ae81788

10 years agoSurfaceFlinger: Adds the functionality to reduce refresh rate to half of
Ruchi Kandoi [Thu, 24 Apr 2014 23:42:35 +0000 (16:42 -0700)]
SurfaceFlinger: Adds the functionality to reduce refresh rate to half of
the default.

Feature added for the low power mode.

Change-Id: I2849e5ea335c0d2509fea1c315392bce7f20451d
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
10 years agoHandle failed requestBuffer after successful dequeueBuffer
Jesse Hall [Tue, 29 Apr 2014 23:14:14 +0000 (16:14 -0700)]
Handle failed requestBuffer after successful dequeueBuffer

If the virtual display consumer disconnects after the
VirtualDisplaySurface dequeues a buffer but before it requests it, the
request will fail. Previously the error was ignored, and the caller
would get a success result but a NULL buffer. Now the dequeued buffer
is cancelled and the error propagated to the caller.

Bug: 14140551
Change-Id: I91547885c2cf6063dc7a8f02d97f2df282cdde2c

10 years agoam fc4e3788: am 44df726a: am cb079c89: Merge "Add instruction-set arguments to instal...
Narayan Kamath [Thu, 1 May 2014 14:31:14 +0000 (14:31 +0000)]
am fc4e3788: am 44df726a: am cb079c89: Merge "Add instruction-set arguments to installd commands."

* commit 'fc4e37887707588d18297188dd6922224901b8d0':
  Add instruction-set arguments to installd commands.

10 years agoam 44df726a: am cb079c89: Merge "Add instruction-set arguments to installd commands."
Narayan Kamath [Thu, 1 May 2014 14:05:10 +0000 (14:05 +0000)]
am 44df726a: am cb079c89: Merge "Add instruction-set arguments to installd commands."

* commit '44df726a6cf4fe1119e146c9a18c78966a6305d3':
  Add instruction-set arguments to installd commands.

10 years agoam cb079c89: Merge "Add instruction-set arguments to installd commands."
Narayan Kamath [Thu, 1 May 2014 14:00:54 +0000 (14:00 +0000)]
am cb079c89: Merge "Add instruction-set arguments to installd commands."

* commit 'cb079c899ac9d9c5ec90840249821f58c817406c':
  Add instruction-set arguments to installd commands.

10 years agoMerge "Add instruction-set arguments to installd commands."
Narayan Kamath [Thu, 1 May 2014 13:57:12 +0000 (13:57 +0000)]
Merge "Add instruction-set arguments to installd commands."

10 years agoAdd instruction-set arguments to installd commands.
Narayan Kamath [Fri, 11 Apr 2014 12:17:00 +0000 (13:17 +0100)]
Add instruction-set arguments to installd commands.

The instruction-set is used to construct the dalvik cache
path and is also passed down to dex2oat.

(cherry picked from commit 791781bfb8cdcdf90e32968159603e2fe5098d94)

Change-Id: I43396b16f6eaecacf0fb7d052526fc5a239167ac

10 years agoam 45fcfb48: am 85453ecc: dumpstate: increase poll timeout waiting for SIGQUIT logging
Nick Vaccaro [Wed, 30 Apr 2014 23:35:03 +0000 (23:35 +0000)]
am 45fcfb48: am 85453ecc: dumpstate: increase poll timeout waiting for SIGQUIT logging

* commit '45fcfb48ef9e65747e7a3f35e1a4da232f6e161a':
  dumpstate: increase poll timeout waiting for SIGQUIT logging

10 years agoam 85453ecc: dumpstate: increase poll timeout waiting for SIGQUIT logging
Nick Vaccaro [Wed, 30 Apr 2014 20:35:15 +0000 (20:35 +0000)]
am 85453ecc: dumpstate: increase poll timeout waiting for SIGQUIT logging

* commit '85453ecc90a94564e586f0f97c9ec2c0cf831501':
  dumpstate: increase poll timeout waiting for SIGQUIT logging

10 years agodumpstate: increase poll timeout waiting for SIGQUIT logging
Nick Vaccaro [Wed, 30 Apr 2014 18:19:23 +0000 (11:19 -0700)]
dumpstate: increase poll timeout waiting for SIGQUIT logging

Increased the maximum time dumpstate will wait for SIGQUIT process
to finish dumping its thread stacks to the logfile to 5 seconds.

Bug: 14057177
Change-Id: I0b43004512855d202f2fe0ea7b0e934e77a3a070

10 years agoam b009280d: am e4f00b2a: (-s ours) Merge commit \'6d05ef2310bdc84811d5b0385b009ad114...
Bill Yi [Wed, 30 Apr 2014 12:17:24 +0000 (12:17 +0000)]
am b009280d: am e4f00b2a: (-s ours) Merge commit \'6d05ef2310bdc84811d5b0385b009ad11447a749\' into HEAD

* commit 'b009280d5acb85a7c7e51daf52a9834ba63a8ae7':

10 years agoAdd instruction-set arguments to installd commands.
Narayan Kamath [Fri, 11 Apr 2014 12:17:00 +0000 (13:17 +0100)]
Add instruction-set arguments to installd commands.

The instruction-set is used to construct the dalvik cache
path and is also passed down to dex2oat.

Change-Id: Ie480841b3e917dabe23ad4d5f4a0b08990500a51

10 years agoam e4f00b2a: (-s ours) Merge commit \'6d05ef2310bdc84811d5b0385b009ad11447a749\'...
Bill Yi [Wed, 30 Apr 2014 00:58:53 +0000 (00:58 +0000)]
am e4f00b2a: (-s ours) Merge commit \'6d05ef2310bdc84811d5b0385b009ad11447a749\' into HEAD

* commit 'e4f00b2aaea069474c342e257a0e8e191245905a':

10 years agoMerge "Add TYPE_MAGNIFICATION_OVERLAY to isTrustedOverlay"
Conley Owens [Wed, 30 Apr 2014 00:09:36 +0000 (00:09 +0000)]
Merge "Add TYPE_MAGNIFICATION_OVERLAY to isTrustedOverlay"

10 years agoMerge "Move key attribute information out of native."
Michael Wright [Tue, 29 Apr 2014 22:31:17 +0000 (22:31 +0000)]
Merge "Move key attribute information out of native."

10 years agoMerge commit '6d05ef2310bdc84811d5b0385b009ad11447a749' into HEAD
Bill Yi [Tue, 29 Apr 2014 18:34:19 +0000 (11:34 -0700)]
Merge commit '6d05ef2310bdc84811d5b0385b009ad11447a749' into HEAD

10 years agoAdd error message for hints when exceptions occur during binder transactions.
Jun Jiang [Tue, 29 Apr 2014 06:22:10 +0000 (14:22 +0800)]
Add error message for hints when exceptions occur during binder transactions.

It can help to detect some kind of error, such as why GraphicBuffer::flatten
will crash when handle is null.

Change-Id: I703cd035b96edb7afb324cf24d8230d4e55f4f52
Signed-off-by: Jun Jiang <jun.a.jiang@intel.com>
10 years agofix GraphicBuffer::flatten crash issue when handle is null
Jun Jiang [Tue, 29 Apr 2014 06:15:36 +0000 (14:15 +0800)]
fix GraphicBuffer::flatten crash issue when handle is null

Change-Id: I0d3727e4366cac355791e52cb7790bf8f3c51527
Signed-off-by: Jun Jiang <jun.a.jiang@intel.com>
10 years agoam 58ea37fe: am 108ed9fa: Merge "Fix incorrect odex path handling"
Brian Carlstrom [Mon, 28 Apr 2014 22:10:01 +0000 (22:10 +0000)]
am 58ea37fe: am 108ed9fa: Merge "Fix incorrect odex path handling"

* commit '58ea37fe26fc733db478e606374f08d8a9d070cc':
  Fix incorrect odex path handling

10 years agoam 108ed9fa: Merge "Fix incorrect odex path handling"
Brian Carlstrom [Mon, 28 Apr 2014 22:06:09 +0000 (22:06 +0000)]
am 108ed9fa: Merge "Fix incorrect odex path handling"

* commit '108ed9fa946ec516c0d853927c76ebbfca1dcb23':
  Fix incorrect odex path handling

10 years agoMerge "Fix incorrect odex path handling"
Brian Carlstrom [Mon, 28 Apr 2014 22:00:35 +0000 (22:00 +0000)]
Merge "Fix incorrect odex path handling"

10 years agoFix incorrect odex path handling
Chih-Wei Huang [Mon, 28 Apr 2014 07:47:45 +0000 (15:47 +0800)]
Fix incorrect odex path handling

It's wrong to just concatenate the apk_path and .odex.
The bug prevents the prebuilt odex being used since Kitkat.

The patch is copied from the code of JellyBean.

Change-Id: I0ce8a877e3df8ae1ab9a0e3aeeef2d5253efc223

10 years agoMerge "Add feature for voice recognition software."
Dianne Hackborn [Fri, 25 Apr 2014 17:06:05 +0000 (17:06 +0000)]
Merge "Add feature for voice recognition software."

10 years agoMerge "Update HWC dump format"
Andy McFadden [Fri, 25 Apr 2014 14:23:28 +0000 (14:23 +0000)]
Merge "Update HWC dump format"

10 years agoMerge "Revert "Temporarily turn on callstack logging""
John Reck [Thu, 24 Apr 2014 23:49:19 +0000 (23:49 +0000)]
Merge "Revert "Temporarily turn on callstack logging""

10 years agoRevert "Temporarily turn on callstack logging"
John Reck [Thu, 24 Apr 2014 23:34:32 +0000 (23:34 +0000)]
Revert "Temporarily turn on callstack logging"

Bug: 13927881

'twas useful and perhaps should be always enabled (please?)
but not like this, so reverting.

This reverts commit db4488565a791fc769b0b0b6ca4a0689eb3d5f4e.

Change-Id: I9a78c6d6e48342ef6ca1f2f7b5303ca47ccc6086

10 years agoMerge "Add VP8 encoder extra parameters structure to support configuring encoder...
Alex Glaznev [Thu, 24 Apr 2014 21:53:29 +0000 (21:53 +0000)]
Merge "Add VP8 encoder extra parameters structure to support configuring encoder key frame interval, number of temporal layers, type of temporal layer pattern and minimum and maximum quantization parameters."

10 years agoMerge "Enable wakeup sensors."
Aravind Akella [Thu, 24 Apr 2014 00:41:07 +0000 (00:41 +0000)]
Merge "Enable wakeup sensors."

10 years agoAdd VP8 encoder extra parameters structure to support
Alex Glaznev [Mon, 7 Apr 2014 18:09:56 +0000 (11:09 -0700)]
Add VP8 encoder extra parameters structure to support
configuring encoder key frame interval, number of
temporal layers, type of temporal layer pattern
and minimum and maximum quantization parameters.

Bug: 11969958
Change-Id: I561e03148a7c5d928b5bf350ad3631ae69871065

10 years agoEnable wakeup sensors.
Aravind Akella [Wed, 12 Feb 2014 02:58:52 +0000 (18:58 -0800)]
Enable wakeup sensors.

SensorService should hold a wakelock till the app reads events from a wakeup sensor. Currently drivers hold a wakelock with a
timeout while delivering events from a wake up sensor like Significant Motion. This hack can be removed now.

Bug: 9774884
Change-Id: If3b5acb99c9cf0cd29012fcfa9d6b04c74133d01

10 years agoAdd TYPE_MAGNIFICATION_OVERLAY to isTrustedOverlay
Conley Owens [Wed, 23 Apr 2014 20:50:03 +0000 (13:50 -0700)]
Add TYPE_MAGNIFICATION_OVERLAY to isTrustedOverlay

This fixes a bug where a View with filterTouchesWhenObscured will have
all touches filtered when in magnification accessibility mode. This is
due to magnification being a separate Window over top of the running
Activity. The method onFilterTouchEventForSecurity in View will then
always return false when filterTouchesWhenObscured is enabled on the
View. By adding the magnification Window to the list of Trusted Overlays
we can ensure that touches will work properly with this property
enabled.

This corresponds to AOSP change
I07706588a625682d05da5cb19f401139eb08a54c

Change-Id: Iba095433a1f9045349d1b47a58a33b850ed31c97

10 years agoMerge "Remove deprecated BufferQueue constructor"
Dan Stoza [Wed, 23 Apr 2014 16:46:04 +0000 (16:46 +0000)]
Merge "Remove deprecated BufferQueue constructor"

10 years agoam bba1385d: am f3c07d4f: Fix virtual display nesting
Dan Stoza [Wed, 23 Apr 2014 14:38:47 +0000 (14:38 +0000)]
am bba1385d: am f3c07d4f: Fix virtual display nesting

* commit 'bba1385d1cfdbe80d7e5f441d943edd4c5708eca':
  Fix virtual display nesting

10 years agoam f3c07d4f: Fix virtual display nesting
Dan Stoza [Wed, 23 Apr 2014 14:36:20 +0000 (14:36 +0000)]
am f3c07d4f: Fix virtual display nesting

* commit 'f3c07d4f70f33c2fe5b14ca8fbcdfa4133cc72c7':
  Fix virtual display nesting

10 years agoMove key attribute information out of native.
Michael Wright [Tue, 22 Apr 2014 22:03:51 +0000 (15:03 -0700)]
Move key attribute information out of native.

Native doesn't ever actually care about the attributes of keys, so
move all of it up into the managed layer and move all of the key
names down so they're defined once.

Change-Id: Ic8ded13ce050b2b98744735ff50d11e8d882d7d5

10 years agoUpdate HWC dump format
Andy McFadden [Tue, 22 Apr 2014 01:08:54 +0000 (18:08 -0700)]
Update HWC dump format

Shortens a few fields.  Displays the format as a string.

Change-Id: Ib471f05603763e250bad165db610f8e173e8423a

10 years agoFix virtual display nesting
Dan Stoza [Wed, 5 Feb 2014 00:22:36 +0000 (16:22 -0800)]
Fix virtual display nesting

This fixes the cycling rendering loop caused by nesting virtual
displays by preventing them from recomposing if their contents
haven't changed.

(cherry-pick from master I600365c0fd5d3ad93e04295d26cf9de177ffc79b)

Bug: 12101046
Change-Id: I6182993d53537781aedb522f97a50f06eed8b80f

10 years agoRemove deprecated BufferQueue constructor
Dan Stoza [Tue, 22 Apr 2014 21:12:55 +0000 (14:12 -0700)]
Remove deprecated BufferQueue constructor

Finally remove the BufferQueue constructor itself. From now on, all
BufferQueues must be created through the createBufferQueue method.

Bug: 13415624
Change-Id: I192bf9430265bab761dcd59db1f02c9d0ac4feed

10 years agoMerge "BufferQueue: Guard against unbounded queue growth"
Dan Stoza [Mon, 21 Apr 2014 21:40:33 +0000 (21:40 +0000)]
Merge "BufferQueue: Guard against unbounded queue growth"

10 years agoam 43b3e600: am 3f0d5669: Merge "Expose core EGL entry points to eglGetProcAddress"
Jesse Hall [Mon, 21 Apr 2014 19:03:03 +0000 (19:03 +0000)]
am 43b3e600: am 3f0d5669: Merge "Expose core EGL entry points to eglGetProcAddress"

* commit '43b3e600c1a477697408b1cac4cbd40b0ad97d56':
  Expose core EGL entry points to eglGetProcAddress

10 years agoam 3f0d5669: Merge "Expose core EGL entry points to eglGetProcAddress"
Jesse Hall [Mon, 21 Apr 2014 18:57:12 +0000 (18:57 +0000)]
am 3f0d5669: Merge "Expose core EGL entry points to eglGetProcAddress"

* commit '3f0d5669eb437ce1f9ce599e196d045534ec3d4f':
  Expose core EGL entry points to eglGetProcAddress

10 years agoMerge "Expose core EGL entry points to eglGetProcAddress"
Jesse Hall [Mon, 21 Apr 2014 18:51:18 +0000 (18:51 +0000)]
Merge "Expose core EGL entry points to eglGetProcAddress"

10 years agoMerge "BufferQueue: Increase max slots from 32 to 64"
Dan Stoza [Mon, 21 Apr 2014 16:11:21 +0000 (16:11 +0000)]
Merge "BufferQueue: Increase max slots from 32 to 64"

10 years agoBufferQueue: Guard against unbounded queue growth
Dan Stoza [Fri, 18 Apr 2014 22:43:35 +0000 (15:43 -0700)]
BufferQueue: Guard against unbounded queue growth

Adds logic to dequeueBuffer that blocks if there are currently too
many buffers in the queue. This prevents unbounded growth around
times where the slots are cleared but the queue is not (e.g.,
during rapid connect/disconnect or setBufferCount activity). This
replaces the fix from ag/377958 in a more general way.

Bug: 11293214
Change-Id: Ieb7adfcd076ff7ffe3d4d369397b2c29cf5099c3

10 years agoMerge "libgui: Remove unnecessary casts in SurfaceControl"
Dan Stoza [Fri, 18 Apr 2014 20:33:52 +0000 (20:33 +0000)]
Merge "libgui: Remove unnecessary casts in SurfaceControl"

10 years agoAdd feature for voice recognition software.
Dianne Hackborn [Mon, 7 Apr 2014 18:14:20 +0000 (11:14 -0700)]
Add feature for voice recognition software.

Change-Id: Ie11c6f9b7eb466f17e9ce145b582ffe7d2475cbd

10 years agoBufferQueue: Increase max slots from 32 to 64
Dan Stoza [Wed, 9 Apr 2014 23:14:51 +0000 (16:14 -0700)]
BufferQueue: Increase max slots from 32 to 64

Increases NUM_BUFFER_SLOTS from 32 to 64 and changes the mask
returned by IGBC::getReleasedBuffers from 32 to 64 bits.

Bug: 13174352
Change-Id: Ie8ef0853916cfb91f83881c7241886bb1950f01a

10 years agoMerge "BufferQueue: Add StreamSplitter"
Dan Stoza [Fri, 18 Apr 2014 17:20:30 +0000 (17:20 +0000)]
Merge "BufferQueue: Add StreamSplitter"

10 years agoMerge "BufferQueueProducer: add detachNextBuffer"
Dan Stoza [Fri, 18 Apr 2014 16:09:10 +0000 (16:09 +0000)]
Merge "BufferQueueProducer: add detachNextBuffer"

10 years agoMerge "atrace: Add f2fs sync and ext4 write tracepoints."
Mohamad Ayyash [Tue, 15 Apr 2014 22:10:09 +0000 (22:10 +0000)]
Merge "atrace: Add f2fs sync and ext4 write tracepoints."

10 years agoam b8ceeb8f: am 85085cd6: Merge "libui: fix passing Fence object over binder"
Colin Cross [Tue, 15 Apr 2014 20:52:27 +0000 (20:52 +0000)]
am b8ceeb8f: am 85085cd6: Merge "libui: fix passing Fence object over binder"

* commit 'b8ceeb8f6cc3eea53d4b471747c401b9ae54d931':
  libui: fix passing Fence object over binder

10 years agoBufferQueue: Add StreamSplitter
Dan Stoza [Fri, 28 Mar 2014 22:34:33 +0000 (15:34 -0700)]
BufferQueue: Add StreamSplitter

Adds a StreamSplitter class, that takes one IGraphicBufferConsumer
interface and multiple IGraphicBufferProducer interfaces and
implements a one-to-many broadcast of GraphicBuffers (while managing
fences correctly).

Change-Id: I38ecdf3e311ac521bc781c30dde0cc382a4376a3

10 years agoBufferQueueProducer: add detachNextBuffer
Dan Stoza [Fri, 28 Mar 2014 22:25:31 +0000 (15:25 -0700)]
BufferQueueProducer: add detachNextBuffer

Adds a new method, IGBP::detachNextBuffer, that effectively does
dequeue + request + detach in a single call, but does not need to
know anything about the dequeued buffer, and will not block on
dequeue. This is mostly for the upcoming StreamSplitter to use in
its onBufferReleased callback.

Change-Id: Ie88a69de109003acebaa486a5b44c8a455726550

10 years agoam 85085cd6: Merge "libui: fix passing Fence object over binder"
Colin Cross [Tue, 15 Apr 2014 02:17:28 +0000 (02:17 +0000)]
am 85085cd6: Merge "libui: fix passing Fence object over binder"

* commit '85085cd6dd5ffed556e0a044ccf4080fbe7c5981':
  libui: fix passing Fence object over binder