@Override
 public StateResponseCode executeState() {
   if ((SK2AppSettings.getInstance().isDataCapReached() == true)
       && (SKApplication.getAppInstance().getIsDataCapEnabled() == true)
       && (OtherUtils.isWifi(ctx) == false)) {
     Log.d(TAG, "Results have not been submitted because the data cap is reached");
   } else {
     new SubmitTestResultsAnonymousAction(ctx).execute();
   }
   return StateResponseCode.OK;
 }
  static synchronized void sOnSignalStrengthsChanged(SignalStrength signalStrength) {
    mData.setTime(System.currentTimeMillis());
    mData.setSignal(signalStrength);

    if (OtherUtils.isThisDeviceAnEmulator() == true) {
      // The signal will usuaully be null on the Emulator...
    } else {
      // On a real device... there should generally be a signal...
      SKLogger.sAssert(CellTowersDataCollector.class, mData.getSignal() != null);
    }

    try {
      mData.setCellLocation(mTelManager.getCellLocation());
    } catch (SecurityException e) {
      // Seen - rarely - on some Android devices.
      // Neither user 99999 nor current process has android.permission.ACCESS_COARSE_LOCATION.
      SKLogger.sAssert(CellTowersDataCollector.class, false);
    }
  }