/frameworks/base/libs/androidfw/tests/ |
H A D | BenchmarkHelpers.cpp | 48 ssize_t block = table.getResource(resid, &value, false /*may_be_bag*/, 0u /*density*/, &flags, local 50 table.resolveReference(&value, block, &last_ref, &flags, &selected_config);
|
/frameworks/base/tests/JankBench/scripts/ |
H A D | adbutil.py | 50 def __call_adb(serial, args, block): 55 if block:
|
/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/base/tools/aapt/ |
H A D | Resource.cpp | 230 ResXMLTree block; local 231 status_t err = parseXMLResource(file, &block); 235 //printXMLBlock(&block); 238 while ((code=block.next()) != ResXMLTree::START_TAG 246 file->getPrintableSource().string(), block.getLineNumber()); 249 if (strcmp16(block.getElementName(&len), String16("manifest").string()) != 0) { 251 file->getPrintableSource().string(), block.getLineNumber(), 252 String8(block.getElementName(&len)).string()); 256 ssize_t nameIndex = block.indexOfAttribute(NULL, "package"); 259 file->getPrintableSource().string(), block 1523 ResXMLTree block; local 1670 ResXMLTree block; local 1842 ssize_t block = resTable.getResource(symbol.id, &val, true); local 1922 ResXMLTree block; local [all...] |
H A D | AaptXml.cpp | 119 ssize_t block = resTable.resolveReference(&value, 0); local 120 if (block < 0) { 135 const char16_t* str = resTable.valueToString(&value, static_cast<size_t>(block), NULL, &len);
|
/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)) {
|
/frameworks/av/include/media/nbaio/ |
H A D | NBAIO.h | 166 // WOULD_BLOCK Determining how many frames can be written without blocking would itself block. 196 // block Number of frames per block, that is a suggested value for 'count' in each callback. 218 virtual ssize_t writeVia(writeVia_t via, size_t total, void *user, size_t block = 0); 259 // WOULD_BLOCK Determining how many frames can be read without blocking would itself block. 295 // block Number of frames per block, that is a suggested value for 'count' in each callback. 317 virtual ssize_t readVia(readVia_t via, size_t total, void *user, size_t block = 0);
|
/frameworks/av/media/libnbaio/include_mono/media/nbaio/ |
H A D | NBAIO.h | 166 // WOULD_BLOCK Determining how many frames can be written without blocking would itself block. 196 // block Number of frames per block, that is a suggested value for 'count' in each callback. 218 virtual ssize_t writeVia(writeVia_t via, size_t total, void *user, size_t block = 0); 259 // WOULD_BLOCK Determining how many frames can be read without blocking would itself block. 295 // block Number of frames per block, that is a suggested value for 'count' in each callback. 317 virtual ssize_t readVia(readVia_t via, size_t total, void *user, size_t block = 0);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | idct.cpp | 22 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/base/core/java/android/content/res/ |
H A D | ApkAssets.java | 153 try (XmlBlock block = new XmlBlock(null, nativeXmlPtr)) { 154 XmlResourceParser parser = block.newParser(); 158 throw new AssertionError("block.newParser() returned a null parser");
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A D | ActivityTransition.java | 40 R.drawable.block, 51 R.id.block, 62 "block",
|
/frameworks/base/tools/aapt2/util/ |
H A D | BigBuffer.h | 35 * block is allocated and appended to the end of the list. 40 * A contiguous block of allocated memory. 58 * The size of the memory block allocation. 66 * Create a BigBuffer with block allocation sizes 86 * Returns the next block available and puts the size in out_count. 106 * Pads the block with 'bytes' bytes of zero values. 111 * Pads the block so that it aligns on a 4 byte boundary. 157 Block& block = blocks_.back(); local 158 block.size -= count;
|
/frameworks/support/core/ktx/src/main/java/androidx/core/view/ |
H A D | View.kt | 268 * Executes [block] with the View's layoutParams and reassigns the layoutParams with the 274 inline fun View.updateLayoutParams(block: ViewGroup.LayoutParams.() -> Unit) { 275 updateLayoutParams<ViewGroup.LayoutParams>(block) 279 * Executes [block] with a typed version of the View's layoutParams and reassigns the 286 inline fun <reified T : ViewGroup.LayoutParams> View.updateLayoutParams(block: T.() -> Unit) { 288 block(params)
|
/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...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
H A D | NotificationInfoTest.java | 254 final View block = mNotificationInfo.findViewById(R.id.block); 256 assertEquals(VISIBLE, block.getVisibility()); 265 final View block = mNotificationInfo.findViewById(R.id.block); 267 assertEquals(GONE, block.getVisibility()); 357 final TextView blockView = mNotificationInfo.findViewById(R.id.block); 396 mNotificationInfo.findViewById(R.id.block).performClick(); 454 mNotificationInfo.findViewById(R.id.block).performClick(); 475 mNotificationInfo.findViewById(R.id.block) [all...] |
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | HlsSampleDecryptor.h | 44 static AString aesBlockToStr(uint8_t block[AES_BLOCK_SIZE]);
|
/frameworks/av/services/audioflinger/ |
H A D | StateQueue.h | 29 // ok to block for bounded time using nanosleep() to achieve desired period 30 // must not block on condition wait, mutex lock, atomic operation spin, I/O, etc. 32 // ok to block for unbounded time when the output HAL configuration changes, 37 // avoid conventional logging, as this is a form of I/O and could block 45 // ok to block, but prefer to avoid as much as possible 64 // still limit the mutator to a finite number of changes before it would block. A future 161 // false if dirty and not pushed because that would block; remains dirty 167 BLOCK_NEVER, // do not block 168 BLOCK_UNTIL_PUSHED, // block until there's a slot available for the push 169 BLOCK_UNTIL_ACKED, // also block unti [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/base/services/backup/java/com/android/server/backup/utils/ |
H A D | TarBackupReader.java | 100 * Consumes a tar file header block [sequence] and accumulates the relevant metadata. 103 byte[] block = new byte[512]; 106 boolean gotHeader = readTarHeader(block); 111 info.size = extractRadix(block, 115 info.mtime = extractRadix(block, 119 info.mode = extractRadix(block, 124 info.path = extractString(block, 127 String path = extractString(block, 138 int typeChar = block[TAR_HEADER_OFFSET_TYPE_CHAR]; 145 gotHeader = readTarHeader(block); 673 readTarHeader(byte[] block) argument 776 hexLog(byte[] block) argument [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | CameraTestThread.java | 63 if (!startDone.block(WAIT_FOR_COMMAND_TO_COMPLETE)) {
|
/frameworks/support/core/ktx/src/main/java/androidx/core/content/res/ |
H A D | TypedArray.kt | 227 * Executes the given [block] function on this TypedArray and then recycles it. 231 inline fun <R> TypedArray.use(block: (TypedArray) -> R): R { 232 return block(this).also {
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
H A D | SurfaceTextureSource.java | 188 gotNewFrame = mNewFrameAvailable.block(mWaitTimeout); 199 mNewFrameAvailable.block();
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
H A D | Camera2SurfaceViewActivity.java | 76 changeSucceeded = surfaceChangedDone.block(waitTimeMs);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationInflaterTest.java | 214 public static void runThenWaitForInflation(Runnable block, argument 216 runThenWaitForInflation(block, false /* expectingException */, inflater); 219 private static void runThenWaitForInflation(Runnable block, boolean expectingException, argument 247 block.run();
|
/frameworks/rs/script_api/ |
H A D | rs_io.spec | 61 Sends a message back to the client. This call does not block. 84 Sends a message back to the client. This function will block
|