History log of /frameworks/base/core/java/android/os/DropBoxManager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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