Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/nfc/tech/
DMifareClassic.java273 public int getBlockCountInSector(int sectorIndex) { in getBlockCountInSector() argument
274 validateSector(sectorIndex); in getBlockCountInSector()
276 if (sectorIndex < 32) { in getBlockCountInSector()
307 public int sectorToBlock(int sectorIndex) { in sectorToBlock() argument
308 if (sectorIndex < 32) { in sectorToBlock()
309 return sectorIndex * 4; in sectorToBlock()
311 return 32 * 4 + (sectorIndex - 32) * 16; in sectorToBlock()
338 public boolean authenticateSectorWithKeyA(int sectorIndex, byte[] key) throws IOException { in authenticateSectorWithKeyA() argument
339 return authenticate(sectorIndex, key, true); in authenticateSectorWithKeyA()
365 public boolean authenticateSectorWithKeyB(int sectorIndex, byte[] key) throws IOException { in authenticateSectorWithKeyB() argument
[all …]