void collectDeviceInfo(ITestDevice device,CtsBuildHelper ctsBuild,ITestInvocationListener listener) throws DeviceNotAvailableException {
  if (!mSkipDeviceInfo) {
    DeviceInfoCollector.collectDeviceInfo(device,ctsBuild.getTestCasesDir(),listener);
  }
}

void collectDeviceInfo ( ITestDevice device , CtsBuildHelper ctsBuild , ITestInvocationListener listener ) throws DeviceNotAvailableException { if ( ! mSkipDeviceInfo ) { DeviceInfoCollector . collectDeviceInfo ( device , ctsBuild . getTestCasesDir ( ) , listener ) ; } }
runs the device info collector instrumentation on device , and forwards it to test listeners as run metrics . < p / > exposed so unit tests can mock .
