Commit Graph

909 Commits

Author SHA1 Message Date
Dima Zavin 0645a5b788 am bdb9831c: am c8401677: init: add vdec device node
Merge commit 'bdb9831ce9195c15ab6f2c01d809fb7946dd2f34'

* commit 'bdb9831ce9195c15ab6f2c01d809fb7946dd2f34':
  init: add vdec device node
2009-08-31 16:45:21 -07:00
San Mehat ad6084e7c8 am c9050c59: am 2dfe490f: system: vold: Ensure a default vold.conf exists for generic target
Merge commit 'c9050c59ea582c74f70ef2f1c87616c6919b0714'

* commit 'c9050c59ea582c74f70ef2f1c87616c6919b0714':
  system: vold: Ensure a default vold.conf exists for generic target
2009-08-31 16:43:24 -07:00
Dima Zavin bdb9831ce9 am c8401677: init: add vdec device node
Merge commit 'c84016778f9efd0d15f3c5ad7b7109833fb45c9a' into eclair-plus-aosp

* commit 'c84016778f9efd0d15f3c5ad7b7109833fb45c9a':
  init: add vdec device node
2009-08-31 14:40:02 -07:00
Dima Zavin c84016778f init: add vdec device node
Change-Id: I7e83b99111adfb2b10ee91b78f922864999d4b9d
Signed-off-by: Dima Zavin <dima@android.com>
2009-08-31 13:40:28 -07:00
San Mehat c9050c59ea am 2dfe490f: system: vold: Ensure a default vold.conf exists for generic target
Merge commit '2dfe490f439e126119055e1888703cc3745f5389' into eclair-plus-aosp

* commit '2dfe490f439e126119055e1888703cc3745f5389':
  system: vold: Ensure a default vold.conf exists for generic target
2009-08-31 08:12:43 -07:00
San Mehat 2dfe490f43 system: vold: Ensure a default vold.conf exists for generic target
Signed-off-by: San Mehat <san@google.com>
2009-08-31 08:05:49 -07:00
Tammo Spalink c624d0e5ec am 7d53c697: am d42ab257: Merge change 23045 into eclair
Merge commit '7d53c697caea3259dbc9212044a5ed9dd87a08be'

* commit '7d53c697caea3259dbc9212044a5ed9dd87a08be':
  Add persistent radio prop perms ; cleanup ws and typos.
2009-08-30 20:21:27 -07:00
Tammo Spalink 7d53c697ca am d42ab257: Merge change 23045 into eclair
Merge commit 'd42ab257604f5fd9e039c843ede477da29f6f3cf' into eclair-plus-aosp

* commit 'd42ab257604f5fd9e039c843ede477da29f6f3cf':
  Add persistent radio prop perms ; cleanup ws and typos.
2009-08-30 20:18:58 -07:00
Android (Google) Code Review d42ab25760 Merge change 23045 into eclair
* changes:
  Add persistent radio prop perms ; cleanup ws and typos.
2009-08-30 20:16:08 -07:00
Tammo Spalink 3dfe6c6664 Add persistent radio prop perms ; cleanup ws and typos.
Change-Id: I7d6b51bbb8a9658179bd01c4ff3b5356ec8b4b6c
2009-08-31 11:10:13 +08:00
San Mehat 7ea232e5c1 am a360f292: am 4ad30d28: Merge change 23106 into eclair
Merge commit 'a360f29264fe9c63963e4b789b56b94a5eb8af27'

* commit 'a360f29264fe9c63963e4b789b56b94a5eb8af27':
  vold: Format cards < 2GB as FAT16, otherwise FAT32. Also let the formatter
2009-08-28 09:53:55 -07:00
San Mehat a360f29264 am 4ad30d28: Merge change 23106 into eclair
Merge commit '4ad30d2885a801ee23fb44c1edcda051905868c9' into eclair-plus-aosp

* commit '4ad30d2885a801ee23fb44c1edcda051905868c9':
  vold: Format cards < 2GB as FAT16, otherwise FAT32. Also let the formatter
2009-08-28 09:51:43 -07:00
Android (Google) Code Review 4ad30d2885 Merge change 23106 into eclair
* changes:
  vold: Format cards < 2GB as FAT16, otherwise FAT32. Also let the formatter choose the cluster-size
2009-08-28 09:50:56 -07:00
Joe Onorato ea478b82ca am cc61802b: am ecfd8e73: acc error tweaks
Merge commit 'cc61802bb201f30566dbb05f7386543da173a827'

* commit 'cc61802bb201f30566dbb05f7386543da173a827':
  acc error tweaks
2009-08-28 09:37:19 -07:00
Joe Onorato cc61802bb2 am ecfd8e73: acc error tweaks
Merge commit 'ecfd8e73e4d0102ba01139f9b7ea1e97ce7b79d5' into eclair-plus-aosp

* commit 'ecfd8e73e4d0102ba01139f9b7ea1e97ce7b79d5':
  acc error tweaks
2009-08-28 09:34:56 -07:00
Joe Onorato ecfd8e73e4 acc error tweaks 2009-08-28 09:26:31 -07:00
San Mehat f68a5cdeb7 vold: Format cards < 2GB as FAT16, otherwise FAT32. Also let the formatter
choose the cluster-size

Signed-off-by: San Mehat <san@google.com>
2009-08-28 09:18:46 -07:00
Android Code Review e86a2c7ceb Merge change 7315
* changes:
  Allow an onrestart command to stop the current service
2009-08-28 07:18:37 -07:00
Simon Braunschmidt 15681df356 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>
2009-08-27 08:01:14 -07:00
Ben Gruver dc816d5dcd 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.
2009-08-27 07:58:38 -07:00
Jay Freeman (saurik) e7cb137f32 added chdir/chroot commands to init for mount switching/pivoting 2009-08-27 07:43:28 -07:00
Jay Freeman (saurik) 9f28bde9eb Trivial implementation of init's import command. 2009-08-27 07:40:19 -07:00
Android Code Review 12a5b8804c Merge change 2903
* changes:
  completed implementation of "trigger" for init
2009-08-27 07:36:36 -07:00
San Mehat 87a9fe1766 am 9b158910: am bd3f7ded: Merge change 22836 into eclair
Merge commit '9b1589102cc1f543d172417510b21d0108200c72'

* commit '9b1589102cc1f543d172417510b21d0108200c72':
  rootdir: init.rc: Copy kernel crash dumps to /data and free kernel resources
2009-08-26 17:15:24 -07:00
San Mehat 2d534e4d84 am 5be5da9a: am fc279227: Merge change 22835 into eclair
Merge commit '5be5da9a1176fe2e648070375683b4b412e1cb17'

* commit '5be5da9a1176fe2e648070375683b4b412e1cb17':
  init: builtins: Add 'copy' command to init.rc parser
2009-08-26 17:15:22 -07:00
San Mehat 9b1589102c am bd3f7ded: Merge change 22836 into eclair
Merge commit 'bd3f7dedeb0f15bcf5e5b527732b54e45647e78b' into eclair-plus-aosp

* commit 'bd3f7dedeb0f15bcf5e5b527732b54e45647e78b':
  rootdir: init.rc: Copy kernel crash dumps to /data and free kernel resources
2009-08-26 17:13:22 -07:00
San Mehat 5be5da9a11 am fc279227: Merge change 22835 into eclair
Merge commit 'fc279227ec9af8b49d3b3ec63096e4839f099411' into eclair-plus-aosp

* commit 'fc279227ec9af8b49d3b3ec63096e4839f099411':
  init: builtins: Add 'copy' command to init.rc parser
2009-08-26 17:13:21 -07:00
Android (Google) Code Review bd3f7dedeb Merge change 22836 into eclair
* changes:
  rootdir: init.rc: Copy kernel crash dumps to /data and free kernel resources
2009-08-26 17:11:32 -07:00
Android (Google) Code Review fc279227ec Merge change 22835 into eclair
* changes:
  init: builtins: Add 'copy' command to init.rc parser
2009-08-26 17:11:18 -07:00
San Mehat 21541872c3 rootdir: init.rc: Copy kernel crash dumps to /data and free kernel resources
Signed-off-by: San Mehat <san@google.com>
2009-08-26 16:39:59 -07:00
San Mehat 7c44fe5925 init: builtins: Add 'copy' command to init.rc parser
Signed-off-by: San Mehat <san@google.com>
2009-08-26 16:39:59 -07:00
Jack Palevich a4944fb380 am 973246de: am c158427e: Merge change 22828 into eclair
Merge commit '973246de432427fbfaf79635a1199ad811e17886'

* commit '973246de432427fbfaf79635a1199ad811e17886':
  Preliminary struct and union support.
2009-08-26 16:19:30 -07:00
Jack Palevich 973246de43 am c158427e: Merge change 22828 into eclair
Merge commit 'c158427e5edbac3ef180d1e35f99e445b11e3672' into eclair-plus-aosp

* commit 'c158427e5edbac3ef180d1e35f99e445b11e3672':
  Preliminary struct and union support.
2009-08-26 16:18:35 -07:00
Android (Google) Code Review c158427e5e Merge change 22828 into eclair
* changes:
  Preliminary struct and union support.
2009-08-26 16:16:45 -07:00
Jack Palevich 9221bcccb3 Preliminary struct and union support.
Working features:
 - struct
 - union
 - nested structs
 - anonymous structs
 - forward declarations
 - '.' and '->'
 - copying structs using '='

Missing features:
 - passing structs by value
 - returning structs by value
 - typedef
 - sizeof

Example:

struct v {float x, y, z, w; };

void add(struct v* result, struct v* a, struct v* b) {
    result->x = a->x + b->x;
    result->y = a->y + b->y;
    result->z = a->z + b->z;
    result->w = a->w + b->w;
}

Reworked size-of and alignment logic to support structs.

Improved encoding of ARM immediate constants.
2009-08-26 16:15:07 -07:00
Mike Lockwood cef31a0254 adb: Fix emulator support.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-26 14:46:18 -07:00
Xavier Ducrohet f71c71148c Fix broken 'adb root' command.
Change-Id: I75bf01863e82967a7214d3e31b8db792690716c1
2009-08-26 14:46:18 -07:00
Mike Lockwood 2f38b69971 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>
2009-08-26 14:46:18 -07:00
Raphael 26f3de6738 BUG 2033924: Add AdbWinUsbApi.dll to prebuilt for Windows SDK 2009-08-26 14:46:18 -07:00
Mike Lockwood ecfb75d9e4 adb: Fix infinite loop in Linux host device discovery.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-26 14:46:18 -07:00
Mike Lockwood 668cc77101 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>
2009-08-26 14:46:18 -07:00
Mike Lockwood a8be72f653 adb: update call to register_usb_transport in Mac and Windows builds.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-26 14:46:18 -07:00
Mike Lockwood 95b837d38b 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>
2009-08-26 14:46:18 -07:00
Guang Zhu e64004d327 adb: Use correct language ID when retrieving USB serial number.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-26 14:46:18 -07:00
Mike Lockwood 63e6152748 adb: Remove adbd from simulator build.
It no longer compiles without recent kernel headers.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-26 14:46:18 -07:00
Mike Lockwood 5f4b051235 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>
2009-08-26 14:46:18 -07:00
Mathias Agopian 3969080e23 get rid of utils/executablepath.h, which now lives in the simulator 2009-08-26 14:46:18 -07:00
Nick Pelly 22048ef325 Allow adb to use ANDORID_SERIAL env variable to specify the device to talk to.
Overridden by -s.
2009-08-26 14:46:18 -07:00
Mike Lockwood c1f46267fa am 0f832535: am a3e8a6ad: adb: Fix emulator support.
Merge commit '0f83253596e7c23c98c141224238841a3102e5f6'

* commit '0f83253596e7c23c98c141224238841a3102e5f6':
  adb: Fix emulator support.
2009-08-26 12:58:34 -07:00
Mike Lockwood 0f83253596 am a3e8a6ad: adb: Fix emulator support.
Merge commit 'a3e8a6ad56d60d2ad6c580004f86920d73acc62c' into eclair-plus-aosp

* commit 'a3e8a6ad56d60d2ad6c580004f86920d73acc62c':
  adb: Fix emulator support.
2009-08-26 12:56:58 -07:00