/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | GoogleBenchmarkTest.java | 405 Iterator<String> iterator = filters.iterator(); in getFilterFlagForFilters() local 406 if (iterator.hasNext()) { in getFilterFlagForFilters() 407 filterFlag.append(String.format(" %s=%s", GBENCHMARK_FILTER_OPTION, iterator.next())); in getFilterFlagForFilters() 408 while (iterator.hasNext()) { in getFilterFlagForFilters() 409 filterFlag.append(String.format("\\|%s", iterator.next())); in getFilterFlagForFilters() 419 Iterator<String> iterator = fitlererTests.iterator(); in getFilterFlagForTests() local 420 if (iterator.hasNext()) { in getFilterFlagForTests() 422 filterFlag.append(String.format(" %s=^%s$", GBENCHMARK_FILTER_OPTION, iterator.next())); in getFilterFlagForTests() 423 while (iterator.hasNext()) { in getFilterFlagForTests() 424 filterFlag.append(String.format("\\|^%s$", iterator.next())); in getFilterFlagForTests()
|
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | ApiClass.java | 165 for (Iterator<ApiElement> iterator = mInterfaces.iterator(); iterator.hasNext(); ) { in removeImplicitInterfaces() 166 ApiElement interfaceElement = iterator.next(); in removeImplicitInterfaces() 172 iterator.remove(); in removeImplicitInterfaces() 211 …for (Iterator<Map.Entry<String, ApiElement>> it = mMethods.entrySet().iterator(); it.hasNext(); ) { in removeOverridingMethods() 296 ListIterator<ApiElement> iterator = mSuperClasses.listIterator(); in removeHiddenSuperClasses() local 298 while (iterator.hasNext()) { in removeHiddenSuperClasses() 299 ApiElement next = iterator.next(); in removeHiddenSuperClasses() 304 iterator.remove(); in removeHiddenSuperClasses()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleMergerTest.java | 73 assertFalse(ModuleMerger.arePartOfSameSuite((ITestSuite) res1.iterator().next(), suite2)); in testPartOfSameSuite_notSplittedYet2() 84 Iterator<IRemoteTest> ite = res1.iterator(); in testPartOfSameSuite_sameSuite() 101 (ITestSuite) res1.iterator().next(), (ITestSuite) res2.iterator().next())); in testPartOfSameSuite_notSameSuite() 130 ModuleMerger.mergeSplittedITestSuite((ITestSuite) res1.iterator().next(), suite2); in testMergeSplittedITestSuite_notSplittedYet2() 149 (ITestSuite) res1.iterator().next(), (ITestSuite) res2.iterator().next()); in testMergeSplittedITestSuite_splittedSuiteFromDifferentModules() 164 Iterator<IRemoteTest> ite = res1.iterator(); in testMergeSplittedITestSuite()
|
D | ITestSuiteIntegrationTest.java | 298 Iterator<TestRunResult> iterator = mListener.getMergedTestRunResults().iterator(); in testSimplePassRun_withLoggedFile() local 299 TestRunResult module1 = iterator.next(); in testSimplePassRun_withLoggedFile() 311 TestRunResult module2 = iterator.next(); in testSimplePassRun_withLoggedFile()
|
D | SuiteModuleLoaderTest.java | 409 "NativeDnsAsyncTest#Async_Cancel", stubTest.getExcludeFilters().iterator().next()); in testFilterParameterized() 817 assertEquals("class#method", stubTest.getExcludeFilters().iterator().next()); in testLoadParameterizedMainlineModule_WithFilters() 851 assertEquals("test-annotation", stubTest.getExcludeAnnotations().iterator().next()); in testLoadParameterizedMainlineModule_WithModuleArgs()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | ManagedDeviceList.java | 82 public Iterator<IManagedTestDevice> iterator() { in iterator() method in ManagedDeviceList 83 return getCopy().iterator(); in iterator() 177 Iterator<IManagedTestDevice> iterator = mList.iterator(); 178 while (iterator.hasNext()) { 179 IManagedTestDevice d = iterator.next(); 181 iterator.remove();
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/ |
D | LongevityHostRunner.java | 118 Iterator<String> iterator = mKeyValueOptions.iterator(); in getOptions() local 119 while (iterator.hasNext()) { in getOptions() 120 String kvPair = iterator.next(); in getOptions() 125 iterator.remove(); in getOptions() 135 iterator.remove(); in getOptions()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | ApiAnalyzer.kt | 444 val iterator = candidates.listIterator() in <lambda>() constant 445 while (iterator.hasNext()) { in <lambda>() 446 val inheritedMethod = iterator.next() in <lambda>() 448 iterator.remove() in <lambda>() 491 val iterator = candidates.listIterator() in <lambda>() constant 492 while (iterator.hasNext()) { in <lambda>() 493 val inheritedMethod = iterator.next() in <lambda>()
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/ |
D | BatchProcessor.kt | 103 fun<T, U, S> par_map(iterator: Iterator<T>, threadState: () -> S, chunkSize: Int = 50, in par_map() 110 while (iterator.hasNext()) { in par_map() 112 while (source.size < chunkSize && iterator.hasNext()) { in par_map() 113 source.add(iterator.next()) in par_map() 136 current = next.get().iterator() in par_map()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextPackageItem.kt | 41 val iterator = classes.listIterator() in pruneClassList() constant 42 while (iterator.hasNext()) { in pruneClassList() 43 val cls = iterator.next() in pruneClassList() 45 iterator.remove() in pruneClassList()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/mobly/ |
D | MoblyYamlResultParserTest.java | 402 for (Iterator<Map.Entry<String, Object>> iterator = in buildTestRecordString() 403 buildTestRecordDocMap(detailMap).entrySet().iterator(); in buildTestRecordString() 404 iterator.hasNext(); ) { in buildTestRecordString() 405 Map.Entry<String, Object> entry = iterator.next(); in buildTestRecordString() 407 if (iterator.hasNext()) { in buildTestRecordString()
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extractors/ |
D | ZlibExtractor.kt | 24 import kotlin.sequences.iterator 49 private val sourceIterator = iterator { in <lambda>() 65 return@iterator in <lambda>() 70 if (closed) return@iterator in <lambda>()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ITestSuite.java | 1248 return hostAbis.iterator().next(); in getPrimaryAbi() 1391 Iterator<IRemoteTest> iterator = config.getTests().iterator(); in filterByRunnerType() local 1392 while (iterator.hasNext()) { in filterByRunnerType() 1393 IRemoteTest test = iterator.next(); in filterByRunnerType() 1398 iterator.remove(); in filterByRunnerType()
|
/tools/loganalysis/src/com/android/loganalysis/util/config/ |
D | OptionSetter.java | 185 return mSourceFieldMap.values().iterator().next(); in getFirstField() 193 return mSourceFieldMap.keySet().iterator().next(); in getFirstObject() 197 public Iterator<Map.Entry<Object, Field>> iterator() { in iterator() method in OptionSetter.OptionFieldsForName 198 return mSourceFieldMap.entrySet().iterator(); in iterator()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | ConditionPriorityBlockingQueueTest.java | 290 Thread iterator = new Thread() { in testModificationOnIterating() local 302 iterator.setName(getClass().getCanonicalName() + "#testModificationOnIterating"); in testModificationOnIterating() 303 iterator.start(); in testModificationOnIterating()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | OptionSetter.java | 288 return mSourceFieldMap.values().iterator().next(); in getFirstField() 296 return mSourceFieldMap.keySet().iterator().next(); in getFirstObject() 300 public Iterator<Map.Entry<Object, Field>> iterator() { in iterator() method in OptionSetter.OptionFieldsForName 301 return mSourceFieldMap.entrySet().iterator(); in iterator()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | TestsPoolPoller.java | 120 Iterator<ITokenRequest> itr = mTokenPool.iterator(); in poll() 152 IRemoteTest test = mGenericPool.iterator().next(); in poll() 166 ITokenRequest test = mRejectedToken.iterator().next(); in pollRejectedTokenModule()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | DynamicRemoteFileResolverTest.java | 166 File downloaded = downloadedFile.iterator().next(); in testResolveWithQuery() 217 File downloaded = downloadedFile.iterator().next(); in testResolve_remoteFileList() 220 Iterator<File> ite = object.remoteFileList.iterator(); in testResolve_remoteFileList() 430 File downloaded = downloadedFile.iterator().next(); in testResolve_withNoGlobalNameSpace()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatterTest.java | 299 TestRunResult result = reloaded.runResults.iterator().next(); in testAssumptionFailures_Ignore_Reporting() 402 TestRunResult result = holder.runResults.iterator().next(); in testMetricReporting() 540 TestRunResult result = holder.runResults.iterator().next(); in testMetricReporting_badKey()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | InvocationExecution.java | 408 ListIterator<IMultiTargetPreparer> iterator = in runMultiTargetPreparersTearDown() local 412 while (iterator.hasPrevious()) { in runMultiTargetPreparersTearDown() 413 IMultiTargetPreparer multipreparer = iterator.previous(); in runMultiTargetPreparersTearDown()
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/io/ |
D | StreamingLineReader.kt | 19 import kotlin.sequences.iterator 32 fun StreamingReader.iterLines() = iterator { in <lambda>()
|
D | StreamingReader.kt | 19 import kotlin.sequences.iterator 59 return iterator { in iter()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | ConditionPriorityBlockingQueue.java | 320 public Iterator<T> iterator() { in iterator() method in ConditionPriorityBlockingQueue 321 return getCopy().iterator(); in iterator()
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | FatLfnDirectory.java | 313 public Iterator<FsDirectoryEntry> iterator() { in iterator() method in FatLfnDirectory 317 shortNameIndex.values().iterator(); in iterator()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/ |
D | CommandFileParserTest.java | 391 assertTrue(commandFile.getIncludedFiles().iterator().next().endsWith("somefile.txt")); in testMacroParserInclude() 545 assertTrue(commandFile.getIncludedFiles().iterator().next().endsWith(includeFileName)); in testMacroParserInclude_noParentDir()
|