Searched defs:block (Results 1 - 25 of 31) sorted by relevance

12

/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/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/base/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_chroma_hor.s38 block RN 1 label
116 ADD block, sp, #0x1c ;// block
123 ADD block, sp, #0x1c ;// block
125 MLA block, chrPH, tmp8, block;// block + (chromaPH)*(chromaPW+1)
132 ADD ref, sp, #0x1c ;// ref = block
H A Dh264bsd_interpolate_chroma_hor_ver.s39 block RN 1 label
121 ADD block, sp, #0x1c ;// block
128 ADD block, sp, #0x1c ;// block
130 MLA block, tmp2, tmp1, block;// block + (chromaPW+1)*(chromaPH+1)
137 ADD ref, sp, #0x1c ;// ref = block
H A Dh264bsd_interpolate_chroma_ver.s37 block RN 1 label
115 ADD block, sp, #0x1c ;// block
122 ADD block, sp, #0x1c ;// block
124 MLA block, chrPW, tmp1, block;// block + (chromaPW)*(chromaPH+1)
131 ADD ref, sp, #0x1c ;// ref = block
175 ;// Process 2x2 block
[all...]
/frameworks/base/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...]
H A Dh264bsd_intra_prediction.c84 /* x- and y-coordinates for each block */
258 block is stored in 'pMb' structure.
264 u32 constrainedIntraPred, u32 block)
281 ASSERT(pMb->intra4x4PredMode[block] < 9);
283 neighbour = *h264bsdNeighbour4x4BlockA(block);
292 neighbourB = *h264bsdNeighbour4x4BlockB(block);
303 &neighbour, &neighbourB, block, nMb, nMb2);
304 pMb->intra4x4PredMode[block] = (u8)mode;
306 neighbour = *h264bsdNeighbour4x4BlockC(block);
315 neighbour = *h264bsdNeighbour4x4BlockD(block);
261 h264bsdIntra4x4Prediction(mbStorage_t *pMb, u8 *data, macroblockLayer_t *mbLayer, u8 *ptr, u32 width, u32 constrainedIntraPred, u32 block) argument
703 u32 block; local
846 u32 i, comp, block; local
[all...]
H A Dh264bsd_reconstruct.c125 u8 block[9*8*2]; local
138 h264bsdFillBlock(pRef, block, x0, y0, width, height,
141 h264bsdFillBlock(pRef, block + (chromaPartWidth+1)*chromaPartHeight,
145 pRef = block;
221 u8 block[9*8*2]; local
234 h264bsdFillBlock(pRef, block, x0, y0, width, height, chromaPartWidth,
237 h264bsdFillBlock(pRef, block + chromaPartWidth*(chromaPartHeight+1),
241 pRef = block;
312 u8 block[9*9*2]; local
329 h264bsdFillBlock(ref, block, x
[all...]
/frameworks/base/core/java/android/nfc/tech/
H A DMifareClassic.java115 /** Size of a MIFARE Classic block (in bytes) */
127 * <p>Does not cause any RF activity and does not block.
207 * <p>Does not cause any RF activity and does not block.
219 * <p>Does not cause any RF activity and does not block.
238 * <p>Does not cause any RF activity and does not block.
258 * <p>Does not cause any RF activity and does not block.
267 * <p>Does not cause any RF activity and does not block.
283 * Return the sector that contains a given block.
284 * <p>Does not cause any RF activity and does not block.
286 * @param blockIndex index of block t
640 validateBlock(int block) argument
[all...]
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfastcodemb.cpp86 output = video->outputMB->block[0];
195 { /* For shortHeader intra block, DC value cannot be zero */
317 output = video->outputMB->block[0];
369 {//Y block
385 {// U, V block
478 /* Purpose : Get SAV for one block */
479 /* In/out : block[64] contain one block data */
484 Int getBlockSAV(Short block[]) argument
491 val = *block
[all...]
H A Dfastidct.cpp1849 /* Modified : 7/31/01, add checking for all-zero and DC-only block. */
1855 /* 9/4/05, use Chen's IDCT and 16 bit block */
1857 void BlockIDCTMotionComp(Short *block, UChar *bitmapcol, UChar bitmaprow, argument
1864 Short *ptr = block;
1870 /* all-zero block */
1914 /* Test for DC only block */
1917 i = ((block[0] << 3) + 32) >> 6;
1918 block[0] = 0;
2009 (*(idctrowVCAIntra[(Int)(bitmaprow>>4)]))(block, rec, lx);
2011 (*(idctrowVCAzmv[(Int)(bitmaprow>>4)]))(block, re
[all...]
/frameworks/compile/libbcc/helper/
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/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/libstagefright/codecs/m4v_h263/dec/src/
H A Dvlc_decode.cpp355 int block,
376 indx = ((mbnum_col << 1) + (block & 1)) + ((mbnum_row << 1) + (block >> 1)) * nMVPerRow - 1; /* left block */
378 if (block & 1) /* block 1, 3 */
384 else /* block 0, 2 */
395 if (block >> 1)
397 indx -= (block & 1);
405 { /* block
353 mv_prediction( VideoDecData *video, int block, MOT *mvx, MOT *mvy ) argument
[all...]
H A Dmp4lib_int.h136 typeMBStore block; /* blocks */ /* ACDC */ member in struct:tagMacroBlock
137 uint8 pred_block[384]; /* prediction block, Aug 3,2005 */
/frameworks/base/tools/aapt/
H A DStringPool.cpp194 sp<AaptFile> block = createStringBlock(); local
195 if (block == NULL) {
198 ssize_t res = pool->writeData(block->getData(), block->getSize());
H A DXMLNode.cpp408 void printXMLBlock(ResXMLTree* block) argument
410 block->restart();
416 while ((code=block->next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) {
421 const uint16_t* ns16 = block->getElementNamespace(&len);
423 const uint16_t* com16 = block->getComment(&len);
428 String8(block->getElementName(&len)).string(),
429 block->getLineNumber());
430 int N = block->getAttributeCount();
434 uint32_t res = block->getAttributeNameResID(i);
435 ns16 = block
[all...]
/frameworks/compile/libbcc/runtime/BlocksRuntime/
H A Druntime.c285 /* Copy, or bump refcount, of a block. If really copying, call the copy helper if present. */
313 // Its a stack block. Make a copy.
323 //printf("calling block copy helper %p(%p, %p)...\n", aBlock->descriptor->copy, result, aBlock);
330 // This allows the copy helper routines to make non-refcounted block copies under GC
337 // if we copy a malloc block to a GC block then we need to clear NEEDS_FREE.
345 //printf("calling block copy helper...\n");
393 // If more than one field shows up in a byref block this is wrong XXX
410 // assign byref data block pointer into new Block
433 //printf("disposing of heap based byref block\
621 _Block_dump(const void *block) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DXmlBlock.java78 Parser(int parseState, XmlBlock block) { argument
80 mBlock = block;
81 block.mOpenCount++;
474 * Create from an existing xml block native object. This is
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/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp98 const mkvparser::Block *block() const;
303 } while (!eos() && block()->GetTrackNumber() != mTrackNum);
316 while (!eos() && block()->GetTrackNumber() != mTrackNum);
325 const mkvparser::Block *BlockIterator::block() const { function in class:android::BlockIterator
369 const mkvparser::Block *block = mBlockIter.block(); local
373 for (int i = 0; i < block->GetFrameCount(); ++i) {
374 const mkvparser::Block::Frame &frame = block->GetFrame(i);
378 mbuf->meta_data()->setInt32(kKeyIsSyncFrame, block->IsKey());
775 if (iter.block()
[all...]
/frameworks/base/opengl/libs/ETC1/
H A Detc1.cpp21 The number of bits that represent a 4x4 texel block is 64 bits if
24 The data for a block is a number of bytes,
29 the highest. The 64 bits specifying the block is then represented
520 etc1_byte block[ETC1_DECODED_BLOCK_SIZE]; local
539 etc1_byte* q = block + (cy * 4) * 3;
553 etc1_encode_block(block, mask, encoded);
574 etc1_byte block[ETC1_DECODED_BLOCK_SIZE]; local
589 etc1_decode_block(pIn, block);
592 const etc1_byte* q = block + (cy * 4) * 3;
/frameworks/base/core/java/android/app/
H A DInstrumentation.java435 * @param block Controls whether the monitor should block the activity
442 IntentFilter which, ActivityResult result, boolean block) {
446 mBlock = block;
456 * @param block Controls whether the monitor should block the activity
463 String cls, ActivityResult result, boolean block) {
467 mBlock = block;
612 * @param block Controls whether the monitor should block th
441 ActivityMonitor( IntentFilter which, ActivityResult result, boolean block) argument
462 ActivityMonitor( String cls, ActivityResult result, boolean block) argument
621 addMonitor( IntentFilter filter, ActivityResult result, boolean block) argument
644 addMonitor( String cls, ActivityResult result, boolean block) argument
[all...]
/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);
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/media/java/android/media/
H A DMediaPlayer.java1107 * shorthands to allow/block all or no metadata.
1113 * @param block Is the set of metadata the client is not interested
1120 public int setMetadataFilter(Set<Integer> allow, Set<Integer> block) { argument
1132 int capacity = request.dataSize() + 4 * (1 + allow.size() + 1 + block.size());
1142 request.writeInt(block.size());
1143 for(Integer t: block) {

Completed in 1926 milliseconds

12