OSDN Git Service

android-x86/frameworks-native.git
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 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 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."

10 years agoSend libselinux logging to logcat.
Stephen Smalley [Wed, 26 Mar 2014 13:30:37 +0000 (09:30 -0400)]
Send libselinux logging to logcat.

Otherwise we can't readily see log messages from libselinux calls
made by installd.

Change-Id: I319b30c181470468fe19dd5fbe9251ef03f1163b
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
10 years agoam a0da27d5: am 9c7db080: Build the benchmark test to /data/local/tmp/ for automated...
Xia Wang [Tue, 25 Mar 2014 03:53:59 +0000 (03:53 +0000)]
am a0da27d5: am 9c7db080: Build the benchmark test to /data/local/tmp/ for automated test

* commit 'a0da27d546865d075322c410121e9c3101cec449':
  Build the benchmark test to /data/local/tmp/ for automated test

10 years agoam 9c7db080: Build the benchmark test to /data/local/tmp/ for automated test
Xia Wang [Tue, 25 Mar 2014 03:46:32 +0000 (03:46 +0000)]
am 9c7db080: Build the benchmark test to /data/local/tmp/ for automated test

* commit '9c7db08049e1d36c2f60dd703f27c432bc8cfbc5':
  Build the benchmark test to /data/local/tmp/ for automated test

10 years agoGenerate ACTION_CANCEL on joystick disconnect. DO NOT MERGE
Michael Wright [Wed, 19 Mar 2014 19:06:10 +0000 (12:06 -0700)]
Generate ACTION_CANCEL on joystick disconnect. DO NOT MERGE

Bug: 11480300
Change-Id: I5a4096970c9e588d134f05dd0eb3a9c91c836b2f

10 years agoBuild the benchmark test to /data/local/tmp/ for automated test
Xia Wang [Thu, 27 Feb 2014 02:04:50 +0000 (18:04 -0800)]
Build the benchmark test to /data/local/tmp/ for automated test

Change-Id: I27a5ee24636ff9752a35dbab793821f6b7a79221
(cherry picked from commit b7925f1364b56708e072884a5ae9dba2d32b58e6)

10 years agoam 40c68757: am 897fe45c: am 23c2fcbb: (-s ours) am c0af9caf: am b14d72bc: am d070009...
Marco Nelissen [Thu, 20 Mar 2014 21:02:04 +0000 (21:02 +0000)]
am 40c68757: am 897fe45c: am 23c2fcbb: (-s ours) am c0af9caf: am b14d72bc: am d070009e: am df6774c9: am 7c1cdbdd: am e23f8b8f: am 1f70863d: am 37b44969: Add support for writing byte arrays to parcels

* commit '40c68757ef51d270174103f31a39a7d268bab3e2':
  Add support for writing byte arrays to parcels

10 years agoam 897fe45c: am 23c2fcbb: (-s ours) am c0af9caf: am b14d72bc: am d070009e: am df6774c...
Marco Nelissen [Thu, 20 Mar 2014 20:57:13 +0000 (20:57 +0000)]
am 897fe45c: am 23c2fcbb: (-s ours) am c0af9caf: am b14d72bc: am d070009e: am df6774c9: am 7c1cdbdd: am e23f8b8f: am 1f70863d: am 37b44969: Add support for writing byte arrays to parcels

* commit '897fe45cf7addc975fc7f9751c88ac53d9b9a778':
  Add support for writing byte arrays to parcels

10 years agoam 23c2fcbb: (-s ours) am c0af9caf: am b14d72bc: am d070009e: am df6774c9: am 7c1cdbd...
Marco Nelissen [Thu, 20 Mar 2014 20:48:45 +0000 (20:48 +0000)]
am 23c2fcbb: (-s ours) am c0af9caf: am b14d72bc: am d070009e: am df6774c9: am 7c1cdbdd: am e23f8b8f: am 1f70863d: am 37b44969: Add support for writing byte arrays to parcels

* commit '23c2fcbbf4be87580e64132150aa554b764425c2':
  Add support for writing byte arrays to parcels

10 years agoam c0af9caf: am b14d72bc: am d070009e: am df6774c9: am 7c1cdbdd: am e23f8b8f: am...
Marco Nelissen [Thu, 20 Mar 2014 20:26:08 +0000 (13:26 -0700)]
am c0af9caf: am b14d72bc: am d070009e: am df6774c9: am 7c1cdbdd: am e23f8b8f: am 1f70863d: am 37b44969: Add support for writing byte arrays to parcels

* commit 'c0af9cafba1217e2585777964730c70e40957dcd':
  Add support for writing byte arrays to parcels

10 years agoam b14d72bc: am d070009e: am df6774c9: am 7c1cdbdd: am e23f8b8f: am 1f70863d: am...
Marco Nelissen [Thu, 20 Mar 2014 20:13:23 +0000 (13:13 -0700)]
am b14d72bc: am d070009e: am df6774c9: am 7c1cdbdd: am e23f8b8f: am 1f70863d: am 37b44969: Add support for writing byte arrays to parcels

* commit 'b14d72bce04e990639305890b2aca3ccad5b3ebb':
  Add support for writing byte arrays to parcels

10 years agoam d070009e: am df6774c9: am 7c1cdbdd: am e23f8b8f: am 1f70863d: am 37b44969: Add...
Marco Nelissen [Thu, 20 Mar 2014 18:11:18 +0000 (11:11 -0700)]
am d070009e: am df6774c9: am 7c1cdbdd: am e23f8b8f: am 1f70863d: am 37b44969: Add support for writing byte arrays to parcels

* commit 'd070009ecdb9e8c58ce5d1540d5bcba5587a0448':
  Add support for writing byte arrays to parcels

10 years agoam df6774c9: am 7c1cdbdd: am e23f8b8f: am 1f70863d: am 37b44969: Add support for...
Marco Nelissen [Thu, 20 Mar 2014 18:06:54 +0000 (11:06 -0700)]
am df6774c9: am 7c1cdbdd: am e23f8b8f: am 1f70863d: am 37b44969: Add support for writing byte arrays to parcels

* commit 'df6774c9a3c1460554208925f38dde08953b6d0b':
  Add support for writing byte arrays to parcels

10 years agoam 7c1cdbdd: am e23f8b8f: am 1f70863d: am 37b44969: Add support for writing byte...
Marco Nelissen [Thu, 20 Mar 2014 17:55:05 +0000 (10:55 -0700)]
am 7c1cdbdd: am e23f8b8f: am 1f70863d: am 37b44969: Add support for writing byte arrays to parcels

* commit '7c1cdbdd68c4f809dc5616654740ea98a275892d':
  Add support for writing byte arrays to parcels

10 years agoam e23f8b8f: am 1f70863d: am 37b44969: Add support for writing byte arrays to parcels
Marco Nelissen [Thu, 20 Mar 2014 17:48:35 +0000 (10:48 -0700)]
am e23f8b8f: am 1f70863d: am 37b44969: Add support for writing byte arrays to parcels

* commit 'e23f8b8f0bf32e79c1d0f9183c064ab61354c452':
  Add support for writing byte arrays to parcels

10 years agoam 1f70863d: am 37b44969: Add support for writing byte arrays to parcels
Marco Nelissen [Thu, 20 Mar 2014 17:33:12 +0000 (10:33 -0700)]
am 1f70863d: am 37b44969: Add support for writing byte arrays to parcels

* commit '1f70863d13668dc97047df15cce547ebc8435ff2':
  Add support for writing byte arrays to parcels

10 years agoam 37b44969: Add support for writing byte arrays to parcels
Marco Nelissen [Thu, 20 Mar 2014 17:04:42 +0000 (10:04 -0700)]
am 37b44969: Add support for writing byte arrays to parcels

* commit '37b44969c0ca1d00e213da685dfbb2807f2bab30':
  Add support for writing byte arrays to parcels

10 years agoam 01502981: Merge "fix valgrind ioctl warning."
Jesse Hall [Thu, 20 Mar 2014 16:31:37 +0000 (16:31 +0000)]
am 01502981: Merge "fix valgrind ioctl warning."

* commit '01502981cddb69b9ab7e4bf8bc66366ae0eb7035':
  fix valgrind ioctl warning.

10 years agoMerge "fix valgrind ioctl warning."
Jesse Hall [Thu, 20 Mar 2014 16:09:14 +0000 (16:09 +0000)]
Merge "fix valgrind ioctl warning."

10 years agoam 1bf30245: Merge "Extend installd to support SELinux restorecon function."
Nick Kralevich [Wed, 19 Mar 2014 20:29:27 +0000 (20:29 +0000)]
am 1bf30245: Merge "Extend installd to support SELinux restorecon function."

* commit '1bf30245cbb8be7279fadcf4071cecc8db91789f':
  Extend installd to support SELinux restorecon function.

10 years agoMerge "Extend installd to support SELinux restorecon function."
Nick Kralevich [Wed, 19 Mar 2014 20:17:24 +0000 (20:17 +0000)]
Merge "Extend installd to support SELinux restorecon function."

10 years agoExtend installd to support SELinux restorecon function.
Robert Craig [Thu, 20 Feb 2014 15:25:56 +0000 (10:25 -0500)]
Extend installd to support SELinux restorecon function.

Implement new restorecondata function which will allow
the relabeling of /data/data and /data/user directories.
This is needed in the case of certain OTAs. Not every
boot will apply this relabeling however. Consult change
I77bf2a0c4c34b1feef6fdf4d6c3bd92dbf32f4a1 for
clarification on this issue.

Change-Id: I05e8b438950ddb908e46c9168ea6ee601e6d674f
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
10 years agoam 38e2aaaa: am 5b61ad2c: Check the padded size of the read byte array
Kenny Root [Mon, 17 Mar 2014 21:31:04 +0000 (21:31 +0000)]
am 38e2aaaa: am 5b61ad2c: Check the padded size of the read byte array

* commit '38e2aaaa3dd62a20eb211808ae6fe45ec37ee6d5':
  Check the padded size of the read byte array

10 years agoam 5b61ad2c: Check the padded size of the read byte array
Kenny Root [Mon, 17 Mar 2014 21:28:34 +0000 (21:28 +0000)]
am 5b61ad2c: Check the padded size of the read byte array

* commit '5b61ad2cda8ec8ab634ce02f388bb2d3c5ab048d':
  Check the padded size of the read byte array

10 years agoCheck the padded size of the read byte array
Kenny Root [Mon, 17 Mar 2014 20:18:16 +0000 (13:18 -0700)]
Check the padded size of the read byte array

Bug: 13509200
Change-Id: Id93894fcc617ec1cd4ce66921c6e1f1c3cf40b09

10 years agoam 7cd122a5: Merge "Add device admin to wearables for API8 Compat" into klp-modular-dev
Adam Lesinski [Mon, 17 Mar 2014 19:52:35 +0000 (19:52 +0000)]
am 7cd122a5: Merge "Add device admin to wearables for API8 Compat" into klp-modular-dev

* commit '7cd122a549831611ce79389e481484ade16744f1':
  Add device admin to wearables for API8 Compat

10 years agoam fc34b7b7: Merge "Remove accessibility as an optional feature" into klp-modular-dev
Adam Lesinski [Mon, 17 Mar 2014 19:52:34 +0000 (19:52 +0000)]
am fc34b7b7: Merge "Remove accessibility as an optional feature" into klp-modular-dev

* commit 'fc34b7b7fc9749a3fb1f8e7d924274a5768366aa':
  Remove accessibility as an optional feature

10 years agoMerge "Add device admin to wearables for API8 Compat" into klp-modular-dev
Adam Lesinski [Mon, 17 Mar 2014 19:50:56 +0000 (19:50 +0000)]
Merge "Add device admin to wearables for API8 Compat" into klp-modular-dev

10 years agoMerge "Remove accessibility as an optional feature" into klp-modular-dev
Adam Lesinski [Mon, 17 Mar 2014 19:50:30 +0000 (19:50 +0000)]
Merge "Remove accessibility as an optional feature" into klp-modular-dev

10 years agoAdd device admin to wearables for API8 Compat
Adam Lesinski [Mon, 17 Mar 2014 19:17:29 +0000 (12:17 -0700)]
Add device admin to wearables for API8 Compat

Bug:13386441
Change-Id: I8814976db791bb1f2e60b6a9fc49afdd5f360414

10 years agoRemove accessibility as an optional feature
Adam Lesinski [Mon, 17 Mar 2014 19:14:26 +0000 (12:14 -0700)]
Remove accessibility as an optional feature

Bug:13439904
Change-Id: Icc6b84d05a24cbfdaa121929e7c7c77c0f7eed17

10 years agoAdd support for writing byte arrays to parcels
Marco Nelissen [Thu, 13 Mar 2014 21:17:40 +0000 (14:17 -0700)]
Add support for writing byte arrays to parcels

b/13418320

Cherrypicked from f0190bff38b6c29abbfc4a877442f71fc3d7dad8
https://googleplex-android-review.git.corp.google.com/#/c/433320/

Change-Id: I2285df9e9d3dc8a6a54055b13b352b81660bf45d

10 years agoam b730a452: am f0190bff: Add support for writing byte arrays to parcels
Marco Nelissen [Fri, 14 Mar 2014 23:33:08 +0000 (23:33 +0000)]
am b730a452: am f0190bff: Add support for writing byte arrays to parcels

* commit 'b730a45216991cf22c39451c47393b4bccae111b':
  Add support for writing byte arrays to parcels

10 years agoam f0190bff: Add support for writing byte arrays to parcels
Marco Nelissen [Fri, 14 Mar 2014 22:55:54 +0000 (22:55 +0000)]
am f0190bff: Add support for writing byte arrays to parcels

* commit 'f0190bff38b6c29abbfc4a877442f71fc3d7dad8':
  Add support for writing byte arrays to parcels

10 years agoAdd support for writing byte arrays to parcels
Marco Nelissen [Thu, 13 Mar 2014 21:17:40 +0000 (14:17 -0700)]
Add support for writing byte arrays to parcels

b/13418320

Change-Id: I2285df9e9d3dc8a6a54055b13b352b81660bf45d

10 years agoam cdbf28b3: Merge "native frameworks: 64-bit compile issues"
Mark Salyzyn [Thu, 13 Mar 2014 15:26:10 +0000 (15:26 +0000)]
am cdbf28b3: Merge "native frameworks: 64-bit compile issues"

* commit 'cdbf28b3f7f5327f4cb0eb95b8326bf4c24c87ba':
  native frameworks: 64-bit compile issues

10 years agoMerge "native frameworks: 64-bit compile issues"
Mark Salyzyn [Thu, 13 Mar 2014 15:20:44 +0000 (15:20 +0000)]
Merge "native frameworks: 64-bit compile issues"

10 years agoam d9e113f0: b/12068020 add nonce to InputDeviceDescriptor. Do not merge
RoboErik [Wed, 12 Mar 2014 21:12:28 +0000 (21:12 +0000)]
am d9e113f0: b/12068020 add nonce to InputDeviceDescriptor. Do not merge

* commit 'd9e113f0e0feac1a801f8339d2f907302bd432c5':
  b/12068020 add nonce to InputDeviceDescriptor. Do not merge

10 years agonative frameworks: 64-bit compile issues
Mark Salyzyn [Wed, 12 Mar 2014 20:12:44 +0000 (13:12 -0700)]
native frameworks: 64-bit compile issues

- Fix format (print/scanf)
- Suppress unused argument warning messages (bonus)

Change-Id: I05c7724d2aba6da1e82a86000e11f3a8fef4e728

10 years agob/12068020 add nonce to InputDeviceDescriptor. Do not merge
RoboErik [Thu, 19 Dec 2013 19:54:29 +0000 (11:54 -0800)]
b/12068020 add nonce to InputDeviceDescriptor. Do not merge

This is a cherry-pick of https://googleplex-android-review.git.corp.google.com/#/c/401795/

Adds a nonce field to allow generation of unique descriptors for
input devices.

Change-Id: Ie82bfb728bea95792b3b138dd3974f8b0aff63e0

10 years agoam 06ed9491: Merge "Fix parameter ordering for installd\'s dex2oat execl."
Anwar Ghuloum [Tue, 11 Mar 2014 23:43:19 +0000 (23:43 +0000)]
am 06ed9491: Merge "Fix parameter ordering for installd\'s dex2oat execl."

* commit '06ed9491418ce84e4272bf4201545fa6cfe3932e':
  Fix parameter ordering for installd's dex2oat execl.

10 years agoam 9b04f860: Add MAX_CONTROLLER_LEDS constant. DO NOT MERGE
Michael Wright [Tue, 11 Mar 2014 23:22:00 +0000 (23:22 +0000)]
am 9b04f860: Add MAX_CONTROLLER_LEDS constant. DO NOT MERGE

* commit '9b04f860f23481d39c3b45379a324d3630966825':
  Add MAX_CONTROLLER_LEDS constant. DO NOT MERGE

10 years agoMerge "Fix parameter ordering for installd's dex2oat execl."
Anwar Ghuloum [Tue, 11 Mar 2014 23:11:02 +0000 (23:11 +0000)]
Merge "Fix parameter ordering for installd's dex2oat execl."

10 years agoFix parameter ordering for installd's dex2oat execl.
Anwar Ghuloum [Tue, 11 Mar 2014 22:42:58 +0000 (15:42 -0700)]
Fix parameter ordering for installd's dex2oat execl.

Change-Id: Ibd6fd46c6ec3137874f9a3d5eea134bc804e039a

10 years agoAdd MAX_CONTROLLER_LEDS constant. DO NOT MERGE
Michael Wright [Sat, 19 Oct 2013 00:53:50 +0000 (17:53 -0700)]
Add MAX_CONTROLLER_LEDS constant. DO NOT MERGE

Change-Id: Ie6dbce926280c748f39e3c54d2ed4accbdcf9e59

10 years agoam 1649c77e: Merge "ART profiler"
Dave Allison [Sat, 8 Mar 2014 01:56:32 +0000 (01:56 +0000)]
am 1649c77e: Merge "ART profiler"

* commit '1649c77ed29eada5de32ace97033b9d898e9a6eb':
  ART profiler

10 years agoam 112aa42e: Merge "SurfaceFlinger: fix 64-bit format string warnings"
Greg Hackmann [Sat, 8 Mar 2014 01:56:32 +0000 (01:56 +0000)]
am 112aa42e: Merge "SurfaceFlinger: fix 64-bit format string warnings"

* commit '112aa42e91b4bb0cde334753e2ad05e3f248b377':
  SurfaceFlinger: fix 64-bit format string warnings

10 years agoam 37bf0789: Declare KEYCODE_SLEEP and KEYCODE_WAKEUP.
Jeff Brown [Fri, 7 Mar 2014 23:43:18 +0000 (23:43 +0000)]
am 37bf0789: Declare KEYCODE_SLEEP and KEYCODE_WAKEUP.

* commit '37bf0789f5c1167f6f7f5667b09cad70e0bb27d4':
  Declare KEYCODE_SLEEP and KEYCODE_WAKEUP.

10 years agoMerge "ART profiler"
Dave Allison [Fri, 7 Mar 2014 22:25:35 +0000 (22:25 +0000)]
Merge "ART profiler"

10 years agoDeclare KEYCODE_SLEEP and KEYCODE_WAKEUP.
Jeff Brown [Fri, 7 Mar 2014 21:57:59 +0000 (13:57 -0800)]
Declare KEYCODE_SLEEP and KEYCODE_WAKEUP.

Bug: 12938999
Change-Id: I544661b3887332998d703b7b2df9e56c23ab48c4

10 years agoMerge "SurfaceFlinger: fix 64-bit format string warnings"
Greg Hackmann [Fri, 7 Mar 2014 21:47:30 +0000 (21:47 +0000)]
Merge "SurfaceFlinger: fix 64-bit format string warnings"

10 years agoSurfaceFlinger: fix 64-bit format string warnings
Greg Hackmann [Fri, 7 Mar 2014 20:44:02 +0000 (12:44 -0800)]
SurfaceFlinger: fix 64-bit format string warnings

Change-Id: Idacfbf0601743fba1c5de7632201a66a307a2710
Signed-off-by: Greg Hackmann <ghackmann@google.com>
10 years agoART profiler
Dave Allison [Thu, 30 Jan 2014 22:19:23 +0000 (14:19 -0800)]
ART profiler

Add args to the installd commands for profiler usage.
Make installd create the profile files and allow apps
to write to them.

The profile files are in /data/dalvik-cache/profiles.  This
central location is needed due to permissions issues with
dex2oat reading from an app's data directory.  The solution
is to put the profile file in a directory owned by the
install user and make the file writeable by the shared group
id of for the app.  The app can read and write to these files
only in the profiles directory.  The 'system' user also needs
to be able to read the files in order to determine the amount
of change to the file over time.

Bug: 12877748
Change-Id: I9b8e59e3bd7df8a1bf60fa7ffd376a24ba0eb42f

Conflicts:
cmds/installd/commands.c

10 years agoam 3a867ddc: am 19d64819: Bug fix for SensorFusion data rate.
Aravind Akella [Thu, 6 Mar 2014 22:45:48 +0000 (22:45 +0000)]
am 3a867ddc: am 19d64819: Bug fix for SensorFusion data rate.

* commit '3a867ddcdc7c65f6b07d2eeeebf6a3e520bd1cf0':
  Bug fix for SensorFusion data rate.

10 years agoam 19d64819: Bug fix for SensorFusion data rate.
Aravind Akella [Thu, 6 Mar 2014 22:16:15 +0000 (22:16 +0000)]
am 19d64819: Bug fix for SensorFusion data rate.

* commit '19d648195673b106152610e3787c95886946460f':
  Bug fix for SensorFusion data rate.

10 years agoBug fix for SensorFusion data rate.
Aravind Akella [Fri, 6 Dec 2013 00:24:59 +0000 (16:24 -0800)]
Bug fix for SensorFusion data rate.

SensorFusion is always returning data at the slowest possible sampling rate (5 Hz). batch() is getting called twice, first time with the requested rate and second time with the slowest rate (which overwrites the requested rate). Fix batch call in SensorFusion::activate()

Bug: 12064319
Change-Id: If62f3e514233f69810336fd22b136b4395b667d3
(cherry picked from commit 88509090387eeb400771a786171866710cca230c)

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

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

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

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

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

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

10 years agoam 3c39e03c: Merge "Don\'t pass in empty arg to dex2oat."
Mathieu Chartier [Thu, 6 Mar 2014 01:05:22 +0000 (01:05 +0000)]
am 3c39e03c: Merge "Don\'t pass in empty arg to dex2oat."

* commit '3c39e03c08094ce65608cae8a45dd726cf10b5c3':
  Don't pass in empty arg to dex2oat.

10 years agoMerge "Don't pass in empty arg to dex2oat."
Mathieu Chartier [Thu, 6 Mar 2014 01:01:08 +0000 (01:01 +0000)]
Merge "Don't pass in empty arg to dex2oat."

10 years agoDon't pass in empty arg to dex2oat.
Mathieu Chartier [Thu, 6 Mar 2014 00:58:03 +0000 (16:58 -0800)]
Don't pass in empty arg to dex2oat.

We would occassionally pass in an empty arg "" instead of a NULL.
This caused problems since dex2oat isn't made to handle empty args.

Change-Id: Ibb1aed64a4aa17459b2a75a5a2abcf13c7fa8ac7

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

Bug: 11822806
Change-Id: I1402d6684ed71ed413aef6a7be3aad945b331ec2

10 years agoam e19c99aa: Merge "Add dalvik.vm.dex2oat-flags to mimic dalvik.vm.dexopt-flags"
Brian Carlstrom [Wed, 5 Mar 2014 20:09:46 +0000 (20:09 +0000)]
am e19c99aa: Merge "Add dalvik.vm.dex2oat-flags to mimic dalvik.vm.dexopt-flags"

* commit 'e19c99aad605c395f53bf39ae1a27e298e7e33ce':
  Add dalvik.vm.dex2oat-flags to mimic dalvik.vm.dexopt-flags

10 years agoMerge "Add dalvik.vm.dex2oat-flags to mimic dalvik.vm.dexopt-flags"
Brian Carlstrom [Wed, 5 Mar 2014 20:02:00 +0000 (20:02 +0000)]
Merge "Add dalvik.vm.dex2oat-flags to mimic dalvik.vm.dexopt-flags"

10 years agoam 1298c7e5: Merge "Parse LED mappings in keylayout files. DO NOT MERGE" into klp...
Michael Wright [Wed, 5 Mar 2014 00:54:24 +0000 (00:54 +0000)]
am 1298c7e5: Merge "Parse LED mappings in keylayout files. DO NOT MERGE" into klp-modular-dev

* commit '1298c7e527fd242a39f9c0d53aa4f35d1c9decab':
  Parse LED mappings in keylayout files. DO NOT MERGE

10 years agoMerge "Parse LED mappings in keylayout files. DO NOT MERGE" into klp-modular-dev
Michael Wright [Wed, 5 Mar 2014 00:51:43 +0000 (00:51 +0000)]
Merge "Parse LED mappings in keylayout files. DO NOT MERGE" into klp-modular-dev

10 years agoAdd dalvik.vm.dex2oat-flags to mimic dalvik.vm.dexopt-flags
Brian Carlstrom [Tue, 11 Feb 2014 00:42:52 +0000 (16:42 -0800)]
Add dalvik.vm.dex2oat-flags to mimic dalvik.vm.dexopt-flags

Change-Id: Ic048ed654ea0ae38c9684e5fa5b14742b6b83305

10 years agoam 462fb3a8: Merge "gui: Fix return code assert in CpuConsumer_test."
Igor Murashkin [Tue, 4 Mar 2014 21:10:33 +0000 (21:10 +0000)]
am 462fb3a8: Merge "gui: Fix return code assert in CpuConsumer_test."

* commit '462fb3a8d597fffef3d5534544428d5cee9d8c16':
  gui: Fix return code assert in CpuConsumer_test.

10 years agoMerge "gui: Fix return code assert in CpuConsumer_test."
Igor Murashkin [Tue, 4 Mar 2014 21:05:40 +0000 (21:05 +0000)]
Merge "gui: Fix return code assert in CpuConsumer_test."

10 years agoam 61d6a008: Merge "hwc test: 64-bit compilation error"
Mark Salyzyn [Tue, 4 Mar 2014 19:18:03 +0000 (19:18 +0000)]
am 61d6a008: Merge "hwc test: 64-bit compilation error"

* commit '61d6a00895d2e8b9085278d0acbf98c19e7d6ed5':
  hwc test: 64-bit compilation error

10 years agoMerge "hwc test: 64-bit compilation error"
Mark Salyzyn [Tue, 4 Mar 2014 19:10:28 +0000 (19:10 +0000)]
Merge "hwc test: 64-bit compilation error"

10 years agohwc test: 64-bit compilation error
Mark Salyzyn [Tue, 4 Mar 2014 17:11:04 +0000 (09:11 -0800)]
hwc test: 64-bit compilation error

* cast 1u to size_t in max() argument lists

Change-Id: I02f711c89e96e4cfc348f1c7bac455339bec2fa1

10 years agoam 6e79cb81: Enable OMAP4 SGX workaround for OMAP3 too
Simon Wilson [Tue, 4 Mar 2014 00:20:43 +0000 (00:20 +0000)]
am 6e79cb81: Enable OMAP4 SGX workaround for OMAP3 too

* commit '6e79cb81d02984c9f7ac0586078f947c94c56c2a':
  Enable OMAP4 SGX workaround for OMAP3 too

10 years agoParse LED mappings in keylayout files. DO NOT MERGE
Michael Wright [Fri, 18 Oct 2013 00:35:53 +0000 (17:35 -0700)]
Parse LED mappings in keylayout files. DO NOT MERGE

Change-Id: I2b34939cc0df256e6b872502ea93f2884b4c8334

10 years agoam 6b4e5b7f: Merge "Fix misuse of ."
Ying Wang [Sat, 1 Mar 2014 02:15:39 +0000 (02:15 +0000)]
am 6b4e5b7f: Merge "Fix misuse of ."

* commit '6b4e5b7f856c32b75e9a22df4c3f2273ae906acb':
  Fix misuse of $(my-dir).

10 years agoMerge "Fix misuse of $(my-dir)."
Ying Wang [Sat, 1 Mar 2014 02:10:27 +0000 (02:10 +0000)]
Merge "Fix misuse of $(my-dir)."

10 years agoFix misuse of $(my-dir).
Ying Wang [Sat, 1 Mar 2014 02:05:56 +0000 (18:05 -0800)]
Fix misuse of $(my-dir).

Change-Id: I8b24f60826abe4b541de646cbc3df66929203301

10 years agoEnable OMAP4 SGX workaround for OMAP3 too
Simon Wilson [Fri, 28 Feb 2014 22:30:39 +0000 (14:30 -0800)]
Enable OMAP4 SGX workaround for OMAP3 too

Change-Id: I04308d8b7435b4adf1811f75f48f9e8a07a8c8a6

10 years agoam b98c4761: Merge "Correcting include path in installd test project\'s Android.mk"
Narayan Kamath [Fri, 28 Feb 2014 16:19:30 +0000 (16:19 +0000)]
am b98c4761: Merge "Correcting include path in installd test project\'s Android.mk"

* commit 'b98c4761e0c80a8d8138910e0a5e5fc8baff8282':
  Correcting include path in installd test project's Android.mk

10 years agoMerge "Correcting include path in installd test project's Android.mk"
Narayan Kamath [Fri, 28 Feb 2014 16:00:54 +0000 (16:00 +0000)]
Merge "Correcting include path in installd test project's Android.mk"

10 years agoCorrecting include path in installd test project's Android.mk
Ramin Zaghi [Thu, 27 Feb 2014 15:20:40 +0000 (15:20 +0000)]
Correcting include path in installd test project's Android.mk

 installd project has moved from frameworks/base to frameworks/native
 and so its test project's c_include path defined in Android.mk
 has to match the change.

Change-Id: I597125ff659f51edbd9fc95371790e2d567c78be

10 years agoam 93e6a48b: Merge "AArch64: Make eglGetDisplay(int) work for EGL_DEFAULT_DISPLAY"
Narayan Kamath [Thu, 27 Feb 2014 13:23:09 +0000 (13:23 +0000)]
am 93e6a48b: Merge "AArch64: Make eglGetDisplay(int) work for EGL_DEFAULT_DISPLAY"

* commit '93e6a48b3e876708a8161a9946581f5e8ebb382f':
  AArch64: Make eglGetDisplay(int) work for EGL_DEFAULT_DISPLAY

10 years agoMerge "AArch64: Make eglGetDisplay(int) work for EGL_DEFAULT_DISPLAY"
Narayan Kamath [Thu, 27 Feb 2014 13:17:57 +0000 (13:17 +0000)]
Merge "AArch64: Make eglGetDisplay(int) work for EGL_DEFAULT_DISPLAY"

10 years agoAArch64: Make eglGetDisplay(int) work for EGL_DEFAULT_DISPLAY
Ashok Bhat [Wed, 26 Feb 2014 09:56:09 +0000 (09:56 +0000)]
AArch64: Make eglGetDisplay(int) work for EGL_DEFAULT_DISPLAY

This will allow eglGetDisplay(int) to work on both 32-bit
and 64-bit systems when EGL_DEFAULT_DISPLAY is passed as
a parameter.

Change-Id: I0d7e9ca5410b0dd893eacc02aac40956908e4f25
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
10 years agoam c9bf3ba4: Merge "Virtual Display async mode is overridden"
Jesse Hall [Tue, 25 Feb 2014 21:51:10 +0000 (21:51 +0000)]
am c9bf3ba4: Merge "Virtual Display async mode is overridden"

* commit 'c9bf3ba411c66dd1d977c81f1aca08109cbf8c86':
  Virtual Display async mode is overridden

10 years agoMerge "Virtual Display async mode is overridden"
Jesse Hall [Tue, 25 Feb 2014 21:43:09 +0000 (21:43 +0000)]
Merge "Virtual Display async mode is overridden"

10 years agoam aaa27fd5: Merge "Use reinterpret_cast when an integer is cast to a pointer"
Narayan Kamath [Tue, 25 Feb 2014 13:10:53 +0000 (13:10 +0000)]
am aaa27fd5: Merge "Use reinterpret_cast when an integer is cast to a pointer"

* commit 'aaa27fd5a0bb81ac17c25c33beb2656b32100cd6':
  Use reinterpret_cast when an integer is cast to a pointer

10 years agoam e5c99bf3: Merge "Use long for pointers in opengl/EGL classes"
Narayan Kamath [Tue, 25 Feb 2014 13:10:53 +0000 (13:10 +0000)]
am e5c99bf3: Merge "Use long for pointers in opengl/EGL classes"

* commit 'e5c99bf38001d86ca41dfc51fac337aa6a6931f4':
  Use long for pointers in opengl/EGL classes

10 years agoMerge "Use reinterpret_cast when an integer is cast to a pointer"
Narayan Kamath [Tue, 25 Feb 2014 13:05:49 +0000 (13:05 +0000)]
Merge "Use reinterpret_cast when an integer is cast to a pointer"

10 years agoMerge "Use long for pointers in opengl/EGL classes"
Narayan Kamath [Tue, 25 Feb 2014 13:05:45 +0000 (13:05 +0000)]
Merge "Use long for pointers in opengl/EGL classes"

10 years agoam ead79b83: Merge "Binder: Make sure binder objects do not overlap"
Arve Hjønnevåg [Tue, 25 Feb 2014 00:06:50 +0000 (00:06 +0000)]
am ead79b83: Merge "Binder: Make sure binder objects do not overlap"

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

10 years agoMerge "Binder: Make sure binder objects do not overlap"
Arve Hjønnevåg [Tue, 25 Feb 2014 00:01:53 +0000 (00:01 +0000)]
Merge "Binder: Make sure binder objects do not overlap"

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

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

Change-Id: Ibc6a63b151c1fc1f7666237f25255ba781e02071