[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