[build/android] Switch hand-rolled 'ls' to StatDirectory

Replace previous hand-rolled shell commands with more robust
alternatives from device_utils.

In particular "install_metadata", which used to be just the
output of "ls -l" on the device, is now a list of dictionaries
with stat file data for each installed package on the device.

BUG=552376

Review-Url: https://codereview.chromium.org/2069113002
Cr-Commit-Position: refs/heads/master@{#400123}


CrOS-Libchrome-Original-Commit: 40cb86544a3c7f5fc2cca51dc181624b2995eed8
1 file changed
tree: c1b5065a2abbc4d9edc54fe9ddebaa08867c21f6
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/