summaryrefslogtreecommitdiffstats
path: root/core/java/android/net/LocalSocketImpl.java
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Check for null in LocalSocketImpl.SocketInputStream.available()"Jeff Sharkey2014-05-211-1/+4
|\
| * Check for null in LocalSocketImpl.SocketInputStream.available()Ian McKellar2014-04-111-1/+4
| | | | | | | | | | | | | | | | Calling available() on a local socket after close() will cause a native crash. Other methods that pass LocalSocketImpl.fd to native code copy the fd and check for null. Change-Id: I2d0b573f34ae47a23009760bbb1c02933ab0a20e
* | Track libcore.os' move to android.system.Elliott Hughes2014-04-281-5/+5
|/ | | | | | | (This is partial, but should cover everything in AOSP master except for the zygote.) Change-Id: I1042c99245765746a744c44e714095cb2c6cb75d
* Fix descriptor leak after accepting connectionsDave Platt2014-02-281-1/+1
| | | | | | | | | | | | After accepting a connection on a listening socket and storing the resulting FileDescriptor into a newly created LocalSocketImpl, the new impl's "descriptor was created locally and should be closed normally" flag should be set. (cherrypicked from 3e7305c6bf6062b5cb1e2ddcec6c6d30b4a8bc0d) Bug: 11805817 Change-Id: I0a1a7c62ec3fbcf647a44a22110ddc778d14e5f4
* Bluetooth stopped working in master - "bad file descriptor"Zhihai Xu2013-07-251-1/+7
| | | | | | | only close file descriptor which is created internally for LocalSocketImpl bug:9960585 Change-Id: I79492a05cc7c81ae6e134058840d5ca0b7663795
* LocalSocket: Add support for SOCK_DGRAM and SOCK_SEQPACKETMike Lockwood2013-07-161-8/+31
| | | | | | Also replaced some JNI code with libcore IO support Change-Id: I091e2b6b8dd1fec554936c1ffab29e50f0979e4a
* Use the right fd for flush callMatthew Xie2013-05-131-1/+1
| | | | | bug 8498784 Change-Id: I03d3a588b01825b868d4b0229c60b7bb3b24a5f6
* Added flush() for bluetooth output streamzzy2013-04-241-0/+20
| | | | | | Bug 8498784 Zebra QL420 Plus Bluetooth printer fails on Android 4.2.2
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+490
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-490/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+490