Modified get_ping_results to return a PingResult object.

This object is backwards compatible with the previous return types of
this function. For instance:

>>> result = get_ping_stats(ad, '127.0.0.1', 1, .25, 64)
>>> # New syntax
>>> result.rtts[0]
0.591
>>> # Old syntax still works
>>> asdf['rtt'][0]
0.591

Bug: None
Test: Tested locally
Change-Id: I93de52f842876af334199f1be3ad45c9f1c64188
1 file changed
tree: 5b0597e68b56b6a0ed82990bae914b2d27f54d6f
  1. acts/
  2. tools/
  3. wts-acts/
  4. Android.mk
  5. PREUPLOAD.cfg