/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/ |
H A D | RawQueryMethodProcessorTest.kt | 291 Pair(it, 293 .getAllMembers(MoreElements.asType(it)) 295 it.hasAnnotation(RawQuery::class) 298 }.first { it.second.isNotEmpty() }
|
H A D | DatabaseProcessorTest.kt | 172 assertThat(db.daoMethods.map { it.name }, `is`(listOf("userDao", "bookDao"))) 173 assertThat(db.entities.map { it.type.toString() }, 566 val insertionMethod = userDao.insertionMethods.find { it.name == "insert" } 568 val loadOne = userDao.queryMethods.find { it.name == "loadOne" } 575 val withConverter = userDao.queryMethods.find { it.name == "loadWithConverter" } 597 val loadOne = userDao.queryMethods.find { it.name == "loadOnePojo" } 603 val loadAll = userDao.queryMethods.find { it.name == "loadAllPojos" } 611 val withConverter = userDao.queryMethods.find { it.name == "loadPojoWithConverter" }
|
/frameworks/base/tools/aapt/ |
H A D | Resource.cpp | 303 ResourceDirIterator it(set, String8(resType)); 305 while ((res=it.next()) == NO_ERROR) { 308 it.getBaseName().string(), it.getFile()->getPrintableSource().string()); 310 String16 baseName(it.getBaseName()); 318 it.getPath().string()); 323 String8 resPath = it.getPath(); 325 status_t result = table->addEntry(SourcePos(it.getPath(), 0), 331 &it.getParams()); 335 assets->addResource(it [all...] |
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMLDBackend.cpp | 420 // virtual fillment, ignore it. 496 // if the target section of the .ARM.exidx is Ignore, then it should be 568 // 2. it has no reloc data. (All symbols in the input relocs are in the 739 SectionData::FragmentListType::iterator it = list.begin(); local 740 if (it != list.end()) { 741 Fragment* prevTextFrag = m_pExData->getTupleByExIdx(&*it)->getTextFragment(); 745 ++it; 746 while (it != list.end()) { 748 m_pExData->getTupleByExIdx(&*it)->getTextFragment(); 756 list.insert(it, fra [all...] |
/frameworks/av/include/media/ |
H A D | convert.h | 200 for (SrcIt it = src.begin(); it != src.end(); ++it) { 202 if (not convertTo(*it, dstElem)) { 222 * This function follows the same paradigm than it's generic version. 253 * This function follows the same paradigm than it's generic version and is 254 * based on it but makes furthers checks on the returned value. 283 * This function follows the same paradigm than it's generic version and is 284 * based on it but makes furthers checks on the returned value. 313 * This function follows the same paradigm than it' [all...] |
/frameworks/av/media/libmedia/include/media/ |
H A D | convert.h | 200 for (SrcIt it = src.begin(); it != src.end(); ++it) { 202 if (not convertTo(*it, dstElem)) { 222 * This function follows the same paradigm than it's generic version. 253 * This function follows the same paradigm than it's generic version and is 254 * based on it but makes furthers checks on the returned value. 283 * This function follows the same paradigm than it's generic version and is 284 * based on it but makes furthers checks on the returned value. 313 * This function follows the same paradigm than it' [all...] |
/frameworks/base/cmds/incidentd/src/ |
H A D | Section.cpp | 80 // Reads data from FdBuffer and writes it to the requests file descriptor. 90 for (auto it = requests->begin(); it != requests->end(); it++) { 91 sp<ReportRequest> request = *it; 102 if (err != NO_ERROR) return err; // it means the privacyBuffer data is corrupted. 105 for (auto it = mit->second.begin(); it != mit->second.end(); it++) { 106 sp<ReportRequest> request = *it; [all...] |
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
H A D | AbstractVerifier.java | 156 for(Iterator<String> it = names.iterator(); it.hasNext();) { 158 String cn = it.next(); 164 if(it.hasNext()) { 168 // The CN better have at least two dots if it wants wildcard
|
/frameworks/base/libs/hwui/ |
H A D | Caches.cpp | 168 for (std::set<Layer*>::iterator it = mRenderState->mActiveLayers.begin(); 169 it != mRenderState->mActiveLayers.end(); it++) { 170 const Layer* layer = *it;
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | CacheManager.cpp | 126 // display even though we like to be dynamicallysizing it to the size of the window. 219 for (std::set<Layer*>::iterator it = renderState->mActiveLayers.begin(); 220 it != renderState->mActiveLayers.end(); it++) { 221 const Layer* layer = *it;
|
H A D | RenderThread.cpp | 120 // will try to delete it like a Good Citizen but that causes us to crash 283 // request the next vsync in case it occurs mid-frame 285 for (std::set<IFrameCallback*>::iterator it = callbacks.begin(); it != callbacks.end(); 286 it++) { 287 (*it)->doFrame();
|
/frameworks/layoutlib/bridge/src/android/text/ |
H A D | OptimizingLineBreaker.java | 48 // This can be true only if it's an empty paragraph. 69 for (ListIterator<Integer> it = active.listIterator(); it.hasNext(); 71 int pos = it.next(); 76 // because of the way tab characters work, this makes it computationally 96 it.remove();
|
H A D | StaticLayout_Delegate.java | 93 BreakIterator it = BreakIterator.getLineInstance(); 94 it.setText((CharacterIterator) new Segment(builder.mText, 0, length)); 99 it.first(); 100 while ((loc = it.next()) != BreakIterator.DONE) { 129 * Compute metadata each character - things which help in deciding if it's possible to break
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | ContiguousFIFOAggregator.java | 43 * which has no task associated with it, so we store task <b>2</b>. </li> 49 * <li>Key <b>C</b> is now the first expected key, but it has no task, 188 * stopping when it finds that the first expected key has not yet been assigned a task. 254 Iterator<T> it = mExpected.iterator(); 255 while (it.hasNext()) { 256 final T key = it.next(); 262 if (it.hasNext()) { 285 * expected, it would either have to be forgotten with {@link #forget(Object)} or a task 289 * keep state, or it can keep state which may have changed so the callback can do
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WakeupLock.java | 185 Iterator<Map.Entry<ScanResultMatchInfo, Integer>> it = 187 while (it.hasNext()) { 188 Map.Entry<ScanResultMatchInfo, Integer> entry = it.next(); 203 it.remove();
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
H A D | TimeZoneResultAdapter.java | 191 * saved, it will remove the oldest and append this one. 211 Iterator<String> it = recents.iterator(); 213 if (!it.hasNext()) { 216 it.next(); 217 it.remove(); 275 // We'll need to re-inflate the view if it was null, or if it was used as an empty item.
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/graphics/drawable/ |
H A D | IconTest.kt | 68 context.assets.open("red.png").use { cacheFile.writeBytes(it.readBytes()) } 80 val bytes = context.assets.open("red.png").use { it.readBytes() }
|
/frameworks/support/core/ktx/src/main/java/androidx/core/util/ |
H A D | SparseBooleanArray.kt | 51 indexOfKey(key).let { if (it != -1) valueAt(it) else defaultValue() } 59 /** Removes the entry for [key] only if it is mapped to [value]. */
|
H A D | SparseIntArray.kt | 51 indexOfKey(key).let { if (it != -1) valueAt(it) else defaultValue() } 59 /** Removes the entry for [key] only if it is mapped to [value]. */
|
H A D | SparseLongArray.kt | 60 indexOfKey(key).let { if (it != -1) valueAt(it) else defaultValue() } 70 /** Removes the entry for [key] only if it is set to [value]. */
|
/frameworks/support/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/ |
H A D | ProcessorTest.kt | 47 Truth.assertThat(dependenciesMap.any { it.key.contains("baseLibrary") }).isTrue() 58 Truth.assertThat(dependenciesMap.any { it.key.contains("baseLibrary") }).isFalse()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/log/ |
H A D | RLog.kt | 97 env.messager.printMessage(kind, it.first, it.second)
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/ |
H A D | ShortcutParameterProcessor.kt | 64 // kotlin may generate ? extends T so we should reduce it. 81 if (it.simpleName.toString() == "iterator") { 83 typeUtils.asMemberOf(iterableType, it)).returnType)
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/ |
H A D | DataSourceQueryResultBinderProvider.kt | 47 ListQueryResultAdapter(it) 50 + query.tables.map { it.name }).toSet()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/ |
H A D | EntityCursorConverterWriter.kt | 58 "_cursorIndexOf${it.name.stripNonJava().capitalize()}") 60 TypeName.INT, indexVar, cursorParam, it.columnName) 61 FieldWithIndex(field = it,
|