Searched refs:block (Results 76 - 100 of 169) sorted by relevance

1234567

/frameworks/base/libs/androidfw/tests/
H A DBenchmarkHelpers.cpp48 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 Dadbutil.py50 def __call_adb(serial, args, block):
55 if block:
/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/base/tools/aapt/
H A DResource.cpp230 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 DAaptXml.cpp119 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 DCameraTest.java101 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 DNBAIO.h166 // 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 DNBAIO.h166 // 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 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/base/core/java/android/content/res/
H A DApkAssets.java153 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 DActivityTransition.java40 R.drawable.block,
51 R.id.block,
62 "block",
/frameworks/base/tools/aapt2/util/
H A DBigBuffer.h35 * 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 DView.kt268 * 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 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...]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DNotificationInfoTest.java254 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 DHlsSampleDecryptor.h44 static AString aesBlockToStr(uint8_t block[AES_BLOCK_SIZE]);
/frameworks/av/services/audioflinger/
H A DStateQueue.h29 // 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 DMifareClassic.java115 /** 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 DTarBackupReader.java100 * 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 DCameraTestThread.java63 if (!startDone.block(WAIT_FOR_COMMAND_TO_COMPLETE)) {
/frameworks/support/core/ktx/src/main/java/androidx/core/content/res/
H A DTypedArray.kt227 * 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 DSurfaceTextureSource.java188 gotNewFrame = mNewFrameAvailable.block(mWaitTimeout);
199 mNewFrameAvailable.block();
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DCamera2SurfaceViewActivity.java76 changeSucceeded = surfaceChangedDone.block(waitTimeMs);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
H A DNotificationInflaterTest.java214 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 Drs_io.spec61 Sends a message back to the client. This call does not block.
84 Sends a message back to the client. This function will block

Completed in 620 milliseconds

1234567