コード例 #1
0
 public QueueEntry(long time, long groupId, int orderIdx) {
   super();
   this.systemTimeMilliseconds = time;
   this.systemTimeAsDebugString =
       new SKDateFormat(SKApplication.getAppInstance()).UITime(systemTimeMilliseconds);
   this.groupId = groupId;
   this.orderIdx = orderIdx;
 }
コード例 #2
0
 @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;
 }