| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
It's another set of constants that can be confused with those in
android.provider.Downloads.
Change-Id: I78ac058fa264d59a81f7655ab101c3fb2c8c17ff
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I442e264802d1e35cd7d27bae121ae75f932595b6
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 2507228
Change-Id: I35695f89f1d62b907f04511e3e6b71722008949b
|
| |
|
|
|
|
| |
but still truncate the other log files at the start (take the tail).
|
|
|
|
|
| |
Also uses a shared_prefs file to keep track of which files have been
logged, instead of polluting Settings.Secure with this data.
|
|
|
|
|
| |
(hardware, bootloader, etc.), and separate the device info
headers from the actual dump with a blank line.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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.)
|
|
|
|
|
| |
The ParcelFileDescriptors passed to DropBoxManager.addFile() are
supposed to be closed after the call.
|
|
|
|
| |
(In preparation for not copying to /data/dontpanic/last_kmsg at all.)
|
|
|
|
| |
Optimize DropBoxManagerService.dump() a bit.
|
| |
|
| |
|
|
|