- 17 Oct, 2011 1 commit
-
-
Nick Kralevich authored
When parsing log entries which may have embedded \0s, it's possible for entry->messageLen to not be the actual length of the string in entry->message. Detect this condition. Bug: 5417417 Change-Id: I712cac7696af7831e24765b5a1b345d6ff5fb407
-
- 14 Oct, 2011 1 commit
-
-
Andy McFadden authored
-
- 13 Oct, 2011 9 commits
-
-
Andy McFadden authored
The Android Problem Report site shows tombstones uploaded from devices. We can see the native stack traces for every thread, but sometimes there's a very important bit of information sitting in the log, and without it we can't analyze the failure. This change modifies debuggerd so that the log contents for the crashing process are appended to the tombstone. The format matches the output of "logcat -v threadtime". Both "system" and "main" logs are included (but not interleaved -- we're not that fancy). This feature is only enabled when the "ro.debuggable" system property is set to 1 (indicating a development device). Bug 5456676 Change-Id: I3be1df59813ccf1058cec496a906f6d31fbc7b04
-
Andy McFadden authored
-
Dima Zavin authored
* commit '471157a3': charger: key state being the same is not an error
-
Dima Zavin authored
Change-Id: I58d53899dbcca8329b65b189c1a6c5eea413c289 Signed-off-by:
Dima Zavin <dima@android.com>
-
Dima Zavin authored
* commit '47cca063': charger: ignore key event if value didn't change charger: sync with the current key state on boot charger: print last_kmsg directly using klog_write
-
Dima Zavin authored
* changes: charger: ignore key event if value didn't change charger: sync with the current key state on boot charger: print last_kmsg directly using klog_write
-
Andy McFadden authored
This adds some additional output to native crashes. For example, if something tried to access a bit of mmap(/dev/zero) memory that had been mprotect()ed, you might see output like this: I DEBUG : memory map around addr 4015a00c: I DEBUG : 40159000-4015a000 /system/lib/libstdc++.so I DEBUG : 4015a000-40162000 /dev/zero I DEBUG : b0001000-b0009000 /system/bin/linker The idea is to see what's in and around the fault address to make it easier to identify bus errors due to file truncation and segmentation faults caused by buffer over/underruns. No output is generated for accesses below 0x1000 (which are likely NULL pointer dereferences) or for signals that don't set si_addr. Also, suppress the fault address for signals that don't set si_addr: I DEBUG : signal 6 (SIGABRT), code 0 (?), fault addr -------- We still print "fault addr" followed by 8 characters for anything that is parsing the contents. The "address" shown for signals like SIGABRT was meaningless and possibly confusing. Bug 5358516 Change-Id: Icae8ef309ea2d89b129f68d30f96b2ca8a69cc6c
-
Wu-cheng Li authored
* commit 'baad2843': Update camera documentation about face detection.
-
Wu-cheng Li authored
bug:5169599 Change-Id: I5280137cee5401fadec36cae732ecb78a2d44dc3
-
- 12 Oct, 2011 4 commits
-
-
Dima Zavin authored
Change-Id: Idcb481550eca53209be217361cac38e48368a04f Signed-off-by:
Dima Zavin <dima@android.com>
-
Dima Zavin authored
If the power key was down when we booted, we would not have gotten the down event and thus the device would not have rebooted until the user released and pressed it again. Change-Id: Iecb8c3dba773bce4647748715d056e8e1d77f7e0 Signed-off-by:
Dima Zavin <dima@android.com>
-
Dima Zavin authored
using the macros introduced extra characters that made things align poorly. Change-Id: I4924134be159723b4e4ed905c4293a42358d0ff5 Signed-off-by:
Dima Zavin <dima@android.com>
-
Romain Guy authored
Change-Id: I55294713c8dd1ac32d6013d084f1bb502fc3572f
-
- 11 Oct, 2011 1 commit
-
-
Nick Kralevich authored
Bug: 5250555 Change-Id: I7acb0645402611875c481aec33ece85fced7a336
-
- 10 Oct, 2011 1 commit
-
-
Wink Saville authored
-
- 08 Oct, 2011 1 commit
-
-
Jeffrey Tinker authored
-
- 07 Oct, 2011 3 commits
-
-
Wu-cheng Li authored
-
Wu-cheng Li authored
bug:5422679 Change-Id: Ia4a09328bd9e1d36af680be4d065bc08cf0dec0f
-
Jeffrey Tinker authored
Bug 4598045 Implementing secure video path on TI OMAP4 chip for ICS Change-Id: Iacfe3e79f067172085b96bb4cd4484101aa5be1e
-
- 05 Oct, 2011 1 commit
-
-
Kenny Root authored
-
- 04 Oct, 2011 3 commits
-
-
Christopher Tate authored
-
Jeffrey Tinker authored
-
Christopher Tate authored
Documentation-only change that supports the new framework-side feature to omit system packages when you're using adb backup -all. Bug 5361503. Change-Id: I86bca8883a7fb8c713ca352ad5980e92fd640d18
-
- 03 Oct, 2011 1 commit
-
-
Kenny Root authored
The log tag may be zero length if corrupted, so check for this condition. Change-Id: I7616226dabe78a85859b0ab53aca08f734dbdd84
-
- 30 Sep, 2011 8 commits
-
-
Jeffrey Tinker authored
Bug 4598045 Change-Id: I5550203927146fd6864408b3ac2f5e6f5d2b1d77
-
Dmitry Shmidt authored
Change-Id: I27b2495fb96852e960f647f032a5fcd446ec742b Signed-off-by:
Dmitry Shmidt <dimitrysh@google.com>
-
Kazuhiro Ondo authored
Add log group to ril-daemon service. rild is the best place to know the issue on the modem in many time. It would be helpful if rild alone can capture the snapshot of logcat buffers at the moment of problem. Change-Id: Ie0dcda126fb748a00e650427de35541672359287
-
Dima Zavin authored
* commit '73531557': Revert "charger: show animation when the device is unplugged"
-
Dima Zavin authored
* commit '823ebc4d': charger: dump the last_kmsg when going into charger mode
-
David Turner authored
-
Dima Zavin authored
This reverts commit e0c70dad.
-
Dima Zavin authored
Change-Id: I3b76bb5071d8a44adfb221774bb304bf296c8c1b Signed-off-by:
Dima Zavin <dima@android.com>
-
- 29 Sep, 2011 3 commits
-
-
Lorenzo Colitti authored
-
Xianzhu Wang authored
The problem was: if a socket is shared between SocketListener and another thread, only if the last reference is removed by SocketListener can the socket be closed, otherwise the socket will leak. This sometimes happens in netd's dnsproxyd. This change let the SocketClient own the socket and close the socket when the SocketClient is destructed. Change-Id: I2865fbfe9ee4d8b3e43d7e02919dbb2d261f70de
-
Lorenzo Colitti authored
- Provide a function to add and delete IPv4/IPv6 addresses using netlink. - Provide a function that clears all IP addresses on an interface that can be used by netd. Also, a couple of cleanups: - Update the header file to match reality, and include the header file in the implementation. Also fix a caller that has an incorrect method signature. - Fix whitespace in Android.mk. Change-Id: Ifba9d60cdfffb0b7e5c3b9c6ab328f5f77d259c4
-
- 28 Sep, 2011 3 commits
-
-
Mathias Agopian authored
-
Vladimir Chtchetkine authored
-
Mathias Agopian authored
Change-Id: I02baa1f7d3383e93a43fa04de1d39f7398e971bc
-