Searched refs:TEST_BYTES (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/util/ |
D | XmlTest.java | 231 private static final byte[] TEST_BYTES = new byte[] { 0, 1, 2, 3, 4, 3, 2, 1, 0 }; field in XmlTest 242 out.attributeBytesHex(null, "bytesHex", TEST_BYTES); in doVerifyWrite() 244 out.attributeBytesBase64(null, "bytesBase64", TEST_BYTES); in doVerifyWrite() 287 assertArrayEquals(TEST_BYTES, in doVerifyRead() 291 assertArrayEquals(TEST_BYTES, in doVerifyRead()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | FastDataTest.java | 63 private static final byte[] TEST_BYTES = TEST_LONG_STRING.getBytes(StandardCharsets.UTF_16LE); field in FastDataTest 387 out.write(TEST_BYTES, 8, 32); in testBounce_Bytes() 392 assertArrayEquals(Arrays.copyOfRange(TEST_BYTES, 8, 8 + 32), in testBounce_Bytes()
|