/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/av/services/audioflinger/ |
H A D | StateQueue.cpp | 91 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/services/java/com/android/server/ |
H A D | RandomBlock.java | 30 * 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/media/libnbaio/ |
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
|
H A D | NBAIO.cpp | 95 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...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/ |
H A D | h264bsd_interpolate_chroma_hor.s | 38 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 D | h264bsd_interpolate_chroma_hor_ver.s | 39 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 D | h264bsd_interpolate_chroma_ver.s | 37 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/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...] |
H A D | h264bsd_intra_prediction.c | 84 /* 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 D | h264bsd_reconstruct.c | 125 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/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | fastcodemb.cpp | 86 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 D | fastidct.cpp | 1849 /* 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/base/core/java/android/nfc/tech/ |
H A D | MifareClassic.java | 115 /** Size of a MIFARE Classic block (in bytes) */ 127 * <p>Does not cause any RF activity and does not block. 208 * <p>Does not cause any RF activity and does not block. 220 * <p>Does not cause any RF activity and does not block. 239 * <p>Does not cause any RF activity and does not block. 259 * <p>Does not cause any RF activity and does not block. 268 * <p>Does not cause any RF activity and does not block. 284 * Return the sector that contains a given block. 285 * <p>Does not cause any RF activity and does not block. 287 * @param blockIndex index of block t 641 validateBlock(int block) argument [all...] |
/frameworks/compile/libbcc/bcinfo/Wrap/ |
H A D | bitcode_wrapperer.cpp | 321 size_t block = (buffer_size_ < size) ? buffer_size_ : size; local 322 if (!outfile_->Write(&buffer_[cursor_], block)) return false; 323 size -= block;
|
/frameworks/compile/libbcc/lib/Support/ |
H A D | sha1.c | 116 #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/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/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | vlc_decode.cpp | 355 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...] |
/frameworks/base/tools/aapt/ |
H A D | StringPool.cpp | 367 sp<AaptFile> block = createStringBlock(); local 368 if (block == NULL) { 371 ssize_t res = pool->writeData(block->getData(), block->getSize());
|
H A D | XMLNode.cpp | 415 void printXMLBlock(ResXMLTree* block) argument 417 block->restart(); 423 while ((code=block->next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { 428 const uint16_t* ns16 = block->getElementNamespace(&len); 430 const uint16_t* com16 = block->getComment(&len); 435 String8(block->getElementName(&len)).string(), 436 block->getLineNumber()); 437 int N = block->getAttributeCount(); 441 uint32_t res = block->getAttributeNameResID(i); 442 ns16 = block [all...] |
/frameworks/compile/libbcc/runtime/BlocksRuntime/ |
H A D | runtime.c | 285 /* 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/av/media/libstagefright/matroska/ |
H A D | MatroskaExtractor.cpp | 101 const mkvparser::Block *block() const; 306 } while (!eos() && block()->GetTrackNumber() != mTrackNum); 328 } while (!eos() && block()->GetTrackNumber() != mTrackNum); 409 if (isAudio || block()->IsKey()) { 411 *actualFrameTimeUs = (block()->GetTime(mCluster) + 500LL) / 1000LL; 419 const mkvparser::Block *BlockIterator::block() const { function in class:android::BlockIterator 463 const mkvparser::Block *block = mBlockIter.block(); local 467 for (int i = 0; i < block->GetFrameCount(); ++i) { 468 const mkvparser::Block::Frame &frame = block [all...] |
/frameworks/base/cmds/installd/ |
H A D | utils.c | 387 // block for it. 392 CACHE_NOISY(ALOGI("Allocated large cache mem block: %p size %d", res, len)); 410 CACHE_NOISY(ALOGI("Allocated new cache mem block: %p", newBlock)); 417 CACHE_NOISY(ALOGI("cache_malloc: ret %p size %d, block=%p, nextPos=%p", 785 void* block = cache->memBlocks; local 786 while (block != NULL) { 787 void* nextBlock = *(void**)block; 788 CACHE_NOISY(ALOGI("Freeing cache mem block: %p", block)); 789 free(block); [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | XmlBlock.java | 78 Parser(int parseState, XmlBlock block) { argument 80 mBlock = block; 81 block.mOpenCount++; 474 * Create from an existing xml block native object. This is
|
/frameworks/base/tools/aidl/ |
H A D | generate_java_rpc.cpp | 161 StatementBlock* block = ifs->statements = new StatementBlock; local 183 block->Add(new VariableDeclaration(v)); 185 generate_create_from_data(t, block, arg->name.data, v, 189 block->Add(new Assignment(v, new NewExpression(v->type))); 192 generate_new_array(v->type, block, v, this->requestData); 219 block->Add(realCall); 223 block->Add(new VariableDeclaration(_result, realCall)); 227 block->Add(new Assignment(this->resultData, 233 generate_write_to_data(returnType, block, 247 block [all...] |