Lines Matching defs:block

115     /** Size of a MIFARE Classic block (in bytes) */
127 * <p>Does not cause any RF activity and does not block.
208 * <p>Does not cause any RF activity and does not block.
220 * <p>Does not cause any RF activity and does not block.
239 * <p>Does not cause any RF activity and does not block.
259 * <p>Does not cause any RF activity and does not block.
268 * <p>Does not cause any RF activity and does not block.
284 * Return the sector that contains a given block.
285 * <p>Does not cause any RF activity and does not block.
287 * @param blockIndex index of block to lookup, starting from 0
288 * @return sector index that contains the block
301 * Return the first block of a given sector.
302 * <p>Does not cause any RF activity and does not block.
305 * @return block index of first block in sector
326 * <p>This is an I/O operation and will block until complete. It must
353 * <p>This is an I/O operation and will block until complete. It must
382 // Second byte is block address
383 // Authenticate command takes a block address. Authenticating a block
407 * Read 16-byte block.
409 * <p>This is an I/O operation and will block until complete. It must
415 * @param blockIndex index of block to read, starting from 0
416 * @return 16 byte block
429 * Write 16-byte block.
431 * <p>This is an I/O operation and will block until complete. It must
437 * @param blockIndex index of block to write, starting from 0
458 * Increment a value block, storing the result in the temporary block on the tag.
460 * <p>This is an I/O operation and will block until complete. It must
466 * @param blockIndex index of block to increment, starting from 0
486 * Decrement a value block, storing the result in the temporary block on the tag.
488 * <p>This is an I/O operation and will block until complete. It must
494 * @param blockIndex index of block to decrement, starting from 0
514 * Copy from the temporary block to a value block.
516 * <p>This is an I/O operation and will block until complete. It must
522 * @param blockIndex index of block to copy to
536 * Copy from a value block to the temporary block.
538 * <p>This is an I/O operation and will block until complete. It must
544 * @param blockIndex index of block to copy from
567 * <p>This is an I/O operation and will block until complete. It must
633 // Note that issuing a command to an out-of-bounds block is safe - the
641 private static void validateBlock(int block) {
643 if (block < 0 || block >= MAX_BLOCK_COUNT) {
644 throw new IndexOutOfBoundsException("block out of bounds: " + block);