Commit Graph

2346 Commits

Author SHA1 Message Date
Dmitry Shmidt b42db825e1 Merge "libnetutils: Clean all IPs assigned to the interface on cleaning" 2011-01-27 15:59:52 -08:00
Dmitry Shmidt 9092b91cca libnetutils: Clean all IPs assigned to the interface on cleaning
Change-Id: Ic285bbb4b224fc4e62e88e76b8b448edbe814a17
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-01-27 14:16:20 -08:00
Robert Greenwalt 56fc4c9853 Merge "Change our dhcp interface to be IPv6 compat." 2011-01-26 11:56:27 -08:00
Mike Lockwood 19de1bfc11 am 99f13909: am 75e17a89: sdcard: Fix readdir implementation so rewinddir will work correctly
* commit '99f13909578d2dbebedc32f62884a486096e6fa8':
  sdcard: Fix readdir implementation so rewinddir will work correctly
2011-01-25 18:40:39 -08:00
Mike Lockwood 99f1390957 am 75e17a89: sdcard: Fix readdir implementation so rewinddir will work correctly
* commit '75e17a8908d52e32f5de85b90b74e156265c60c6':
  sdcard: Fix readdir implementation so rewinddir will work correctly
2011-01-25 18:39:15 -08:00
Mike Lockwood 75e17a8908 sdcard: Fix readdir implementation so rewinddir will work correctly
Fixes problem with "ls -R" in /mnt/sdcard

BUG: 3309556

Change-Id: Ie2246585439116de3cb40f4005f3b44a0439f54c
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-25 17:22:47 -08:00
Brad Fitzpatrick 9409bc2677 am ceddc751: resolved conflicts for merge of 63e70b24 to honeycomb-plus-aosp
* commit 'ceddc751d7a2764da56a573de83202f30843c45b':
  Permit 0 length writes.
  Let SocketClient users write binary data to clients.
2011-01-25 16:25:16 -08:00
Brad Fitzpatrick ceddc751d7 resolved conflicts for merge of 63e70b24 to honeycomb-plus-aosp
Change-Id: I9a26acdc029da9b886171b1f2084003ef97f61ef
2011-01-25 16:17:29 -08:00
Brad Fitzpatrick 63e70b2428 am 4585e0e9: Merge changes I087d0074,I8a51924e
* commit '4585e0e9f76e2c51a7f4a9679ec8b8d25f9b5e63':
  Permit 0 length writes.
  Let SocketClient users write binary data to clients.
2011-01-25 15:44:19 -08:00
Brad Fitzpatrick 4585e0e9f7 Merge changes I087d0074,I8a51924e
* changes:
  Permit 0 length writes.
  Let SocketClient users write binary data to clients.
2011-01-25 15:13:28 -08:00
Robert Greenwalt faab26d542 Change our dhcp interface to be IPv6 compat.
Doesn't do IPv6, but removes v4-specific structures from the framework
(netmask, ints for addrs)
bug:2542681

Change-Id: I1110e6f32d42a472b104835a4298e18b391db0a7
2011-01-25 11:21:04 -08:00
rich cannings 1aef062832 Add missing header to gpttool
Fixes a broken build from: https://android-git.corp.google.com/g/92563

Change-Id: I4d9a2eecde2a17aef0a35952c32483ec4af2b483
2011-01-25 08:07:01 -08:00
Brian Swetland a360a77294 gpttool: useful for partitioning sdcards
Where @partitions.txt contains:

:128k

xloader:128k
bootloader:256k
environment:128k
:384k
boot:8m
recovery:8m
system:256m
cache:256m
userdata:1g

Change-Id: I1221677e5b3dc4d5b19420c4a64d21b587fb7d47
media:
2011-01-25 00:03:23 -08:00
Dmitry Shmidt 7bfca89cec Merge "libnetutils: Fix warning" 2011-01-24 22:14:21 -08:00
Dmitry Shmidt a5d6520be8 Merge "netcfg: Add MAC address to interface dump" 2011-01-24 22:14:04 -08:00
Dmitry Shmidt 7d05a80da8 libnetutils: Fix warning
Change-Id: I2a914314a027e0e542d45dff0c2e6029e9f40615
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-01-24 17:10:30 -08:00
Dmitry Shmidt 97186a9c3d netcfg: Add MAC address to interface dump
Change-Id: I52b3336a66224c9ae19a4c80cc706890742d4130
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-01-24 17:09:32 -08:00
Carl Shapiro f59ed65c47 am 3b093369: am 1147407b: Merge "Remove unconditional swap from the android atomic operations suite." into honeycomb
* commit '3b093369d85f2d248799073152ece79987d4b30b':
  Remove unconditional swap from the android atomic operations suite.
2011-01-24 16:46:45 -08:00
Carl Shapiro 3b093369d8 am 1147407b: Merge "Remove unconditional swap from the android atomic operations suite." into honeycomb
* commit '1147407becd8569ad1ddcf620a10076675ef92da':
  Remove unconditional swap from the android atomic operations suite.
2011-01-24 16:14:32 -08:00
Carl Shapiro 1147407bec Merge "Remove unconditional swap from the android atomic operations suite." into honeycomb 2011-01-24 16:12:37 -08:00
Brian Swetland 1aa59a83b5 libsysutils: do not build for TINY_ANDROID
This depends on frameworks/... :-(

Technically it doesn't belong in system/core at all, but of course there are
things in system/core that depend on it, so for now we'll hack around this.

Change-Id: I6aa437f18e1c09bd10fbd3333cf6998a0b6140c6
2011-01-23 19:13:23 -08:00
Brian Swetland cecec9d027 remove crasher and vfp-crasher from standard builds
These are only for debuggerd testing.

Change-Id: If2d2ff85e8c182d366cc251e9446ae7fdd094e55
2011-01-23 17:51:54 -08:00
Mike Lockwood 163f7057c0 am e12e5f37: am 575a2bbe: sdcard: Remove lower case squashing of file names
* commit 'e12e5f376bc9b4cf6a846e850a20d237fc81d503':
  sdcard: Remove lower case squashing of file names
2011-01-23 17:01:37 -08:00
Mike Lockwood e12e5f376b am 575a2bbe: sdcard: Remove lower case squashing of file names
* commit '575a2bbee30d70a1940077a5b699aaf93cb4e2cd':
  sdcard: Remove lower case squashing of file names
2011-01-23 16:46:03 -08:00
Mike Lockwood 575a2bbee3 sdcard: Remove lower case squashing of file names
sdcard daemon will now create new files and directories using
the actual name passed in by the client.
For existing files, sdcard will do case insensitive matching
when case sensitive lookup fails.

Change-Id: I89f995ea01beb2c63a9b36943dbcfaa16e7cd972
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-23 16:20:28 -08:00
Carl Shapiro 0a16d83969 Remove unconditional swap from the android atomic operations suite.
Bug: 3381237
Change-Id: I7bdc7c8eb4c1cc6303d96e40ca2f196a007c4dd2
2011-01-23 14:09:17 -08:00
Glenn Kasten b81dfcb4f6 Bug 3381298 Remove old /data/drm/plugins/native
Change-Id: Ic299d328f2e04a65a9dce68909c7b83f3ac03b20
2011-01-23 12:37:03 -08:00
Glenn Kasten 328c0d4a89 Merge "Bug 3361124 Remove drmioserver" 2011-01-23 09:45:24 -08:00
Mike Lockwood ec9e7b1c18 libusbhost: Add usb_device_connect_kernel_driver()
This can be used to ask the kernel to disconnect its driver for a device
so usb_device_claim_interface() can claim it instead.

Also increased size of descriptor buffer and added some debugging logs

Change-Id: I4945196d957fb8493716eb9b7e5463c06b168ef1
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-22 14:10:04 -08:00
David 'Digit' Turner 0897a4353e am 100511ff: am 88af5ff4: Merge "goldfish: Work-around to start the RIL daemon." into honeycomb
* commit '100511ffaa11b33a6856a434c62ad326a899f252':
  goldfish: Work-around to start the RIL daemon.
2011-01-21 19:04:02 -08:00
David 'Digit' Turner 100511ffaa am 88af5ff4: Merge "goldfish: Work-around to start the RIL daemon." into honeycomb
* commit '88af5ff47dc6eb371c3ee597b5a646fa0e5a8578':
  goldfish: Work-around to start the RIL daemon.
2011-01-21 19:02:22 -08:00
David 'Digit' Turner 88af5ff47d Merge "goldfish: Work-around to start the RIL daemon." into honeycomb 2011-01-21 19:00:41 -08:00
David 'Digit' Turner dc743112ca goldfish: Work-around to start the RIL daemon.
This change forces the start of the RIL daemon used to provide
3G connectivity to the system. It should normally be started
automatically by init.rc but there is a bug within
system/core/init/builtins.c that prevents this to happen.

Fixes the "No network connectivity" bug while the network
interface and route were properly setup.

Change-Id: Ieec0f513aabf92b8a59f0a86f64a16e97057c3c3
2011-01-22 02:24:36 +01:00
David 'Digit' Turner dce50654b9 am 38f81ccf: am fc67acc3: Merge "libsysutils: Fix a file descriptor leak." into honeycomb
* commit '38f81ccf62201863ab3f9468659abb1aee1de7c0':
  libsysutils: Fix a file descriptor leak.
2011-01-21 15:33:24 -08:00
David 'Digit' Turner 38f81ccf62 am fc67acc3: Merge "libsysutils: Fix a file descriptor leak." into honeycomb
* commit 'fc67acc381ca684caffab957c6113d7285d46e3d':
  libsysutils: Fix a file descriptor leak.
2011-01-21 15:03:04 -08:00
David 'Digit' Turner fc67acc381 Merge "libsysutils: Fix a file descriptor leak." into honeycomb 2011-01-21 15:01:04 -08:00
David 'Digit' Turner 69416dadc9 am 54175579: am 02526d48: debuggerd: properly unblock signal handler.
* commit '54175579333b4b95606bbdb7840bcfbea5b854ee':
  debuggerd: properly unblock signal handler.
2011-01-21 10:57:06 -08:00
David 'Digit' Turner b913b5170f libsysutils: Fix a file descriptor leak.
The recent refactoring of the select() loop in SocketListener
missed a close() of the file descriptor when the onDataAvailable()
callback returns false.

Change-Id: I767caefab4b98ab350f2db2497ee2bd630f20850
2011-01-21 19:25:51 +01:00
David 'Digit' Turner 5417557933 am 02526d48: debuggerd: properly unblock signal handler.
* commit '02526d486803de153d03851f4d5f9be7c555e46c':
  debuggerd: properly unblock signal handler.
2011-01-20 21:39:57 -08:00
David 'Digit' Turner 02526d4868 debuggerd: properly unblock signal handler.
This change ensures that debuggered properly releases
the signal handler that invoked it after the PTRACE_ATTACH.

The previous code simply did a close() of the file descriptor,
but for some reason, this didn't always make the read() blocking
the signal handler exit. Instead, the thread would stay blocked
and never fault, preventing the generation of a useful stack
trace.

Change-Id: I6b0579041165a710d74ec1bece113ff7b828aed4
2011-01-21 04:27:12 +01:00
Carl Shapiro b92c54172b am c7de5e33: am c1b546b2: Merge "Remove two unused event log tags." into honeycomb
* commit 'c7de5e33e36143e900be4db4030e4c0ef6a51258':
  Remove two unused event log tags.
2011-01-20 09:51:12 -08:00
Carl Shapiro c7de5e33e3 am c1b546b2: Merge "Remove two unused event log tags." into honeycomb
* commit 'c1b546b22dc229fdbef9105f010e3ac0172cfc8f':
  Remove two unused event log tags.
2011-01-20 09:49:28 -08:00
Carl Shapiro c1b546b22d Merge "Remove two unused event log tags." into honeycomb 2011-01-20 09:47:52 -08:00
Glenn Kasten b29b33841b Bug 3361124 Remove drmioserver
Change-Id: Ie3b20b487c1466737921567ab2d043e230356bf4
Note: safe to re-use the drmio uid/gid as no files were ever created.
2011-01-20 07:45:27 -08:00
Ken Sumrall 852c13d1b2 am afa099a1: am 3a159d62: Move rild to the late_start class
* commit 'afa099a1909c02196574d125d735adb0c8918392':
  Move rild to the late_start class
2011-01-19 23:14:43 -08:00
Ken Sumrall afa099a190 am 3a159d62: Move rild to the late_start class
* commit '3a159d62a9d771f2a2d38129f1db56d873598696':
  Move rild to the late_start class
2011-01-19 23:12:22 -08:00
Ken Sumrall 3a159d62a9 Move rild to the late_start class
Now that rild can be killed in a reasonable amount of time, move it
from the core class to late_start.  I was going to move it to main,
but it would get killed and restarted right after the disk crypto
password was entered, which is when the late_start class is started,
and I was seeing issues with rild not re-connecting to the network
when it was killed and restarted.

Change-Id: I60479ddb853953029890fc816538d615ef5a96ab
2011-01-19 23:06:12 -08:00
Colin Cross 0f951a4fb8 am 618eca4e: am 6fa54fa2: Merge "Accept address ranges in r" into honeycomb
* commit '618eca4ed91af2d2a2c618168327ca4a6a496669':
  Accept address ranges in r
2011-01-19 17:49:18 -08:00
Colin Cross 618eca4ed9 am 6fa54fa2: Merge "Accept address ranges in r" into honeycomb
* commit '6fa54fa2234920e36b0563082af3a0bc6c8da640':
  Accept address ranges in r
2011-01-19 17:42:21 -08:00
Colin Cross 6fa54fa223 Merge "Accept address ranges in r" into honeycomb 2011-01-19 17:37:43 -08:00