d86b8fea43ebb6e5c31691b44d8ceb0d8d3c9072 |
|
03-Jun-2017 |
Jeff Sharkey <jsharkey@android.com> |
Annotate @SystemApi with required permissions. Most @SystemApi methods should be protected with system (or higher) permissions, so annotate common methods with @RequiresPermission to make automatic verification easier. Verification is really only relevant when calling into system services (where permissions checking can happen on the other side of a Binder call), so annotate managers with the new @SystemService annotation, which is now automatically documented. This is purely a docs change; no logic changes are being made. Test: make -j32 update-api && make -j32 offline-sdk-docs Bug: 62263906 Change-Id: I2554227202d84465676aa4ab0dd336b5c45fc651
/frameworks/base/core/java/android/os/DropBoxManager.java
|
0f3f60b576aedc78524d50da3dadada2201e63c2 |
|
25-Apr-2017 |
Jeff Sharkey <jsharkey@android.com> |
Fix some issues found by new doclava linter. Add missing API annotations for permissions and SdkConstants, and invoke doclava with new "-android" flag. Test: make -j32 offline-sdk-docs Bug: 37526420 Change-Id: I970bb2655eb568fd25004636f134c794663a6c33
/frameworks/base/core/java/android/os/DropBoxManager.java
|
b8e8a91f54f9f11a5936611c00d198ed21824854 |
|
10-Mar-2016 |
Jeff Sharkey <jsharkey@android.com> |
Log when pre-N apps send too much to DropBox. Once they target N, they'll start getting exceptions, which is intended to make sure they pay attention to data that would have otherwise been dropped on the floor. Bug: 27571535 Change-Id: I49163679c629cd0788327d2c3a654e757ecdcb99
/frameworks/base/core/java/android/os/DropBoxManager.java
|
f8880561e67e1da246970b49b14285efd4164ab1 |
|
26-Feb-2016 |
Jeff Sharkey <jsharkey@android.com> |
When system server goes down, crash apps more. Similar to first patch, but now using new "rethrowFromSystemServer()" method which internally translates DeadObjectException into DeadSystemException. New logic over in Log.printlns() now suppresses the DeadSystemException stack traces, since they're misleading and just added pressure to the precious log buffer space. Add some extra RuntimeInit checks to suppress logging-about-logging when the system server is dead. Bug: 27364859 Change-Id: I05316b3e8e42416b30a56a76c09cd3113a018123
/frameworks/base/core/java/android/os/DropBoxManager.java
|
ba953230f71e5117d819d9e7153da8304b141695 |
|
03-Jun-2015 |
Tim Kilbourn <tkilbourn@google.com> |
Fix DropBoxManager.Entry parcels with fds. When the socketpair communication channel was added to ParcelFileDescriptor, the CREATOR method for DropBoxManager.Entry was not updated to read the extra fd from the Parcel. This was causing reads to end too early. Also removed comments referring to the now-deleted native methods in the native Parcel implementation. Change-Id: I49a9691da6ea927382ceb2fcbfdc7985a601111b
/frameworks/base/core/java/android/os/DropBoxManager.java
|
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
|