Searched refs:block (Results 51 - 75 of 169) sorted by relevance

1234567

/frameworks/support/navigation/testing/ktx/src/main/java/androidx/navigation/testing/
H A DTestNavigatorDestinationBuilder.kt37 block: TestNavigatorDestinationBuilder.() -> Unit
38 ) = destination(TestNavigatorDestinationBuilder(provider[TestNavigator::class], id).apply(block))
/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/libs/androidfw/tests/
H A DIdmap_test.cpp64 ssize_t block = target_table_.getResource(R::string::test2, &val, false); local
65 ASSERT_GE(block, 0);
67 const ResStringPool* pool = target_table_.getTableStringBlock(block);
81 ASSERT_NE(block, new_block);
117 ssize_t block = table.getResource(kNonOverlaidResourceId, &val, false /*mayBeBag*/); local
118 ASSERT_GE(block, 0);
123 block = target_table_.getResource(kNonOverlaidResourceId, &val, false /*mayBeBag*/);
124 ASSERT_LT(block, 0);
H A DSplit_test.cpp87 ssize_t block = table.getResource(R::string::test1, &val, MAY_NOT_BE_BAG, 0, local
90 // The returned block should tell us which string pool to get the value, if it
92 EXPECT_GE(block, 0);
115 ssize_t block = table.getResource(R::string::test1, &val, MAY_NOT_BE_BAG, 0, local
118 EXPECT_GE(block, 0);
164 ssize_t block = table.getResource(R::string::test1, &val, MAY_NOT_BE_BAG, 0, local
166 EXPECT_GE(block, 0);
174 block = table.getResource(R::string::test1, &val, MAY_NOT_BE_BAG, 0,
176 ASSERT_GE(block, 0);
219 ssize_t block local
[all...]
H A DResTable_test.cpp181 ssize_t block = local
183 ASSERT_GE(block, 0);
187 ssize_t newBlock = table.resolveReference(&val, block);
188 EXPECT_EQ(block, newBlock);
202 ssize_t block = local
204 ASSERT_GE(block, 0);
217 block = table.getResource(basic::R::integer::number1, &val, MAY_NOT_BE_BAG);
218 ASSERT_GE(block, 0);
235 ssize_t block = local
237 ASSERT_GE(block,
365 ssize_t block = local
436 ssize_t block = table.getResource(0x7f010001, &val, MAY_NOT_BE_BAG); local
[all...]
/frameworks/support/navigation/common/ktx/src/main/java/androidx/navigation/
H A DNavDestinationBuilder.kt71 fun action(actionId: Int, block: NavActionBuilder.() -> Unit) {
72 actions[actionId] = NavActionBuilder().apply(block).build()
108 fun navOptions(block: NavOptionsBuilder.() -> Unit) {
109 navOptions = NavOptionsBuilder().apply(block).build()
/frameworks/support/core/ktx/src/main/java/androidx/core/util/
H A DAtomicFile.kt27 * Perform the write operations inside [block] on this file. If [block] throws an exception the
31 inline fun AtomicFile.tryWrite(block: (out: FileOutputStream) -> Unit) {
35 block(stream)
/frameworks/av/media/libnbaio/
H A DAudioBufferProviderSource.cpp82 ssize_t AudioBufferProviderSource::readVia(readVia_t via, size_t total, void *user, size_t block) argument
87 if (CC_UNLIKELY(block == 0)) {
88 block = ~0;
96 if (CC_LIKELY(count > block)) {
97 count = block;
99 // 1 <= count <= block
108 // FIXME simplify logic - does the initial count and block checks again for no reason;
/frameworks/base/tools/aapt/
H A DResourceTable.cpp305 ResXMLTree& block, bool _appendComment)
307 , sourcePos(in->getPrintableSource(), block.getLineNumber())
331 ResXMLTree& block,
337 PendingAttribute attr(myPackage, in, block, inStyleable);
350 ssize_t identIdx = block.indexOfAttribute(NULL, "name");
352 attr.ident = String16(block.getAttributeStringValue(identIdx, &len));
362 block.getComment(&len) ? block.getComment(&len) : nulStr);
364 ssize_t typeIdx = block.indexOfAttribute(NULL, "format");
366 String16 typeStr = String16(block
330 compileAttribute(const sp<AaptFile>& in, ResXMLTree& block, const String16& myPackage, ResourceTable* outTable, String16* outIdent = NULL, bool inStyleable = false) argument
591 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& , PseudolocalizationMethod pseudolocalize, const bool overwrite, ResourceTable* outTable) argument
688 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, PseudolocalizationMethod pseudolocalize, const bool overwrite, KeyedVector<type_ident_pair_t, bool>* skippedResourceNames, ResourceTable* outTable) argument
787 ResXMLTree block; local
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DRandomBlock.java30 * A block of 512 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.h46 virtual ssize_t readVia(readVia_t via, size_t total, void *user, size_t block);
/frameworks/av/media/libnbaio/include/media/nbaio/
H A DAudioBufferProviderSource.h46 virtual ssize_t readVia(readVia_t via, size_t total, void *user, size_t block);
/frameworks/av/services/audioflinger/
H A DStateQueue.cpp94 template<typename T> bool StateQueue<T>::push(StateQueue<T>::block_t block) argument
103 if (block == BLOCK_UNTIL_ACKED) {
126 if (block == BLOCK_NEVER) {
158 if (block == BLOCK_UNTIL_ACKED) {
/frameworks/base/core/java/android/speech/tts/
H A DSilencePlaybackQueueItem.java36 wasStopped = mCondVar.block(mSilenceDurationMs);
/frameworks/base/tests/net/java/com/android/internal/util/
H A DTestUtils.java49 if (!cv.block(timeoutMs)) {
/frameworks/support/navigation/fragment/ktx/src/main/java/androidx/navigation/fragment/
H A DFragmentNavigatorDestinationBuilder.kt37 block: FragmentNavigatorDestinationBuilder.() -> Unit
42 ).apply(block))
/frameworks/support/navigation/runtime/ktx/src/main/java/androidx/navigation/
H A DActivityNavigatorDestinationBuilder.kt32 block: ActivityNavigatorDestinationBuilder.() -> Unit
36 ).apply(block))
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DRequestHandlerThread.java53 mStarted.block();
110 mIdle.block();
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/
H A DBRWriter.kt27 block("public class BR") {
H A DLayoutBinderWriter.kt362 block("public class $classDeclaration ${buildImplements()}") {
572 block("if(getBuildSdkInt() < ${it.key})") {
577 block("else") {
600 block("public final ${wrapper.method.returnType.canonicalName} ${wrapper.listenerMethodName}(${wrapper.allArgsWithTypes()})") {
610 block("switch(${CallbackWrapper.SOURCE_ID})") {
612 block("case ${lambda.callbackId}:") {
623 block("default:") {
645 block("public void invalidateAll()") {
648 block("synchronized(this)") {
724 block("publi
[all...]
/frameworks/base/core/java/com/android/server/
H A DResettableTimeout.java69 mLock.block();
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/expr/
H A DExprWriters.kt81 block("if ($condition)") {
85 block("else") {
/frameworks/support/core/ktx/src/main/java/androidx/core/graphics/
H A DBitmap.kt29 * [block] on the newly created canvas. Example:
39 inline fun Bitmap.applyCanvas(block: Canvas.() -> Unit): Bitmap {
41 c.block()
/frameworks/support/navigation/common/ktx/src/androidTest/java/androidx/navigation/
H A DNavDestinationBuilderTest.kt90 block: NavDestinationBuilder<NavDestination>.() -> Unit
91 ): NavDestination = NavDestinationBuilder(this[TestNavigator::class], id).apply(block).build()
H A DNavGraphBuilderTest.kt96 block: NavDestinationBuilder<NavDestination>.() -> Unit
97 ) = destination(NavDestinationBuilder(provider[TestNavigator::class], id).apply(block))

Completed in 459 milliseconds

1234567