Home
last modified time | relevance | path

Searched refs:minimumSize (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/location/src/android/location/cts/asn1/base/
DAsn1SequenceOf.java35 private int minimumSize = 0; field in Asn1SequenceOf
43 minimumSize = min; in setMinSize()
107 Preconditions.checkState(sequence.size() >= minimumSize, in encodePerImpl()
119 } else if (maximumSize != minimumSize) { in encodePerImpl()
123 sequence.size(), minimumSize, maximumSize)); in encodePerImpl() local
127 sequence.size(), minimumSize, maximumSize)); in encodePerImpl() local
149 int size = minimumSize; in decodePerImpl()
156 } else if (maximumSize != minimumSize) { in decodePerImpl()
159 reader, minimumSize, maximumSize); in decodePerImpl()
162 reader, minimumSize, maximumSize); in decodePerImpl()
DAsn1GeneralString.java38 private int minimumSize = 0; field in Asn1GeneralString
62 minimumSize = min; in setMinSize()
79 Preconditions.checkState(value.length >= minimumSize, "Value too short."); in encodePerImpl()
95 if (minimumSize == maximumSize in encodePerImpl()
114 value.length, minimumSize, maximumSize); in encodePerImpl()
117 value.length, minimumSize, maximumSize); in encodePerImpl()
136 if (minimumSize == maximumSize in decodePerImpl()
156 reader, minimumSize, maximumSize); in decodePerImpl()
159 reader, minimumSize, maximumSize); in decodePerImpl()
DAsn1BitString.java39 private int minimumSize = 0; field in Asn1BitString
48 minimumSize = min; in setMinSize()
79 int bitsToEncode = Math.max(minimumSize, value.length()); in encodeBerValue()
109 if (minimumSize == maximumSize) { in encodePerImpl()
130 int bitsToEncode = Math.max(minimumSize, value.length()); in encodePerImpl()
134 bitsToEncode, minimumSize, maximumSize); in encodePerImpl()
137 bitsToEncode, minimumSize, maximumSize); in encodePerImpl()
163 if (minimumSize == maximumSize) { in decodePerImpl()
186 reader, minimumSize, maximumSize); in decodePerImpl()
190 reader, minimumSize, maximumSize); in decodePerImpl()
DAsn1BMPString.java39 private int minimumSize = 0; field in Asn1BMPString
63 minimumSize = min; in setMinSize()
81 Preconditions.checkState(length >= minimumSize, "Value too short."); in encodePerImpl()
94 if (minimumSize == maximumSize in encodePerImpl()
113 value.length(), minimumSize, maximumSize); in encodePerImpl()
116 value.length(), minimumSize, maximumSize); in encodePerImpl()
151 if (minimumSize == maximumSize in decodePerImpl()
168 reader, minimumSize, maximumSize); in decodePerImpl()
171 reader, minimumSize, maximumSize); in decodePerImpl()
DAsn1OctetString.java37 private int minimumSize = 0; field in Asn1OctetString
46 minimumSize = min; in setMinSize()
90 } else if (minimumSize == maximumSize) { in encodePerImpl()
107 value, minimumSize, maximumSize); in encodePerImpl()
110 value, minimumSize, maximumSize); in encodePerImpl()
130 } else if (minimumSize == maximumSize) { in decodePerImpl()
147 reader, minimumSize, maximumSize); in decodePerImpl()
150 reader, minimumSize, maximumSize); in decodePerImpl()
DAsn1IA5String.java49 private int minimumSize = 0; field in Asn1IA5String
89 minimumSize = min; in setMinSize()
101 Preconditions.checkArgument(value.length() >= minimumSize, in setValue()
130 if (minimumSize == maximumSize && maximumSize < SIXTYFOUR_K) { in encodePerImpl()
153 value.length(), minimumSize, maximumSize); in encodePerImpl()
156 value.length(), minimumSize, maximumSize); in encodePerImpl()
211 if (maximumSize != null && minimumSize == maximumSize && maximumSize < SIXTYFOUR_K) { in decodePerImpl()
232 reader, minimumSize, maximumSize); in decodePerImpl()
235 reader, minimumSize, maximumSize); in decodePerImpl()
DAsn1Utf8String.java33 private int minimumSize = 0; field in Asn1Utf8String
38 minimumSize = min; in setMinSize()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAssertions.java311 @NonNull List<ContentCaptureEvent> events, int minimumSize, in assertViewsOptionallyDisappeared() argument
314 if (actualSize == minimumSize) { in assertViewsOptionallyDisappeared()
318 assertThat(events).hasSize(minimumSize + 1); in assertViewsOptionallyDisappeared()
319 final ContentCaptureEvent batchDisappearEvent = events.get(minimumSize); in assertViewsOptionallyDisappeared()