Commit graph

2235 commits

Author SHA1 Message Date
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
Carl Shapiro
dfe3b60258 Remove two unused event log tags.
Change-Id: I4be6e142ecdb3caebde21bef9898fc9e25fe181a
2011-01-19 17:29:54 -08:00
Colin Cross
2ad280f07a Accept address ranges in r
Change-Id: Ifece1b37d018216462844cc89e0f2f6a2b7d287d
2011-01-19 17:23:40 -08:00
Ken Sumrall
a6f502683b am 849bf4e0: am 203bad59: Add the commands rm and rmdir to init.
* commit '849bf4e088aa7d9e3ac43441aa5aeaa248ecf03e':
  Add the commands rm and rmdir to init.
2011-01-18 21:59:27 -08:00
David 'Digit' Turner
3a16f753a6 am 75b9f6dc: am 108d3d74: Merge "libsysutils: Handle EINTR in FrameworkClient.cpp" into honeycomb
* commit '75b9f6dc975758d95ee4e0499b0c8d2e4a19a08e':
  libsysutils: Handle EINTR in FrameworkClient.cpp
2011-01-18 21:59:25 -08:00
David 'Digit' Turner
ac28dff42a am ebdbe206: am c7166971: Merge "libsysutils: Fix potential overwrites in FrameworkListener" into honeycomb
* commit 'ebdbe206e8cf716e76cce4871e45a32a4f4224f5':
  libsysutils: Fix potential overwrites in FrameworkListener
2011-01-18 21:59:23 -08:00
David 'Digit' Turner
b4770e83b4 am 8667348a: am 9aae7b51: Merge "libsysutils: Fix race condition in SocketListener thread." into honeycomb
* commit '8667348ad8c59afa9523f2550b4fc439a52c325c':
  libsysutils: Fix race condition in SocketListener thread.
2011-01-18 21:59:21 -08:00
David 'Digit' Turner
9d2732edbc am 8252a7b3: am 292bb77c: Merge "libsysutils: Handle EINTR in SocketClient::sendData()" into honeycomb
* commit '8252a7b3c244b95b71a29cc776916623b9c06255':
  libsysutils: Handle EINTR in SocketClient::sendData()
2011-01-18 21:59:19 -08:00
David 'Digit' Turner
faaa63c01a am bc8facc9: am 706747e5: Merge "libsysutils: Fix wait loop in ServiceManager::start and ::stop" into honeycomb
* commit 'bc8facc9bb5cc15686d126d6d3ea5736813bbe24':
  libsysutils: Fix wait loop in ServiceManager::start and ::stop
2011-01-18 21:59:14 -08:00
David 'Digit' Turner
468c41642b am 0e2177d5: am f605b2a1: Merge "libsysutils: Handle EINTR in NetlinkListener" into honeycomb
* commit '0e2177d53035f1c67c44cff0d963715dbd1465b5':
  libsysutils: Handle EINTR in NetlinkListener
2011-01-18 21:59:11 -08:00
David 'Digit' Turner
b1e921d8ed am 5e4d60fb: am 68649564: Merge "libsysutils: Fix NetLinkEvent security issues." into honeycomb
* commit '5e4d60fbf5de28f05d635f2d62733c29a8797883':
  libsysutils: Fix NetLinkEvent security issues.
2011-01-18 21:59:08 -08:00
David 'Digit' Turner
ba3bcef024 am 794fb914: am eeeca4dd: rootdir: goldfish: Fix network route during emulation.
* commit '794fb914bef34c1c5f32764947801c95575ecd41':
  rootdir: goldfish: Fix network route during emulation.
2011-01-18 21:57:46 -08:00