@Test public void testMakeReadOnly() throws Exception { for (Config config : MAKE_READ_ONLY_TEST) { init(config); assertTrue(ndefOperations.isWritable()); ndefOperations.makeReadOnly(); assertFalse(ndefOperations.isWritable()); assertArrayEquals(expectedTag.getMemoryMap().getMemory(), tag.getMemoryMap().getMemory()); } }
@Override public void makeReadOnly() { assertWritable(); assertFormatted(); setLockBytes(); writable = false; }
Type2NdefOperations extends AbstractNdefOperations { @Override public void makeReadOnly() { assertWritable(); assertFormatted(); setLockBytes(); writable = false; } }
Type2NdefOperations extends AbstractNdefOperations { @Override public void makeReadOnly() { assertWritable(); assertFormatted(); setLockBytes(); writable = false; } Type2NdefOperations(MemoryLayout memoryLayout, MfUlReaderWriter readerWriter, TagInfo tagInfo,
			boolean formatted, boolean writable); }
Type2NdefOperations extends AbstractNdefOperations { @Override public void makeReadOnly() { assertWritable(); assertFormatted(); setLockBytes(); writable = false; } Type2NdefOperations(MemoryLayout memoryLayout, MfUlReaderWriter readerWriter, TagInfo tagInfo,
			boolean formatted, boolean writable); MemoryLayout getMemoryLayout(); @Override int getMaxSize(); @Override List<Record> readNdefMessage(); @Override void writeNdefMessage(Record... records); @Override void makeReadOnly(); @Override void format(Record... records); }
Type2NdefOperations extends AbstractNdefOperations { @Override public void makeReadOnly() { assertWritable(); assertFormatted(); setLockBytes(); writable = false; } Type2NdefOperations(MemoryLayout memoryLayout, MfUlReaderWriter readerWriter, TagInfo tagInfo,
			boolean formatted, boolean writable); MemoryLayout getMemoryLayout(); @Override int getMaxSize(); @Override List<Record> readNdefMessage(); @Override void writeNdefMessage(Record... records); @Override void makeReadOnly(); @Override void format(Record... records);  }