/frameworks/base/libs/hwui/ |
H A D | PatchCache.cpp | 101 BufferBlock* block = mFreeBlocks; local 102 while (block) { 103 BufferBlock* next = block->next; 104 delete block; 105 block = next; 159 BufferBlock* block = new BufferBlock(patch->offset, patch->getSize()); local 160 block->next = mFreeBlocks; 161 mFreeBlocks = block; 198 // Find a block where we can fit the mesh 200 BufferBlock* block local 279 BufferBlock* block = mFreeBlocks; local [all...] |
/frameworks/base/core/java/android/os/ |
H A D | ConditionVariable.java | 25 * open(), close() and block() are sticky. If open() is called before block(), 26 * block() will not block, and instead return immediately. 59 * Any threads that later approach block() will not block unless close() 77 * Any threads that call block() will block until someone calls open. 92 public void block() method in class:ConditionVariable 117 public boolean block(lon method in class:ConditionVariable [all...] |
/frameworks/base/libs/androidfw/tests/ |
H A D | TestHelpers.cpp | 27 ssize_t block = table.getResource(resourceId, &val, MAY_NOT_BE_BAG); local 28 if (block < 0) { 36 const ResStringPool* pool = table.getTableStringBlock(block); 38 return ::testing::AssertionFailure() << "table has no string pool for block " << block;
|
H A D | Split_test.cpp | 84 ssize_t block = table.getResource(base::R::string::test1, &val, MAY_NOT_BE_BAG, 0, NULL, &config); local 86 // The returned block should tell us which string pool to get the value, if it is a string. 87 EXPECT_GE(block, 0); 107 ssize_t block = table.getResource(base::R::string::test1, &val, MAY_NOT_BE_BAG, 0, NULL, &config); local 109 EXPECT_GE(block, 0); 155 ssize_t block = table.getResource(base::R::string::test1, &val, MAY_NOT_BE_BAG, 0, &specFlags, NULL); local 156 EXPECT_GE(block, 0); 163 block = table.getResource(base::R::string::test1, &val, MAY_NOT_BE_BAG, 0, &frSpecFlags, NULL); 164 EXPECT_GE(block, 0); 201 ssize_t block local [all...] |
H A D | ResTable_test.cpp | 125 ssize_t block = table.getResource(base::R::integer::number2, &val, MAY_NOT_BE_BAG); local 126 ASSERT_GE(block, 0); 130 ssize_t newBlock = table.resolveReference(&val, block); 131 EXPECT_EQ(block, newBlock); 141 ssize_t block = table.getResource(base::R::integer::number1, &val, MAY_NOT_BE_BAG); local 142 ASSERT_GE(block, 0); 155 block = table.getResource(base::R::integer::number1, &val, MAY_NOT_BE_BAG); 156 ASSERT_GE(block, 0); 169 ssize_t block = table.getResource(base::R::integer::number1, &val, MAY_NOT_BE_BAG); local 170 ASSERT_GE(block, [all...] |
H A D | Idmap_test.cpp | 73 ssize_t block = mTargetTable.getResource(base::R::string::test2, &val, false); local 74 ASSERT_GE(block, 0); 76 const ResStringPool* pool = mTargetTable.getTableStringBlock(block); 89 ASSERT_NE(block, newBlock);
|
/frameworks/av/media/libnbaio/ |
H A D | NBAIO.cpp | 64 ssize_t NBAIO_Sink::writeVia(writeVia_t via, size_t total, void *user, size_t block) argument 73 if (block == 0 || block > maxBlock) { 74 block = maxBlock; 76 double buffer[((frameSize * block) + sizeof(double) - 1) / sizeof(double)]; 80 if (count > block) { 81 count = block; 101 int64_t readPTS, size_t block) 110 if (block == 0 || block > maxBloc 100 readVia(readVia_t via, size_t total, void *user, int64_t readPTS, size_t block) argument [all...] |
H A D | AudioBufferProviderSource.cpp | 85 int64_t readPTS, size_t block) 90 if (CC_UNLIKELY(block == 0)) { 91 block = ~0; 99 if (CC_LIKELY(count > block)) { 100 count = block; 102 // 1 <= count <= block 111 // FIXME simplify logic - does the initial count and block checks again for no reason; 84 readVia(readVia_t via, size_t total, void *user, int64_t readPTS, size_t block) argument
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_image.c | 47 /* x- and y-coordinates for each block, defined in h264bsd_intra_prediction.c */ 183 u32 block; local 209 for (block = 0; block < 16; block++) 211 x = h264bsdBlockX[block]; 212 y = h264bsdBlockY[block]; 214 pRes = residual[block]; 230 /* Residual is zero => copy prediction block to output */ 274 for (block [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | fastcodemb.h | 32 Int(*DCT)(Int block[ ], Int coeff[ ], approxDCT *); 55 Int getBlockSAV(Int block[]); 60 Int AppVCA1_dct(Int block[], Int out[ ], approxDCT *function); 61 Int AppVCA2_dct(Int block[], Int out[ ], approxDCT *function); 62 Int AppVCA3_dct(Int block[], Int out[ ], approxDCT *function); 63 Int AppVCA4_dct(Int block[], Int out[ ], approxDCT *function); 64 Int AppVCA5_dct(Int block[], Int out[ ], approxDCT *function); 97 void BlockIDCTMotionComp(Int *block, UChar *bitmapcol, UChar bitmaprow,
|
/frameworks/base/core/java/android/content/res/ |
H A D | AssetManager.java | 151 int block = loadResourceValue(ident, (short) 0, tmpValue, true); 152 if (block >= 0) { 154 return mStringBlocks[block].get(tmpValue.data); 169 int block = loadResourceBagValue(ident, bagEntryId, tmpValue, true); 170 if (block >= 0) { 172 return mStringBlocks[block].get(tmpValue.data); 196 int block = loadResourceValue(ident, (short) density, outValue, resolveRefs); 197 if (block >= 0) { 201 outValue.string = mStringBlocks[block].get(outValue.data); 216 int block; 743 getNativeStringBlock(int block) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | ResourceTable.cpp | 271 ResXMLTree& block, bool _appendComment) 273 , sourcePos(in->getPrintableSource(), block.getLineNumber()) 315 ResXMLTree& block, 321 PendingAttribute attr(myPackage, in, block, inStyleable); 334 ssize_t identIdx = block.indexOfAttribute(NULL, "name"); 336 attr.ident = String16(block.getAttributeStringValue(identIdx, &len)); 346 block.getComment(&len) ? block.getComment(&len) : nulStr); 348 ssize_t typeIdx = block.indexOfAttribute(NULL, "format"); 350 String16 typeStr = String16(block 314 compileAttribute(const sp<AaptFile>& in, ResXMLTree& block, const String16& myPackage, ResourceTable* outTable, String16* outIdent = NULL, bool inStyleable = false) argument 575 parseAndAddBag(Bundle* bundle, const sp<AaptFile>& in, ResXMLTree* block, const ResTable_config& config, const String16& myPackage, const String16& curType, const String16& ident, const String16& parentIdent, const String16& itemIdent, int32_t curFormat, bool isFormatted, const String16& product, PseudolocalizationMethod pseudolocalize, const bool overwrite, ResourceTable* outTable) argument 670 parseAndAddEntry(Bundle* bundle, const sp<AaptFile>& in, ResXMLTree* block, const ResTable_config& config, const String16& myPackage, const String16& curType, const String16& ident, const String16& curTag, bool curIsStyled, int32_t curFormat, bool isFormatted, const String16& product, PseudolocalizationMethod pseudolocalize, const bool overwrite, KeyedVector<type_ident_pair_t, bool>* skippedResourceNames, ResourceTable* outTable) argument 767 ResXMLTree block; local [all...] |
H A D | Resource.cpp | 225 ResXMLTree block; local 226 status_t err = parseXMLResource(file, &block); 230 //printXMLBlock(&block); 233 while ((code=block.next()) != ResXMLTree::START_TAG 241 file->getPrintableSource().string(), block.getLineNumber()); 244 if (strcmp16(block.getElementName(&len), String16("manifest").string()) != 0) { 246 file->getPrintableSource().string(), block.getLineNumber(), 247 String8(block.getElementName(&len)).string()); 251 ssize_t nameIndex = block.indexOfAttribute(NULL, "package"); 254 file->getPrintableSource().string(), block 1359 ResXMLTree block; local 1491 ResXMLTree block; local 1633 ssize_t block = resTable.getResource(symbol.id, &val, true); local 1715 ResXMLTree block; local [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | RandomBlock.java | 30 * A block of 512 random {@code byte}s. 37 private byte[] block = new byte[BLOCK_SIZE]; field in class:RandomBlock 56 int result = in.read(retval.block, total, BLOCK_SIZE - total); 88 out.write(block);
|
/frameworks/av/include/media/nbaio/ |
H A D | AudioBufferProviderSource.h | 47 int64_t readPTS, size_t block);
|
/frameworks/av/services/audioflinger/ |
H A D | StateQueue.cpp | 94 template<typename T> bool StateQueue<T>::push(StateQueue<T>::block_t block) argument 103 if (block == BLOCK_UNTIL_ACKED) { 126 if (block == BLOCK_NEVER) { 158 if (block == BLOCK_UNTIL_ACKED) {
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | SilencePlaybackQueueItem.java | 36 wasStopped = mCondVar.block(mSilenceDurationMs);
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | RequestHandlerThread.java | 53 mStarted.block(); 110 mIdle.block();
|
/frameworks/base/core/jni/ |
H A D | android_util_AssetManager.cpp | 99 const Res_value& value, uint32_t ref, ssize_t block, 103 const Res_value& value, uint32_t ref, ssize_t block, 108 static_cast<jint>(table->getTableCookie(block))); 117 return block; 806 ssize_t block = res.getResource(ident, &value, false, density, &typeSpecFlags, &config); local 808 if (block == BAD_INDEX) { 815 block = res.resolveReference(&value, block, &ref, &typeSpecFlags, &config); 817 if (block == BAD_INDEX) { 823 if (block > 102 copyValue(JNIEnv* env, jobject outValue, const ResTable* table, const Res_value& value, uint32_t ref, ssize_t block, uint32_t typeSpecFlags, ResTable_config* config) argument 843 ssize_t block = -1; local 890 android_content_AssetManager_getNativeStringBlock(JNIEnv* env, jobject clazz, jint block) argument 978 ssize_t block = theme->getAttribute(ident, &value, &typeSpecFlags); local 1112 ssize_t block = 0; local 1330 ssize_t block = 0; local 1521 ssize_t block = 0; local 1632 ssize_t block; local 1732 ResXMLTree* block = new ResXMLTree(dynamicRefTable); local 1826 ssize_t block = res.resolveReference(&value, bag->stringBlock, NULL); local 1889 ssize_t block = res.resolveReference(&value, bag->stringBlock, NULL); local [all...] |
/frameworks/base/core/java/com/android/server/ |
H A D | ResettableTimeout.java | 69 mLock.block();
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/ |
H A D | omxVCM4P2_PredictReconCoefIntra_s.s | 33 ; * Performs adaptive DC/AC coefficient prediction for an intra block. Prior 42 ; * block; must be aligned on a 4-byte boundary. The 49 ; * [in] curQP quantization parameter of the current block. curQP may 50 ; * equal to predQP especially when the current block and 51 ; * the predictor block are in the same macroblock. 52 ; * [in] predQP quantization parameter of the predictor block 61 ; * alpha) of the current block 64 ; * block
|
/frameworks/compile/libbcc/lib/Support/ |
H A D | sha1.c | 115 #define blk0(i) (block->l[i]=(rol(block->l[i],24)&0xFF00FF00) \ 116 |(rol(block->l[i],8)&0x00FF00FF)) 118 #define blk0(i) block->l[i] 120 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \ 121 ^block->l[(i+2)&15]^block->l[i&15],1)) 131 /* Hash a single 512-bit block 141 CHAR64LONG16* block; local [all...] |
/frameworks/base/tools/preload/ |
H A D | sorttable.js | 449 Array.forEach = function(array, block, context) { 451 block.call(context, array[i], i, array); 457 Function.prototype.forEach = function(object, block, context) { 460 block.call(context, object[key], key, object); 466 String.forEach = function(string, block, context) { 468 block.call(context, chr, index, string); 473 var forEach = function(object, block, context) { 481 object.forEach(block, context); 490 resolve.forEach(object, block, context);
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | block.cpp | 82 int16 *coef = video->block; 83 uint8 *pred = video->pred_block; // size 16 for a 4x4 block 91 coef += ((blkidx & 0x3) << 2) + ((blkidx >> 2) << 6); /* point to the 4x4 block */ 192 if (video->currMB->mb_intra) // only do inverse transform with intra block 262 int16 *coef, *coef8 = video->block; 366 int16 *coef = video->block; 566 /* offset btw 4x4 block */ 570 /* offset btw 8x8 block */ 729 int16 *coef = video->block + 256; 909 /* offset btw 4x4 block */ 1117 int16 *block = video->block; local 1207 TransQuantChromaDC(AVCEncObject *encvid, int16 *block, int slice_type, int cr) argument [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
H A D | CameraTest.java | 101 if (!startDone.block(WAIT_FOR_COMMAND_TO_COMPLETE)) { 179 if (!mPreviewDone.block(WAIT_FOR_COMMAND_TO_COMPLETE)) { 186 if (!mSnapshotDone.block(MediaNames.WAIT_SNAPSHOT_TIME)) {
|