1. 16 Oct, 2012 1 commit
  2. 15 Oct, 2012 1 commit
  3. 13 Oct, 2012 1 commit
  4. 12 Oct, 2012 1 commit
  5. 11 Oct, 2012 3 commits
  6. 10 Oct, 2012 3 commits
  7. 09 Oct, 2012 1 commit
  8. 08 Oct, 2012 3 commits
  9. 07 Oct, 2012 1 commit
  10. 05 Oct, 2012 3 commits
  11. 04 Oct, 2012 2 commits
    • The Android Automerger's avatar
    • Elliott Hughes's avatar
      Rewrite NIO Pipe to use socketpair(2). · b2e6be1c
      Elliott Hughes authored
      Our Pipe originally used socket(2) to create AF_INET/AF_INET6
      sockets. This was clearly a bad idea.
      
      I rewrote it to use socketpair(2) and AF_UNIX, but this was
      before the big "expose POSIX" rewrite, so it required a bunch
      of hacks in the native code, so I went with pipe(2) instead.
      
      The trouble with pipe(2) is that we end up using FileChannel
      to implement the Pipe.SinkChannel and Pipe.SourceChannel, but
      the kernel won't wake a read(2) on a pipe if another thread
      calls close(2) on it, so we started failing interrupt tests.
      
      This (final?) rewrite is hopefully the best of all worlds:
      we don't have any INTERNET permission needs, the code is as
      simple as the pipe(2) code, and interruption works.
      
      Bug: 7084342
      Bug: 2735373
      Bug: http://code.google.com/p/android/issues/detail?id=9431
      
      (cherry picked from commit 32180823)
      
      Change-Id: Ib92cdf8c818f6bba1f00e191f1b624ce9e693754
      b2e6be1c
  12. 01 Oct, 2012 2 commits
  13. 30 Sep, 2012 2 commits
  14. 26 Sep, 2012 1 commit
  15. 25 Sep, 2012 4 commits
  16. 24 Sep, 2012 7 commits
  17. 23 Sep, 2012 2 commits
  18. 22 Sep, 2012 2 commits