/frameworks/support/textclassifier/src/main/java/androidx/textclassifier/ |
H A D | EntityConfidence.java | 67 for (Map.Entry<String, Float> it : source.entrySet()) { 68 if (it.getValue() <= 0) continue; 69 mEntityConfidence.put(it.getKey(), Math.min(1, it.getValue()));
|
/frameworks/av/media/libnblog/ |
H A D | PerformanceAnalysis.cpp | 84 // If an outlier was found, check whether it was a peak 93 // Insert a histogram to mHists if it is empty, or 252 // TODO Make it return a std::string instead of modifying body 253 // TODO: move this to ReportPerformance, probably make it a friend function 281 auto it = buckets.begin(); local 282 double maxDelta = it->first; 283 int maxCount = it->second; 285 while (++it != buckets.end()) { 286 if (it->first > maxDelta) { 287 maxDelta = it [all...] |
/frameworks/compile/slang/ |
H A D | rs_cc_options.cpp | 90 // the work. This mimics what's done in clang. I believe it is so the 104 // Skip over the command name, or we will mistakenly process it as a source file. 122 for (llvm::opt::arg_iterator it = Args.filtered_begin(OPT_UNKNOWN), 124 it != ie; ++it) { 126 << (*it)->getAsString(Args); 136 for (llvm::opt::ArgList::const_iterator it = Args.begin(), ie = Args.end(); 137 it != ie; ++it) { 138 const llvm::opt::Arg *A = *it; [all...] |
/frameworks/support/core/ktx/src/main/java/androidx/core/text/ |
H A D | SpannableString.kt | 27 * or the source itself if it is already an instance of [SpannableString]. 39 inline fun Spannable.clearSpans() = getSpans<Any>().forEach { removeSpan(it) }
|
/frameworks/support/core/ktx/src/main/java/androidx/core/util/ |
H A D | AtomicFile.kt | 52 it.write(array) 58 * If this file exists, it becomes overwritten.
|
/frameworks/support/lifecycle/compiler/src/tests/kotlin/androidx/lifecycle/utils/ |
H A D | TestUtils.kt | 35 val javaFiles = fullClassNames.map { load(it, "") }.toTypedArray()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/ext/ |
H A D | string_ext.kt | 34 else -> this.joinToString("") { it.toCamelCase() }
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3InputStream.cpp | 85 * in which case we reassign it to acquire_fence 114 Vector<BufferItem>::iterator it, end; local 115 for (it = mBuffersInFlight.begin(), end = mBuffersInFlight.end(); 116 it != end; 117 ++it) { 119 const BufferItem& tmp = *it; 124 mBuffersInFlight.erase(it);
|
/frameworks/base/core/jni/ |
H A D | com_android_internal_os_FuseAppLoop.cpp | 87 auto it = mBuffers.find(inode); variable 88 CHECK(it != mBuffers.end()); 90 CallOnCommand(FUSE_READ, unique, inode, offset, size, it->second->get()); 97 auto it = mBuffers.find(inode); variable 98 CHECK(it != mBuffers.end()); 100 jbyteArray const javaBuffer = it->second->get();
|
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 197 ALOGD("Library '%s' is compressed - will not be able to open it directly from apk.\n", 203 ALOGD("Library '%s' is not page-aligned - will not be able to open it directly from" 230 // Only copy out the native file if it's different. 286 // Finally, rename it to the final name. 398 std::unique_ptr<NativeLibrariesIterator> it( 400 if (it.get() == NULL) { 411 while ((entry = it->next()) != NULL) { 412 const char* fileName = it->currentEntry(); 413 const char* lastSlash = it->lastSlash(); 448 std::unique_ptr<NativeLibrariesIterator> it( [all...] |
/frameworks/support/jetifier/jetifier/gradle-plugin/src/main/kotlin/com/android/tools/build/jetifier/plugin/gradle/ |
H A D | JetifyLibsTask.kt | 32 * This task also utilizes Gradle caching so it's run only when needed. 71 return project.files(files.map { addFile(it).to }.toList()) 75 val mappingMaybe = filesToProcess.firstOrNull { it.from == file } 92 return project.files(filesToProcess.map { it.from }.toList())
|
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/pom/ |
H A D | XmlUtils.kt | 43 xmlOutput.output(document, it) 44 return it.toByteArray() 52 return builder.build(it) 57 * Creates a new XML element with the given [id] and text given in [value] and puts it under
|
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/proguard/ |
H A D | ProGuardClassSpecParser.kt | 130 val matcher = replacer.pattern.matcher(it) 135 return@map listOf(it) 138 .map { it.joinToString(separator = ";") }
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/ |
H A D | Database.kt | 66 .sortedBy { it.tableName } 67 .map { it.createTableQuery } 82 SchemaBundle.deserialize(it)
|
/frameworks/base/cmds/statsd/tests/metrics/ |
H A D | GaugeMetricProducer_test.cpp | 63 // For now we still need this so that it doesn't do real pulling. 84 auto it = gaugeProducer.mCurrentSlicedBucket->begin()->second.front().mFields->begin(); local 85 EXPECT_EQ(INT, it->mValue.getType()); 86 EXPECT_EQ(10, it->mValue.int_value); 87 it++; 88 EXPECT_EQ(11, it->mValue.int_value); 101 it = gaugeProducer.mCurrentSlicedBucket->begin()->second.front().mFields->begin(); 102 EXPECT_EQ(INT, it->mValue.getType()); 103 EXPECT_EQ(24, it->mValue.int_value); 104 it [all...] |
/frameworks/base/core/java/android/util/jar/ |
H A D | StrictJarVerifier.java | 220 Iterator<Map.Entry<String, HashMap<String, Attributes>>> it = signatures.entrySet().iterator(); 221 while (it.hasNext()) { 222 Map.Entry<String, HashMap<String, Attributes>> entry = it.next(); 287 * if the JAR file is signed and it is determined that a 296 Iterator<String> it = metaEntries.keySet().iterator(); 297 while (it.hasNext()) { 298 String key = it.next(); 301 it.remove(); 394 // were used to sign this APK. If an ID is known to us, it means signatures of that 463 Iterator<Map.Entry<String, Attributes>> it [all...] |
/frameworks/minikin/libs/minikin/ |
H A D | Locale.cpp | 158 SplitIterator it(input, '-'); 160 StringPiece language = it.next(); 169 if (!it.hasNext()) { 172 StringPiece token = it.next(); 178 if (!it.hasNext()) { 181 token = it.next(); 187 if (!it.hasNext()) { 190 token = it.next(); 201 if (!it.hasNext()) { 205 token = it [all...] |
/frameworks/support/lifecycle/compiler/src/main/kotlin/androidx/lifecycle/ |
H A D | input_collector.kt | 55 roots.forEach { worldCollector.collect(it) } 59 worldCollector.generatedAdapterInfoFor(type)?.let { type to it } 77 .filter { typeUtils.isAssignable(it, lifecycleObserverTypeMirror) } 78 .filterNot { typeUtils.isSameType(it, lifecycleObserverTypeMirror) } 79 .map { collect(MoreTypes.asTypeElement(it)) }
|
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/ |
H A D | InsertionMethodProcessorTest.kt | 123 assertThat(it.type.typeName(), `is`(USER_TYPE_NAME)) 124 assertThat(it.entityType?.typeName(), `is`(USER_TYPE_NAME)) 129 assertThat(insertion.parameters.map { it.name }, `is`(listOf("u1", "u2"))) 261 assertThat(insertion.parameters.map { it.name }, `is`(listOf("u1", "b1"))) 332 InsertionMethodProcessor.SINGLE_ITEM_SET.map { it.returnTypeName })) 346 InsertionMethodProcessor.MULTIPLE_ITEM_SET.map { it.returnTypeName })) 360 InsertionMethodProcessor.VOID_SET.map { it.returnTypeName })) 404 Pair(it, 406 .getAllMembers(MoreElements.asType(it)) 408 MoreElements.isAnnotationPresent(it, [all...] |
/frameworks/base/cmds/statsd/src/metrics/ |
H A D | CountMetricProducer.cpp | 121 for (const auto& it : *mCurrentSlicedCounter) { 123 it.first.getDimensionKeyInWhat().toString().c_str(), 124 it.first.getDimensionKeyInCondition().toString().c_str(), 125 (unsigned long long)it.second); 275 auto it = mCurrentSlicedCounter->find(eventKey); local 276 if (it == mCurrentSlicedCounter->end()) { 285 auto& count = it->second; 367 // greater than actual data size as it contains each dimension of
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/ |
H A D | XmlEditor.java | 76 for (ElementContext it : dataNodes) { 77 replace(lines, toPosition(it.getStart()), toEndPosition(it.getStop()), ""); 135 for (TagAndContext it : noTag) { 136 ElementContext element = it.getContext(); 137 String tag = it.getTag(); 305 for (AttributeContext it : expressionAttributes(node)) { 306 Position start = toPosition(it.getStart()); 307 Position end = toEndPosition(it.getStop()); 308 String defaultVal = defaultReplacement(it); [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
H A D | ConnectionServiceAdapter.java | 51 for (IConnectionServiceAdapter it : mAdapters) { 52 if (it.asBinder() == adapter.asBinder()) { 68 for (IConnectionServiceAdapter it : mAdapters) { 69 if (it.asBinder() == adapter.asBinder() && mAdapters.remove(it)) { 80 Iterator<IConnectionServiceAdapter> it = mAdapters.iterator(); 81 while (it.hasNext()) { 82 IConnectionServiceAdapter adapter = it.next(); 84 it.remove();
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | IdenticalCodeFolding.cpp | 89 KeptSections::iterator it = m_KeptSections.begin() + kept_index; local 90 LDSection* kept_sect = (*it).first; 91 Input* kept_obj = (*it).second.first; 199 for (ChecksumMap::iterator it = ret.first; it != ret.second; ++it) { 200 size_t kept_index = (*it).second; 288 KeptSections::const_iterator it = pKeptSections.find(def); local 289 llvm::format_object<size_t> kept_info("%x", (*it).second.second);
|
/frameworks/av/media/libstagefright/ |
H A D | NuMediaExtractor.cpp | 448 auto it = info->mSamples.begin(); local 449 if (it->mBuffer != NULL) { 450 it->mBuffer->release(); 452 info->mSamples.erase(it); 460 auto it = info->mSamples.begin(); local 461 while (it != info->mSamples.end()) { 462 if (it->mBuffer != NULL) { 463 it->mBuffer->release(); 465 it = info->mSamples.erase(it); 497 auto it = info->mSamples.begin(); local 667 auto it = info->mSamples.begin(); local 708 auto it = info->mSamples.begin(); local [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AAMRAssembler.cpp | 110 List<sp<ABuffer> >::iterator it = queue->begin(); local 111 while (it != queue->end()) { 112 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) { 116 it = queue->erase(it);
|