Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/java/android/nfc/tech/
H A DMifareClassic.java291 validateBlock(blockIndex); in blockToSector()
293 if (blockIndex < 32 * 4) { in blockToSector()
294 return blockIndex / 4; in blockToSector()
421 validateBlock(blockIndex); in readBlock()
443 validateBlock(blockIndex); in writeBlock()
451 cmd[1] = (byte) blockIndex; in writeBlock()
472 validateBlock(blockIndex); in increment()
479 cmd.put( (byte) blockIndex ); in increment()
500 validateBlock(blockIndex); in decrement()
527 validateBlock(blockIndex); in transfer()
[all …]
/aosp12/system/chre/util/include/chre/util/
H A Dmemory_pool_impl.h44 size_t blockIndex = mNextFreeBlockIndex; in allocate() local
45 mNextFreeBlockIndex = blocks()[blockIndex].mNextFreeBlockIndex; in allocate()
48 return new (&blocks()[blockIndex].mElement) in allocate()
56 size_t blockIndex = (elementAddress - baseAddress) / sizeof(MemoryPoolBlock); in deallocate() local
58 blocks()[blockIndex].mElement.~ElementType(); in deallocate()
59 blocks()[blockIndex].mNextFreeBlockIndex = mNextFreeBlockIndex; in deallocate()
60 mNextFreeBlockIndex = blockIndex; in deallocate()
/aosp12/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.c72 uint64_t blockIndex; member
223 uint64_t blockIndex, in FwdLockFile_CalculateCounter() argument
227 for (; i < sizeof blockIndex; ++i) { in FwdLockFile_CalculateCounter()
228 unsigned char part = pNonce[i] + (unsigned char)(blockIndex >> (i * CHAR_BIT)); in FwdLockFile_CalculateCounter()
246 uint64_t blockIndex = pSession->filePos / AES_BLOCK_SIZE; in FwdLockFile_DecryptByte() local
248 if (blockIndex != pSession->blockIndex) { in FwdLockFile_DecryptByte()
251 FwdLockFile_CalculateCounter(pSession->pEncryptedSessionKey, blockIndex, counter); in FwdLockFile_DecryptByte()
253 pSession->blockIndex = blockIndex; in FwdLockFile_DecryptByte()
290 pSession->blockIndex = INVALID_BLOCK_INDEX; in FwdLockFile_attach()
/aosp12/frameworks/base/core/java/android/text/
H A DDynamicLayout.java756 int startLine = blockIndex == 0 ? 0 : (mBlockEndLines[blockIndex - 1] + 1); in updateAlwaysNeedsToBeRedrawn()
757 int endLine = mBlockEndLines[blockIndex]; in updateAlwaysNeedsToBeRedrawn()
909 int blockIndex = firstBlock; in updateBlocks() local
911 mBlockEndLines[blockIndex] = startLine - 1; in updateBlocks()
912 updateAlwaysNeedsToBeRedrawn(blockIndex); in updateBlocks()
914 blockIndex++; in updateBlocks()
919 updateAlwaysNeedsToBeRedrawn(blockIndex); in updateBlocks()
921 blockIndex++; in updateBlocks()
926 updateAlwaysNeedsToBeRedrawn(blockIndex); in updateBlocks()
975 public void setBlockIndex(int index, int blockIndex) { in setBlockIndex() argument
[all …]
/aosp12/frameworks/base/core/java/android/widget/
H A DEditor.java2099 final int blockIndex = blockIndices[i]; in drawHardwareAccelerated() local
2145 int blockIndex = blockIndices[blockInfoIndex]; in drawHardwareAcceleratedInner() local
2152 blockIndices[blockInfoIndex] = blockIndex; in drawHardwareAcceleratedInner()
2153 if (mTextRenderNodes[blockIndex] != null) { in drawHardwareAcceleratedInner()
2154 mTextRenderNodes[blockIndex].isDirty = true; in drawHardwareAcceleratedInner()
2156 startIndexToFindAvailableRenderNode = blockIndex + 1; in drawHardwareAcceleratedInner()
2159 if (mTextRenderNodes[blockIndex] == null) { in drawHardwareAcceleratedInner()
2160 mTextRenderNodes[blockIndex] = new TextRenderNode("Text " + blockIndex); in drawHardwareAcceleratedInner()
2192 mTextRenderNodes[blockIndex].isDirty = false; in drawHardwareAcceleratedInner()
2273 final int blockIndex = blockIndices[i]; in invalidateTextDisplayList() local
[all …]
/aosp12/frameworks/base/libs/androidfw/include/androidfw/
H A DResourceTypes.h1893 ssize_t blockIndex,
1970 ssize_t blockIndex, uint32_t* outLastRef = NULL,
/aosp12/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp4035 ssize_t blockIndex, uint32_t* outLastRef, in resolveAttributeReference() argument
4041 blockIndex = getAttribute(inOutValue->data, inOutValue, &newTypeSpecFlags); in resolveAttributeReference()
4044 (int)blockIndex, (int)inOutValue->dataType, inOutValue->data); in resolveAttributeReference()
4048 if (blockIndex < 0) { in resolveAttributeReference()
4049 return blockIndex; in resolveAttributeReference()
4052 return mTable.resolveReference(inOutValue, blockIndex, outLastRef, in resolveAttributeReference()
4540 ssize_t ResTable::resolveReference(Res_value* value, ssize_t blockIndex, in resolveReference() argument
4545 while (blockIndex >= 0 && value->dataType == Res_value::TYPE_REFERENCE in resolveReference()
4564 return blockIndex; in resolveReference()
4566 blockIndex = newIndex; in resolveReference()
[all …]
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...