Refactor Sensor test platform Operations.
b/17838681

The refactoring is required in preparation to add support to save sensor events upon failure.

Change-Id: I13ed41e3fa5393c61ccee766f0fdb9f4fd6aadd5
15 files changed