1. 20 Nov, 2012 1 commit
  2. 13 Nov, 2012 1 commit
    • Narayan Kamath's avatar
      Lazy parsing of zip files for Java resources. · 8dd90ae7
      Narayan Kamath authored
      Central directories of zip files should be read lazily.
      They are needed only to service calls to
      BaseDexClassLoader#findResouce(s). Most android processes
      don't use these methods since they use android resources.
      
      bug:6797061
      
      Change-Id: I1a5b5d03572601707e1fb1fd4424c1ae2fd2217d
      8dd90ae7
  3. 06 Nov, 2012 2 commits
  4. 03 Nov, 2012 1 commit
  5. 02 Nov, 2012 2 commits
  6. 01 Nov, 2012 1 commit
  7. 21 Oct, 2012 1 commit
  8. 18 Oct, 2012 1 commit
  9. 17 Oct, 2012 3 commits
  10. 16 Oct, 2012 5 commits
  11. 15 Oct, 2012 2 commits
  12. 13 Oct, 2012 1 commit
  13. 12 Oct, 2012 2 commits
  14. 11 Oct, 2012 4 commits
  15. 10 Oct, 2012 3 commits
  16. 09 Oct, 2012 1 commit
  17. 08 Oct, 2012 3 commits
  18. 07 Oct, 2012 1 commit
  19. 05 Oct, 2012 3 commits
  20. 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