Searched refs:ID_UPPER_BOUND (Results 1 – 2 of 2) sorted by relevance
41 public static final int ID_UPPER_BOUND = 1000000; field in Settings142 editor.putInt(KEY_ID, rand.nextInt(ID_UPPER_BOUND)); in generateAndSetId()152 return sharedPref.getInt(KEY_ID, rand.nextInt(ID_UPPER_BOUND) /* defaultValue */); in getId()
93 defaultRandom < Settings.ID_UPPER_BOUND && defaultRandom >= 0); in testCheckIdSettings()97 setId < Settings.ID_UPPER_BOUND && setId >= 0); in testCheckIdSettings()