Commit Graph

719 Commits

Author SHA1 Message Date
Dan Bornstein 1dec5032cf Force the mediaserver process to restart whenever the zygote or system
server do.

Change-Id: I16ce4ae656473055e7e244ccd4af7055959e3c1c
2009-10-09 14:52:15 -07:00
Android (Google) Code Review ea935c1d97 Merge change I7b04795c into eclair
* changes:
  Make vmallocinfo readable by group log so we can put it in bugreports
2009-10-08 19:16:24 -04:00
Rebecca Schultz Zavin 14d898e014 Make vmallocinfo readable by group log so we can put it in bugreports
Change-Id: I7b04795c029c51108132e7a9eaf46b97de06de6f
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2009-10-08 16:15:58 -07:00
Doug Zongker bbf4093e7a am 46ef2b87: add free space on system and cache to free_storage_left log event
Merge commit '46ef2b87d01a2df67074351d0078bf900550f343' into eclair

* commit '46ef2b87d01a2df67074351d0078bf900550f343':
  add free space on system and cache to free_storage_left log event
2009-10-07 18:16:50 -07:00
Doug Zongker 46ef2b87d0 add free space on system and cache to free_storage_left log event 2009-10-07 15:06:02 -07:00
Brian Swetland aa7d97106a init.rc: don't mount debugfs
We'll do this in the product-specific init files.
2009-10-07 12:28:44 -07:00
San Mehat 529520e824 Revert "rootdir: init.rc: *LATENCY EXPERIMENT* - Disable cgroups in favor of new scheduler policy support"
This reverts commit 35ad5f41c3.
2009-10-06 11:22:55 -07:00
Jean-Baptiste Queru f184b94ad3 am b084929f: Make AudioPara4 world-readable
Merge commit 'b084929f5dd57b878f6debe6567a6c8888061fa0' into eclair

* commit 'b084929f5dd57b878f6debe6567a6c8888061fa0':
  Make AudioPara4 world-readable
2009-10-04 15:05:49 -07:00
Jean-Baptiste Queru b084929f5d Make AudioPara4 world-readable
This way adb pull can get to it on user builds.

BUG=1869158
2009-10-02 11:25:58 -07:00
Tom Zhu 4833d9f498 init: builtins: trancate target file in do_copy
add O_TRUNC flag in open(), which will truncate the target file,
otherwise, copy will keep the old content of the target file.

Signed-off-by: Tom Zhu <ling.zhu@motorola.com>
Signed-off-by: San Mehat <san@google.com>
2009-09-30 14:15:49 -07:00
Dan Egnor 04ea5b974d Add backup_initialize event to track initializeDevice() requests 2009-09-29 19:11:03 -07:00
Jeff Hamilton 9e42da45cf Add a new event log tag for corrupted database files.
Change-Id: I6b920de4e7c86257cb56a75e570c01a42fb2d082
2009-09-29 11:46:46 -07:00
Ben Cheng 09e713789e Print code around PC and LR in the inline log.
8 more lines should provide more crucial information in weird cases.
2009-09-28 11:09:22 -07:00
Ethan.Du 3afe20b0be vold: Add support for /dev/block/mmcblk1
Signed-off-by: Ethan.Du <a7233c@motorola.com>
Signed-off-by: San Mehat <san@google.com>
2009-09-24 10:16:15 -07:00
Android (Google) Code Review ff7d5835d9 Merge change 26093 into eclair
* changes:
  Add NOTICE file and license tag for adb
2009-09-24 12:45:49 -04:00
David 'Digit' Turner a0c98ef01a Ensure -user builds can run the dex preopt pass in the emulator.
This is done by ensuring that /init.goldfish.rc and /system/etc/init.goldfish.sh
are part of the system image, even if it lacks other emulator related bits.
2009-09-23 11:22:31 -07:00
Android (Google) Code Review 79aedbee8f Merge change 26423 into eclair
* changes:
  Add support for Acer devices
2009-09-22 16:29:09 -04:00
Robert CH Chou 7953b89e8d Add support for Acer devices
Change-Id: I7045249f86e2b628c31c888e95eb5ba6f6c47251
2009-09-22 13:03:14 -07:00
Dan Egnor b92174db6d Add event parameter for the restore set (device id) data is being restored from 2009-09-22 10:42:52 -07:00
Christopher Tate 061b6de7b3 Add event log tag for server-prompted reset of backup data 2009-09-21 13:12:09 -07:00
Android (Google) Code Review 88003b0de2 Merge change 26051 into eclair
* changes:
  add account field to the sync log event
2009-09-21 12:21:08 -04:00
Mike Lockwood 6ae9256322 adb: Add USB Vendor IDs for LG and Huawei
Change-Id: Ib47e3e39609bac9cf34f2b9334aa95184b3db71d
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-21 08:09:59 -04:00
Chia-chi Yeh 9b4f1ff210 init.rc: specify keystore directory and fix permissions. 2009-09-21 11:47:02 +08:00
Jean-Baptiste Queru 2fcdaf9907 Add NOTICE file and license tag for adb
BUG=1716164
2009-09-20 19:02:02 -07:00
Doug Zongker 6f9d1c2174 add account field to the sync log event 2009-09-20 15:48:22 -07:00
Jaikumar Ganesh 1320687bdb Remove logwrapper for Bluetoothd.
Change-Id: I6d16bc0dbdf9f3aff2080f8c7968ff3cb592811e
2009-09-20 10:31:45 -07:00
Mike Lockwood b6b40079e6 adb: Clean up argument passing for create_service_thread()
Change-Id: Id68b312e76215e8e217b42ca0301713dbddfee9e
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-19 17:49:57 -04:00
Android (Google) Code Review 119dcd8400 Merge change 25859 into eclair
* changes:
  Improve error-handling when an expected token is missing.
2009-09-18 19:26:43 -04:00
Jack Palevich b13d4e857a Improve error-handling when an expected token is missing.
We had been arbitrarily swallowing the next token, even if it wasn't
the one we were expecting. Now we only swallow it if it _is_ the one
we were expecting.
2009-09-18 16:26:05 -07:00
Brian Swetland bb6f68c63d init.rc: mount debugfs for debugging
- put it at /sys/kernel/debug so Arve will be happy
- symlink /d to /sys/kernel/debug so Brian will be happy.
2009-09-18 15:31:23 -07:00
Jack Palevich 1c60e46e0e Produce error rather than assert when encountering a nested function.
Remove extra '\n' characters from error messages.

Dynamically allocate error message buffer.
2009-09-18 15:03:03 -07:00
Android (Google) Code Review 05647c89ef Merge change 25170 into eclair
* changes:
  Disable sched_policy under Windows.
2009-09-16 19:43:11 -04:00
Android (Google) Code Review 6388fe801c Merge change 25383 into eclair
* changes:
  Add bitfields to header for screen shots.  This will allow ddms to distinguish between various 32 bit pixel formats.  Also adds new version number for future expansion.
2009-09-16 19:13:28 -04:00
San Mehat 35ad5f41c3 rootdir: init.rc: *LATENCY EXPERIMENT* - Disable cgroups in favor of new scheduler policy support
Signed-off-by: San Mehat <san@google.com>
2009-09-16 14:13:14 -07:00
San Mehat 7baff71b0d rootdir: init.rc: tweak cfs scheduler - disable child_runs_first
Signed-off-by: San Mehat <san@google.com>
2009-09-16 13:32:23 -07:00
Rebecca Schultz Zavin 154b7d7de4 Add bitfields to header for screen shots. This will allow ddms to distinguish
between various 32 bit pixel formats.  Also adds new version number for
future expansion.

Change-Id: Ia1d7d7485614e961a47ebb65493b19f4a16ded05
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2009-09-15 21:06:12 -07:00
Raphael 0384a98d6f Disable sched_policy under Windows.
This introduces a new HAVE_SCHED_H arch define, which is used
to prevent from building sched_policy.c during the Windows SDK.

Change-Id: I3667857a4ae7d6baaf1efd1cd187a5baf91419d8
2009-09-15 17:10:17 -07:00
David Ding 7a013f967e Fix vold coredump when enable_ums cmd comes without media inserted.
Signed-off-by: Ethan.Du <a7233c@motorola.com>
Signed-off-by: David Ding <david.j.ding@motorola.com>
2009-09-15 15:16:36 -07:00
San Mehat 3cd5b66ba0 libcutils: Dont include kernel header + add defines
Signed-off-by: San Mehat <san@google.com>
2009-09-14 16:05:51 -07:00
San Mehat 493dad9663 libcutils: Add abstracted support for setting scheduler policies
Also changes the background policy to use SCHED_BATCH. IDLEPRIO
can cause 100% starvation.

Signed-off-by: San Mehat <san@google.com>
2009-09-12 10:48:03 -07:00
Mike Lockwood 25f1a5aaff init.rc: Adjust permissions on /data/dontpanic/ so dumpstate will not need root
Change-Id: Iff83310f9411c39e1833b3d710b029b12f702993
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-11 17:13:28 -04:00
Android (Google) Code Review 8880093fe3 Merge change 24493 into eclair
* changes:
  Fix several issues in framebuffer_service
2009-09-10 19:31:27 -04:00
Rebecca Schultz Zavin 04bee29ad9 Fix several issues in framebuffer_service
-supports fb's with x and y offsets
-dumps the front buffer (instead of just the low end of the buffer)
-switch from mmap to read/write, for fb's with very large offsets

Change-Id: Id560790c9661f7cc3b4350a44cc29f0104831e85
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2009-09-10 15:37:08 -07:00
Android (Google) Code Review e67eff1c61 Merge change 24564 into eclair
* changes:
  init: Make /dev/pmem_gpu* be writable by all
2009-09-10 17:22:33 -04:00
Android (Google) Code Review 374ad789df Merge change 24577 into eclair
* changes:
  Update peephole optimizer
2009-09-10 17:07:54 -04:00
Android (Google) Code Review e7aa14978f Merge change 24576 into eclair
* changes:
  Add a script "accarm" for ad-hoc testing of the ARM acc compiler.
2009-09-10 17:07:24 -04:00
Jack Palevich 53f0658792 Update peephole optimizer
+ Save one instruction for loads of local byte or float values.
+ Save two instructions for pointer arithmetic with a stride that
  is a power of two.
2009-09-10 14:01:58 -07:00
Jack Palevich bb3e9c1814 Add a script "accarm" for ad-hoc testing of the ARM acc compiler.
This script copies the test file over to the ARM, runs the acc compiler
on ARM, and then prints out the results.

It also syncs the acc compiler binary over to the ARM.
2009-09-10 12:45:31 -07:00
Dima Zavin c2d8e0e701 init: Make /dev/pmem_gpu* be writable by all
STOPSHIP: The actual device entry needs to be removed once the products
that use this switch on the mmu.

Change-Id: I10afea36c8731d845382665ed3db7647f68d1276
Signed-off-by: Dima Zavin <dima@android.com>
2009-09-10 12:34:32 -07:00
Android (Google) Code Review 8b213f1ad9 Merge change 24474 into eclair
* changes:
  Fix an infinite loop in time2sub.
2009-09-10 13:47:50 -04:00