1. 11 Jul, 2013 1 commit
  2. 08 Jul, 2013 1 commit
  3. 02 Mar, 2013 1 commit
  4. 01 Mar, 2013 3 commits
  5. 02 Aug, 2012 1 commit
  6. 02 Apr, 2012 1 commit
  7. 07 Feb, 2012 1 commit
  8. 03 Feb, 2012 1 commit
  9. 30 Jan, 2012 1 commit
  10. 26 Jan, 2012 1 commit
    • Jesse Wilson's avatar
      Don't throw needlessly when returning the CacheResponse. · a468471e
      Jesse Wilson authored
      We were throwing under the premise that we'd always have
      response headers before we had a cached body. But when the
      user calls connect() we'll have queried the cache but we
      won't necessarily have response headers from the server yet.
      That's because connect() doesn't require a response to be ready.
      
      Bug: http://b/5920659
      Cherry-picked from: I9d69b44b5be3d0e29f14d8b83781f6e65c67582a
      
      Change-Id: Ia403b42ddc9783fd1456164f4b7350da3ce80566
      a468471e
  11. 19 Jan, 2012 1 commit
  12. 22 Nov, 2011 1 commit
    • JP Abgrall's avatar
      libcore: BlockGuard: untag socket on close · 4ff58546
      JP Abgrall authored
      java.net.Socket creates the socket on connect(). But in case of failure
      during the connect() it closes the socket.
      During the create, BlockGuard's socket() is the one tagging the socket.
      But in case of failure, nobody untags that socket.
      So now we untag scokets on close() in BlockGuard
      
      Bug: 5274621
      Change-Id: I282665a05e2dc184df77c84ceab49fb55b7695af
      4ff58546
  13. 10 Nov, 2011 1 commit
    • Brian Muramatsu's avatar
      Fix OldFormaterTest Flakiness · 0c180b1a
      Brian Muramatsu authored
      Bug 5498103
      
      Use a StreamHandler instead of a FileHandler, so that FileHandler
      doesn't throw an exception if the log directory doesn't exist.
      
      Change-Id: I7b7334ff8290a4b028712e89bb432fd78ef48346
      0c180b1a
  14. 08 Nov, 2011 1 commit
  15. 26 Oct, 2011 3 commits
  16. 25 Oct, 2011 1 commit
    • Elliott Hughes's avatar
      Fix socket timeout test failures. · ec8de076
      Elliott Hughes authored
      The kernel uses awkward device-specific units that make tests with timeouts
      that aren't integer multiples of a second awkward.
      
      There's no common superclass for the various sockets, so we can't factor
      out the test even though -- apart from the creation of the specific socket --
      it's textually identical in each case. Nice library design, boys!
      
      I've also fixed a couple of CloseGuard warnings in passing.
      
      Bug: 5159133
      Change-Id: Iaf4c9891b3cf2f5b3ebcee5cb2ba862157ab034e
      ec8de076
  17. 23 Oct, 2011 1 commit
    • Elliott Hughes's avatar
      Fix socket timeout test failures. · 04e25f30
      Elliott Hughes authored
      The kernel uses awkward device-specific units that make tests with timeouts
      that aren't integer multiples of a second awkward.
      
      There's no common superclass for the various sockets, so we can't factor
      out the test even though -- apart from the creation of the specific socket --
      it's textually identical in each case. Nice library design, boys!
      
      I've also fixed a couple of CloseGuard warnings in passing.
      
      Bug: 5159133
      Change-Id: Iaf4c9891b3cf2f5b3ebcee5cb2ba862157ab034e
      04e25f30
  18. 21 Oct, 2011 1 commit
    • Elliott Hughes's avatar
      Cope with fstat(2) failures during close. · e8e19f64
      Elliott Hughes authored
      Whatever the root cause of the fstat(2) failure, we should still attempt the
      requested close(2) --- even if it's just going to fail in the same way the
      fstat(2) did.
      
      Bug: 5407056
      Change-Id: Ie988d1b1ebdb6b378fb537b2f56245fab568ee7c
      e8e19f64
  19. 19 Oct, 2011 6 commits
  20. 18 Oct, 2011 3 commits
  21. 17 Oct, 2011 6 commits
  22. 16 Oct, 2011 1 commit
  23. 15 Oct, 2011 1 commit
  24. 14 Oct, 2011 1 commit