Searched refs:block (Results 1 - 25 of 80) sorted by relevance

1234

/frameworks/base/core/java/android/os/
H A DConditionVariable.java25 * 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/compile/libbcc/runtime/www/
H A Dmenu.css22 display:block;
26 display:block;
33 display:block;
/frameworks/av/media/libnbaio/
H A DNBAIO.cpp95 ssize_t NBAIO_Sink::writeVia(writeVia_t via, size_t total, void *user, size_t block) argument
104 if (block == 0 || block > maxBlock) {
105 block = maxBlock;
107 double buffer[((frameSize * block) + sizeof(double) - 1) / sizeof(double)];
111 if (count > block) {
112 count = block;
132 int64_t readPTS, size_t block)
141 if (block == 0 || block > maxBloc
131 readVia(readVia_t via, size_t total, void *user, int64_t readPTS, size_t block) argument
[all...]
H A DAudioBufferProviderSource.cpp85 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 Dh264bsd_image.c47 /* 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/base/tools/aapt/
H A DResourceTable.cpp254 ResXMLTree& block, bool _appendComment)
256 , sourcePos(in->getPrintableSource(), block.getLineNumber())
298 ResXMLTree& block,
304 PendingAttribute attr(myPackage, in, block, inStyleable);
317 ssize_t identIdx = block.indexOfAttribute(NULL, "name");
319 attr.ident = String16(block.getAttributeStringValue(identIdx, &len));
329 block.getComment(&len) ? block.getComment(&len) : nulStr);
331 ssize_t typeIdx = block.indexOfAttribute(NULL, "format");
333 String16 typeStr = String16(block
297 compileAttribute(const sp<AaptFile>& in, ResXMLTree& block, const String16& myPackage, ResourceTable* outTable, String16* outIdent = NULL, bool inStyleable = false) argument
567 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, bool pseudolocalize, const bool overwrite, ResourceTable* outTable) argument
638 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, bool pseudolocalize, const bool overwrite, ResourceTable* outTable) argument
727 ResXMLTree block; local
[all...]
H A DResource.cpp208 ResXMLTree block; local
209 status_t err = parseXMLResource(file, &block);
213 //printXMLBlock(&block);
216 while ((code=block.next()) != ResXMLTree::START_TAG
224 file->getPrintableSource().string(), block.getLineNumber());
227 if (strcmp16(block.getElementName(&len), String16("manifest").string()) != 0) {
229 file->getPrintableSource().string(), block.getLineNumber(),
230 String8(block.getElementName(&len)).string());
234 ssize_t nameIndex = block.indexOfAttribute(NULL, "package");
237 file->getPrintableSource().string(), block
1112 ResXMLTree block; local
1216 ResXMLTree block; local
1321 ResXMLTree block; local
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfastcodemb.h32 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 DAssetManager.java151 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;
270 getPooledString(int block, int id) argument
707 getNativeStringBlock(int block) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DRandomBlock.java30 * A 4k block of 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 DAudioBufferProviderSource.h47 int64_t readPTS, size_t block);
H A DNBAIO.h154 // WOULD_BLOCK Determining how many frames can be written without blocking would itself block.
179 // block Number of frames per block, that is a suggested value for 'count' in each callback.
201 virtual ssize_t writeVia(writeVia_t via, size_t total, void *user, size_t block = 0);
251 // WOULD_BLOCK Determining how many frames can be read without blocking would itself block.
280 // block Number of frames per block, that is a suggested value for 'count' in each callback.
303 int64_t readPTS, size_t block = 0);
/frameworks/av/services/audioflinger/
H A DStateQueue.cpp91 template<typename T> bool StateQueue<T>::push(StateQueue<T>::block_t block) argument
100 if (block == BLOCK_UNTIL_ACKED) {
123 if (block == BLOCK_NEVER) {
155 if (block == BLOCK_UNTIL_ACKED) {
/frameworks/base/core/java/android/speech/tts/
H A DSilencePlaybackQueueItem.java36 mCondVar.block(mSilenceDurationMs);
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp82 const Res_value& value, uint32_t ref, ssize_t block,
86 const Res_value& value, uint32_t ref, ssize_t block,
91 (jint)table->getTableCookie(block));
100 return block;
697 ssize_t block = res.getResource(ident, &value, false, density, &typeSpecFlags, &config); local
699 if (block == BAD_INDEX) {
706 block = res.resolveReference(&value, block, &ref, &typeSpecFlags, &config);
708 if (block == BAD_INDEX) {
714 return block >
85 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
730 ssize_t block = -1; local
773 android_content_AssetManager_getNativeStringBlock(JNIEnv* env, jobject clazz, jint block) argument
841 ssize_t block = theme->getAttribute(ident, &value, &typeSpecFlags); local
981 ssize_t block = 0; local
1178 ssize_t block = 0; local
1288 ssize_t block; local
1384 ResXMLTree* block = new ResXMLTree(); local
1484 ssize_t block = res.resolveReference(&value, bag->stringBlock, NULL); local
1547 ssize_t block = res.resolveReference(&value, bag->stringBlock, NULL); local
[all...]
/frameworks/base/core/java/com/android/server/
H A DResettableTimeout.java69 mLock.block();
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_PredictReconCoefIntra_s.s19 ; * Performs adaptive DC/AC coefficient prediction for an intra block. Prior
28 ; * block; must be aligned on a 4-byte boundary. The
35 ; * [in] curQP quantization parameter of the current block. curQP may
36 ; * equal to predQP especially when the current block and
37 ; * the predictor block are in the same macroblock.
38 ; * [in] predQP quantization parameter of the predictor block
47 ; * alpha) of the current block
50 ; * block
H A DarmVCM4P2_SetPredDir_s.s22 ; * [in] blockIndex block index indicating the component type and
29 ; * [out]predQP quantization parameter of the predictor block
/frameworks/compile/libbcc/lib/Support/
H A Dsha1.c116 #define blk0(i) (block->l[i]=(rol(block->l[i],24)&0xFF00FF00) \
117 |(rol(block->l[i],8)&0x00FF00FF))
119 #define blk0(i) block->l[i]
121 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \
122 ^block->l[(i+2)&15]^block->l[i&15],1))
132 /* Hash a single 512-bit block
142 CHAR64LONG16* block; local
[all...]
/frameworks/base/tools/preload/
H A Dsorttable.js449 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 Dblock.cpp82 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 DCameraTest.java96 if (!startDone.block(WAIT_FOR_COMMAND_TO_COMPLETE)) {
174 if (!mPreviewDone.block(WAIT_FOR_COMMAND_TO_COMPLETE)) {
181 if (!mSnapshotDone.block(MediaNames.WAIT_SNAPSHOT_TIME)) {
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Didct.cpp22 This file contains the functions that transform an 8r8 image block from
44 coefficients of type int for an 8r8 image block;
57 blk points to the found IDCT values for an 8r8 image block.
68 This function transforms an 8r8 image block from dequantized DCT coefficients
538 res = (*pred++ + block[0+(i<<3)]);
541 res = (*pred++ + block[1+(i<<3)]);
544 res = (*pred++ + block[2+(i<<3)]);
547 res = (*pred++ + block[3+(i<<3)]);
550 res = (*pred++ + block[4+(i<<3)]);
553 res = (*pred++ + block[
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DarmVCM4P2_SetPredDir_s.s22 ; * [in] blockIndex block index indicating the component type and
29 ; * [out]predQP quantization parameter of the predictor block
H A DomxVCM4P2_PredictReconCoefIntra_s.s19 ; * Performs adaptive DC/AC coefficient prediction for an intra block. Prior
28 ; * block; must be aligned on a 4-byte boundary. The
35 ; * [in] curQP quantization parameter of the current block. curQP may
36 ; * equal to predQP especially when the current block and
37 ; * the predictor block are in the same macroblock.
38 ; * [in] predQP quantization parameter of the predictor block
47 ; * alpha) of the current block
50 ; * block

Completed in 485 milliseconds

1234