Searched refs:InclusiveIntRange (Results 1 – 2 of 2) sorted by relevance
42 import com.android.apksig.internal.util.InclusiveIntRange;601 InclusiveIntRange desiredApiLevels = in verifySignerInfoAgainstSigFile()602 InclusiveIntRange.fromTo(minSdkVersion, maxSdkVersion); in verifySignerInfoAgainstSigFile()603 List<InclusiveIntRange> apiLevelsWhereDigestAndSigAlgorithmSupported = in verifySignerInfoAgainstSigFile()605 List<InclusiveIntRange> apiLevelsWhereDigestAlgorithmNotSupported = in verifySignerInfoAgainstSigFile()621 for (InclusiveIntRange range : apiLevelsWhereDigestAlgorithmNotSupported) { in verifySignerInfoAgainstSigFile()878 private static final Map<String, List<InclusiveIntRange>> SUPPORTED_SIG_ALG_OIDS =883 InclusiveIntRange.from(0)); in addSupportedSigAlg()886 InclusiveIntRange.fromTo(0, 8), InclusiveIntRange.from(21)); in addSupportedSigAlg()889 InclusiveIntRange.fromTo(21, 23)); in addSupportedSigAlg()[all …]
26 public class InclusiveIntRange { class30 private InclusiveIntRange(int min, int max) { in InclusiveIntRange() method in InclusiveIntRange43 public static InclusiveIntRange fromTo(int min, int max) { in fromTo()44 return new InclusiveIntRange(min, max); in fromTo()47 public static InclusiveIntRange from(int min) { in from()48 return new InclusiveIntRange(min, Integer.MAX_VALUE); in from()51 public List<InclusiveIntRange> getValuesNotIn( in getValuesNotIn()52 List<InclusiveIntRange> sortedNonOverlappingRanges) { in getValuesNotIn()58 List<InclusiveIntRange> result = null; in getValuesNotIn()59 for (InclusiveIntRange range : sortedNonOverlappingRanges) { in getValuesNotIn()