Home
last modified time | relevance | path

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

/packages/apps/Nfc/tests/src/com/android/nfc/snep/
DSnepValidationServerTests.java44 private Map<ByteArrayWrapper, NdefMessage> mStoredNdef =
45 new HashMap<ByteArrayWrapper, NdefMessage>();
46 private static final ByteArrayWrapper DEFAULT_NDEF = new ByteArrayWrapper(new byte[] {});
85 static class ByteArrayWrapper { class in SnepValidationServerTests
88 public ByteArrayWrapper(byte[] data) { in ByteArrayWrapper() method in SnepValidationServerTests.ByteArrayWrapper
97 if (!(other instanceof ByteArrayWrapper)) { in equals()
100 return Arrays.equals(data, ((ByteArrayWrapper) other).data); in equals()
113 ByteArrayWrapper id = (record.getId().length > 0) ? in doPut()
114 new ByteArrayWrapper(record.getId()) : DEFAULT_NDEF; in doPut()
123 ByteArrayWrapper id = (record.getId().length > 0) ? in doGet()
[all …]