Commit Graph

3809 Commits

Author SHA1 Message Date
Colin Cross 4c48025c48 Increase cpu.rt_runtime_us to 10% for fg and bg groups
GPS on yakju puts SCHED_RR threads in the fg and bg groups, and
is unhappy with 0.1% limits.  Increase the limits to 10%.

Change-Id: I971c9b0a815890d41694b965fdd2b023937a4411
2012-05-16 13:49:30 -07:00
The Android Open Source Project 5e8f859631 Reconcile with jb-release nakasi-factoryrom-release
Change-Id: I988b644a8fc479af57a19dc947fbb1075e5bc515
2012-05-16 08:41:16 -07:00
Xavier Ducrohet c7a67d0fc4 resolved conflicts for merge of 246808be to jb-dev-plus-aosp
Change-Id: I3415e2d7b4e8295b7415951c0e8a78c775574089
2012-05-15 10:44:29 -07:00
The Android Automerger 1f956d3ecc merge in nakasi-factoryrom-release history after reset to jb-dev 2012-05-15 09:36:41 -07:00
The Android Automerger ccd0503137 merge in jb-release history after reset to jb-dev 2012-05-15 07:07:13 -07:00
Vishal Bhoj fc26c0ba59 toolbox: rmmod: fix module unloading
Replace "-" with "_" in module name. This would keep
rmmod compatible with module-init-tools version of rmmod

Change-Id: I4470d9a98bc2f299acd94859fca4403aee279d2b
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2012-05-15 18:01:34 +05:30
Xavier Ducrohet 246808bedf Add USB Vendor ID for Yulong Coolpad.
Bug: 6217375

Change-Id: I8931c42e8d3088cc4df8c6e56b323a7392cad5ef
2012-05-14 15:00:25 -07:00
The Android Automerger b0c4d53502 merge in jb-release history after reset to jb-dev 2012-05-14 07:06:20 -07:00
Jean-Baptiste Queru 9dbcbe0875 am 9bdedb59: am a36e1aa3: Merge "adb: usb_windows: fix adb connection lost issue"
* commit '9bdedb599874278abf206230ed31010eeb9b40dd':
  adb: usb_windows: fix adb connection lost issue
2012-05-11 21:58:10 -07:00
Jean-Baptiste Queru 9bdedb5998 am a36e1aa3: Merge "adb: usb_windows: fix adb connection lost issue"
* commit 'a36e1aa3db254d008f220a45899e1d70f4192619':
  adb: usb_windows: fix adb connection lost issue
2012-05-11 21:55:00 -07:00
Jeff Brown 94cb7adb89 am bee7ce20: Merge "Delete dead code." into jb-dev
* commit 'bee7ce20a5dad8b04075b3ec6a2ff0dc5d2d0cea':
  Delete dead code.
2012-05-11 19:35:18 -07:00
Jeff Brown bee7ce20a5 Merge "Delete dead code." into jb-dev 2012-05-11 19:32:43 -07:00
Jeff Brown 1ee467c760 Delete dead code.
This file is not compiled and not used.

Bug: 6435382
Change-Id: I3a08690950f1c77f8b0bc57a9e5cdb6eb402ac77
2012-05-11 17:35:16 -07:00
Todd Poynor 7c7a55ee82 am 50efaf2f: Merge "init: Set perms for interactive cpufreq governor boostpulse" into jb-dev
* commit '50efaf2f7fc87692649497dba5615e54efd9c637':
  init: Set perms for interactive cpufreq governor boostpulse
2012-05-11 15:55:59 -07:00
Todd Poynor 50efaf2f7f Merge "init: Set perms for interactive cpufreq governor boostpulse" into jb-dev 2012-05-11 15:54:13 -07:00
JP Abgrall 177a74aced am c1f88106: Merge "fastboot: Change -w to format after the erase of userdata & cache" into jb-dev
* commit 'c1f881069de19dfa52aaa4cb06e8b3912c2ad61a':
  fastboot: Change -w to format after the erase of userdata & cache
2012-05-11 15:30:33 -07:00
JP Abgrall c1f881069d Merge "fastboot: Change -w to format after the erase of userdata & cache" into jb-dev 2012-05-11 15:28:45 -07:00
Jean-Baptiste Queru a36e1aa3db Merge "adb: usb_windows: fix adb connection lost issue" 2012-05-11 14:47:20 -07:00
Colin Cross 5189c300bd Increase rt_runtime_us to 1000 for foreground and bg_non_interactive
rt_runtime_us=0 can cause deadlocks if a SCHED_FIFO/SCHED_RR thread
is moved into the wrong cgroup.

Change-Id: I4633392fb529039dff6ba5d3a6b672e0de9fc2d9
2012-05-10 15:00:43 -07:00
Colin Cross 9752d4ef4c am 367e7b19: Increase rt_runtime_us to 1000 for foreground and bg_non_interactive
* commit '367e7b195b144772464e560352caa2017a53058c':
  Increase rt_runtime_us to 1000 for foreground and bg_non_interactive
2012-05-10 14:04:04 -07:00
Colin Cross 367e7b195b Increase rt_runtime_us to 1000 for foreground and bg_non_interactive
rt_runtime_us=0 can cause deadlocks if a SCHED_FIFO/SCHED_RR thread
is moved into the wrong cgroup.

Change-Id: I4633392fb529039dff6ba5d3a6b672e0de9fc2d9
2012-05-10 13:56:43 -07:00
Eino-Ville Talvala 919f3623e9 am 67fb73f5: Merge "Camera: Document expected error codes for start face detect." into jb-dev
* commit '67fb73f5d5eaa089b63018f55f980631c9ba6749':
  Camera: Document expected error codes for start face detect.
2012-05-10 10:45:23 -07:00
Doug Zongker e99ac6eba3 am 4fd375b5: Merge "change /fstab.* perms to 0640" into jb-dev
* commit '4fd375b566f0a4536b0afd8a2e4bd1c573a082c9':
  change /fstab.* perms to 0640
2012-05-10 10:45:07 -07:00
Eino-Ville Talvala 67fb73f5d5 Merge "Camera: Document expected error codes for start face detect." into jb-dev 2012-05-10 10:21:04 -07:00
Doug Zongker 4fd375b566 Merge "change /fstab.* perms to 0640" into jb-dev 2012-05-10 09:30:35 -07:00
The Android Automerger 98d319a171 merge in jb-release history after reset to jb-dev 2012-05-10 07:06:16 -07:00
Eino-Ville Talvala 58cfa8af0e Camera: Document expected error codes for start face detect.
Clarify when BAD_VALUE is expected from the camera start face detect
command.

Bug: 6459066
Change-Id: Id1b3d5047dee2c509aa6e374a5ed439a776b0b87
2012-05-09 18:32:36 -07:00
Jamie Gennis e4f1246b44 am 011b502b: Merge "ANativeWindow: add set_post_transform_crop" into jb-dev
* commit '011b502b120b692ccbda140ed2cb3fe768c99eb0':
  ANativeWindow: add set_post_transform_crop
2012-05-09 12:52:54 -07:00
Jamie Gennis 011b502b12 Merge "ANativeWindow: add set_post_transform_crop" into jb-dev 2012-05-09 12:51:04 -07:00
Jack Ren 1c4b760a5d adb: usb_windows: fix adb connection lost issue
Windows adb connection could be lost if the target
side kernel enables the kmemleak.

The root cause is that kmemleak downgrades USB
performance, and lead to Windows adb host application
timeout because usb_write()/usb_read()'s timeout time is
very short. That issue is not reproducible in Linux
host because its usb_write() timeout is 5s and usb_read()
is blocked until return:
                usb_write()         usb_read()
Linux           5000ms              blocked until return
Windows         500+len*8 ms        500+len*8 ms

To fix that issue, extend the Windows adb host usb_write
timeout time to 5 seconds and usb_read() as a blocked routine:
                usb_write()         usb_read()
Windows         5000ms              blocked until return

Change-Id: If54e2b4c396a5a06318c0ee0b3326a00e7661fbc
Signed-off-by: Yu Wang <yu.y.wang@intel.com>
Signed-off-by: Jin Can Zhuang <jin.can.zhuang@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
2012-05-09 23:08:12 +08:00
The Android Automerger f033c6996a merge in jb-release history after reset to jb-dev 2012-05-09 07:47:35 -07:00
Jeff Brown 33563c4482 am 5b878d24: Revert "Revert "Use O_CLOEXEC when opening cgroup fds.""
* commit '5b878d24c1f01a5f131d470280b51bcfb5638600':
  Revert "Revert "Use O_CLOEXEC when opening cgroup fds.""
2012-05-09 01:48:45 -07:00
Jeff Brown 82ebb15881 am bff8f3fa: Add stubs for host builds.
* commit 'bff8f3fa9848e52e3f3fe773796a03a80133992a':
  Add stubs for host builds.
2012-05-09 01:48:45 -07:00
Jeff Brown 2f70edf80a am 796a85e2: Merge "Revert "Use O_CLOEXEC when opening cgroup fds."" into jb-dev
* commit '796a85e24511b7926a1fccb7cc695900d3ce0922':
  Revert "Use O_CLOEXEC when opening cgroup fds."
2012-05-09 01:48:25 -07:00
Jeff Brown 295afb36b5 am 6bdc0ca8: Merge "Use O_CLOEXEC when opening cgroup fds." into jb-dev
* commit '6bdc0ca86acd8a50de2df9433a195baefce2b3a7':
  Use O_CLOEXEC when opening cgroup fds.
2012-05-09 01:48:08 -07:00
Jeff Brown 5b878d24c1 Revert "Revert "Use O_CLOEXEC when opening cgroup fds.""
This reverts commit 4df54bc4a8.
2012-05-08 15:07:58 -07:00
Jeff Brown bff8f3fa98 Add stubs for host builds.
Bug: 4466013
Change-Id: I5633c841e71a48357bb04cd7ccc02550c17bde22
2012-05-08 15:07:32 -07:00
Jeff Brown 796a85e245 Merge "Revert "Use O_CLOEXEC when opening cgroup fds."" into jb-dev 2012-05-08 14:59:31 -07:00
Jeff Brown 4df54bc4a8 Revert "Use O_CLOEXEC when opening cgroup fds."
This reverts commit e1440d81ae
2012-05-08 14:58:30 -07:00
Jeff Brown 6bdc0ca86a Merge "Use O_CLOEXEC when opening cgroup fds." into jb-dev 2012-05-08 13:59:05 -07:00
Jeff Brown e1440d81ae Use O_CLOEXEC when opening cgroup fds.
Bug: 4466013
Change-Id: I0d2e915fc550a0ecaccad5e452dd4c87fc878b8b
2012-05-08 13:41:10 -07:00
The Android Automerger d8d410d1b5 merge in jb-release history after reset to jb-dev 2012-05-08 08:26:24 -07:00
JP Abgrall 30ae5806e9 fastboot: Change -w to format after the erase of userdata & cache
If the bootloader doesn't support formatting of those partitions
(either because it doesn't support the getvar commands needed or
the partition type is not supported), the errors are printed but
doesn't halt processing of subsequent commands.

Change-Id: I816ac2e5e7593846fcb4fd39c793a8dbdd996f6f
Signed-off-by: Mike J. Chen <mjchen@google.com>
2012-05-07 20:25:24 -07:00
Doug Zongker 0e6056d012 change /fstab.* perms to 0640
It's safe to change the permissions on files in the root partitions;
incremental OTA now knows how to handle this case.

This reverts commit 08c370cc50.

Change-Id: I503bf8ebd037fa9715494c6539e5430eee47acfe
2012-05-07 16:49:24 -07:00
Colin Cross 40b2d79a40 am 0e92b50f: Merge "libsuspend: create new library to handle triggering suspend" into jb-dev
* commit '0e92b50f0fb432c45b26863394e473916b0ab4ef':
  libsuspend: create new library to handle triggering suspend
2012-05-07 16:02:14 -07:00
Colin Cross 0e92b50f0f Merge "libsuspend: create new library to handle triggering suspend" into jb-dev 2012-05-07 16:00:19 -07:00
Colin Cross a2582c2c4d libsuspend: create new library to handle triggering suspend
libsuspend provides functions autosuspend_enable() and
autosuspend_disable() to trigger suspend on a variety of different
kernels.

Change-Id: I5dc28fb51532fa7c514330f1cfde7698d31d734c
2012-05-07 15:33:34 -07:00
Jamie Gennis d21113ac46 ANativeWindow: add set_post_transform_crop
This change replaces the set_active_rect function with set_post_transform_crop.
There is a temporary set_active_rect function that calls
set_post_transform_crop for compatibility while commiting to multiple git
repositories.

Change-Id: Ia7c171186fd277d5a36f6068ace93a9ce1c82d28
2012-05-07 14:21:46 -07:00
Jean-Baptiste Queru 2f1d4e2d2d am 254e0d49: am d98c87c9: Merge "init: Fix chown and chmod for write-only files"
* commit '254e0d496e11b30cd9e4f9324f3514be7e85f6d4':
  init: Fix chown and chmod for write-only files
2012-05-06 15:32:47 -07:00
Jean-Baptiste Queru 254e0d496e am d98c87c9: Merge "init: Fix chown and chmod for write-only files"
* commit 'd98c87c95342ed6eade9f1239122dc9e90dcad67':
  init: Fix chown and chmod for write-only files
2012-05-06 15:29:18 -07:00