summaryrefslogtreecommitdiffstats
path: root/luni/src/main/java/android
Commit message (Collapse)AuthorAgeFilesLines
* am 6ff8e03e: am ba6caa1c: Merge "Expose the SocketAddress variant to bundled ↵Lorenzo Colitti2015-03-161-0/+5
|\ | | | | | | | | | | | | apps." * commit '6ff8e03ef67c204565ceb3679029a0b88bdfaa62': Expose the SocketAddress variant to bundled apps.
| * Expose the SocketAddress variant to bundled apps.Lorenzo Colitti2015-03-161-0/+5
| | | | | | | | Change-Id: I6b7985f23c1063c0cf68a12bf510da032bbd3e94
* | am 1dacfbb4: am 7d6411b7: Merge "Support packet sockets in libcore."Lorenzo Colitti2015-03-161-0/+6
|\ \ | |/ | | | | | | * commit '1dacfbb464d8d21c312cca681a1a297e0f632f08': Support packet sockets in libcore.
| * Support packet sockets in libcore.Lorenzo Colitti2015-03-141-0/+6
| | | | | | | | | | Bug: 19704592 Change-Id: Ic424e4c36f6de028df4a3095f57a08b68da78033
* | am 1ab902ac: am 9322c6d2: Merge "Add a PacketSocketAddress class that ↵Lorenzo Colitti2015-03-161-0/+64
|\ \ | |/ | | | | | | | | | | represents sockaddr_ll." * commit '1ab902acc995d6ef7a297959d57b6d8715a0bd2a': Add a PacketSocketAddress class that represents sockaddr_ll.
| * Add a PacketSocketAddress class that represents sockaddr_ll.Lorenzo Colitti2015-03-141-0/+64
| | | | | | | | | | Bug: 19704592 Change-Id: Icc748e2764d0915cc7ca1924aaf51ca0c25b669d
* | am 24c68680: am 649f614e: am 2882e512: Merge "Add support for netlink ↵Erik Kline2015-03-103-0/+80
|\ \ | |/ | | | | | | | | | | sockets and addresses." * commit '24c68680f1c187fa9d2a9cc4c4ddb5ae09fa7dfb': Add support for netlink sockets and addresses.
| * Add support for netlink sockets and addresses.Erik Kline2015-03-093-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | Additionally: - support bind and connect calls with SocketAddresses - getsockname and getpeername can return a NetlinkSocketAddress Developed in conjunction with: https://android-review.googlesource.com/135490 Bug: 18581716 Change-Id: I760a06cdb9bdb26c734fb02cf668a94de982e2b6
* | expose ST_* in OsConstantsNick Kralevich2015-02-261-9/+9
|/ | | | | | | | Expose ST_* constants via OsConstants. Without these constants being exposed, it's impossible to meaningfully use StructStatVfs.f_flag returned from the Os.statvfs() call. Change-Id: Iae4af8da93e50b3db965a1c8a2af8a32fea37419
* Add ST_* constants to OsConstantsNick Kralevich2015-02-261-0/+9
| | | | | | | | | | Expose ST_* constants via OsConstants. Without these constants being exposed, it's impossible to meaningfully use StructStatVfs.f_flag returned from the Os.statvfs() call. For now, @hide the new constants. Change-Id: I82536521972e9e87a1936dd712b9e8153d120cc1
* Remove fcntlLong, use fcntlInt for F_SETFD instead.Narayan Kamath2015-01-191-1/+0
| | | | | | | | | | fcntlLong works too, but only because of the syscall conventions happen to place the lower 32 bits of our jlong in the right register. This change also gets rid of fcntlLong because there aren't any documented fcntl calls that take a 64 bit integer argument. Change-Id: I8d187d5b906195fc663675a07a5f116dcd210d16
* Add fcntlInt.Narayan Kamath2015-01-161-2/+3
| | | | | | Hidden for now, for use from the frameworks. Change-Id: I30d95b28ecbc422aaa5bf28fb2f288c3ca026493
* Add various system calls needed by the zygote.Elliott Hughes2014-12-171-0/+20
| | | | | Bug: 18719692 Change-Id: I91a943369bc3b331e7e06e758f729b008c3c041c
* Fix poll to never return EINTR.Elliott Hughes2014-12-171-0/+4
| | | | | Bug: 18759467 Change-Id: Ia5b97a55318b5990ad6b80d15641223aa4fb06f5
* Add pipe2 and O_CLOEXEC to the libcore POSIX API.Elliott Hughes2014-12-122-1/+4
| | | | | | | @hide right now, but we should expose these at some point. Bug: 18719692 Change-Id: I0a73606cf089ed307d1ab2916a7df28b3c45aaf0
* Fix crash in selector.wakeup() with closed selectorNeil Fuller2014-12-021-15/+1
| | | | | | | | | | | | | | | | | | | Selector.wakeup() can throw an undeclared IOException (from native code). This is not compatible with the signature of wakeup(). In prior Android releases no exception is thrown in this case. This change reverts the behavior to the same as prior Android releases. Many thanks to diddysbestbud@ for the report. Bug: https://code.google.com/p/android/issues/detail?id=80785 Bug: 18548071 (cherry picked from commit 1791f6be1bd2733babb0c862ad8509f4c847b48f) Change-Id: I19ee879dcd783655d8a402e12855a5fa1f1eb90c
* OsConstants: add PR_GET_DUMPABLE / PR_SET_DUMPABLENick Kralevich2014-07-231-0/+2
| | | | | | Expose PR_GET_DUMPABLE and PR_SET_DUMPABLE via java. Change-Id: Ibb60ed1d00c3a84fa77a34d0acc56cb995d14e1c
* Add support for network-specific host name resolution.Paul Jensen2014-05-131-2/+2
| | | | | | For now all such support is hidden. Change-Id: I932f73158a8f6e3ccc36c319d138180dff2aa070
* am bd07b48b: am dfde0674: am 5c1acb43: Merge "Add android.system.Os.link for ↵Elliott Hughes2014-05-101-0/+5
|\ | | | | | | | | | | | | link(2)." * commit 'bd07b48baf1f056e3c7c781b2b3d51025893fdb4': Add android.system.Os.link for link(2).
| * Add android.system.Os.link for link(2).Elliott Hughes2014-05-091-0/+5
| | | | | | | | | | Bug: 14683762 Change-Id: Ieeba1d2d0c5e9c05e85c6ffbaeb5a7febc69238c
* | Unhide android.system.Os.Elliott Hughes2014-05-0815-21/+0
|/ | | | Change-Id: Ia113d3e3609cd1403fbdea7966931bf5c6c3b5ea
* Basic documentation for android.system.Elliott Hughes2014-05-079-36/+510
| | | | | | | | Also individually @hide the methods we might not want to expose straight away. These are basically the ones where the mapping to Java types isn't completely straightforward, usually resulting in a family of similar methods. Change-Id: I7b3d555c4599dc8c64e23f5c494a358ef68c6777
* Merge "Make sure every struct has a toString."Elliott Hughes2014-04-3012-106/+144
|\
| * Make sure every struct has a toString.Elliott Hughes2014-04-3012-106/+144
| | | | | | | | | | | | Also add some missing finals. Change-Id: I80a779d7340608d55d5ffcc73e2d411dc1bc1cc9
* | add prctl / PR_SET_NO_NEW_PRIVSNick Kralevich2014-04-292-0/+2
| | | | | | | | | | | | Add java wrappers for prctl and PR_SET_NO_NEW_PRIVS. Change-Id: I649a755ea9354b0290b25292bc65901b1528c1d5
* | libcore.io.OsConstants is dead; long live android.system.OsConstants!Elliott Hughes2014-04-291-2/+762
|/ | | | Change-Id: I3951c1349842adf7dfbb7458c76c982646804ccb
* Move ErrnoException into android.system.Elliott Hughes2014-04-281-3/+41
| | | | Change-Id: Id22bebb6aadeff0729f430fce3f702d974a23efc
* Move StructStat and StructStatVfs now all the callers have switched over.Elliott Hughes2014-04-282-10/+109
| | | | Change-Id: Ia599ea8d65645eb97c6944743e0a9510991c0607
* Groundwork towards making the Libcore.os functionality public.Elliott Hughes2014-04-2424-0/+1031
Change-Id: Ie700aa16d91fba53fc5eb2555829cb74d84b12ad