summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/BootReceiver.java
AgeCommit message (Collapse)Author
2013-12-19Move some system services to separate directoriesAmith Yamasani
Refactored the directory structure so that services can be optionally excluded. This is step 1. Will be followed by another change that makes it possible to remove services from the build. Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85
2013-12-12Add previous console on pstore to DropBoxTodd Poynor
Change-Id: I23c0213fe3d52280d7338ca62cb7e79b80a16cc6
2013-09-20Upload fsck logs to the dropbox when error foundKen Sumrall
If fsck made changes to the filesystem, then upload the logs to the dropbox. We can then get them into Android Problem Reports. Bug: 10021342 Change-Id: I202d2b2ba4060a2f379ca78f1b3f2c7a3f5796e0
2013-02-13Add logging for kernel audit failures, including SELinux.Geremy Condra
Bug: 7707280 Change-Id: I3788b465cb5733c93dbf36c91ce26e37d4be41c2
2012-11-28Cleaner initial boot.Dianne Hackborn
This does some cleanup of the initial boot, especially when booting in "no core apps" mode for encryption/decryption. Change-Id: Ifb3949f580e52f54559e603c4b0b104f6bac2f6c
2012-10-22Add ro.revision property to checkin headersColin Cross
Early hardware revisions often have known issues. Add the ro.revision property to the header for the checkin reports so known issues can be easily filtered. Change-Id: I337b09ddfa41ebbe7f8f56223392b0bd491f897b
2012-03-20Remove unused android.net.Downloads.Jeff Sharkey
It's another set of constants that can be confused with those in android.provider.Downloads. Change-Id: I78ac058fa264d59a81f7655ab101c3fb2c8c17ff
2012-02-27Increase max size of log size by 50% on userdebug builds.Dave Burke
Useful especially for last kmsg (e.g. IMG/DSS logs truncate and loose useful info). Since this is a max, won't affect files that are already shorter than 64kb. Change-Id: Ia5bb178678067e69384285e8c338dc8cb6ad071b
2011-07-14Move LoadAverageService to the SystemUI apk.Dianne Hackborn
Change-Id: I442e264802d1e35cd7d27bae121ae75f932595b6
2010-08-30Renaming SharedPreferences$Editor.startCommit to applyBrad Fitzpatrick
Also removes the artifical restriction that only one apply() can be in flight at once. That was old from when I thought it'd end up being required, but wasn't. Change-Id: I3540ea8be6e0760d6a51d218186f71655c2f3f55
2010-08-27SharedPreferences$Editor.startCommit()Brad Fitzpatrick
Adds a fire-and-forget save method (startCommit) to the SharedPreferences.Editor, which is the way most people use it anyway. This commit adds the implementation. The previous commit added the interface and docs: previous change: Idf9934b445da1fb72b79f0192218b47c0a7f5a34 git commit: edf32d01316bd3432c023f17747461b08ae36375 In addition, this change: -- adds a generic "runPendingWorkFinishers" mechanism to ActivityThread to wait on async operations that are still in flight and use it for this. -- ties runPendingWorkFinishers into Activity.onPause, BroadcastReceiver, and Service. -- makes sSharedPreferences keyed on name, not File, to avoid unnnecessary allocations -- documents and guarantees what thread OnSharedPreferenceChangeListener callbacks run on -- makes a few things in frameworks/base use startCommit(), notably Preference.java (which was ignoring the return value anyway) Change-Id: I1c8db60ad45643226fe6d246d3e513eeb7bd0ebd
2010-04-05remove OTA packages from the old (pre-froyo) updaterDoug Zongker
The old updater ran in the system process, so only that UID can delete its downloads. Do this on startup in case we've just upgraded from something before froyo and need to clean up those packages. b/2571619 - eclair -> froyo update package not deleted Change-Id: I0a5e7834c3ecd2cc2f6fd73052b3a38e1294b5d5
2010-03-11Move boot log file writing into a background thread to avoid ANR.Dan Egnor
Bug: 2507228 Change-Id: I35695f89f1d62b907f04511e3e6b71722008949b
2010-03-01Switch the services library to using the new SlogJoe Onorato
2010-02-11Truncate SYSTEM_TOMBSTONE events at the end (take the head),Dan Egnor
but still truncate the other log files at the start (take the tail).
2010-01-27Report tombstone (native crash) data to the dropbox.Dan Egnor
Also uses a shared_prefs file to keep track of which files have been logged, instead of polluting Settings.Secure with this data.
2010-01-26Include more verbose device information with kernel dumpsDan Egnor
(hardware, bootloader, etc.), and separate the device info headers from the actual dump with a blank line.
2010-01-11Simplify & update ANR logging; report ANR data into the dropbox.Dan Egnor
Eliminate the per-process 200ms timeout during ANR thread-dumping. Dump all the threads at once, then wait for the file to stabilize. Seems to work great and is much, much, much faster. Don't dump stack traces to traces.txt on app crashes (it isn't very useful and mostly just clutters up the file). Tweak the formatting of the dropbox dumpsys a bit, for readability, and avoid running out of memory when dumping large log files. Report build & kernel version with kernel log dropbox entries.
2010-01-05add recovery system interface to APIDoug Zongker
Adds android.os.RecoverySystem (marked as pending) to replace the (hidden) com.android.internal.os.RecoverySystem. RecoverySystem contains methods for: - verifying the signature of an update package - rebooting to install a package - rebooting to wipe user data (The reboot functions require "android.permission.REBOOT" and "android.permission.ACCESS_CACHE_FILESYSTEM".) Providing these simplifies implementation of OTA update for device builders. Change-Id: I63ce743b156e7a1a0327fd395b0e4a82c0eda79a
2009-11-25Change the DropBoxManager API slightly (this is public, but not yet released) --Dan Egnor
take a File instead of a ParcelFileDescriptor (gets opened internally) -- that way the caller doesn't have to worry about closing their PFD and so on. (Pretty much 100% of the time the caller will be uploading a file, anyway.)
2009-11-25close file descriptors passed to drop boxDoug Zongker
The ParcelFileDescriptors passed to DropBoxManager.addFile() are supposed to be closed after the call.
2009-11-23Copy SYSTEM_LAST_KMSG from /proc/last_kmsg instead of /data/dontpanic/last_kmsg.Dan Egnor
(In preparation for not copying to /data/dontpanic/last_kmsg at all.)
2009-11-17Add boot events (SYSTEM_LAST_KMSG and friends) to the dropbox.Dan Egnor
Optimize DropBoxManagerService.dump() a bit.
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2009-03-03auto import from //depot/cupcake/@135843The Android Open Source Project
2008-10-21Initial ContributionThe Android Open Source Project