Searched refs:KEY_FAILURE_COUNTER (Results 1 – 1 of 1) sorted by relevance
55 private static final String KEY_FAILURE_COUNTER = "failure_counter"; field in Settings263 int failures = sharedPref.getInt(KEY_FAILURE_COUNTER, 0 /* defaultValue */); in incrementFailureCounter()264 editor.putInt(KEY_FAILURE_COUNTER, ++failures); in incrementFailureCounter()274 return sharedPref.getInt(KEY_FAILURE_COUNTER, 0 /* defaultValue */); in getFailureCounter()282 if (sharedPref.getInt(KEY_FAILURE_COUNTER, 0) != 0) { in clearFailureCounter()284 editor.putInt(KEY_FAILURE_COUNTER, 0); in clearFailureCounter()