Commit graph

1439 commits

Author SHA1 Message Date
Arve Hjønnevåg
b6b8793b8b toolbox: nandread: Add options to extract raw images, partial images, and fix bad block check. 2010-03-03 16:48:38 -08:00
Joe Onorato
3b6bd0267a remove stray printfs. 2010-03-03 17:18:28 -05:00
San Mehat
661aff600c newfs_msdos: Allow -s option to work by itself
Signed-off-by: San Mehat <san@google.com>
2010-03-03 12:40:21 -08:00
San Mehat
503df20759 cutils: sched_policy: Make getSchedulerGroup() play nicely with multiple control groups
Signed-off-by: San Mehat <san@google.com>
2010-03-02 17:09:56 -08:00
Andy McFadden
fd7ebb3673 Merge "Fix Heap Corruption from too long of a TAG" 2010-03-02 11:14:39 -08:00
Mike Chan
026b017a9b Merge "init.rc: Add cpuacct to cgroup mount for cpu statistic" 2010-03-02 10:40:40 -08:00
Brian Carlstrom
6fcc801ead Add missing newlines to adb usage message 2010-03-01 22:54:12 -08:00
Mike Chan
89f235c5e0 init.rc: Add cpuacct to cgroup mount for cpu statistic
Cpu accounting statistics expored in /acct

Change-Id: I8a35816e94b69d9e67a3dd65aae16520864777d7
Signed-off-by: Mike Chan <mike@android.com>
2010-03-01 20:29:58 -08:00
Joe Onorato
e2bf2ea4d2 Make logcat print both the main and system buffers by default. Make SLOGx macros work. 2010-03-01 13:03:19 -08:00
San Mehat
b91bf4ba86 Revert "init.rc: Add cpuacct to cgroup mount for cpu statistics"
This reverts commit a7d88224ff.

This cgroup subsys should be mounted on it's own mount-point, since it's
addition to /dev/cpuctl causes the cpu subsys to EPERM
2010-02-27 10:06:09 -08:00
Mike Lockwood
bfb0477f1d Merge "adb: do not mix printf() with write() when writing to stdout." 2010-02-27 06:16:41 -08:00
San Mehat
85cf56892d cutils: schedpolicy: remove stray include
Signed-off-by: San Mehat <san@google.com>
2010-02-26 11:45:27 -08:00
Joe Onorato
81689b60b5 Merge "Allow logcat to take multiple -b options, and interleave the results." 2010-02-26 11:32:57 -08:00
Mike Chan
a7d88224ff init.rc: Add cpuacct to cgroup mount for cpu statistics
Change-Id: Ic1893e1bf7b2c45659419b0bc55d42f50d030c9f
Signed-off-by: Mike Chan <mike@android.com>
2010-02-26 11:25:36 -08:00
Joe Onorato
6fa09a066d Allow logcat to take multiple -b options, and interleave the results. 2010-02-26 11:07:00 -08:00
San Mehat
e2fe261d1a cutils: iosched_policy: Don't do anything for simulator
Signed-off-by: San Mehat <san@google.com>
2010-02-26 11:02:31 -08:00
San Mehat
f0cb74e3b0 rootdir: init.rc: Enable I/O priorities for media server and vold
Sets the media-server to class 'real-time' pri 4, and vold to class 'best effort'
pri 2

Signed-off-by: San Mehat <san@google.com>
2010-02-26 10:05:24 -08:00
San Mehat
4e221f0077 init: Add support for specifying a services i/o priority
Signed-off-by: San Mehat <san@google.com>
2010-02-26 10:05:20 -08:00
San Mehat
1bfb4803ea Merge "system: Add support for getting/setting i/o priorities and include a userspace tool" 2010-02-26 10:03:26 -08:00
Satoshi Kataoka
1d01c295a9 Merge "Added ZTE's USB Vendor ID (0x19D2) upon ZTE's request." 2010-02-26 01:59:39 -08:00
Mike Lockwood
dd6b36e334 adb: do not mix printf() with write() when writing to stdout.
Change-Id: I3598cc951778080bec9a21d646656d5aba57120a
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-02-25 23:04:43 -05:00
Jaikumar Ganesh
eafdd86f4d Update bluetooth data files path. 2010-02-25 19:46:29 -08:00
San Mehat
10d469bff9 system: Add support for getting/setting i/o priorities and include a userspace tool
Signed-off-by: San Mehat <san@google.com>
2010-02-25 14:02:55 -08:00
Daniel Sandler
cb6e22b687 Add wall-clock timing for each fastboot Action.
(For diagnosing slow flashes.)

Change-Id: Ibbcbd080db551c8590ca8bfe50e9ddb45eea5661
2010-02-25 14:05:33 -05:00
Mike Lockwood
d969faa161 adb: Attempt to unmount the SD card before rebooting.
Change-Id: Idd4d96b4704f4e1bd324e72bca87611a23e30801
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-02-24 16:07:23 -05:00
San Mehat
a9db22f122 rootdir: init.rc: Add 'ASEC_MOUNTPOINT' environment variable.
Signed-off-by: San Mehat <san@google.com>
2010-02-24 10:17:37 -08:00
The Android Open Source Project
71122f9a53 am d6391c6a: merge from open-source master
Merge commit 'd6391c6aaaa40c20761b7a2a8d4be115163e4194'

* commit 'd6391c6aaaa40c20761b7a2a8d4be115163e4194':
  ADB: Garmin-Asus's USB Vendor ID
  adb: add Nvidia's vendor id to adb
  make "adb bugreport" run "bugreport" (which invokes "dumpstate"
  adb: Fix problems detecting adb in more complicated USB configurations.
  Make adb pull use . as the target file directory if you don't supply one.
2010-02-23 18:57:49 -08:00
San Mehat
8ccb3a55ce system: Remove dead vold1 code
Signed-off-by: San Mehat <san@google.com>
2010-02-23 17:18:54 -08:00
The Android Open Source Project
d6391c6aaa merge from open-source master 2010-02-23 07:32:01 -08:00
Takeshi Kishimoto
01512aa3b0 Added ZTE's USB Vendor ID (0x19D2) upon ZTE's request. 2010-02-22 19:30:41 +08:00
Chia-chi Yeh
bbfe1368d9 Remove dead services from init.rc. 2010-02-22 09:32:16 +08:00
San Mehat
6f957c3f25 generic_rootdir: vold_fstab: Change '/sdcard' -> '/mnt/sdcard'
Signed-off-by: San Mehat <san@google.com>
2010-02-19 18:38:28 -08:00
San Mehat
6ea3cc6089 rootdir: init.rc: Create secure staging directories, and a compat symlink
Signed-off-by: San Mehat <san@google.com>
2010-02-19 18:38:28 -08:00
Mike Lockwood
0ef3fd048a adb: add -s option to adb install for installing apps on SD card.
Change-Id: Ic6b24411e594d160ddcf862cc9f1283e1e17bb4d
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-02-19 17:53:27 -05:00
Keith Preston
b45b5c9f22 Fix Heap Corruption from too long of a TAG
snprintf has a weird return value.   It returns what would have been written given a large enough buffer.
In the case that the prefix is longer then our buffer(128), it messes up the calculations below possibly causing heap corruption.
To avoid this we double check and set the length at the maximum (size minus null byte
2010-02-18 15:33:28 -06:00
Mathias Agopian
fa36f2c3b7 fix [2448319] out of bounds array index in fog 2010-02-16 21:01:12 -08:00
Mathias Agopian
5dca849345 remove unused YUV constants 2010-02-16 16:54:53 -08:00
Dima Zavin
8e4f143d45 pixelflinger: add defines for nv12_tiled semi-planar and nv21 semi-planar
Change-Id: Ib56c19f3c5a71730dd7a7a82b10a59c2bb9b5de8
Signed-off-by: Dima Zavin <dima@android.com>
2010-02-16 15:14:26 -08:00
Andy Stadler
a1dca2fd9c Merge "Allow numeric uid & gid in chown" 2010-02-16 11:16:31 -08:00
Dima Zavin
931175a1c5 fastboot: add nand page size param, used for boot and flash:raw commands
Change-Id: I07451363f4d4ac8665598722491968e6ee0953ee
Signed-off-by: Dima Zavin <dima@android.com>
2010-02-16 09:40:05 -08:00
Satoshi Kataoka
d77caaa94e Merge "Added USB vendor id of Sharp, based on Sharp's request. Sharp's vendor id: 0x04dd" 2010-02-15 17:00:09 -08:00
Raphael
5a912bf03e ADB: Garmin-Asus's USB Vendor ID
Change-Id: I3249d629f59d40f291079fc214b643ac6c927f76
2010-02-15 12:00:48 -05:00
Erik Gilling
2f6c2b04fb adb: add Nvidia's vendor id to adb
Signed-off-by: Erik Gilling <konkers@android.com>
2010-02-15 11:59:54 -05:00
Dan Egnor
7eced2b86a make "adb bugreport" run "bugreport" (which invokes "dumpstate"
indirectly via system service) rather than "dumpstate", that way
even when adb is not running as root, dumpstate does run as root,
and can do things like collect VM traces.
2010-02-15 11:59:47 -05:00
Mike Lockwood
429c5ae461 adb: Fix problems detecting adb in more complicated USB configurations.
Change-Id: Ib5b13960a1c75efc97abeca46204c85bba905c71
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-02-15 11:59:04 -05:00
Joe Onorato
8071a4bdb6 Make adb pull use . as the target file directory if you don't supply one. 2010-02-15 11:58:56 -05:00
Andrew Stadler
715c889713 Allow numeric uid & gid in chown
This makes it more like the POSIX version which accepts number or name.
2010-02-12 13:46:58 -08:00
Dan Egnor
9b0bf52944 Remove some log tags, which have moved to their own
EventLogTags.logtags file in various directories.
2010-02-10 21:19:45 -08:00
Takeshi Kishimoto
123331adea Added USB vendor id of Sharp, based on Sharp's request.
Sharp's vendor id: 0x04dd
2010-02-09 18:10:36 +08:00
Barry Hayes
2dcf1fb9ff Merge "Break out create_contiguous_mspace_with_base This routine allows creating a contiguous mspace from raw mapped memory. In turn, this will enable preallocation of the 3 heap spaces, which will help remembered sets and zygote/app checks given pointer values." 2010-02-08 20:46:41 -08:00