9 years agoAdd x86-64 checking for Darwin master
Kenny Root [Sat, 19 Sep 2009 23:30:56 +0000]
Add x86-64 checking for Darwin

Detect byte endianness when compiled in x86-64 mode in Mac OS X 10.6
Snow Leopard environments or above. Allows compilation of host binaries
in these environments without any changes from its default stock
configuration.

This change doesn't require that the binaries be built in 64-bit, but it
does allow this. One could still use "gcc_select 4.0" with the 10.4 SDK
installed on Snow Leopard to compile in 32-bit mode.

Change-Id: I155a531a9bff450dd6c077b5275652731c59a908

9 years agoadb: Add Dell's USB vendor ID.
Mike Lockwood [Tue, 19 Jan 2010 16:46:08 +0000]
adb: Add Dell's USB vendor ID.

Signed-off-by: Mike Lockwood <lockwood@android.com>

9 years agoadb: Add USB vendor ID for Foxconn
Mike Lockwood [Tue, 22 Dec 2009 14:02:21 +0000]
adb: Add USB vendor ID for Foxconn

Change-Id: I88e4051b6e5cd820cab7e3ec417a545f50925a33
Signed-off-by: Mike Lockwood <lockwood@android.com>

9 years agoAdd adb reboot-bootloader to match fastboot reboot-bootloader.
Romain Guy [Mon, 14 Dec 2009 22:42:17 +0000]
Add adb reboot-bootloader to match fastboot reboot-bootloader.

Also fix the formatting of one of the options in the help message.

9 years agoadb: fix -d and -e options for "adb forward" command.
Mike Lockwood [Sat, 28 Nov 2009 17:46:13 +0000]
adb: fix -d and -e options for "adb forward" command.

Change-Id: I9166572a1c398ce5ef1423d19a30895385118ee5
Signed-off-by: Mike Lockwood <lockwood@android.com>

9 years agoDefine HAVE_SYS_SENDFILE_H.
Dan Bornstein [Sat, 31 Oct 2009 00:15:13 +0000]
Define HAVE_SYS_SENDFILE_H.

Platforms differ on whether sys/sendfile.h or sys/socket.h is where to
find the declaration for sendfile().

Change-Id: Ib6e882534b7dc605d30aefed55732dc1ee2b6772

9 years agomerge from eclair
Jean-Baptiste Queru [Sun, 15 Nov 2009 20:07:12 +0000]
merge from eclair

9 years agoeclair snapshot tegra-9.12.5-baseline tegra-9.12.6-baseline
Jean-Baptiste Queru [Fri, 13 Nov 2009 02:46:23 +0000]
eclair snapshot

9 years agoAdd support for Acer devices
Robert CH Chou [Mon, 21 Sep 2009 01:51:35 +0000]
Add support for Acer devices

9 years agoMerge change I4e5c1c26
Android Code Review [Tue, 3 Nov 2009 01:30:09 +0000]
Merge change I4e5c1c26

* changes:
  Fix use of memset function

9 years agoFreeBSD support for usb-connected devices in adb
Alexey Tarasov [Sat, 24 Oct 2009 14:37:37 +0000]
FreeBSD support for usb-connected devices in adb

FreeBSD (and other systems as well) may use libusb to work with USB devices.
libusb is integrated in FreeBSD base system in recent builds (8.0+),
however in other systems it may need include libusb.h like <libusb/libusb.h>
and install library from devel/libusb port or other repository.

Submitted change not supports events (attach/detach) as libusb 1.0 lacks
such functionality and in order to make code more portable I've not used
workarounds as in earlier changeset.

Code was tested on FreeBSD 8.0-RC1, HTC Hero (1.0.0.A6288, Android 1.5)

9 years agoMake get_my_path() safer
Alexey Tarasov [Wed, 21 Oct 2009 15:55:00 +0000]
Make get_my_path() safer

Adds maxLen parameter to get_my_path().
Some small cosmetic fixes.

9 years agoadb: Add "adb disconnect" command for disconnecting TCP/IP devices.
Mike Lockwood [Mon, 12 Oct 2009 03:04:18 +0000]
adb: Add "adb disconnect" command for disconnecting TCP/IP devices.

Also check that device is not already connected in "adb connect"

Change-Id: I5f84b56b63d8c6932f23791cac319fd6bc39d36c
Signed-off-by: Mike Lockwood <lockwood@android.com>

9 years agoAdd support for Acer devices
Robert CH Chou [Mon, 21 Sep 2009 01:51:35 +0000]
Add support for Acer devices

Change-Id: I7045249f86e2b628c31c888e95eb5ba6f6c47251

9 years agoadb: Add USB Vendor IDs for LG and Huawei
Mike Lockwood [Mon, 21 Sep 2009 12:09:59 +0000]
adb: Add USB Vendor IDs for LG and Huawei

Change-Id: Ib47e3e39609bac9cf34f2b9334aa95184b3db71d
Signed-off-by: Mike Lockwood <lockwood@android.com>

9 years agoAdd NOTICE file and license tag for adb
Jean-Baptiste Queru [Mon, 21 Sep 2009 02:02:02 +0000]
Add NOTICE file and license tag for adb

BUG=1716164

9 years agoadb: Clean up argument passing for create_service_thread()
Mike Lockwood [Sat, 19 Sep 2009 20:52:58 +0000]
adb: Clean up argument passing for create_service_thread()

Change-Id: Id68b312e76215e8e217b42ca0301713dbddfee9e
Signed-off-by: Mike Lockwood <lockwood@android.com>

9 years agoRevert "adb: Another attempted workaround for the adb disconnect problem."
Joe Onorato [Thu, 3 Sep 2009 23:30:43 +0000]
Revert "adb: Another attempted workaround for the adb disconnect problem."

This reverts commit cc1de48dcdf06c76ee14abbe2a237aa51b5b3bad.

lockwood says to take this out.

9 years agolibsysutils: Fix some bugs in NetlinkListener and NetlinkEvent
San Mehat [Sun, 11 Oct 2009 00:35:13 +0000]
libsysutils: Fix some bugs in NetlinkListener and NetlinkEvent

Signed-off-by: San Mehat <san@android.com>

9 years agoMerge change 10445
Android Code Review [Thu, 17 Sep 2009 21:04:33 +0000]
Merge change 10445

* changes:
  added SuperH atomic support to libcutils

9 years agoSet permissions properly for any ALSA device under /dev/snd
Sean McNeil [Wed, 10 Jun 2009 14:59:02 +0000]
Set permissions properly for any ALSA device under /dev/snd

9 years agoMerge change 9779
Android Code Review [Mon, 14 Sep 2009 16:05:28 +0000]
Merge change 9779

* changes:
  Fix uninitialized variable loop

9 years agoARM architecture reference manuals for ARMv6 ...
Vinay HARUGOP [Wed, 9 Sep 2009 19:01:12 +0000]
ARM architecture reference manuals for ARMv6 & ARMv7 state that the use of 'swp' instruction is deprecated
ARMv6 onwards. These architectures provide the load-linked, store-conditional pair of ldrex/strex whose use
is recommended in place of 'swp'. Also, the description of the 'swp' instruction in the ARMv6 reference
manual states that the swap operation does not include any memory barrier guarantees.This fix attempts to
address these issues by providing an atomic swap implementation using ldrex/strex under _ARM_HAVE_LDREX_STREX
macro. _ARM_HAVE_LDREX_STREX macro is defined in  cpu-features.h file and patch is submitted under change ID 11088.
This Fix is verified on ST Ericsson's U8500 platform and Submitted on behalf of a third-party:
Surinder-pal SINGH from STMicroelectronics.

9 years agomerge from master
Jean-Baptiste Queru [Thu, 3 Sep 2009 21:18:50 +0000]
merge from master

9 years agoFix use of memset function
Kenny Root [Sat, 29 Aug 2009 14:51:49 +0000]
Fix use of memset function

memset was called with is second and third arguments reversed resulting
in a virtual no-op.

9 years agoMerge change 7315
Android Code Review [Fri, 28 Aug 2009 14:18:37 +0000]
Merge change 7315

* changes:
  Allow an onrestart command to stop the current service

9 years agoBUGFIX - ro.kernel.android.{qemud | ril} and ro.android.noril
Simon Braunschmidt [Fri, 28 Nov 2008 00:24:13 +0000]
BUGFIX - ro.kernel.android.{qemud | ril} and ro.android.noril

This fixes both a typo and the fact that sh seems not to have
test or [.
(see also sh/builtins.def: ##testcmd commented out)

The handling of these properties was broken, having the effect
that the Modem in ... internal/telephony/test/Simulated*.java
was never run, even if it would have been the users/developers
intention.

See also issue #1380
http://code.google.com/p/android/issues/detail?id=1380

Signed-off-by: Simon.Braunschmidt@gmail.com>

9 years agoAllow an onrestart command to stop the current service
Ben Gruver [Wed, 14 Jan 2009 02:43:30 +0000]
Allow an onrestart command to stop the current service

For example,

service recovery /sbin/recovery
onrestart start loadkeys
onrestart class_start con
onrestart stop recovery

Previously, if you had a service like the above, the "onrestart stop
recovery" clause would not have any effect, because the restart flag
would be re-set after the stop command had executed.

This is similar to a service with the "oneshot" keyword, with the critical
difference being that it executes the other onrestart commands when the
service dies.

9 years agoadded chdir/chroot commands to init for mount switching/pivoting
Jay Freeman (saurik) [Mon, 17 Nov 2008 06:41:10 +0000]
added chdir/chroot commands to init for mount switching/pivoting

9 years agoTrivial implementation of init's import command.
Jay Freeman (saurik) [Mon, 1 Dec 2008 07:24:12 +0000]
Trivial implementation of init's import command.

9 years agoMerge change 2903
Android Code Review [Thu, 27 Aug 2009 14:36:36 +0000]
Merge change 2903

* changes:
  completed implementation of "trigger" for init

9 years agoadb: Fix emulator support.
Mike Lockwood [Wed, 26 Aug 2009 19:50:22 +0000]
adb: Fix emulator support.

Signed-off-by: Mike Lockwood <lockwood@android.com>

9 years agoFix broken 'adb root' command.
Xavier Ducrohet [Wed, 26 Aug 2009 03:16:14 +0000]
Fix broken 'adb root' command.

Change-Id: I75bf01863e82967a7214d3e31b8db792690716c1

9 years agoadb: Improved support for running adb over TCP/IP
Mike Lockwood [Mon, 24 Aug 2009 22:58:40 +0000]
adb: Improved support for running adb over TCP/IP

Added new commands:

adb connect <host>:<port> (to connect to a device via TCP/IP)
adb tcpip <port>          (to restart adbd on the device to listen on TCP/IP)
adb usb                   (to restart adbd on the device to listen USB)

Signed-off-by: Mike Lockwood <lockwood@android.com>

9 years agoBUG 2033924: Add AdbWinUsbApi.dll to prebuilt for Windows SDK
Raphael [Tue, 11 Aug 2009 18:08:45 +0000]
BUG 2033924: Add AdbWinUsbApi.dll to prebuilt for Windows SDK

9 years agoadb: Fix infinite loop in Linux host device discovery.
Mike Lockwood [Tue, 11 Aug 2009 15:29:40 +0000]
adb: Fix infinite loop in Linux host device discovery.

Signed-off-by: Mike Lockwood <lockwood@android.com>

9 years agoadb: print better error message when there are insufficient permissions for a device.
Mike Lockwood [Sat, 8 Aug 2009 17:53:16 +0000]
adb: print better error message when there are insufficient permissions for a device.

Now, a command like "adb shell" will print "insufficient permissions for device"
instead of "device not found" if adb does not have permissions to communicate with the device.

Signed-off-by: Mike Lockwood <lockwood@android.com>

9 years agoadb: update call to register_usb_transport in Mac and Windows builds.
Mike Lockwood [Sat, 8 Aug 2009 17:16:54 +0000]
adb: update call to register_usb_transport in Mac and Windows builds.

Signed-off-by: Mike Lockwood <lockwood@android.com>

9 years agoadb: On Linux, detect USB devices for which adb does not have permissions to communic...
Mike Lockwood [Sat, 8 Aug 2009 16:37:44 +0000]
adb: On Linux, detect USB devices for which adb does not have permissions to communicate with.

adb devices will now list devices without adequate file system permissions in /dev/bus/usb as:

List of devices attached
???????????? no permissions

Signed-off-by: Mike Lockwood <lockwood@android.com>

9 years agoadb: Use correct language ID when retrieving USB serial number.
Guang Zhu [Fri, 7 Aug 2009 00:21:52 +0000]
adb: Use correct language ID when retrieving USB serial number.

Signed-off-by: Mike Lockwood <lockwood@android.com>

9 years agoadb: Remove adbd from simulator build.
Mike Lockwood [Thu, 6 Aug 2009 14:58:00 +0000]
adb: Remove adbd from simulator build.

It no longer compiles without recent kernel headers.

Signed-off-by: Mike Lockwood <lockwood@android.com>

9 years agoadb: add "adb reboot" command.
Mike Lockwood [Wed, 5 Aug 2009 00:37:51 +0000]
adb: add "adb reboot" command.

This will allow rebooting the device via adb on any build, including user builds.
An optional argument can be provided
(for example, "adb reboot bootloader" or adb reboot recovery")

Signed-off-by: Mike Lockwood <lockwood@android.com>

9 years agoget rid of utils/executablepath.h, which now lives in the simulator
Mathias Agopian [Mon, 1 Jun 2009 01:50:09 +0000]
get rid of utils/executablepath.h, which now lives in the simulator

9 years agoAllow adb to use ANDORID_SERIAL env variable to specify the device to talk to.
Nick Pelly [Thu, 7 May 2009 19:48:03 +0000]
Allow adb to use ANDORID_SERIAL env variable to specify the device to talk to.

Overridden by -s.

9 years agoFix incorrect check for LOG_UEVENTS
Chuck Tuffli [Mon, 15 Dec 2008 22:26:56 +0000]
Fix incorrect check for LOG_UEVENTS

LOG_UEVENTS is a boolean value as defined in system/core/init/init.h.
Therefore, code should use an #if check and not an #ifdef check as the
macro will always be defined.

9 years agoinit.rc: Fixes typo: sytem -> system.
Hiroshi Takekawa [Wed, 26 Aug 2009 10:51:04 +0000]
init.rc: Fixes typo: sytem -> system.

9 years agocompleted implementation of "trigger" for init
Jay Freeman (saurik) [Mon, 17 Nov 2008 06:35:08 +0000]
completed implementation of "trigger" for init

9 years agoMerge change 11205
Android Code Review [Fri, 21 Aug 2009 21:50:15 +0000]
Merge change 11205

* changes:
  Fix bug of mmc.c not checking read_file result. This bug causes segment fault when reading name node of SDIO mmc device's /sys file, which is not existed at all.

9 years agosystem/core: vold: Change permission of external storage device nodes
San Mehat [Fri, 21 Aug 2009 15:16:56 +0000]
system/core: vold: Change permission of external storage device nodes

Signed-off-by: San Mehat <san@google.com>

9 years agosystem/core: vold: Change permission of external storage device nodes
San Mehat [Fri, 21 Aug 2009 15:16:56 +0000]
system/core: vold: Change permission of external storage device nodes

Signed-off-by: San Mehat <san@google.com>

9 years agoFix bug of mmc.c not checking read_file result.
Xinyu Chen [Sun, 16 Aug 2009 14:09:18 +0000]
Fix bug of mmc.c not checking read_file result.
This bug causes segment fault when reading name node of
SDIO mmc device's /sys file, which is not existed at all.

Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>

9 years agovold: Check partitions 1-4 instead of 0-3
Ben Winslow [Sat, 15 Aug 2009 13:52:10 +0000]
vold: Check partitions 1-4 instead of 0-3

In mmc_bootstrap_mmcblk, bootstrap partitions 1-4 instead of 0-3, since
that's how the kernel labels them.  Additionally, use the NDOSPART constant
from diskmbr.h instead of hardcoding 4 when scanning partitions.

9 years agoBUG 2033924: Add AdbWinUsbApi.dll to prebuilt for Windows SDK
Raphael [Tue, 11 Aug 2009 18:08:45 +0000]
BUG 2033924: Add AdbWinUsbApi.dll to prebuilt for Windows SDK

9 years agoDO NOT MERGE adb: Remove adbd from simulator build.
Mike Lockwood [Thu, 6 Aug 2009 14:58:00 +0000]
DO NOT MERGE adb: Remove adbd from simulator build.

It no longer compiles without recent kernel headers.

Signed-off-by: Mike Lockwood <lockwood@android.com>

9 years agoDO NOT MERGE cherry-pick "adb reboot" from master:
Mike Lockwood [Wed, 5 Aug 2009 00:37:51 +0000]
DO NOT MERGE cherry-pick "adb reboot" from master:

adb: add "adb reboot" command.

This will allow rebooting the device via adb on any build, including user builds.
An optional argument can be provided
(for example, "adb reboot bootloader" or adb reboot recovery")

Signed-off-by: Mike Lockwood <lockwood@android.com>

9 years agoMerge change 20354 into donut
Android (Google) Code Review [Fri, 7 Aug 2009 12:11:00 +0000]
Merge change 20354 into donut

* changes:
  strip comments from event-log-tags on device

9 years agostrip comments from event-log-tags on device
Doug Zongker [Thu, 6 Aug 2009 23:43:47 +0000]
strip comments from event-log-tags on device

This saves about 8k from the system image.

Bug: 2036961

9 years agorootdir: init.rc: Bump up background cpu shares to 5.0%
San Mehat [Thu, 6 Aug 2009 21:13:35 +0000]
rootdir: init.rc: Bump up background cpu shares to 5.0%

Signed-off-by: San Mehat <san@google.com>

9 years agoadded SuperH atomic support to libcutils
Shin-ichiro KAWASAKI [Tue, 4 Aug 2009 10:14:22 +0000]
added SuperH atomic support to libcutils

9 years agomerge from donut
Jean-Baptiste Queru [Mon, 3 Aug 2009 14:45:49 +0000]
merge from donut

9 years agoadb: Another attempted workaround for the adb disconnect problem.
Mike Lockwood [Thu, 30 Jul 2009 23:23:56 +0000]
adb: Another attempted workaround for the adb disconnect problem.

For adb shell commands (as well as shell based commands like logcat and bugreport) we now
batch USB writes into 4K chunks instead of sending small packets of data as they come in.
A timeout prevents us from blocking for more than 100ms when our 4K buffer is partially full.

Signed-off-by: Mike Lockwood <lockwood@android.com>

9 years agomerge from donut
Jean-Baptiste Queru [Wed, 29 Jul 2009 21:57:08 +0000]
merge from donut

9 years agoMerge korg/donut into korg/master
Jean-Baptiste Queru [Sun, 26 Jul 2009 01:07:41 +0000]
Merge korg/donut into korg/master

9 years agoAdd support for Samsung and Motorola devices.
Xavier Ducrohet [Fri, 24 Jul 2009 21:14:56 +0000]
Add support for Samsung and Motorola devices.

Also update the linux code. Some devices have more complex USB descriptors
which can't be parsed with the simple assumption of just skipping the
endpoint descriptors.

9 years agoinstall recovery image using patch mechanism
Doug Zongker [Thu, 23 Jul 2009 22:18:34 +0000]
install recovery image using patch mechanism

With the corresponding change in build/tools, the recovery image is
installed via a shell script that is emitted by the OTA builder.

9 years agovold: If we're bootstrapping, don't automatically mount the SD card. Also fixes some
San Mehat [Thu, 16 Jul 2009 17:44:15 +0000]
vold: If we're bootstrapping, don't automatically mount the SD card. Also fixes some
error display bugs (our printf doesnt support %m)

Signed-off-by: San Mehat <san@google.com>

9 years agovold: vfat: Run up to 3 passes of the disk checker when the checker
San Mehat [Thu, 16 Jul 2009 16:34:53 +0000]
vold: vfat: Run up to 3 passes of the disk checker when the checker
indicates the FS has been modified. Also create LOST.DIR if it doesn't
exist on mount.

Signed-off-by: San Mehat <san@google.com>

9 years agovold: Allow a damaged volume to be re-evaluated for mounting
San Mehat [Thu, 16 Jul 2009 14:25:57 +0000]
vold: Allow a damaged volume to be re-evaluated for mounting

Signed-off-by: San Mehat <san@google.com>

9 years agoMerge change 6738 into donut
Android (Google) Code Review [Mon, 13 Jul 2009 04:22:36 +0000]
Merge change 6738 into donut

* changes:
  rootdir: Remove ip-up-vpn script, which is replaced by an executable.

9 years agorootdir: Remove ip-up-vpn script, which is replaced by an executable.
Chia-chi Yeh [Fri, 10 Jul 2009 04:27:09 +0000]
rootdir: Remove ip-up-vpn script, which is replaced by an executable.

9 years agoadb: Increment ADB_SERVER_VERSION
Mike Lockwood [Fri, 10 Jul 2009 00:07:10 +0000]
adb: Increment ADB_SERVER_VERSION

It was pointed out that we should have done this when we added the "adb root" command.
And doing this will also force people to pick up the recent Linux USB serial number fix.

Signed-off-by: Mike Lockwood <lockwood@android.com>

9 years agoinit.rc: Fix commands for allowing the system_server to access wpa_supplicant.conf
Mike Lockwood [Wed, 8 Jul 2009 22:42:08 +0000]
init.rc: Fix commands for allowing the system_server to access wpa_supplicant.conf

The touch command does not exist, and the chown commands are unnecessary because
the system_server is in the WIFI group.

Signed-off-by: Mike Lockwood <lockwood@android.com>

9 years agoadb: Use correct language ID when retrieving USB serial number.
Mike Lockwood [Wed, 8 Jul 2009 13:43:49 +0000]
adb: Use correct language ID when retrieving USB serial number.

Fixes http://code.google.com/p/android/issues/detail?id=2609

Signed-off-by: Mike Lockwood <lockwood@android.com>

9 years agoFix typo in adb commandline help
Kenny Root [Mon, 8 Jun 2009 19:40:30 +0000]
Fix typo in adb commandline help

Android developers are not expected to have PDP-11s.

9 years agoadb: Use correct language ID when retrieving USB serial number.
Mike Lockwood [Wed, 8 Jul 2009 13:43:49 +0000]
adb: Use correct language ID when retrieving USB serial number.

Fixes http://code.google.com/p/android/issues/detail?id=2609

Signed-off-by: Mike Lockwood <lockwood@android.com>

9 years agovold: Change the disk formatter we use + fix commandline argument creation
San Mehat [Mon, 6 Jul 2009 18:33:45 +0000]
vold: Change the disk formatter we use + fix commandline argument creation

Signed-off-by: San Mehat <san@google.com>

9 years agotoolbox: mkdosfs: Imported new 'newfs_msdos' updated disk formatter
San Mehat [Mon, 6 Jul 2009 18:10:03 +0000]
toolbox: mkdosfs: Imported new 'newfs_msdos' updated disk formatter

Signed-off-by: San Mehat <san@google.com>

9 years agoSet the permissions of wifi supplicant file so that system can access it.
Amith Yamasani [Thu, 2 Jul 2009 19:08:13 +0000]
Set the permissions of wifi supplicant file so that system can access it.

Create the required directories and set the correct owner and permissions.

9 years agoMerge change 5852 into donut
Android (Google) Code Review [Wed, 1 Jul 2009 02:37:05 +0000]
Merge change 5852 into donut

* changes:
  rootdir: Modify init.rc to run mtpd/racoon as a non-root user.

9 years agovold: Kill logspam
San Mehat [Wed, 1 Jul 2009 01:15:09 +0000]
vold: Kill logspam

Signed-off-by: San Mehat <san@google.com>

9 years agorootdir: Modify init.rc to run mtpd/racoon as a non-root user.
Chia-chi Yeh [Tue, 30 Jun 2009 23:06:47 +0000]
rootdir: Modify init.rc to run mtpd/racoon as a non-root user.

Note that this change requires a new prebuilt kernel for AID_NET_ADMIN.

9 years agotoolbox: Fix uninitalized stack variable in mount.
Dima Zavin [Mon, 29 Jun 2009 22:50:20 +0000]
toolbox: Fix uninitalized stack variable in mount.

Signed-off-by: Dima Zavin <dima@android.com>

9 years agoMerge change 5662 into donut
Android (Google) Code Review [Mon, 29 Jun 2009 21:23:54 +0000]
Merge change 5662 into donut

* changes:
  toolbox: Revise route utility.

9 years agotoolbox: Revise route utility.
Chia-chi Yeh [Mon, 29 Jun 2009 19:54:08 +0000]
toolbox: Revise route utility.

Add copyright header.
Returns errno when something goes wrong. Otherwise returns 0.
When the route entry exists, treat it as a success.

9 years agoinit: Enable sched_yield() compatability mode on boot.
San Mehat [Mon, 29 Jun 2009 15:47:43 +0000]
init: Enable sched_yield() compatability mode on boot.

    In CFS, the (somewhat undefined) behavior of sched_yield() changed.

    See: http://kerneltrap.org/Linux/CFS_and_sched_yield

    This change enables 'compat' mode for sched_yield()

Signed-off-by: San Mehat <san@google.com>

9 years agovold: Force formatting of cards to FAT32
San Mehat [Sat, 27 Jun 2009 16:59:46 +0000]
vold: Force formatting of cards to FAT32

Signed-off-by: San Mehat <san@google.com>

9 years agorootdir: Obsolete ppp/peers/common and racoon/racoon.conf.
Chia-chi Yeh [Fri, 26 Jun 2009 23:38:50 +0000]
rootdir: Obsolete ppp/peers/common and racoon/racoon.conf.

9 years agoMerge change 4728 into donut
Android (Google) Code Review [Fri, 26 Jun 2009 22:21:00 +0000]
Merge change 4728 into donut

* changes:
  Add device, property, directory, and file permissions for VPN.

9 years agoMerge change 4592 into donut
Android (Google) Code Review [Fri, 26 Jun 2009 22:19:39 +0000]
Merge change 4592 into donut

* changes:
  rootdir: Remove gprs/pppd related scripts.

9 years agoMerge change 5455 into donut
Android (Google) Code Review [Fri, 26 Jun 2009 03:49:36 +0000]
Merge change 5455 into donut

* changes:
  Add new PPP IPCP script for VPN.

9 years agoAdd new PPP IPCP script for VPN.
Hung-ying Tyan [Fri, 26 Jun 2009 00:11:59 +0000]
Add new PPP IPCP script for VPN.

9 years agovold: Logging to catch when the disk checker crashes
San Mehat [Thu, 25 Jun 2009 20:34:16 +0000]
vold: Logging to catch when the disk checker crashes
(could happen due to a really messed up card)

Signed-off-by: San Mehat <san@google.com>

9 years agovold: Fix bug where logwrapper would pass data to LOG() in the format field,
San Mehat [Thu, 25 Jun 2009 20:33:23 +0000]
vold: Fix bug where logwrapper would pass data to LOG() in the format field,
which caused vsprintf to process format characters in the string.

Signed-off-by: San Mehat <san@google.com>

9 years agovold: Switch vfat fsck tools
San Mehat [Thu, 25 Jun 2009 00:56:03 +0000]
vold: Switch vfat fsck tools

Signed-off-by: San Mehat <san@google.com>

9 years agonexus: Rename onInterfaceStarted -> onInterfaceConnected and add Dhcp start/stop...
San Mehat [Mon, 22 Jun 2009 17:39:36 +0000]
nexus: Rename onInterfaceStarted -> onInterfaceConnected and add Dhcp start/stop control

Signed-off-by: San Mehat <san@google.com>

9 years agonexus: Add skeleton for DhcpClient
San Mehat [Mon, 22 Jun 2009 17:37:54 +0000]
nexus: Add skeleton for DhcpClient

Signed-off-by: San Mehat <san@google.com>

9 years agoAdd device, property, directory, and file permissions for VPN.
Chia-chi Yeh [Fri, 19 Jun 2009 06:59:08 +0000]
Add device, property, directory, and file permissions for VPN.

9 years agorootdir: Remove gprs/pppd related scripts.
Chia-chi Yeh [Thu, 18 Jun 2009 09:18:51 +0000]
rootdir: Remove gprs/pppd related scripts.

vpn related scripts will be updated in the next change.

9 years agoinit: Bump up the max cpu bandwidth shares ratio for background.
San Mehat [Wed, 17 Jun 2009 00:23:22 +0000]
init: Bump up the max cpu bandwidth shares ratio for background.

  New ratio is 1024/16 (1.5625% for background when cpu is under load)

Signed-off-by: San Mehat <san@google.com>

9 years agonexus: Fix SupplicantStatus decoding
San Mehat [Tue, 16 Jun 2009 19:01:50 +0000]
nexus: Fix SupplicantStatus decoding

Signed-off-by: San Mehat <san@google.com>