History log of /frameworks/base/core/java/android/os/DropBoxManager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6090995951c6e2e4dcf38102f01793f8a94166e1 19-Nov-2013 John Spurlock <jspurlock@google.com> Remove unused imports from frameworks/base.

Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
/frameworks/base/core/java/android/os/DropBoxManager.java
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/core/java/android/os/DropBoxManager.java
8443dd16c2dfd5f56e33fbe76129f56e6a83b23e 16-Nov-2010 Brad Fitzpatrick <bradfitz@android.com> am 383e95e2: Merge "DropBox: Read until the end of stream has been reached"

* commit '383e95e245ceb87a2a6ad6422404ce641f0e08eb':
DropBox: Read until the end of stream has been reached
e9f18815218b2ff1f01ea16f2eb0dd17504a9cf3 16-Nov-2010 Christian Lindeberg <christian.lindeberg@sonyericsson.com> DropBox: Read until the end of stream has been reached

Read the requested length or until the end of the input stream
has actually been reached.

Change-Id: I01bc0b81eca0225209bdd288dde6a778a19d1e2c
/frameworks/base/core/java/android/os/DropBoxManager.java
cc792c4149b7e768fd894c9b268d815a90a60bd0 08-Oct-2010 Brad Fitzpatrick <bradfitz@android.com> DropBoxManager.Entry implements Closeable

Change-Id: I61716c06b92fa1b9b5b271b5805550bdb2d51b46
/frameworks/base/core/java/android/os/DropBoxManager.java
30f5c8fede241e7560f4a33e48af3a4627fd5efc 07-Oct-2010 Brad Fitzpatrick <bradfitz@android.com> More DropBoxManager javadoc love.

Change-Id: I9b14f6905533e0af66bd64fc76352ed8fc365058
/frameworks/base/core/java/android/os/DropBoxManager.java
95173b14d65cd04ec88d4384b41a80319e432d0b 07-Oct-2010 Brad Fitzpatrick <bradfitz@android.com> DropBox.Entry javadoc syntax fix

Change-Id: I32d055b39ca89ec9f6a7bf189263844424533b60
/frameworks/base/core/java/android/os/DropBoxManager.java
3685db7f5dd8a830a4e096404d4924e12697fb78 21-Jul-2010 Dan Egnor <egnor@google.com> am e8605af5: Merge "Avoid leaking file descriptors when returning drop box events." into froyo

Merge commit 'e8605af513e846f6cd223c9e92461189727d8c9b' into gingerbread

* commit 'e8605af513e846f6cd223c9e92461189727d8c9b':
Avoid leaking file descriptors when returning drop box events.
6e6d60d4c85ce440d9ef5e5f36e708ed0ced65c6 21-Jul-2010 Dan Egnor <egnor@google.com> Avoid leaking file descriptors when returning drop box events.

We can't use Parcel.writeValue() to write the ParcelFileDescriptor, otherwise
it leaks when returning the value to the caller (the flag gets lost). Change
the way DropBoxManager.Entry gets serialized so that it uses a bit of its own
flags value to track whether the data is a byte[] or a ParcelFileDescriptor.

Modify the dropbox unit test to add extensive checking of Entry serialization
and deserialization under various circumstances, and to include a regression
test to ensure that FD leaking doesn't happen.

Bug: 2847738
Change-Id: I4ccd17dd03ffab234340cd359e6f3510fdf81193
/frameworks/base/core/java/android/os/DropBoxManager.java
14418945bdc7a9c2e1cba8deaac5cb6dddfd6412 14-Jun-2010 Brad Fitzpatrick <bradfitz@android.com> Dropbox: remove redundant Entry construction.

Change-Id: I55d8da82acea7f1cf0a69912fe5d4d46d704b570
/frameworks/base/core/java/android/os/DropBoxManager.java
eb7a7d57ca50f85b054edadab766b51ff22a2dfd 25-Nov-2009 Dan Egnor <egnor@google.com> Change the DropBoxManager API slightly (this is public, but not yet released) --
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.)
/frameworks/base/core/java/android/os/DropBoxManager.java
e3cfe2d92868513c9524804a362c3c3c8b8cc4e5 15-Nov-2009 Dan Egnor <egnor@google.com> Fix the SDK build.
/frameworks/base/core/java/android/os/DropBoxManager.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/core/java/android/os/DropBoxManager.java