1. 14 Mar, 2016 2 commits
  2. 11 Mar, 2016 6 commits
  3. 04 Mar, 2016 6 commits
  4. 03 Mar, 2016 11 commits
  5. 02 Mar, 2016 12 commits
    • Josh Gao's avatar
    • Josh Gao's avatar
      adb: symlinks to dirs count as dirs for pull destination. · 1e611a33
      Josh Gao authored
      This matches scp's behavior when pulling a directory that collides
      with a symlink to a directory.
      
      Bug: http://b/27362811
      Change-Id: I0936d1ad48f13e24cd382e8e8400cc752bac3b66
      1e611a33
    • Alex Deymo's avatar
      Add /postinstall partition when using the A/B updater. · bb968fb0
      Alex Deymo authored
      The new top level directory /postinstall is used by the A/B updater to
      mount the new partition and run a post-install program before rebooting
      into that new system.
      
      init.rc was extended to label this new directory since the initrd has
      no extended attributes.
      
      Bug: 27177071
      TEST=`ls -laZ /` shows the /postinstall directory on edison-eng
      
      Change-Id: I6cdee7eb1d61ac7d447528962a4fad1a7bbf138d
      bb968fb0
    • David Pursell's avatar
      adb: relax serial matching rules. · 3f902aad
      David Pursell authored
      Currently targeting a device by serial requires matching the serial
      number exactly. This CL relaxes the matching rules for local transports
      to ignore protocol prefixes and make the port optional:
        [tcp:|udp:]<hostname>[:port]
      
      The purpose of this is to allow a user to set ANDROID_SERIAL to
      something like "tcp:100.100.100.100" and have it work for both fastboot
      and adb (assuming the device comes up at 100.100.100.100 in both
      modes).
      
      This CL also adds some unit tests for the modified functions to make
      sure they work as expected.
      
      Bug: 27340240
      Change-Id: I006e0c70c84331ab44d05d0a0f462d06592eb879
      3f902aad
    • Andreas Gampe's avatar
    • Andreas Gampe's avatar
      Revert "Do not do local unwinds through .oat or .dex maps." · 04dcb00a
      Andreas Gampe authored
      This reverts commit 4265ed7c.
      
      Workaround in libunwind instead: change-id I98be5754cc4de4071616db334dc0c9862d3a2504
      
      Bug: 27391690
      Change-Id: Id77dc081b655dc0fcb513ad0ee95221d91a301f9
      04dcb00a
    • Mark Salyzyn's avatar
      Merge changes I6fdc87e8,I91b060b2 · 85c5fc41
      Mark Salyzyn authored
      * changes:
        logd: check return values
        logd: clarify release_Locked() for static analyzer
      85c5fc41
    • Chih-Hung Hsieh's avatar
      Make CHECK(x) work with static analyzer. · 7e0e14ca
      Chih-Hung Hsieh authored
      When __clang_analyzer__ is defined call abort after FATAL LogMessage.
      BUG: 27379879
      
      Change-Id: I198aad2be1191b6eb45db5333f94436f619facd9
      7e0e14ca
    • Elliott Hughes's avatar
    • Mark Salyzyn's avatar
      logd: check return values · bf7d0b88
      Mark Salyzyn authored
      The setgid() and setuid() call failure in logd.daemon thread
      do not block overall functionality, so clearly tell static
      analyzer and developers that we do not care to check their
      return values.
      
      SideEffects: None
      
      Bug: 27434072
      Change-Id: I6fdc87e8311ebc0173716080bbd72c86b3f00f78
      bf7d0b88
    • Elliott Hughes's avatar
      Make toolbox top a little more like everyone else's. · fd64c5d0
      Elliott Hughes authored
      The use of PR to mean PSR rather than PR was confusing, so let's just
      use PR and NI the same way everyone else does.
      
      Also remove bogus blank lines and unnecessary delays (both before first
      showing anything and after having shown the final iteration).
      
      Bug: http://b/27447491
      Change-Id: I676131956facf2167abb5d0852c55b0670b5eaa6
      fd64c5d0
    • Mark Salyzyn's avatar
      logd: clarify release_Locked() for static analyzer · 0ecdec7a
      Mark Salyzyn authored
      release_Locked() is called with a reference count and threadRunning,
      the static analyzer can not tell this and estimates that a call to
      delete this will occur. So let us invent a new call
      release_nodelete_Locked() to ensure it is clear we will not be
      arranging a delete this in the context of this code path. The
      delete this will follow in the immediate codepath in this function
      after threadRunning is cleared, and decRef_Locked() is called.
      
      Change will also remove any developer FUD regarding release_Locked()
      usage at this location.
      
      SideEffects: None
      
      Bug: 27434831
      Change-Id: I91b060b2dadc72cc449fa381c934afb577bee037
      0ecdec7a
  6. 01 Mar, 2016 3 commits