Searched refs:minIncl (Results 1 – 2 of 2) sorted by relevance
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/storage/util/ |
D | ConditionsTest.java | 27 int minIncl = 2; in checkStateInRange() local 29 int[] validValues = { minIncl, 3, maxIncl }; in checkStateInRange() 33 Conditions.checkStateInRange("foo", validValue, "min", minIncl, "max", maxIncl); in checkStateInRange() 37 () -> Conditions.checkStateInRange("foo", invalidValue, "min", minIncl, "max", in checkStateInRange() 44 int minIncl = 2; in checkArgInRange() local 46 int[] validValues = { minIncl, 3, maxIncl }; in checkArgInRange() 50 Conditions.checkArgInRange("foo", validValue, "min", minIncl, "max", maxIncl); in checkArgInRange() 51 Conditions.checkArgInRange("foo", validValue, minIncl, maxIncl); in checkArgInRange() 55 () -> Conditions.checkArgInRange("foo", invalidValue, "min", minIncl, "max", in checkArgInRange() 58 () -> Conditions.checkArgInRange("foo", invalidValue, minIncl, maxIncl)); in checkArgInRange()
|
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/storage/util/ |
D | Conditions.java | 29 public static void checkArgInRange(String valueName, int value, int minIncl, int maxIncl) { in checkArgInRange() argument 30 if (minIncl > value || value > maxIncl) { in checkArgInRange() 32 valueName + "=" + value + " must be between " + minIncl + " and " + maxIncl); in checkArgInRange() 41 String valueName, int value, String minName, int minIncl, String maxName, int maxIncl) { in checkArgInRange() argument 42 if (minIncl > value || value > maxIncl) { in checkArgInRange() 44 + minName + "=" + minIncl + " and " + maxName + "=" + maxIncl); in checkArgInRange() 53 String valueName, int value, String minName, int minIncl, String maxName, int maxIncl) { in checkStateInRange() argument 54 if (minIncl > value || value > maxIncl) { in checkStateInRange() 56 + minName + "=" + minIncl + " and " + maxName + "=" + maxIncl); in checkStateInRange()
|