Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/nfc/tech/
DMifareClassic.java285 public int blockToSector(int blockIndex) { in blockToSector() argument
286 validateBlock(blockIndex); in blockToSector()
288 if (blockIndex < 32 * 4) { in blockToSector()
289 return blockIndex / 4; in blockToSector()
291 return 32 + (blockIndex - 32 * 4) / 16; in blockToSector()
415 public byte[] readBlock(int blockIndex) throws IOException { in readBlock() argument
416 validateBlock(blockIndex); in readBlock()
419 byte[] cmd = { 0x30, (byte) blockIndex }; in readBlock()
437 public void writeBlock(int blockIndex, byte[] data) throws IOException { in writeBlock() argument
438 validateBlock(blockIndex); in writeBlock()
[all …]
/frameworks/base/libs/utils/
DResourceTypes.cpp1592 ssize_t blockIndex, uint32_t* outLastRef, in resolveAttributeReference() argument
1598 blockIndex = getAttribute(inOutValue->data, inOutValue, &newTypeSpecFlags); in resolveAttributeReference()
1600 (int)blockIndex, (int)inOutValue->dataType, (void*)inOutValue->data)); in resolveAttributeReference()
1603 if (blockIndex < 0) { in resolveAttributeReference()
1604 return blockIndex; in resolveAttributeReference()
1607 return mTable.resolveReference(inOutValue, blockIndex, outLastRef, in resolveAttributeReference()
2008 ssize_t ResTable::resolveReference(Res_value* value, ssize_t blockIndex, in resolveReference() argument
2013 while (blockIndex >= 0 && value->dataType == value->TYPE_REFERENCE in resolveReference()
2031 return blockIndex; in resolveReference()
2033 blockIndex = newIndex; in resolveReference()
[all …]
/frameworks/base/include/utils/
DResourceTypes.h1783 ssize_t blockIndex,
1859 ssize_t blockIndex, uint32_t* outLastRef = NULL,