summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/BootReceiver.java
Commit message (Collapse)AuthorAgeFilesLines
* Add ro.revision property to checkin headersColin Cross2012-10-221-0/+2
| | | | | | | | 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
* Remove unused android.net.Downloads.Jeff Sharkey2012-03-201-4/+3
| | | | | | | It's another set of constants that can be confused with those in android.provider.Downloads. Change-Id: I78ac058fa264d59a81f7655ab101c3fb2c8c17ff
* Increase max size of log size by 50% on userdebug builds.Dave Burke2012-02-271-2/+4
| | | | | | | | 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
* Move LoadAverageService to the SystemUI apk.Dianne Hackborn2011-07-141-13/+0
| | | | Change-Id: I442e264802d1e35cd7d27bae121ae75f932595b6
* Renaming SharedPreferences$Editor.startCommit to applyBrad Fitzpatrick2010-08-301-1/+1
| | | | | | | | 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
* SharedPreferences$Editor.startCommit()Brad Fitzpatrick2010-08-271-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* remove OTA packages from the old (pre-froyo) updaterDoug Zongker2010-04-051-0/+20
| | | | | | | | | | 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
* Move boot log file writing into a background thread to avoid ANR.Dan Egnor2010-03-111-32/+35
| | | | | Bug: 2507228 Change-Id: I35695f89f1d62b907f04511e3e6b71722008949b
* Switch the services library to using the new SlogJoe Onorato2010-03-011-7/+7
|
* Truncate SYSTEM_TOMBSTONE events at the end (take the head),Dan Egnor2010-02-111-10/+17
| | | | but still truncate the other log files at the start (take the tail).
* Report tombstone (native crash) data to the dropbox.Dan Egnor2010-01-271-28/+56
| | | | | Also uses a shared_prefs file to keep track of which files have been logged, instead of polluting Settings.Secure with this data.
* Include more verbose device information with kernel dumpsDan Egnor2010-01-261-10/+8
| | | | | (hardware, bootloader, etc.), and separate the device info headers from the actual dump with a blank line.
* Simplify & update ANR logging; report ANR data into the dropbox.Dan Egnor2010-01-111-6/+21
| | | | | | | | | | | | | | 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.
* add recovery system interface to APIDoug Zongker2010-01-051-2/+1
| | | | | | | | | | | | | | | | 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
* Change the DropBoxManager API slightly (this is public, but not yet released) --Dan Egnor2009-11-251-6/+1
| | | | | | 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.)
* close file descriptors passed to drop boxDoug Zongker2009-11-251-3/+4
| | | | | The ParcelFileDescriptors passed to DropBoxManager.addFile() are supposed to be closed after the call.
* Copy SYSTEM_LAST_KMSG from /proc/last_kmsg instead of /data/dontpanic/last_kmsg.Dan Egnor2009-11-231-1/+1
| | | | (In preparation for not copying to /data/dontpanic/last_kmsg at all.)
* Add boot events (SYSTEM_LAST_KMSG and friends) to the dropbox.Dan Egnor2009-11-171-27/+95
| | | | Optimize DropBoxManagerService.dump() a bit.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+40
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-40/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+40