Replace executeAdbCommand with executeShellCommand

When an adb command starts with "shell", executeAdbCommand has special
logic to treat failures of the command as communication failures, and
try to recover the device. This causes instrumentation failures. See
NativeDevice.AdbShellAction#run.

Replace executeAdbCommand with executeShellCommand to avoid
instrumentation failures when the command does not succeed.

Test: atest ProcNetTest
Fixes: 385404810
Change-Id: I693f422f63cf592202ab3e49a9958c61f779b4d5
1 file changed