Improve the dropbox proto dump logic
* Determine dropbox proto dump support through help menu. Previously we determine whether a device support dumping dropbox entries in proto format by attempting to call the method and catch exception. A better way is to directly ask the device by calling the --help command.
* Skip empty proto.
* Further increase the timeout value.
* Keeps falling back to studout parsing when proto parse error happened for truncated proto dumps or incompatible platform versions.
Test: atest + local
Change-Id: I47958b546a607bade23b5638c38aa25ab1ca1df7
2 files changed