Commit graph

2095 commits

Author SHA1 Message Date
Mathias Agopian
0909af57d5 am c1fbf7c1: fix [3374821] Cannot take screenshot of HC preview
* commit 'c1fbf7c1638cb4f1f139edf74562fcfbaa6f3435':
  fix [3374821] Cannot take screenshot of HC preview
2011-02-09 13:22:39 -08:00
Mathias Agopian
c1fbf7c163 fix [3374821] Cannot take screenshot of HC preview
don't hardcode the pixelformat to RGBA_8888 when taking
screenshots.

Change-Id: I3a76b49275acfce9a2994436f521b76310cd8fb2
2011-02-09 12:56:25 -08:00
Paul Eastham
57cd87d9cc am 1ace223f: Set default permissions for preloaded /data/media aka /sdcard content.
* commit '1ace223fcbf8da9e0d22e31c1b3129a7a8276cb1':
  Set default permissions for preloaded /data/media aka /sdcard content.
2011-02-03 17:19:45 -08:00
Paul Eastham
1ace223fcb Set default permissions for preloaded /data/media aka /sdcard content.
Change-Id: Ia67cbdbfbcd423cf163f0fce5c6edc215564e782
2011-02-03 17:14:00 -08:00
Mike Lockwood
67afaad585 am d4894f4b: am 034117e4: Merge changes I8df51128,Ie922b3e7,I31f78419,I7e8df44d,I6067857b,Ifd35587c,Ie8d66740
* commit 'd4894f4be608c28ef0f39c7794ba865ac812dff9':
  Fix adb leaking file descriptors to forked processes
  adb: Fix command-line parser.
  adb: Increase device descriptor buffer size in Linux host USB support
  adb: improve debug traces readability.
  adb: Don't report negative number of bytes after pushing file > 2 gigabytes
  Adding Texas Instruments to the VID list.
  Support an additional alias for 'adb shell.'
2011-02-03 12:59:03 -08:00
Mike Lockwood
d4894f4be6 am 034117e4: Merge changes I8df51128,Ie922b3e7,I31f78419,I7e8df44d,I6067857b,Ifd35587c,Ie8d66740
* commit '034117e47f2601d46563461a0bfe3cc22f89a0f0':
  Fix adb leaking file descriptors to forked processes
  adb: Fix command-line parser.
  adb: Increase device descriptor buffer size in Linux host USB support
  adb: improve debug traces readability.
  adb: Don't report negative number of bytes after pushing file > 2 gigabytes
  Adding Texas Instruments to the VID list.
  Support an additional alias for 'adb shell.'
2011-02-03 12:56:57 -08:00
Mike Lockwood
034117e47f Merge changes I8df51128,Ie922b3e7,I31f78419,I7e8df44d,I6067857b,Ifd35587c,Ie8d66740
* changes:
  Fix adb leaking file descriptors to forked processes
  adb: Fix command-line parser.
  adb: Increase device descriptor buffer size in Linux host USB support
  adb: improve debug traces readability.
  adb: Don't report negative number of bytes after pushing file > 2 gigabytes
  Adding Texas Instruments to the VID list.
  Support an additional alias for 'adb shell.'
2011-02-03 12:34:38 -08:00
Benoit Goby
3b4a0c81c4 Fix adb leaking file descriptors to forked processes
accept() creates a new file descriptor that should be closed on exec so
that forked processes don't keep a fd opened on the socket.

This also fixes b/3297070 where adb hangs after running adb on the
target.

Change-Id: I8df511289e5549ae49b4824c9dfb71a3bf85eae8
2011-02-03 15:26:45 -05:00
David 'Digit' Turner
eb5df470e6 adb: Fix command-line parser.
This fixes the command-line parser to accept both "daemon server"
and "server nodaemon". Before the patch, the second string would
ignore the "nodaemon" flag.

Fixes b/2191598

Change-Id: Ie922b3e7bf57a6e334fc448cec33fb340ca6abc4
2011-02-03 15:26:43 -05:00
Mike Lockwood
a5d4694846 adb: Increase device descriptor buffer size in Linux host USB support
256 bytes wasn't big enough for some complicated USB configurations

Change-Id: I31f7841953d73b06958f44040f58166b159faff4
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-02-03 15:26:41 -05:00
David 'Digit' Turner
3e42db23fb adb: improve debug traces readability.
This patch makes the traces easier to read. For example transports are
displayed by name/serial instead of their hex address.

Change-Id: I7e8df44ddbec19754d63d989bd56485998b4627b
2011-02-03 15:26:37 -05:00
Mike Lockwood
487009ef5e adb: Don't report negative number of bytes after pushing file > 2 gigabytes
BUG: 3198322

Change-Id: I6067857b9490984a21b597f6ee338446a9decaf5
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-02-03 15:26:35 -05:00
Alex Sakhartchouk
1d3fbed348 Adding Texas Instruments to the VID list.
Change-Id: Ifd35587c93ae7d5c8253f477a92cca2345dc8bb5
2011-02-03 15:26:33 -05:00
Daniel Sandler
9c73d17e87 Support an additional alias for 'adb shell.'
Change-Id: Ie8d667407fef8ee5a6c7ab86b30307fb61869170
2011-02-03 15:26:29 -05:00
Rebecca Schultz Zavin
e442cff05f am 58fb8220: Raise the viking killer min free values to match the system properties
* commit '58fb822024a04641d5ca1d0341456a2706aee853':
  Raise the viking killer min free values to match the system properties
2011-01-30 12:14:24 -08:00
Rebecca Schultz Zavin
58fb822024 Raise the viking killer min free values to match the system properties
Change-Id: Idcbdb106d704ef63c9a44e635b6e995e0e5f6479
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2011-01-28 22:56:18 -08:00
Dianne Hackborn
fee2cfb011 am 9efdcd96: Fix issue #3401380: Raise OOM killer limits
* commit '9efdcd969ed03cfbe8cfa692b8adcc46d954914a':
  Fix issue #3401380: Raise OOM killer limits
2011-01-28 16:37:44 -08:00
Dianne Hackborn
9efdcd969e Fix issue #3401380: Raise OOM killer limits
Change-Id: Ia9c82e7d31b7f1b89bf9650ebea697d9b3a64506
2011-01-28 15:33:13 -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
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
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
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
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
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
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
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
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
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
849bf4e088 am 203bad59: Add the commands rm and rmdir to init.
* commit '203bad597fb4e46ddda051add28400070b5c3a5a':
  Add the commands rm and rmdir to init.
2011-01-18 18:40:13 -08:00
David 'Digit' Turner
75b9f6dc97 am 108d3d74: Merge "libsysutils: Handle EINTR in FrameworkClient.cpp" into honeycomb
* commit '108d3d74a805ad15d2cd2db47dad86f1082a59ba':
  libsysutils: Handle EINTR in FrameworkClient.cpp
2011-01-18 18:39:56 -08:00
David 'Digit' Turner
ebdbe206e8 am c7166971: Merge "libsysutils: Fix potential overwrites in FrameworkListener" into honeycomb
* commit 'c71669715320b90aafcc84d86068944149375cfa':
  libsysutils: Fix potential overwrites in FrameworkListener
2011-01-18 18:39:55 -08:00
David 'Digit' Turner
8667348ad8 am 9aae7b51: Merge "libsysutils: Fix race condition in SocketListener thread." into honeycomb
* commit '9aae7b5182c4cf46d629fa061e3c58d8730314da':
  libsysutils: Fix race condition in SocketListener thread.
2011-01-18 18:39:52 -08:00
David 'Digit' Turner
8252a7b3c2 am 292bb77c: Merge "libsysutils: Handle EINTR in SocketClient::sendData()" into honeycomb
* commit '292bb77cc3b145bca0f5cb31e1d3ce906455b0f3':
  libsysutils: Handle EINTR in SocketClient::sendData()
2011-01-18 18:39:50 -08:00
David 'Digit' Turner
bc8facc9bb am 706747e5: Merge "libsysutils: Fix wait loop in ServiceManager::start and ::stop" into honeycomb
* commit '706747e57b640da414cef542517241279d508c01':
  libsysutils: Fix wait loop in ServiceManager::start and ::stop
2011-01-18 18:39:47 -08:00