public void incrementCounter(AccountIndex index) {
    ContentValues values = new ContentValues();
    Integer counter = getCounter(index);
    values.put(COUNTER_COLUMN, counter + 1);
    mDatabase.update(TABLE_NAME, values, whereClause(index), null);
  }
@return whether the database appears to be consistent with expectations or not
java/com/google/android/apps/authenticator/otp/AccountDb.java