Home
last modified time | relevance | path

Searched refs:maximumSize (Results 1 – 7 of 7) sorted by relevance

/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/
DAsn1GeneralString.java40 private Integer maximumSize = null; // Null == unconstrained. field in Asn1GeneralString
67 maximumSize = max; in setMaxSize()
81 Preconditions.checkState(maximumSize == null || value.length <= maximumSize, in encodePerImpl()
84 if (maximumSize == null) { in encodePerImpl()
92 if (aligned && maximumSize * characterBitCount > 16) { in encodePerImpl()
96 if (minimumSize == maximumSize in encodePerImpl()
97 && maximumSize < SIXTYFOUR_K) { in encodePerImpl()
101 if (maximumSize >= SIXTYFOUR_K) { in encodePerImpl()
106 if (aligned && maximumSize * characterBitCount == 16) { in encodePerImpl()
115 value.length, minimumSize, maximumSize); in encodePerImpl()
[all …]
DAsn1OctetString.java39 private Integer maximumSize = null; // null == unbounded. field in Asn1OctetString
51 maximumSize = max; in setMaxSize()
83 maximumSize == null || value.length <= maximumSize, "Too large %s", in encodePerImpl()
85 if (maximumSize == null) { in encodePerImpl()
91 } else if (minimumSize == maximumSize) { in encodePerImpl()
92 if (maximumSize == 0) { in encodePerImpl()
95 if (maximumSize < SIXTYFOUR_K) { in encodePerImpl()
97 for (int i = 0; i < maximumSize; i++) { in encodePerImpl()
100 if (aligned && maximumSize > 2) { in encodePerImpl()
108 value, minimumSize, maximumSize); in encodePerImpl()
[all …]
DAsn1BitString.java41 private Integer maximumSize = null; // null == unbounded. field in Asn1BitString
53 maximumSize = max; in setMaxSize()
77 maximumSize == null || value.length() <= maximumSize, "Too large %s", in encodeBerValue()
104 maximumSize == null || value.length() <= maximumSize, "Too large %s", in encodePerImpl()
106 if (maximumSize == null) { in encodePerImpl()
110 if (minimumSize == maximumSize) { in encodePerImpl()
111 if (maximumSize == 0) { in encodePerImpl()
114 if (maximumSize < SIXTYFOUR_K) { in encodePerImpl()
116 for (int i = 0; i < maximumSize; i++) { in encodePerImpl()
119 if (aligned && maximumSize > 16) { in encodePerImpl()
[all …]
DAsn1BMPString.java41 private Integer maximumSize = null; // Null == unconstrained. field in Asn1BMPString
68 maximumSize = max; in setMaxSize()
83 Preconditions.checkState(maximumSize == null || length <= maximumSize, in encodePerImpl()
86 if (maximumSize == null) { in encodePerImpl()
91 if (aligned && maximumSize * characterBitCount > 16) { in encodePerImpl()
95 if (minimumSize == maximumSize in encodePerImpl()
96 && maximumSize < SIXTYFOUR_K) { in encodePerImpl()
100 if (maximumSize >= SIXTYFOUR_K) { in encodePerImpl()
105 if (aligned && maximumSize * characterBitCount == 16) { in encodePerImpl()
114 value.length(), minimumSize, maximumSize); in encodePerImpl()
[all …]
DAsn1IA5String.java51 private Integer maximumSize = null; // Null == unconstrained. field in Asn1IA5String
94 maximumSize = max; in setMaxSize()
104 Preconditions.checkArgument(maximumSize == null in setValue()
105 || value.length() <= maximumSize, in setValue()
126 if (aligned && (maximumSize == null || maximumSize * characterBitCount > 16)) { in encodePerImpl()
130 if (maximumSize != null) { in encodePerImpl()
131 if (minimumSize == maximumSize && maximumSize < SIXTYFOUR_K) { in encodePerImpl()
135 if (maximumSize >= SIXTYFOUR_K) { in encodePerImpl()
140 if (aligned && maximumSize * characterBitCount == 16) { in encodePerImpl()
147 if (maximumSize == null) { in encodePerImpl()
[all …]
DAsn1SequenceOf.java36 private Integer maximumSize = null; // Null is unbounded. field in Asn1SequenceOf
47 maximumSize = max; in setMaxSize()
109 Preconditions.checkState(maximumSize == null in encodePerImpl()
110 || sequence.size() <= maximumSize, in encodePerImpl()
113 if (maximumSize == null || maximumSize >= PerAlignedUtils.SIXTYFOUR_K) { 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
150 if (maximumSize == null || maximumSize >= PerAlignedUtils.SIXTYFOUR_K) { in decodePerImpl()
156 } else if (maximumSize != minimumSize) { in decodePerImpl()
[all …]
DAsn1Utf8String.java35 private Integer maximumSize = null; // null == unbounded. field in Asn1Utf8String
43 maximumSize = max; in setMaxSize()
87 maximumSize == null || value.length() <= maximumSize, "Too large %s", in encodePerImpl()