OSDN Git Service

android-x86/frameworks-native.git
10 years agoam 035839c6: Adding Feature for HRM
Vinod Krishnan [Fri, 16 May 2014 01:44:21 +0000 (01:44 +0000)]
am 035839c6: Adding Feature for HRM

* commit '035839c6c291e831c51eea1e9d8b54f9e2382707':
  Adding Feature for HRM

10 years agoam fc1b9fa3: am b66ee6c3: Merge "Ensure that app lib symlinks are correctly labeled...
Nick Kralevich [Tue, 13 May 2014 20:38:20 +0000 (20:38 +0000)]
am fc1b9fa3: am b66ee6c3: Merge "Ensure that app lib symlinks are correctly labeled when created."

* commit 'fc1b9fa3178d1452629d75e2afa1a9d72f03fc1c':
  Ensure that app lib symlinks are correctly labeled when created.

10 years agoam b66ee6c3: Merge "Ensure that app lib symlinks are correctly labeled when created."
Nick Kralevich [Tue, 13 May 2014 20:35:38 +0000 (20:35 +0000)]
am b66ee6c3: Merge "Ensure that app lib symlinks are correctly labeled when created."

* commit 'b66ee6c32d87961d5b9f0be97b5fdccb928fd453':
  Ensure that app lib symlinks are correctly labeled when created.

10 years agoMerge "Ensure that app lib symlinks are correctly labeled when created."
Nick Kralevich [Tue, 13 May 2014 20:32:19 +0000 (20:32 +0000)]
Merge "Ensure that app lib symlinks are correctly labeled when created."

10 years agoEnsure that app lib symlinks are correctly labeled when created.
Stephen Smalley [Tue, 13 May 2014 16:53:07 +0000 (12:53 -0400)]
Ensure that app lib symlinks are correctly labeled when created.

At present, the app lib symlinks are created before setting
the package directory security context, and therefore default
to system_data_file.  Upon a later restorecon_recursive,
they are relabeled to the same type as the package directory,
e.g. app_data_file.  Avoid this inconsistency by setting the
package directory security context before creating the symlink
so that it inherits the same security context.

Change-Id: I1ee6ccd8a2aa63a4d2efda67f313c97932235911
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
10 years agoAdding Feature for HRM
Vinod Krishnan [Wed, 7 May 2014 05:01:37 +0000 (22:01 -0700)]
Adding Feature for HRM

Change-Id: Iaec58df9c27753ce2c39c6bbe3735f1894684cb5

10 years agoam d35e3af0: Set default values for FifoMaxEventCount and ReservedEventCount.
Aravind Akella [Tue, 13 May 2014 00:50:40 +0000 (00:50 +0000)]
am d35e3af0: Set default values for FifoMaxEventCount and ReservedEventCount.

* commit 'd35e3af04d4b7e850a3b87b2211d1a3993f9b76f':
  Set default values for FifoMaxEventCount and ReservedEventCount.

10 years agoSet default values for FifoMaxEventCount and ReservedEventCount.
Aravind Akella [Tue, 13 May 2014 00:14:56 +0000 (17:14 -0700)]
Set default values for FifoMaxEventCount and ReservedEventCount.

Change-Id: I4f610c2912ffe1697d1ffb99c556d1c88578466e

10 years agoam c1ffd351: am bd20e551: Merge "Use asynchronous lock/unlock API"
Greg Hackmann [Mon, 12 May 2014 18:12:34 +0000 (18:12 +0000)]
am c1ffd351: am bd20e551: Merge "Use asynchronous lock/unlock API"

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

10 years agoam bd20e551: Merge "Use asynchronous lock/unlock API"
Greg Hackmann [Mon, 12 May 2014 18:08:13 +0000 (18:08 +0000)]
am bd20e551: Merge "Use asynchronous lock/unlock API"

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

10 years agoMerge "Use asynchronous lock/unlock API"
Greg Hackmann [Mon, 12 May 2014 18:01:59 +0000 (18:01 +0000)]
Merge "Use asynchronous lock/unlock API"

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: I8c3fd9592e0c5400ac9be84450f55a77cc0bbdc5

10 years agoam 9eb142e3: am a9d49f99: Merge "Revert "Use asynchronous lock/unlock API""
Greg Hackmann [Fri, 9 May 2014 21:51:51 +0000 (21:51 +0000)]
am 9eb142e3: am a9d49f99: Merge "Revert "Use asynchronous lock/unlock API""

* commit '9eb142e34a5bc11508c0bd6f60ad3933c60aa530':
  Revert "Use asynchronous lock/unlock API"

10 years agoam a9d49f99: Merge "Revert "Use asynchronous lock/unlock API""
Greg Hackmann [Fri, 9 May 2014 21:46:44 +0000 (21:46 +0000)]
am a9d49f99: Merge "Revert "Use asynchronous lock/unlock API""

* commit 'a9d49f99e69d8fc0e60b492b131322c96f47a232':
  Revert "Use asynchronous lock/unlock API"

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

10 years agoRevert "Use asynchronous lock/unlock API"
Greg Hackmann [Fri, 9 May 2014 21:36:48 +0000 (21:36 +0000)]
Revert "Use asynchronous lock/unlock API"

This reverts commit 378ef07760eda717367d9429428c42d54d54d9a7.

Change-Id: I1de5ab973b5383633e75924fe90ac3ca8216c36a

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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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

10 years agoMerge "libui: fix passing Fence object over binder"
Colin Cross [Tue, 15 Apr 2014 02:10:51 +0000 (02:10 +0000)]
Merge "libui: fix passing Fence object over binder"

10 years agolibui: fix passing Fence object over binder
Colin Cross [Tue, 15 Apr 2014 01:43:12 +0000 (18:43 -0700)]
libui: fix passing Fence object over binder

The Fence object was writing a size_t into the binder buffer
in flatten, which changes size if the producer and consumer
are running in a 32-bit and a 64-bit process.  Use a uint32_t
instead.

Change-Id: Ifed526513800ce27f9d605101cddd922292cca37

10 years agoam cf818ebb: Merge "Add stringType and requiredPermission to sensors, effectively...
Aravind Akella [Fri, 11 Apr 2014 19:34:53 +0000 (19:34 +0000)]
am cf818ebb: Merge "Add stringType and requiredPermission to sensors, effectively adding permission checking for sensors" into klp-modular-dev

* commit 'cf818ebbf07c6a20ef48d71bf82f8d4bdf3a398c':
  Add stringType and requiredPermission to sensors, effectively adding permission checking for sensors

10 years agoMerge "Add stringType and requiredPermission to sensors, effectively adding permissio...
Aravind Akella [Fri, 11 Apr 2014 19:32:28 +0000 (19:32 +0000)]
Merge "Add stringType and requiredPermission to sensors, effectively adding permission checking for sensors" into klp-modular-dev

10 years agoam db19e463: Remove unnecessary policy flags.
Jeff Brown [Fri, 11 Apr 2014 03:53:32 +0000 (03:53 +0000)]
am db19e463: Remove unnecessary policy flags.

* commit 'db19e463fe5a4e00a0214c564527ba67f31e1afb':
  Remove unnecessary policy flags.

10 years agoAdd stringType and requiredPermission to sensors, effectively adding permission check...
Aravind Akella [Mon, 7 Apr 2014 22:52:37 +0000 (22:52 +0000)]
Add stringType and requiredPermission to sensors, effectively adding permission checking for sensors

This reverts commit 4369a4ebd5ae7567e7075bc82830b83178099ed5.

Change-Id: Ifa8619cc6873470a07a987763d818d78d4232610

10 years agoRemove unnecessary policy flags.
Jeff Brown [Wed, 9 Apr 2014 02:55:38 +0000 (19:55 -0700)]
Remove unnecessary policy flags.

Bug: 13133142
Change-Id: Ib6c63ebad25d84f78623b4a46ccf83953d235fe7

10 years agoam 82fb5809: Merge "restorecon the profile directory."
Nick Kralevich [Wed, 9 Apr 2014 19:46:14 +0000 (19:46 +0000)]
am 82fb5809: Merge "restorecon the profile directory."

* commit '82fb58095524c833b0470c4b236aa8a70acf2a0f':
  restorecon the profile directory.

10 years agoMerge "restorecon the profile directory."
Nick Kralevich [Wed, 9 Apr 2014 19:41:26 +0000 (19:41 +0000)]
Merge "restorecon the profile directory."

10 years agorestorecon the profile directory.
Stephen Smalley [Wed, 9 Apr 2014 18:23:43 +0000 (14:23 -0400)]
restorecon the profile directory.

This is required so that it will be assigned the correct SELinux
security context on first creation by installd.

Bug: 13927667
Change-Id: I4857d031f9e7e60d48b8c72fcb22a81b3a2ebaaa
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
10 years agoam 6dbcebd0: Merge "Always release a buffer" into klp-modular-dev
Andy McFadden [Mon, 7 Apr 2014 16:52:13 +0000 (16:52 +0000)]
am 6dbcebd0: Merge "Always release a buffer" into klp-modular-dev

* commit '6dbcebd0430e026fd5d99ba4b4f005bfaa9b8e2b':
  Always release a buffer

10 years agoMerge "Always release a buffer" into klp-modular-dev
Andy McFadden [Mon, 7 Apr 2014 16:46:37 +0000 (16:46 +0000)]
Merge "Always release a buffer" into klp-modular-dev

10 years agoam 4369a4eb: Revert "Add stringType and requiredPermission to sensors, effectively...
Etienne Le Grand [Sat, 5 Apr 2014 09:06:00 +0000 (09:06 +0000)]
am 4369a4eb: Revert "Add stringType and requiredPermission to sensors, effectively adding permission checking for sensors"

* commit '4369a4ebd5ae7567e7075bc82830b83178099ed5':
  Revert "Add stringType and requiredPermission to sensors, effectively adding permission checking for sensors"

10 years agoRevert "Add stringType and requiredPermission to sensors, effectively adding permissi...
Etienne Le Grand [Sat, 5 Apr 2014 05:02:22 +0000 (05:02 +0000)]
Revert "Add stringType and requiredPermission to sensors, effectively adding permission checking for sensors"

This reverts commit c57a019e117117c5a76c772970b26cd0f5db8c6a.

Change-Id: I3540565bc3e56a32cf3b176a29216cf68bb763b2

10 years agoam c57a019e: Add stringType and requiredPermission to sensors, effectively adding...
Etienne Le Grand [Sat, 5 Apr 2014 01:52:28 +0000 (01:52 +0000)]
am c57a019e: Add stringType and requiredPermission to sensors, effectively adding permission checking for sensors

* commit 'c57a019e117117c5a76c772970b26cd0f5db8c6a':
  Add stringType and requiredPermission to sensors, effectively adding permission checking for sensors

10 years agoAdd stringType and requiredPermission to sensors, effectively adding permission check...
Etienne Le Grand [Tue, 25 Mar 2014 04:28:23 +0000 (21:28 -0700)]
Add stringType and requiredPermission to sensors, effectively adding permission checking for sensors

Change-Id: If0f3dbdb5d2e9378e1fed4614baee4e750d0c850

10 years agoAlways release a buffer
Andy McFadden [Fri, 4 Apr 2014 22:37:08 +0000 (15:37 -0700)]
Always release a buffer

In GLConsumer's updateAndReleaseLocked(), we must release either
the previously-acquired buffer or the newly-acquired buffer.

Bug 13755224

Change-Id: I96adc255400ed008ba6e6ac1725ab3514c7cc8ba

10 years agoam ad98ad04: Add ACONFIGURATION_UI_MODE_TYPE_WATCH to configuation enum.
John Spurlock [Fri, 4 Apr 2014 19:28:07 +0000 (19:28 +0000)]
am ad98ad04: Add ACONFIGURATION_UI_MODE_TYPE_WATCH to configuation enum.

* commit 'ad98ad0493625578f19c727576d02725b82f927c':
  Add ACONFIGURATION_UI_MODE_TYPE_WATCH to configuation enum.

10 years agoam 27f8840f: Merge "make struct Event layout consistent on 32/64-bit"
Greg Hackmann [Fri, 4 Apr 2014 00:08:11 +0000 (00:08 +0000)]
am 27f8840f: Merge "make struct Event layout consistent on 32/64-bit"

* commit '27f8840f228abfe5e2458a261ce5403871495a54':
  make struct Event layout consistent on 32/64-bit

10 years agoAdd ACONFIGURATION_UI_MODE_TYPE_WATCH to configuation enum.
John Spurlock [Thu, 3 Apr 2014 20:39:17 +0000 (16:39 -0400)]
Add ACONFIGURATION_UI_MODE_TYPE_WATCH to configuation enum.

Bug:13395758
Change-Id: Iecdae299bfd030f86145d02fa7860374b5a40a74

10 years agoam d2f76332: Merge "AArch64: Correction to OMX_U32 and OMX_S32"
Glenn Kasten [Thu, 3 Apr 2014 17:14:50 +0000 (17:14 +0000)]
am d2f76332: Merge "AArch64: Correction to OMX_U32 and OMX_S32"

* commit 'd2f7633277dd13ac269adb51c4e7a85746e6c599':
  AArch64: Correction to OMX_U32 and OMX_S32

10 years agoMerge "make struct Event layout consistent on 32/64-bit"
Greg Hackmann [Thu, 3 Apr 2014 17:07:09 +0000 (17:07 +0000)]
Merge "make struct Event layout consistent on 32/64-bit"

10 years agoMerge "AArch64: Correction to OMX_U32 and OMX_S32"
Glenn Kasten [Thu, 3 Apr 2014 17:00:58 +0000 (17:00 +0000)]
Merge "AArch64: Correction to OMX_U32 and OMX_S32"

10 years agoam 033bdd72: Merge "Remove global variables from ProcessState."
Narayan Kamath [Thu, 3 Apr 2014 14:11:31 +0000 (14:11 +0000)]
am 033bdd72: Merge "Remove global variables from ProcessState."

* commit '033bdd72f9f32f4bd3d282750bdc0dcfbb469959':
  Remove global variables from ProcessState.

10 years agoMerge "Remove global variables from ProcessState."
Narayan Kamath [Thu, 3 Apr 2014 13:59:27 +0000 (13:59 +0000)]
Merge "Remove global variables from ProcessState."

10 years agoRemove global variables from ProcessState.
Narayan Kamath [Fri, 28 Mar 2014 13:41:28 +0000 (13:41 +0000)]
Remove global variables from ProcessState.

These weren't really being used and they make it
very hard to reason about who looks at command line
arguments.

Processes started via app_process (this includes all
zygote forks and the system_server) can get information
about command line arguments from the AndroidRuntime
class, which is available via a call to
AndroidRuntime::getRuntime.

bug: 13647418

Change-Id: I6f92680c3619a68c6d4b0995db4cdc9adc788e36

10 years agoAArch64: Correction to OMX_U32 and OMX_S32
Marcus Oakland [Tue, 25 Mar 2014 17:53:43 +0000 (17:53 +0000)]
AArch64: Correction to OMX_U32 and OMX_S32

The types of OMX_U32 and OMX_S32 were appropriate to a 32-bit system
but were not appropriate to a 64-bit system. They have been changed to
make them portable between the two systems. With this change and a
change to frameworks/av/media/libstagefright/foundation/AString.cpp,
the android.media.cts.DecoderTest#testFlush CTS test passes.

Change-Id: I8e16c7169f54599c23fea71585b531e48541c78a
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
10 years agoam 17b5ca1e: Merge "opengl: fix UAL conformity"
Glenn Kasten [Wed, 2 Apr 2014 16:24:06 +0000 (16:24 +0000)]
am 17b5ca1e: Merge "opengl: fix UAL conformity"

* commit '17b5ca1e665a1bbe17387b36fcce8f6b52513d5e':
  opengl: fix UAL conformity

10 years agoMerge "opengl: fix UAL conformity"
Glenn Kasten [Wed, 2 Apr 2014 16:15:59 +0000 (16:15 +0000)]
Merge "opengl: fix UAL conformity"

10 years agoopengl: fix UAL conformity
synergy dev [Mon, 24 Feb 2014 07:43:26 +0000 (23:43 -0800)]
opengl: fix UAL conformity

GAS assumes .align 2 if .align only is set, however the UAL doesn't enforce this assumption.

Change-Id: I88b567dc84ee8f04a13f2b8e80c3ee41530a9e49

10 years agoam 98e5bf2c: Merge "Support CAST V2 Authentication in MediaDrm" into klp-modular-dev
Jeff Tinker [Tue, 1 Apr 2014 22:00:44 +0000 (22:00 +0000)]
am 98e5bf2c: Merge "Support CAST V2 Authentication in MediaDrm" into klp-modular-dev

* commit '98e5bf2cc0931fc4e4d88b3f64069bd200690be0':
  Support CAST V2 Authentication in MediaDrm

10 years agoMerge "Support CAST V2 Authentication in MediaDrm" into klp-modular-dev
Jeff Tinker [Tue, 1 Apr 2014 21:54:35 +0000 (21:54 +0000)]
Merge "Support CAST V2 Authentication in MediaDrm" into klp-modular-dev

10 years agoam 3ebb877e: Merge "Modify installd\'s restorecon function."
Nick Kralevich [Mon, 31 Mar 2014 20:20:44 +0000 (20:20 +0000)]
am 3ebb877e: Merge "Modify installd\'s restorecon function."

* commit '3ebb877e52a2661de56c3f44827f33824e735730':
  Modify installd's restorecon function.

10 years agoMerge "Modify installd's restorecon function."
Nick Kralevich [Mon, 31 Mar 2014 20:09:18 +0000 (20:09 +0000)]
Merge "Modify installd's restorecon function."

10 years agoSupport CAST V2 Authentication in MediaDrm
Jeff Tinker [Tue, 4 Mar 2014 21:23:56 +0000 (13:23 -0800)]
Support CAST V2 Authentication in MediaDrm

Update frameworks to enable support for CAST
V2 Authentication in the DRM Plugin.

Change-Id: Ic38f0e1484b1388dd87f4591c74984cb724d50e2
related-to-bug: 12702350

10 years agoam 773585e6: Merge "Generate ACTION_CANCEL on joystick disconnect. DO NOT MERGE"...
Michael Wright [Fri, 28 Mar 2014 19:37:39 +0000 (19:37 +0000)]
am 773585e6: Merge "Generate ACTION_CANCEL on joystick disconnect. DO NOT MERGE" into klp-modular-dev

* commit '773585e60c2e6c3e39f9f56d0d3b05eeae6dff04':
  Generate ACTION_CANCEL on joystick disconnect. DO NOT MERGE

10 years agoMerge "Generate ACTION_CANCEL on joystick disconnect. DO NOT MERGE" into klp-modular-dev
Michael Wright [Fri, 28 Mar 2014 19:33:35 +0000 (19:33 +0000)]
Merge "Generate ACTION_CANCEL on joystick disconnect. DO NOT MERGE" into klp-modular-dev

10 years agoModify installd's restorecon function.
Robert Craig [Thu, 27 Mar 2014 14:21:12 +0000 (10:21 -0400)]
Modify installd's restorecon function.

Changes above with PMS and below with libselinux
have resulted in a few changes to the restorecon data
api. This change is needed in order to support the new
way to issue a recursive restorecon of certain
/data/data directories.

The restorecondata function has also been modified to
find all users on the device for a given package name
(argument to the function) and to issue a separate
recursive restorecon call for each.

Change-Id: Ie440cba2c96f0907458086348197e1506d31c1b6
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
10 years agoam 50ef8562: Merge "GraphicProducerWrapper may return false transact status"
Jesse Hall [Fri, 28 Mar 2014 08:50:09 +0000 (08:50 +0000)]
am 50ef8562: Merge "GraphicProducerWrapper may return false transact status"

* commit '50ef8562fe7289495ad8592226f3c4d546119892':
  GraphicProducerWrapper may return false transact status

10 years agoMerge "GraphicProducerWrapper may return false transact status"
Jesse Hall [Fri, 28 Mar 2014 04:52:09 +0000 (04:52 +0000)]
Merge "GraphicProducerWrapper may return false transact status"

10 years agoExpose core EGL entry points to eglGetProcAddress
Michael Chock [Mon, 27 Jan 2014 16:14:33 +0000 (08:14 -0800)]
Expose core EGL entry points to eglGetProcAddress

Required behavior for EGL_KHR_get_all_proc_addresses.

Change-Id: I1e6209ef3cb9f2fa6f22808b077c35139d4cb814

10 years agoGraphicProducerWrapper may return false transact status
bdeng3X [Thu, 20 Mar 2014 01:15:34 +0000 (09:15 +0800)]
GraphicProducerWrapper may return false transact status

GraphicProducerWrapper(GPW) changed how the methods of
BpGraphicBufferProducer(BpGBP) are executed.
First, "fake" BpGBP is created. Its remote is GPW. The GPW has
wrapped the real BpGBP.
All the method calls to the fake BpGPB will be intercepted by
the GPW inside it when the methods run into remote()->transact().
Then the GPW will invoke the transact() of the real BpGBP. And
Everything runs well except that the GPW forgets to store the
transact status and always return NO_ERROR to the fake BpGBP.

It would be disastrous if the binder call of the IGBP failed and
the out parameter "reply" of transact() was in unkown state.
E.g. the queueBuffer() in the fake BpGBP will try to operate on
the "reply". This will crash the SurfaceFlinger.

Change-Id: I01b31f64e1fc92804da3f16c1fb1420dcfb3b855
Signed-off-by: bdeng3X <bingx.deng@intel.com>
Signed-off-by: Guobin Zhang <guobin.zhang@intel.com>
10 years agoam b1a8c016: Merge "Send libselinux logging to logcat."
Nick Kralevich [Wed, 26 Mar 2014 15:55:46 +0000 (15:55 +0000)]
am b1a8c016: Merge "Send libselinux logging to logcat."

* commit 'b1a8c016371282a3cd3b113e6b2c0310372babf2':
  Send libselinux logging to logcat.

10 years agoMerge "Send libselinux logging to logcat."
Nick Kralevich [Wed, 26 Mar 2014 15:44:14 +0000 (15:44 +0000)]
Merge "Send libselinux logging to logcat."