d99f9caba6600f1b5e0bc8a21681162ae42d6518 |
|
25-Oct-2013 |
Jeff Sharkey <jsharkey@android.com> |
Skip writing PFD status when comm is closed. If the remote side of PFD has already written a status message, then they've also closed their end of the comm FD, and we're going to EPIPE if we try sending our own status. So, skip writing status if a remote status is present. Only one end of the openFile() comm socket needs to be blocking, otherwise detachFd() would end up blocking forever. Bug: 11385467 Change-Id: I346d40cc1ca4a6683cec4c2d2b7db2b32ac94a55
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
e8c00d8ed477e199b7f8d1b1e2f37e9cf8593372 |
|
16-Oct-2013 |
Jeff Sharkey <jsharkey@android.com> |
Improve DocumentsProvider and contract docs. Bug: 10567557 Change-Id: I71e7f7ad172e9986e58b9c9533b1c948c5530397
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
eb8c3f93edc826413ff4143284dec01c1061d5cc |
|
20-Sep-2013 |
Adam Lesinski <adamlesinski@google.com> |
Surfaces ParcelFileDescriptor#parseMode() as API Moves ContentResolver#modeToMode() to ParcelFileDescriptor#parseMode() bug:10711271 Change-Id: I28a5de4ca70adfbec4caf739863b77f0fd7fd9a4
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
e8c01ddbe748490463f7f516df9b1b4784228913 |
|
19-Sep-2013 |
Amith Yamasani <yamasani@google.com> |
Merge "Changes to PFD based on API review" into klp-dev
|
b433bb8c96f98d280f4a8508ba500bd8f196a773 |
|
19-Sep-2013 |
Amith Yamasani <yamasani@google.com> |
Changes to PFD based on API review Removed boolean param to ask for exception on detached fd. Use a subclass of IOException instead. Bug: 10461576 Change-Id: If7db16120297edcdb7d5d5905ed453003be0e38e
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
487c11a3101c6cd9fc18758b3032383666f55e46 |
|
18-Sep-2013 |
Amith Yamasani <yamasani@google.com> |
Fix provider leak in PFD Code path to release content provider associated with the PFD was inadvertently bypassed by a previous change. Reinstate that code when closing the PFD. Bug: 10767447 Change-Id: I23306cfb3c28c99e587892b17ca85efd3f7a8a07
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
da5a3e12f4f8f965c57d6f93c74190f43ea233f3 |
|
11-Aug-2013 |
Jeff Sharkey <jsharkey@android.com> |
Richer ParcelFileDescriptor close events. When reading from the end of a pipe or socket, there is no way to tell if the other end has finished successfully, encountered an error, or outright crashed. To solve this, we create a second socketpair() as a communication channel between the two ends of a pipe or socket pair, sending a status code with details about why the ParcelFileDescriptor was closed. The writer end of a pipe or socket can closeWithError() to send a message to the reader end. When the reader encounters EOF, they call checkError() to detect if any error occured. This also detects the case where the remote process died without sending a success message. This design is also extended to support regular files on disk, using the communication channel above to detect various remote close events or crashes, and delivering that event to a supplied OnCloseListener. Replaces JNI with best-practice Libcore.os calls, and deprecates some flags to match Context. Bug: 10330121 Change-Id: I8cfa1e4fb6f57397667c7f785106193e0faccad3
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
abe998c5e0550f37d27f9c03dbaf56cc07a03dcb |
|
13-Dec-2012 |
Nick Kralevich <nnk@google.com> |
Remove dead code. Android no longer supports a security manager. System.getSecurityManager() always returns null. Change-Id: Id44ae8e100da901f2e3054dab905376423a8ff5b
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
7407c948cbe7305c63ca33c471cf9e2a78674368 |
|
12-Nov-2012 |
Jeff Sharkey <jsharkey@android.com> |
Watch for leaked ParcelFileDescriptors. Bug: 7426029 Change-Id: I18f7ac7d7b357b092bf9ec91ffb9fa3de5ca0271
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
e861b423790e5bf2d5a55b096065c6ad0541d5bb |
|
02-Mar-2012 |
Jeff Sharkey <jsharkey@android.com> |
Allow disk I/O while performing dump(). Add Closeable to ParcelFileDescriptor, and always close any incoming PFDs when dumping. Bug: 6106309 Change-Id: I25b465692d5e1da0a5980a307cb48a058bc2bca7
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
62f20ecf492d2b29881bba307c79ff55e68760e6 |
|
16-Aug-2011 |
Dianne Hackborn <hackbod@google.com> |
Add new am option to profile the launching of an activity. Change-Id: Ie71a8043eafe41f53a0b3dbb5170276d87acbc9b
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
939461300a0283a9f370a0425d4061d32b36f952 |
|
23-May-2011 |
Dianne Hackborn <hackbod@google.com> |
resolved conflicts for merge of 070a19e0 to master Change-Id: I855ab02a4e8dd465af67fd23b66c0dace76bd411
|
ea2117bdc03316a9292e2344c6fd157c85c13167 |
|
20-May-2011 |
Dianne Hackborn <hackbod@google.com> |
Add ParcelFileDescriptor.fromFd() and .adoptFd(). Change-Id: I2fe0429188dc80abaa0c8977f2e43a010e0f4da2
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
9a84983a9fd9959671e102045eaf185b83291269 |
|
08-Apr-2011 |
Dianne Hackborn <hackbod@google.com> |
DO NOT MERGE. Integrate from master: Improve activity manager debug dumps. Activity manager now does all dump requests into apps asynchronously, so it can nicely timeout if there is an app problem. Also lots of general cleanup of the am dump output. Change-Id: I99447b87f77a701af52aeca984d93dfe931f065d
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
47f8f0fa70343ea0d150e644f4109fb2d1185044 |
|
13-May-2011 |
Chia-chi Yeh <chiachi@android.com> |
Add a method to create ParcelFileDescriptors from DatagramSockets. Change-Id: I16dddb2395628657b140b53a1b2fee5f311b049a
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
4390758f277645de6e81f6482d582473383cc917 |
|
12-Apr-2011 |
Elliott Hughes <enh@google.com> |
Use an @hide libcore API to get the FileDescriptor from a Socket. Saves having your own native code... Change-Id: Ib082a6530bcf743a35031500cee6318bc92d4d35
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
e17aeb31030cfeed339a39a107912ad5e9178390 |
|
08-Apr-2011 |
Dianne Hackborn <hackbod@google.com> |
Improve activity manager debug dumps. Activity manager now does all dump requests into apps asynchronously, so it can nicely timeout if there is an app problem. Also lots of general cleanup of the am dump output. Change-Id: Id0dbccffb217315aeb85c964e379833e6aa3f5af
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
c9119f5034d36f548bbddd8f60291e24ab4e270b |
|
01-Mar-2011 |
Dianne Hackborn <hackbod@google.com> |
Add ParcelFileDescriptor APIs to get raw fd. Change-Id: I66ba72ffffd27237e60c9411453eef950ae62705
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
540f86aa42877ac73f6f2f24dac49382432aa078 |
|
12-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Get rid of old ParcelFileDescriptor API. Also some new debugging code in AsyncTaskLoader. Change-Id: Ib13386b7862821cf0ee31b003bedef78f46240f1
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
a2ea747faaf5fcd437afbaaf4085cfc29e7c16b8 |
|
20-Dec-2010 |
Dianne Hackborn <hackbod@google.com> |
More cleanup of Loader APIs. - Remove old method names. - Introduce onXxx() hooks to Loader. - Improve debugging. Change-Id: I3fba072a05c7023aa7d2c3eb4e126feb514ab6d8
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
fd9ddd1a40efc801dc7512950cb9336967b6f775 |
|
04-Nov-2010 |
Brian Carlstrom <bdc@google.com> |
Integrate StrictMode with CloseGuard In additional to adding the StringMode API for controling CloseGuard, this checkin fixes several CloseGuard issues found booting a device. Bug: 3041575 Change-Id: I4dffd184f49438d6d477ed81a1c2a2a5b56cc76b
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
a006b47298539d89dc7a06b54c070cb3e986352a |
|
14-Apr-2010 |
Bjorn Bringert <bringert@android.com> |
New API and implementation of DB and memory-backed FDs This depends on a kernel patch that implements read(2) in the ashmem driver. Bug http://b/issue?id=2595601 Change-Id: Ie3b10aa471aada21812b35e63954c1b2f0a7b042
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
23fdaf6fb62a9b5154b2508916a21c678462c5d0 |
|
06-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
Add new ContentProvider for doing conversions to data streams. This introduces basic infrastructure that should allow content providers holding complex data to perform on-demand conversion of their data to streams of various types. It is achieved through two new content provider APIs, one to interrogate the possible stream MIME types the provider can return, and the other to request a stream of data in a particular MIME type. Because implementations of this will often need to do on-demand data conversion, there is also a utility intoduced in ContentProvider for subclasses to easily run a function to write data into a pipe that is read by the client. This feature is mostly intended for cut and paste and drag and drop, as the complex data interchange allowing the source and destination to negotiate data types and copy (possible large) data between them. However because it is fundamental facility of ContentProvider, it can be used in other places, such as for more advanced GET_CONTENT data exchanges. An example implementation of this would be in ContactsProvider, which can now provider a data stream when a client opens certain pieces of it data, to return data as flat text, a vcard, or other format. Change-Id: I58627ea4ed359aa7cf2c66274adb18306c209cb2
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
3c1363beec9c142c062d8704b8bef4230b42eae5 |
|
20-Jul-2010 |
Dan Egnor <egnor@google.com> |
am 2f0dc6d9: Merge "COMMENT ONLY change to add some warnings about ParcelFileDescriptor behavior with Parcel.writeValue()." into froyo Merge commit '2f0dc6d9f50ceece294e9db393583e655d3bf781' into gingerbread * commit '2f0dc6d9f50ceece294e9db393583e655d3bf781': COMMENT ONLY change to add some warnings about ParcelFileDescriptor
|
b3e4ef37021a9e5518fdbc7d0cbb0a1709d5301b |
|
20-Jul-2010 |
Dan Egnor <egnor@google.com> |
COMMENT ONLY change to add some warnings about ParcelFileDescriptor behavior with Parcel.writeValue(). Change-Id: If55fcce29559379855735ff5297cf4f46d5d6be6 Bug: 2847738
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
fa9e7c05c7be6891a6cf85a11dc635a6e6853078 |
|
06-May-2010 |
Christopher Tate <ctate@google.com> |
Sketch of Native input for MessageQueue / Looper / ViewRoot MessageQueue now uses a socket for internal signalling, and is prepared to also handle any number of event input pipes, once the plumbing is set up with ViewRoot / Looper to tell it about them as appropriate. Change-Id: If9eda174a6c26887dc51b12b14b390e724e73ab3
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
186683923ce8d6a2d5c6fd4768b26b90308661e9 |
|
24-Mar-2010 |
Dianne Hackborn <hackbod@google.com> |
Maybe fix #2422586: Native crash in android_os_Parcel_closeFileDescriptor() killed the phone process Try to make sure we never have a ParcelFileDescriptor with a null FileDescriptor. That is just wrong. Change-Id: Ib779ad1852dd239827797cd8f93505bfe6157e58
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
076357b8567458d4b6dfdcf839ef751634cd2bfb |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@132589
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
3dec7d563a2f3e1eb967ce2054a00b6620e3558c |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@137055
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/android/os/ParcelFileDescriptor.java
|