/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/ |
D | ProtoInputStreamDoubleTest.java | 150 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 …]
|
D | ProtoInputStreamFloatTest.java | 141 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 …]
|
D | ProtoInputStreamSInt64Test.java | 127 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
|
D | ProtoInputStreamSFixed64Test.java | 132 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
|
D | ProtoInputStreamInt64Test.java | 130 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
|
D | ProtoInputStreamFixed64Test.java | 132 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
|
D | ProtoInputStreamUInt64Test.java | 129 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
|
D | ProtoInputStreamEnumTest.java | 111 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
|
D | ProtoInputStreamSFixed32Test.java | 109 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
|
D | ProtoInputStreamInt32Test.java | 111 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
|
D | ProtoInputStreamUInt32Test.java | 111 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
|
D | ProtoInputStreamSInt32Test.java | 109 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
|
D | ProtoInputStreamFixed32Test.java | 109 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
|
D | ProtoInputStreamBytesTest.java | 114 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
|
D | ProtoInputStreamStringTest.java | 105 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
|
D | ProtoInputStreamBoolTest.java | 91 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
|