History log of /frameworks/base/services/java/com/android/server/DropBoxManagerService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
911d7f411f36f2279aae44c89ff1d33a29140046 06-Sep-2013 Jeff Sharkey <jsharkey@android.com> Provide calling package to ContentProviders.

The calling package is important for ContentProviders that want to
grant Uri permissions as a side effect of operations, so offer it
through a new API. Validates the provided package against the
calling UID before returning.

Bug: 10626527
Change-Id: I7277880eebbd48444c024bcf5f69199133cd59e4
/frameworks/base/services/java/com/android/server/DropBoxManagerService.java
625239a05401bbf18b04d9874cea3f82da7c29a1 27-Sep-2012 Jeff Sharkey <jsharkey@android.com> Migrate more Secure settings to Global.

Migrate networking, storage, battery, DropBox, and PackageManager
related Secure settings to Global table.

Bug: 7232014, 7231331, 7231198
Change-Id: I772c2a9586a2f708c9db95622477f235064b8f4d
/frameworks/base/services/java/com/android/server/DropBoxManagerService.java
5ac72a29593ab9a20337a2225df52bdf4754be02 30-Aug-2012 Dianne Hackborn <hackbod@google.com> Improve multi-user broadcasts.

You can now use ALL and CURRENT when sending broadcasts, to specify
where the broadcast goes.

Sticky broadcasts are now correctly separated per user, and registered
receivers are filtered based on the requested target user.

New Context APIs for more kinds of sending broadcasts as users.

Updating a bunch of system code that sends broadcasts to explicitly
specify which user the broadcast goes to.

Made a single version of the code for interpreting the requested
target user ID that all entries to activity manager (start activity,
send broadcast, start service) use.

Change-Id: Ie29f02dd5242ef8c8fa56c54593a315cd2574e1c
/frameworks/base/services/java/com/android/server/DropBoxManagerService.java
26caf7adf62fa36dc3fa7c194ff38520d1003f11 05-Mar-2012 Craig Mautner <cmautner@google.com> Fix deadlock by making DropBoxManager call async.

Created a Handler and used it to make sendBroadcast call asynchronously.
Deadlock was caused by WindowManagerService Log.wtf call requiring
ActivityManagerService lock while holding its own lock. At the same time
ActivityManagerService was holding its lock while waiting for
WindowManagerService lock.

Tested by forcing a Log.wtf in
WindowManagerServices.updateWindowsAppsAndRotationAnimationsLocked
inside mAppTokens loop. Then ran 'adb shell monkey -v -v 500000'.
Without this fix it would lock up and reboot within a couple of minutes.
With this fix it runs until the Camera app crashes. But that's a
different bug...

Fixes bug 6112676.

Change-Id: I5b360aa08412d117b1765f01bacd931020509db7
/frameworks/base/services/java/com/android/server/DropBoxManagerService.java
661cd52e0e1d527132eb1cae604d3e64da7ec0cb 22-Aug-2011 Dianne Hackborn <hackbod@google.com> Add progress dialog for booting after an upgrade.

This introduces a new facility for code during the boot process
to display messages to the user through a progress dialog. This
is only for use when performing longer-than-usual post-upgrade
operations such as running dexopt on applications or upgrading
databases.

Change-Id: I0e78439ccec3850fb67872c22f235bf12a158dae
/frameworks/base/services/java/com/android/server/DropBoxManagerService.java
34165c6967833dfe6ff54a9097eb4afa1054184d 18-Jan-2011 Brad Fitzpatrick <bradfitz@android.com> Prevent Dropbox from crashing system server pre-boot.

Bug: 3362748
Change-Id: I3f94f22798eb4a6ef14dd9a418fd3c054637e16b
/frameworks/base/services/java/com/android/server/DropBoxManagerService.java
dd60ee728d9e44a8c85ed6a99bcfa44beb0afa23 13-Dec-2010 Jean-Baptiste Queru <jbq@google.com> am 6d13b146: am e78a0009: resolved conflicts for merge of 4b94c451 to stage-korg-master

* commit '6d13b146e0444f40f45b9fe5812093c5e611b68e':
Added dropbox broadcast notification
e78a000955c283509ee8a21b8b7e448060ac8dd8 13-Dec-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of 4b94c451 to stage-korg-master

Change-Id: I07b974f96ca598677e58623050e4668822e68f23
b247536aa3d458750edbc6b45b2348a994d83426 07-Dec-2010 Hakan Still <hakan.still@sonyericsson.com> Added dropbox broadcast notification

To monitor the dropbox an application have to either poll the dropbox
and keep track of all entries or observ the /data/system/dropbox
directory. The later requires that the application runs as system-user.
This commit adds that a broadcast intent is sent when something is written
to the dropbox and an application can just listen on this intent and
then reads the entry with help of the DropboxManager class.
The application have to hold the permission android.permission.READ_LOGS
to get the intent.

Change-Id: I1f77f206a243df69f4ed5306078c47f7bf6181ec
/frameworks/base/services/java/com/android/server/DropBoxManagerService.java
0c8224000db6a3c876f1d3717975a22d10ecddec 23-Nov-2010 Brad Fitzpatrick <bradfitz@android.com> CloseGuard cleanups.

Change-Id: I8ece2cb7f2c7ca2c1ac72ca3080c436e50aa6c80
/frameworks/base/services/java/com/android/server/DropBoxManagerService.java
8bdf5935c0db4a66ab33a10b43398d2523cfa15d 15-Oct-2010 Dianne Hackborn <hackbod@google.com> Work on issue #3101415: Crespo apps seem to have their UID changed over time.

fsync!

Change-Id: Ie6c5397202579935ac69bf61d3e7b3081ecf269c
/frameworks/base/services/java/com/android/server/DropBoxManagerService.java
89647b1172cdf40a3681922150122b0bd2ea83f1 23-Sep-2010 Brad Fitzpatrick <bradfitz@android.com> Don't do single byte writes in DropBoxManagerService

Bug: 3018772
Change-Id: I6990041f059aeb2a4c29e59b1a3d78d19bf9b02f
/frameworks/base/services/java/com/android/server/DropBoxManagerService.java
c13978afe3adf26dc32766dab300cc066f372618 27-Jul-2010 Dan Egnor <egnor@google.com> Remove a log message Jason doesn't like

Bug: 2856942
Change-Id: Ifc5cfc076bfed0918bb203ed9c82a42092ac3939
/frameworks/base/services/java/com/android/server/DropBoxManagerService.java
3a8b0c18a49c017ecfde8ebf4eb4bb5181ac6fef 25-Mar-2010 Dan Egnor <egnor@google.com> Limit DropBox storage to 1000 files (by default).

Also does trimming asynchronously (not directly in the broadcast receiver).

Bug: 2541253
Change-Id: I7daf8bc618e2dce68a98571f5f7fbce4df1d6a76
/frameworks/base/services/java/com/android/server/DropBoxManagerService.java
f283e3621026b0e3703b750d7b95d706e4bff050 11-Mar-2010 Dan Egnor <egnor@google.com> Fix rare NPE in DropBoxManagerService

Change-Id: I2e9713802c59feb539d5d4c1ab1dfa21ec88d9f6
/frameworks/base/services/java/com/android/server/DropBoxManagerService.java
8a9b22056b13477f59df934928c00c58b5871c95 27-Feb-2010 Joe Onorato <joeo@android.com> Switch the services library to using the new Slog
/frameworks/base/services/java/com/android/server/DropBoxManagerService.java
42471dd5552a346dd82a58a663159875ccc4fb79 08-Jan-2010 Dan Egnor <egnor@google.com> Simplify & update ANR logging; report ANR data into the dropbox.
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.
/frameworks/base/services/java/com/android/server/DropBoxManagerService.java
43866e0c48bb0effe8805afd62b253e50ca7d591 07-Jan-2010 Doug Zongker <dougz@android.com> move some system services from gservices to secure settings

Change-Id: Ie2dfb99a2b42b2cc9310b858c044d8684e3493fa
/frameworks/base/services/java/com/android/server/DropBoxManagerService.java
5ec249abe376898d3249e978b44fd2ee0cc8c573 25-Nov-2009 Dan Egnor <egnor@google.com> More elimination of Formatter (I was tired of waiting several
seconds for "dumpsys dropbox"...).
/frameworks/base/services/java/com/android/server/DropBoxManagerService.java
3d40df335e4c0df972720271a84277077f168f65 17-Nov-2009 Dan Egnor <egnor@google.com> Add boot events (SYSTEM_LAST_KMSG and friends) to the dropbox.
Optimize DropBoxManagerService.dump() a bit.
/frameworks/base/services/java/com/android/server/DropBoxManagerService.java
f18a01c77e78209b74e34d05cfb352fa4a92db5f 12-Nov-2009 Dan Egnor <egnor@google.com> Rename [I]DropBox[Service] to [I]DropBoxManager[Service].

Un-hide the DropBoxManager interface, and update the public API accordingly.
/frameworks/base/services/java/com/android/server/DropBoxManagerService.java