Home
last modified time | relevance | path

Searched refs:testReadCompat (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/
DProtoInputStreamDoubleTest.java150 public void testReadCompat() throws Exception { in testReadCompat() method in ProtoInputStreamDoubleTest
151 testReadCompat(0); in testReadCompat()
152 testReadCompat(1); in testReadCompat()
153 testReadCompat(-1234.432); in testReadCompat()
154 testReadCompat(42.42); in testReadCompat()
155 testReadCompat(Double.MIN_NORMAL); in testReadCompat()
156 testReadCompat(Double.MIN_VALUE); in testReadCompat()
157 testReadCompat(Double.NEGATIVE_INFINITY); in testReadCompat()
158 testReadCompat(Double.NaN); in testReadCompat()
159 testReadCompat(Double.POSITIVE_INFINITY); in testReadCompat()
[all …]
DProtoInputStreamFloatTest.java141 public void testReadCompat() throws Exception { in testReadCompat() method in ProtoInputStreamFloatTest
142 testReadCompat(0); in testReadCompat()
143 testReadCompat(1); in testReadCompat()
144 testReadCompat(-1234.432f); in testReadCompat()
145 testReadCompat(42.42f); in testReadCompat()
146 testReadCompat(Float.MIN_NORMAL); in testReadCompat()
147 testReadCompat(Float.MIN_VALUE); in testReadCompat()
148 testReadCompat(Float.NEGATIVE_INFINITY); in testReadCompat()
149 testReadCompat(Float.NaN); in testReadCompat()
150 testReadCompat(Float.POSITIVE_INFINITY); in testReadCompat()
[all …]
DProtoInputStreamUInt64Test.java129 public void testReadCompat() throws Exception { in testReadCompat() method in ProtoInputStreamUInt64Test
130 testReadCompat(0); in testReadCompat()
131 testReadCompat(1); in testReadCompat()
132 testReadCompat(-1); in testReadCompat()
133 testReadCompat(Integer.MIN_VALUE); in testReadCompat()
134 testReadCompat(Integer.MAX_VALUE); in testReadCompat()
135 testReadCompat(Long.MIN_VALUE); in testReadCompat()
136 testReadCompat(Long.MAX_VALUE); in testReadCompat()
142 private void testReadCompat(long val) throws Exception { in testReadCompat() method in ProtoInputStreamUInt64Test
DProtoInputStreamSFixed64Test.java132 public void testReadCompat() throws Exception { in testReadCompat() method in ProtoInputStreamSFixed64Test
133 testReadCompat(0); in testReadCompat()
134 testReadCompat(1); in testReadCompat()
135 testReadCompat(-1); in testReadCompat()
136 testReadCompat(Integer.MIN_VALUE); in testReadCompat()
137 testReadCompat(Integer.MAX_VALUE); in testReadCompat()
138 testReadCompat(Long.MIN_VALUE); in testReadCompat()
139 testReadCompat(Long.MAX_VALUE); in testReadCompat()
145 private void testReadCompat(long val) throws Exception { in testReadCompat() method in ProtoInputStreamSFixed64Test
DProtoInputStreamSInt64Test.java127 public void testReadCompat() throws Exception { in testReadCompat() method in ProtoInputStreamSInt64Test
128 testReadCompat(0); in testReadCompat()
129 testReadCompat(1); in testReadCompat()
130 testReadCompat(-1); in testReadCompat()
131 testReadCompat(Integer.MIN_VALUE); in testReadCompat()
132 testReadCompat(Integer.MAX_VALUE); in testReadCompat()
133 testReadCompat(Long.MIN_VALUE); in testReadCompat()
134 testReadCompat(Long.MAX_VALUE); in testReadCompat()
140 private void testReadCompat(long val) throws Exception { in testReadCompat() method in ProtoInputStreamSInt64Test
DProtoInputStreamInt64Test.java130 public void testReadCompat() throws Exception { in testReadCompat() method in ProtoInputStreamInt64Test
131 testReadCompat(0); in testReadCompat()
132 testReadCompat(1); in testReadCompat()
133 testReadCompat(-1); in testReadCompat()
134 testReadCompat(Integer.MIN_VALUE); in testReadCompat()
135 testReadCompat(Integer.MAX_VALUE); in testReadCompat()
136 testReadCompat(Long.MIN_VALUE); in testReadCompat()
137 testReadCompat(Long.MAX_VALUE); in testReadCompat()
143 private void testReadCompat(long val) throws Exception { in testReadCompat() method in ProtoInputStreamInt64Test
DProtoInputStreamFixed64Test.java132 public void testReadCompat() throws Exception { in testReadCompat() method in ProtoInputStreamFixed64Test
133 testReadCompat(0); in testReadCompat()
134 testReadCompat(1); in testReadCompat()
135 testReadCompat(-1); in testReadCompat()
136 testReadCompat(Integer.MIN_VALUE); in testReadCompat()
137 testReadCompat(Integer.MAX_VALUE); in testReadCompat()
138 testReadCompat(Long.MIN_VALUE); in testReadCompat()
139 testReadCompat(Long.MAX_VALUE); in testReadCompat()
145 private void testReadCompat(long val) throws Exception { in testReadCompat() method in ProtoInputStreamFixed64Test
DProtoInputStreamEnumTest.java111 public void testReadCompat() throws Exception { in testReadCompat() method in ProtoInputStreamEnumTest
112 testReadCompat(0); in testReadCompat()
113 testReadCompat(1); in testReadCompat()
114 testReadCompat(-1); in testReadCompat()
115 testReadCompat(Integer.MIN_VALUE); in testReadCompat()
116 testReadCompat(Integer.MAX_VALUE); in testReadCompat()
122 private void testReadCompat(int val) throws Exception { in testReadCompat() method in ProtoInputStreamEnumTest
DProtoInputStreamSInt32Test.java109 public void testReadCompat() throws Exception { in testReadCompat() method in ProtoInputStreamSInt32Test
110 testReadCompat(0); in testReadCompat()
111 testReadCompat(1); in testReadCompat()
112 testReadCompat(-1); in testReadCompat()
113 testReadCompat(Integer.MIN_VALUE); in testReadCompat()
114 testReadCompat(Integer.MAX_VALUE); in testReadCompat()
120 private void testReadCompat(int val) throws Exception { in testReadCompat() method in ProtoInputStreamSInt32Test
DProtoInputStreamUInt32Test.java111 public void testReadCompat() throws Exception { in testReadCompat() method in ProtoInputStreamUInt32Test
112 testReadCompat(0); in testReadCompat()
113 testReadCompat(1); in testReadCompat()
114 testReadCompat(-1); in testReadCompat()
115 testReadCompat(Integer.MIN_VALUE); in testReadCompat()
116 testReadCompat(Integer.MAX_VALUE); in testReadCompat()
122 private void testReadCompat(int val) throws Exception { in testReadCompat() method in ProtoInputStreamUInt32Test
DProtoInputStreamSFixed32Test.java109 public void testReadCompat() throws Exception { in testReadCompat() method in ProtoInputStreamSFixed32Test
110 testReadCompat(0); in testReadCompat()
111 testReadCompat(1); in testReadCompat()
112 testReadCompat(-1); in testReadCompat()
113 testReadCompat(Integer.MIN_VALUE); in testReadCompat()
114 testReadCompat(Integer.MAX_VALUE); in testReadCompat()
120 private void testReadCompat(int val) throws Exception { in testReadCompat() method in ProtoInputStreamSFixed32Test
DProtoInputStreamFixed32Test.java109 public void testReadCompat() throws Exception { in testReadCompat() method in ProtoInputStreamFixed32Test
110 testReadCompat(0); in testReadCompat()
111 testReadCompat(1); in testReadCompat()
112 testReadCompat(-1); in testReadCompat()
113 testReadCompat(Integer.MIN_VALUE); in testReadCompat()
114 testReadCompat(Integer.MAX_VALUE); in testReadCompat()
120 private void testReadCompat(int val) throws Exception { in testReadCompat() method in ProtoInputStreamFixed32Test
DProtoInputStreamInt32Test.java111 public void testReadCompat() throws Exception { in testReadCompat() method in ProtoInputStreamInt32Test
112 testReadCompat(0); in testReadCompat()
113 testReadCompat(1); in testReadCompat()
114 testReadCompat(-1); in testReadCompat()
115 testReadCompat(Integer.MIN_VALUE); in testReadCompat()
116 testReadCompat(Integer.MAX_VALUE); in testReadCompat()
122 private void testReadCompat(int val) throws Exception { in testReadCompat() method in ProtoInputStreamInt32Test
DProtoInputStreamBytesTest.java114 public void testReadCompat() throws Exception { in testReadCompat() method in ProtoInputStreamBytesTest
115 testReadCompat(new byte[0]); in testReadCompat()
116 testReadCompat(new byte[]{1, 2, 3, 4}); in testReadCompat()
117 testReadCompat(new byte[]{(byte) 0xff, (byte) 0xfe, (byte) 0xfd, (byte) 0xfc}); in testReadCompat()
123 private void testReadCompat(byte[] val) throws Exception { in testReadCompat() method in ProtoInputStreamBytesTest
DProtoInputStreamStringTest.java105 public void testReadCompat() throws Exception { in testReadCompat() method in ProtoInputStreamStringTest
106 testReadCompat(""); in testReadCompat()
107 testReadCompat("abcd\u3110!"); in testReadCompat()
113 private void testReadCompat(String val) throws Exception { in testReadCompat() method in ProtoInputStreamStringTest
DProtoInputStreamBoolTest.java91 public void testReadCompat() throws Exception { in testReadCompat() method in ProtoInputStreamBoolTest
92 testReadCompat(false); in testReadCompat()
93 testReadCompat(true); in testReadCompat()
99 private void testReadCompat(boolean val) throws Exception { in testReadCompat() method in ProtoInputStreamBoolTest