Commit Graph

3901 Commits

Author SHA1 Message Date
The Android Open Source Project a6f4e65bc4 Reconcile with jb-release
Change-Id: Ic8df0fdb3f0a3e9eb54bbd37a929b04c394beb28
2012-06-11 09:22:54 -07:00
The Android Automerger 7452db9890 merge in jb-release history after reset to jb-dev 2012-06-11 07:05:20 -07:00
Jeff Brown f87d9c8698 am 9cec175c: Remove a stray newline in the backtrace output.
* commit '9cec175c66100d9edbb1054f3f2977a5c3f80af2':
  Remove a stray newline in the backtrace output.
2012-06-08 15:30:33 -07:00
Jeff Brown 536b81afed resolved conflicts for merge of 053b8654 to jb-dev-plus-aosp
Change-Id: Idfef8c26b7a9e1a1a202e21dc5d34022bbaa92cc
2012-06-08 15:27:01 -07:00
Jamie Gennis 1279013dee Enable tracing on user builds
This change adds init.rc steps to:
 * allow kernel tracing to be enabled via adb
 * allow a limited set of kernel trace events to be enabled via adb
 * allow the kernel trace to be read via adb
 * allow all users to write to the kernel trace from userland

Bug: 6513400
Change-Id: Ic3c189b5697aa5edf88d2f507c932971bed6caff
2012-06-08 14:26:29 -07:00
Jeff Brown 9cec175c66 Remove a stray newline in the backtrace output.
Bug: 6615693
Change-Id: I1ac1746286afb77c3f5c4042c4592333ebb08a51
2012-06-08 14:21:51 -07:00
Jeff Brown 053b865412 Enhance native stack dumps.
Provides a new mechanism for dumpstate (while running as root)
to request that debuggerd dump the stacks of native processes that
we care about in bug reports.  In this mode, the backtrace
is formatted to look similar to a Dalvik backtrace.

Moved the tombstone generating code into a separate file to
make it easier to maintain.

Fixed a bug where sometimes the stack traces would be incomplete
because we were not waiting for each thread to stop after issuing
PTRACE_ATTACH, only the main thread.  So sometimes we were missing
traces for some threads.

Refactored the logging code to prevent accidentally writing data
to logcat when explicitly dumping a tombstone or backtrace from the
console.

Only root or system server can request to dump backtraces but
only root can dump tombstones.

Bug: 6615693
Change-Id: Ib3edcc16f9f3a687e414e3f2d250d9500566123b
2012-06-08 13:29:23 -07:00
Bhanu Chetlapalli a7fbf8a673 [MIPS] Enable SD-card functionality to work
Change-Id: I711f533214b9b7bce2ff1000a55d6b8f310f2399
Signed-Off-By: Bhanu Chetlapalli <bhanu@mips.com>
2012-06-07 15:15:52 -07:00
The Android Open Source Project d96544ff69 Reconcile with jb-release
Change-Id: Ida4b92a5bf99e33e3162186f823b410317d9f6b1
2012-06-07 07:51:38 -07:00
The Android Automerger e545c5341f merge in jb-release history after reset to jb-dev 2012-06-05 06:59:47 -07:00
Dima Zavin 779b12fc35 am 5f2d00b0: rootdir: init.rc: remove audio app/sys groups, merge to fg
* commit '5f2d00b0677cbe9ad42ea0394def0a51aef7bdda':
  rootdir: init.rc: remove audio app/sys groups, merge to fg
2012-06-05 00:33:34 -07:00
Dima Zavin 2b628a3c2e am 29319a67: cutils: sched_policy: remove audio app/sys groups, merge into fg
* commit '29319a6753569fb3ef160c2de2f1c4d9d1398178':
  cutils: sched_policy: remove audio app/sys groups, merge into fg
2012-06-05 00:33:33 -07:00
Dima Zavin 38160c06ca am df44b886: core: init.rc: create apps cgroup for fg tasks, move bg under it
* commit 'df44b88621f60e933d7d31090bf0bb892e88142c':
  core: init.rc: create apps cgroup for fg tasks, move bg under it
2012-06-05 00:33:31 -07:00
Dima Zavin 2449c83a09 am 13ed76bf: cutils: sched_policy: make bg group be nested under fg
* commit '13ed76bfbce8e96604e781f88808b4d883891dde':
  cutils: sched_policy: make bg group be nested under fg
2012-06-05 00:33:30 -07:00
Dima Zavin 5f2d00b067 rootdir: init.rc: remove audio app/sys groups, merge to fg
With this change, the audio rr/fifo threads will just run in
the fg cgroup.

Also, the RR budget for the apps fg/bg threads has been bumped
to 80%. Ideally, the bg budget would be much smaller but there
are legacy libraries that seem to be very sensitive to this so
for now keep it at this value.

Bug: 6528015
Change-Id: I08f295e7ba195a449b96cd79d954b0529cee8636
Signed-off-by: Dima Zavin <dima@android.com>
2012-06-04 15:11:33 -07:00
Dima Zavin 29319a6753 cutils: sched_policy: remove audio app/sys groups, merge into fg
Bug: 6528015
Change-Id: I6c2658b62442d811b53c6d18476fbd6cd45f9e3f
Signed-off-by: Dima Zavin <dima@android.com>
2012-06-04 13:20:17 -07:00
Dima Zavin df44b88621 core: init.rc: create apps cgroup for fg tasks, move bg under it
Bug: 6538553
Change-Id: I7c29975aa376bcdda9d6bbd1fd3e04fdb1c1b1fe
Signed-off-by: Dima Zavin <dima@android.com>
2012-06-04 13:02:44 -07:00
Dima Zavin 13ed76bfbc cutils: sched_policy: make bg group be nested under fg
Adds an apps cgroup which will contain fg tasks. Move the bg group
nested underneath it.

Bug: 6538553
Change-Id: I55279415da625e15a5bb061c2b45fbe7f7a4c047
Signed-off-by: Dima Zavin <dima@android.com>
2012-06-04 10:42:40 -07:00
Robert Greenwalt 6f523cda13 am 7bb1b958: am ff856a2b: Merge "Add error handling to SocketClient::sendData"
* commit '7bb1b9585d2d61beaf05c997971aee27f87ad3f7':
  Add error handling to SocketClient::sendData
2012-05-30 15:29:07 -07:00
Robert Greenwalt 7bb1b9585d am ff856a2b: Merge "Add error handling to SocketClient::sendData"
* commit 'ff856a2b927aaadb189181d2cd9dd08dc98456a4':
  Add error handling to SocketClient::sendData
2012-05-30 15:23:29 -07:00
Robert Greenwalt ff856a2b92 Merge "Add error handling to SocketClient::sendData" 2012-05-30 14:57:50 -07:00
Duane Sand 068f9f3bf9 Add Mips support to libpixelflinger
Change-Id: Ib81cb01b8d90ed1afa1fd54b3cc009d7fec0f814
2012-05-30 11:48:53 -07:00
Duane Sand 096041174b Add Mips architecture to system/core/include
Change-Id: Ief7bdbd8d09cabe3f11f3ed47a932a7faa81cad9
2012-05-29 16:18:42 -07:00
The Android Open Source Project 99565a9e80 Reconcile with jb-release
Change-Id: Idc084816f4d709bf71c761151d548c8136085767
2012-05-29 09:41:27 -07:00
The Android Automerger b7eb2cc299 merge in jb-release history after reset to jb-dev 2012-05-29 09:01:51 -07:00
Mattias Falk 2e5fcd08ac Add error handling to SocketClient::sendData
Return failure and set errno if mSocket isn't valid.

Change-Id: I579114d435db46d0bb5682167ef34bebe061a8f8
2012-05-29 14:19:06 +02:00
Jean-Baptiste Queru 79c71831ca am a802b837: am 1d5e7885: Merge "toolbox: implement rm -f flag"
* commit 'a802b8374a22da9f52541e1fc286dcbdb1cfa1b4':
  toolbox: implement rm -f flag
2012-05-25 08:12:59 -07:00
Jean-Baptiste Queru a802b8374a am 1d5e7885: Merge "toolbox: implement rm -f flag"
* commit '1d5e7885698ca81241f10d06d475ef4e6075089b':
  toolbox: implement rm -f flag
2012-05-25 08:09:42 -07:00
Jean-Baptiste Queru 1d5e788569 Merge "toolbox: implement rm -f flag" 2012-05-25 07:32:02 -07:00
Eric Laurent 27ca5f1493 am 88f11846: audio policy: allow disabling A2DP for media.
* commit '88f11846a621b148387aa09754bc939933793717':
  audio policy: allow disabling A2DP for media.
2012-05-24 11:42:54 -07:00
Eric Laurent 88f11846a6 audio policy: allow disabling A2DP for media.
Added FORCE_NO_BT_A2DP forced use to allow applications to
override default policy to use A2DP whenever connected.

Bug 6485897.

Change-Id: I0039232ea6cce4121f375961b2c153d1a0d92e49
2012-05-24 10:10:45 -07:00
The Android Open Source Project c79e59ce77 Reconcile with jb-release
Change-Id: I76ffcc7449cf140d5598612a6be3e8f7b964dc9b
2012-05-24 09:01:53 -07:00
The Android Automerger 75d2a79001 merge in jb-release history after reset to jb-dev 2012-05-24 07:02:51 -07:00
Irfan Sheriff e4cd4512d6 am ddf07b41: Merge "Reuse system properties for p2p" into jb-dev
* commit 'ddf07b41167bbcb4e74d0af5dd43175513963c2d':
  Reuse system properties for p2p
2012-05-23 14:19:27 -07:00
Irfan Sheriff ddf07b4116 Merge "Reuse system properties for p2p" into jb-dev 2012-05-23 14:17:02 -07:00
Irfan Sheriff 89f58cf827 Reuse system properties for p2p
p2p interfaces keep increasing. Reuse a single "p2p" phrase to track all
p2p specific properties.

Longer term, we will remove the use of system properties for dhcp

Also, fixed some warnings

Bug: 6522164
Change-Id: Ibe9a68a1b5db9d5b0fe88c854d9f94b1b9930970
2012-05-23 14:13:40 -07:00
The Android Open Source Project 8141498d2d Reconcile with jb-release nakasi-factoryrom-release
Change-Id: I1f460af608d091f5e9fddcab2953817fee7eec43
2012-05-18 18:44:12 -07:00
The Android Automerger 2240bbe647 merge in nakasi-factoryrom-release history after reset to jb-dev 2012-05-18 10:50:50 -07:00
Jean-Baptiste Queru 5820a99f3f Fix build
Change-Id: Ie2af6aab7e236c31bb7a607659813218ef9c5400
2012-05-16 16:56:57 -07:00
Colin Cross 90dbf7a87e 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 15:52:08 -07:00
Colin Cross bbea14468e am 4c48025c: Increase cpu.rt_runtime_us to 10% for fg and bg groups
* commit '4c48025c484e9fb0e10bb9c6a1b9bbd5a2def555':
  Increase cpu.rt_runtime_us to 10% for fg and bg groups
2012-05-16 14:22:53 -07:00
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