summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2011-05-20 10:37:34 -0700
committerDianne Hackborn <hackbod@google.com>2011-05-20 12:48:22 -0700
commitea2117bdc03316a9292e2344c6fd157c85c13167 (patch)
treef1bc6b8428311c333b94d08e58c17ede1b2e54d5 /api
parent69cb87576ba163b61bb0e6477a3b7c57a9b11d40 (diff)
downloadframeworks_base-ea2117bdc03316a9292e2344c6fd157c85c13167.zip
frameworks_base-ea2117bdc03316a9292e2344c6fd157c85c13167.tar.gz
frameworks_base-ea2117bdc03316a9292e2344c6fd157c85c13167.tar.bz2
Add ParcelFileDescriptor.fromFd() and .adoptFd().
Change-Id: I2fe0429188dc80abaa0c8977f2e43a010e0f4da2
Diffstat (limited to 'api')
-rw-r--r--api/current.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/api/current.xml b/api/current.xml
index a44442a..a7555da 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -150303,6 +150303,19 @@
<parameter name="descriptor" type="android.os.ParcelFileDescriptor">
</parameter>
</constructor>
+<method name="adoptFd"
+ return="android.os.ParcelFileDescriptor"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="true"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+<parameter name="fd" type="int">
+</parameter>
+</method>
<method name="close"
return="void"
abstract="false"
@@ -150366,6 +150379,21 @@
<exception name="IOException" type="java.io.IOException">
</exception>
</method>
+<method name="fromFd"
+ return="android.os.ParcelFileDescriptor"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="true"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+<parameter name="fd" type="int">
+</parameter>
+<exception name="IOException" type="java.io.IOException">
+</exception>
+</method>
<method name="fromSocket"
return="android.os.ParcelFileDescriptor"
abstract="false"