aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* merge from open-source masterThe Android Open Source Project2010-06-158-114/+163
|\ | | | | | | Change-Id: I8cfc9c0b699eceef77a905ca2f8cbdb1ab06bf1d
| * Merge "- creates proper ifc.h and dhcp.h headers for libnetutils - adds ↵Jean-Baptiste Queru2010-06-158-114/+163
| |\ | | | | | | | | | ifc_set_hwaddr - adds hwaddr command to netcfg - code reuse: dhcp_configure calls ifc_configure; inet_ntoa is used for printing - consistency: use net.XXX.dnsX properties in favor of dhcp.XXX.dnsX properties (see related change to WifiStateTracker) - updated system/core/nexus to use new headers, although not sure if anybody still uses nexus"
| | * - creates proper ifc.h and dhcp.h headers for libnetutilsSzymon Jakubczak2010-06-098-114/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - adds ifc_set_hwaddr - adds hwaddr command to netcfg - code reuse: dhcp_configure calls ifc_configure; inet_ntoa is used for printing - consistency: use net.XXX.dnsX properties in favor of dhcp.XXX.dnsX properties (see related change to WifiStateTracker) - updated system/core/nexus to use new headers, although not sure if anybody still uses nexus Change-Id: Idd70c0ac6e89b38e86816578c33eff805d30cac4
* | | merge from open-source masterThe Android Open Source Project2010-06-151-0/+3
|\| | | | | | | | | | | Change-Id: Ia99df155e4abf0585ed46943b75a2a1569d0534f
| * | added vendor ID for http://www.onthegovideo.com/Michael Richardson2010-06-151-0/+3
| | | | | | | | | | | | Change-Id: I38e3a6f252728d93177745778147e6f6ed45d5c5
* | | merge from open-source masterThe Android Open Source Project2010-06-151-1/+1
|\| | | | | | | | | | | Change-Id: I183a933e96222f8c01516210cfa4be5f18e35b70
| * | Merge "eliminate a compiler warning: signed/unsigned length"Jean-Baptiste Queru2010-06-151-1/+1
| |\ \
| | * | eliminate a compiler warning: signed/unsigned lengthMichael Richardson2010-06-141-1/+1
| | | | | | | | | | | | | | | | Change-Id: I6139a1b3f9caa8fe3492e4850dcc58d8d5ff0cfb
* | | | merge from open-source masterThe Android Open Source Project2010-06-151-2/+5
|\| | | | | | | | | | | | | | | Change-Id: I14853c1f8a1d392d7ee9dfae3914d9ee3107794c
| * | | Merge "adb: optimize socket-list-walking code"Jean-Baptiste Queru2010-06-151-2/+5
| |\ \ \
| | * | | adb: optimize socket-list-walking codeAndré Goddard Rosa2010-06-141-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8bbb8b671c1ce7a2ce736b60b0cdb7b21ccdc372 Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
* | | | | merge from open-source masterThe Android Open Source Project2010-06-151-1/+0
|\| | | | | | | | | | | | | | | | | | | Change-Id: I2dacf7f8895debd0452c3601424e32a3b9e19059
| * | | | Merge "adb: remove unneeded assignment of id to zero"Jean-Baptiste Queru2010-06-151-1/+0
| |\| | |
| | * | | adb: remove unneeded assignment of id to zeroAndré Goddard Rosa2010-06-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... as memory was already obtained zero'ed by calloc(). Change-Id: Ic73bad09b54cb778fd40bdf86bb40888ea504c5f Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
* | | | | merge from open-source masterThe Android Open Source Project2010-06-151-3/+3
|\| | | | | | | | | | | | | | | | | | | Change-Id: Ia8d41f96f3885bd7159571182d09c1da079e5bc9
| * | | | Merge "adb: clean up 0 --> NULL for pointers"Jean-Baptiste Queru2010-06-151-3/+3
| |\| | |
| | * | | adb: clean up 0 --> NULL for pointersAndré Goddard Rosa2010-06-141-3/+3
| | |/ / | | | | | | | | | | | | Change-Id: I9216fdf534d807a55dfbc6800b5c3ef5f8c83368
* | | | merge from open-source masterThe Android Open Source Project2010-06-157-1/+49
|\| | | | | | | | | | | | | | | Change-Id: I1ec0e1e702687697eccd3bf6c4f115cac85e382c
| * | | Fix build - cpu-features is ARM-specificJean-Baptiste Queru2010-06-151-0/+2
| | | | | | | | | | | | | | | | Change-Id: I66521f279545a249e3dcb645914f7b66f23cef21
| * | | Merge "Adds support for UBFX to JIT and Disassembler"Jean-Baptiste Queru2010-06-157-1/+47
| |\ \ \ | | |/ / | |/| |
| | * | Adds support for UBFX to JIT and DisassemblerMartyn Capewell2010-05-287-1/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces UBFX instruction generation abilities to the Pixelflinger JIT, and also modifies the component extraction function to generate the instruction. The extract function contains defines to prevent generation of UBFX on pre-v7 cores. The JIT itself retains the ability to produce the instruction even on v5/6. This patch only generates UBFX when MOV, AND or BIC can't be used. Based on the TRM, this appears to be faster on A9 than using UBFX in all cases. On startup, Pixelflinger JITs three chunks of code. UBFX improves these as follows: 00000077:03515104_00000000_00000000 (Blends a single colour into an RGB565 buffer.) Before: 27 inst/pixel, After: 24 inst/pixel, Improvement: 12.5% 00000077:03545404_00000A01_00000000 (Blends RGBA8888 texture into an RGB565 buffer using alpha.) Before: 30 inst/pixel, After: 27 inst/pixel, Improvement: 11.1% 00000077:03545404_00000A04_00000000 (Blends RGB565 texture into an RGB565 buffer using alpha.) Before: 29 inst/pixel, After: 27 inst/pixel, Improvement: 7.4%
* | | | merge from open-source masterThe Android Open Source Project2010-06-106-8/+227
|\| | | | | | | | | | | | | | | Change-Id: I50b7bc6faa6d0abd4998cae8fc7dda1e8fa49407
| * | | Merge "debuggerd: Show function names in tombstone backtraces"Jean-Baptiste Queru2010-06-096-8/+227
| |\ \ \ | | |_|/ | |/| |
| | * | debuggerd: Show function names in tombstone backtracesMeng Hu2010-05-246-8/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change enables debuggerd to provide backtraces with function names in tombstone files and log messages. It does this by reading the image file that the address is found in, and parsing the dynamic symbol table to try to extract the symbol corresponding to the given address. This works best when "-Wl,-export-dynamic" is added to the LDFLAGS of each library and executable, because this will cause all symbols to be added to the dynamic symbol table. If this flag is not present, it will still work, but it will only be able to identify functions which are part of the external API of the library/executable. Change-Id: I618baaff9ed9143b7d1a1f302224e9f21d2b0626
* | | | merge from open-source masterThe Android Open Source Project2010-06-091-19/+168
|\| | | | | | | | | | | | | | | Change-Id: I2f725ca20bf08748a4b3e81a4e98fbe08fcf1a47
| * | | Merge "toolbox-ls: sort file and directory lists"David 'Digit' Turner2010-06-091-18/+167
| |\ \ \
| | * | | toolbox-ls: sort file and directory listsDavid 'Digit' Turner2010-06-041-18/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sorts file and directory names properly in 'ls' + accept group flags (e.g. '-ld' instead of '-l -d') + accept flags in any position on the command line (e.g. 'ls foo -l' works) Change-Id: Idc24a69ae31fe0c13726d39892357ac89a8830db
* | | | | merge from open-source masterThe Android Open Source Project2010-06-080-0/+0
|\| | | | | | | | | | | | | | | | | | | Change-Id: Ie1dc11ee5c184b8f355ca8e2c1a74f86aea4c299
| * | | | Merge "Spell system correctly"Jean-Baptiste Queru2010-06-081-1/+1
| |\ \ \ \
| | * | | | Spell system correctlyAnthony Newnam2010-05-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3a7b0b8c5c0a3dac23192a32abe88d60ce1f00c0
* | | | | | merge from open-source masterThe Android Open Source Project2010-06-041-6/+20
|\| | | | | | | | | | | | | | | | | | | | | | | Change-Id: I70c032cb8d1b3fbc4ae59c1e408b6fd0d23d4f2a
| * | | | | Improve linenoise.c compatability.Jack Palevich2010-06-041-6/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Don't flush characters when switching into and out of raw mode. This avoids eating characters that follow '\n'. (Such characters can occur when pasting multiple line input, or when scripts are driving input.) + Try to be slightly cleverer about calculating the length of the prompt, so that prompts with embedded '\n' characters are handled OK. This is an area that really needs to be replaced with a query of the cursor position from the terminal. + As a hack, just assume the screen is very wide if we don't know how wide it is. This allows dexpropt to work correctly. (It was getting confused by the editing commands emitted when the end-of-line was reached.) Change-Id: I988dd0f0bceb22b298e915be0dde085c9358ef66
* | | | | | merge from open-source masterThe Android Open Source Project2010-06-043-2/+6
|\| | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8b1e7e238d9d0e828bea72530b5356b8386e48bc
| * | | | | Emit shell prompt even when in non-interactive mode.Jack Palevich2010-06-043-2/+6
| | |/ / / | |/| | | | | | | | | | | | | Change-Id: If85c509efe13e4bdb40216c79d560ea7f83ba813
* | | | | merge from open-source masterThe Android Open Source Project2010-06-031-1/+1
|\| | | | | | | | | | | | | | | | | | | Change-Id: I6262a725068f89c989e2e6706bcd220ddb217c8e
| * | | | sh: Fix problem with stray '\r' character that was introduced in previous changeMike Lockwood2010-06-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I53148089bcb1989c129c7af465c724495e13e156 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | merge from open-source masterThe Android Open Source Project2010-06-034-38/+108
|\| | | | | | | | | | | | | | | | | | | Change-Id: I9b051ebd6e785e4d68e148a005a0485e79aa55ea
| * | | | adb connect and disconnect improvements:Mike Lockwood2010-06-024-38/+108
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Port number is now optional. Will use default port 5555 if not specified. "adb disconnect" with no additional arguments will disconnect all TCP devices. Change-Id: I7fc26528ed85e66a73b8f6254cea7bf83d98109f Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | am 230cb33f: Make /proc/kmsg and /proc/sysrq-trigger system-process-readableChristopher Tate2010-06-021-0/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '230cb33fd1ab335c6f808c72db891993b00110a0' into froyo-plus-aosp * commit '230cb33fd1ab335c6f808c72db891993b00110a0': Make /proc/kmsg and /proc/sysrq-trigger system-process-readable
| * | | | Make /proc/kmsg and /proc/sysrq-trigger system-process-readableChristopher Tate2010-06-011-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is so that the system process can capture kernel thread stacks when the watchdog detects a deadlock. Previously, /proc/kmsg was root/root and mode 0400, and /proc/sysrq-trigger was root/root and mode 0200. With this change, /proc/kmsg becomes root/system and 0440, and /proc/sysrq-trigger becomes root/system and 0220. Change-Id: Iac46bd10bd11d495024afeb5d693107ce5074791
* | | | | merge from open-source masterThe Android Open Source Project2010-06-025-336/+19
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | Change-Id: I99ae03ba51ee185b9cfecf4f26e94a757f3815c2
| * | | | adb: remove obsolete shell history support.Mike Lockwood2010-05-255-336/+19
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I85a7cda176ca3bb7cb9f96e18556d53daaac3023 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | merge from open-source masterThe Android Open Source Project2010-06-029-2/+568
|\| | | | | | | | | | | | | | | | | | | Change-Id: I9e7ebc99f0de12ed3ae38a3882481485a96f9680
| * | | | Use linenoise to add simple editing and history to the Android shell.Jack Palevich2010-05-259-2/+568
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The linenoise library is from http://github.com/antirez/linenoise This patch also disables command-line editing and history from adb. The adb implementation was shadowing the Android shell's implementation. The adb implementation was also shadowing the editing and history implementation in alternative shells such as BusyBox's ash. Change-Id: I7ebd4cb391d0ce966c0ce0e707d80ecd659f9079
* | | | | merge from open-source masterThe Android Open Source Project2010-06-023-54/+179
|\| | | | | | | | | | | | | | | | | | | Change-Id: I44bd527e51d102a56a1efe40cb6e634859b09461
| * | | | Let "adb connect" connect to emulators tooStefan Hilzinger2010-05-243-54/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - adb can now connect to an emulator configured with an arbitrary pair of <console port, adb port>. These two ports do not have to be adjacent. This can be done from the commandline at any time using adb connect emu:<console_port>,<adb_port> - Emulators running on ports outside the normal range (5554/5555-5584/5585) register themselves on startup if they follow the convention "console port+1==abd port". - Emulators outside the normal port range will not be auto-detected on adb startup as these ports are not probed. - The index into local_transports[] array in transport_local.c does no longer indicate the port number of the local transport. Use the altered atransport struct to get the port number. - I have chosen not to document the adb connect emu:console_port,adb_port syntax on adb's help screen as this might be confusing to most readers and useful to very few. - I don't expect this to introduce any (backwards) compatibility issues. Change-Id: Iad3eccb2dcdde174b24ef0644d705ecfbff6e59d Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | merge from open-source masterThe Android Open Source Project2010-06-021-19/+27
|\| | | | | | | | | | | | | | | | | | | Change-Id: I5f7880bec0c15ae7a42175107d8192ad44b847ca
| * | | | Fix adb remount on non-MTD devicesColin Cross2010-05-241-19/+27
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: If8e07502bcface53aaac81022f6183c6a147edc8 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | merge from open-source masterThe Android Open Source Project2010-06-021-0/+3
|\| | | | | | | | | | | | | | | | | | | Change-Id: I71f2e47509695ba9ec626f4a6917a645b00a4e70
| * | | | adb: Add Qualcomm USB idDima Zavin2010-05-241-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I044a77f14d7a90e9dff191919e4aeb39723ea429 Signed-off-by: Dima Zavin <dima@android.com>