Searched defs:blockIndex (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/java/android/nfc/tech/
H A DMifareClassic.java287 * @param blockIndex index of block to lookup, starting from 0
290 public int blockToSector(int blockIndex) { argument
291 validateBlock(blockIndex);
293 if (blockIndex < 32 * 4) {
294 return blockIndex / 4;
296 return 32 + (blockIndex - 32 * 4) / 16;
415 * @param blockIndex index of block to read, starting from 0
420 public byte[] readBlock(int blockIndex) throws IOException { argument
421 validateBlock(blockIndex);
424 byte[] cmd = { 0x30, (byte) blockIndex };
442 writeBlock(int blockIndex, byte[] data) argument
471 increment(int blockIndex, int value) argument
499 decrement(int blockIndex, int value) argument
526 transfer(int blockIndex) argument
548 restore(int blockIndex) argument
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.c72 uint64_t blockIndex; member in struct:FwdLockFile_Session
219 * @param[in] blockIndex The index number of the block.
223 uint64_t blockIndex,
227 for (; i < sizeof blockIndex; ++i) {
228 unsigned char part = pNonce[i] + (unsigned char)(blockIndex >> (i * CHAR_BIT));
246 uint64_t blockIndex = pSession->filePos / AES_BLOCK_SIZE; local
248 if (blockIndex != pSession->blockIndex) {
251 FwdLockFile_CalculateCounter(pSession->pEncryptedSessionKey, blockIndex, counter);
253 pSession->blockIndex
222 FwdLockFile_CalculateCounter(const unsigned char *pNonce, uint64_t blockIndex, unsigned char *pCounter) argument
[all...]
/frameworks/base/core/java/android/text/
H A DDynamicLayout.java751 private void updateAlwaysNeedsToBeRedrawn(int blockIndex) { argument
752 int startLine = blockIndex == 0 ? 0 : (mBlockEndLines[blockIndex - 1] + 1);
753 int endLine = mBlockEndLines[blockIndex];
759 mBlocksAlwaysNeedToBeRedrawn.add(blockIndex);
764 mBlocksAlwaysNeedToBeRedrawn.remove(blockIndex);
905 int blockIndex = firstBlock;
907 mBlockEndLines[blockIndex] = startLine - 1;
908 updateAlwaysNeedsToBeRedrawn(blockIndex);
909 mBlockIndices[blockIndex]
969 setBlockIndex(int index, int blockIndex) argument
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp3904 ssize_t blockIndex, uint32_t* outLastRef,
3910 blockIndex = getAttribute(inOutValue->data, inOutValue, &newTypeSpecFlags);
3912 ALOGI("Resolving attr reference: blockIndex=%d, type=0x%x, data=0x%x\n",
3913 (int)blockIndex, (int)inOutValue->dataType, inOutValue->data);
3917 if (blockIndex < 0) {
3918 return blockIndex;
3921 return mTable.resolveReference(inOutValue, blockIndex, outLastRef,
4408 ssize_t ResTable::resolveReference(Res_value* value, ssize_t blockIndex, argument
4413 while (blockIndex >= 0 && value->dataType == Res_value::TYPE_REFERENCE
4432 return blockIndex;
3903 resolveAttributeReference(Res_value* inOutValue, ssize_t blockIndex, uint32_t* outLastRef, uint32_t* inoutTypeSpecFlags, ResTable_config* inoutConfig) const argument
[all...]

Completed in 5236 milliseconds