/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleMergerTest.java | 54 assertFalse(ModuleMerger.arePartOfSameSuite((ITestSuite) res1.iterator().next(), suite2)); in testPartOfSameSuite_notSplittedYet2() 65 Iterator<IRemoteTest> ite = res1.iterator(); in testPartOfSameSuite_sameSuite() 82 (ITestSuite) res1.iterator().next(), (ITestSuite) res2.iterator().next())); in testPartOfSameSuite_notSameSuite() 111 ModuleMerger.mergeSplittedITestSuite((ITestSuite) res1.iterator().next(), suite2); in testMergeSplittedITestSuite_notSplittedYet2() 130 (ITestSuite) res1.iterator().next(), (ITestSuite) res2.iterator().next()); in testMergeSplittedITestSuite_splittedSuiteFromDifferentModules() 145 Iterator<IRemoteTest> ite = res1.iterator(); in testMergeSplittedITestSuite()
|
D | ITestSuiteIntegrationTest.java | 284 Iterator<TestRunResult> iterator = mListener.getMergedTestRunResults().iterator(); in testSimplePassRun_withLoggedFile() local 285 TestRunResult module1 = iterator.next(); in testSimplePassRun_withLoggedFile() 297 TestRunResult module2 = iterator.next(); in testSimplePassRun_withLoggedFile()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | ManagedDeviceList.java | 78 public Iterator<IManagedTestDevice> iterator() { in iterator() method in ManagedDeviceList 79 return getCopy().iterator(); in iterator() 167 Iterator<IManagedTestDevice> iterator = mList.iterator(); 168 while (iterator.hasNext()) { 169 IManagedTestDevice d = iterator.next(); 171 iterator.remove();
|
/tools/tradefederation/contrib/src/com/android/ota/tests/ |
D | OtaStabilityTestTest.java | 64 Iterator<IRemoteTest> iterator = shards.iterator(); in testSplit_remainder() local 65 IRemoteTest first = iterator.next(); in testSplit_remainder() 68 IRemoteTest second = iterator.next(); in testSplit_remainder() 71 IRemoteTest three = iterator.next(); in testSplit_remainder()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/ |
D | LongevityHostRunner.java | 139 Iterator<String> iterator = mKeyValueOptions.iterator(); in getOptions() local 140 while (iterator.hasNext()) { in getOptions() 141 String kvPair = iterator.next(); in getOptions() 146 iterator.remove(); in getOptions() 156 iterator.remove(); in getOptions()
|
/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 | 43 val iterator = classes.listIterator() in pruneClassList() constant 44 while (iterator.hasNext()) { in pruneClassList() 45 val cls = iterator.next() in pruneClassList() 47 iterator.remove() in pruneClassList()
|
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | ApiClass.java | 163 for (Iterator<ApiElement> iterator = mInterfaces.iterator(); iterator.hasNext(); ) { in removeImplicitInterfaces() 164 ApiElement interfaceElement = iterator.next(); in removeImplicitInterfaces() 170 iterator.remove(); in removeImplicitInterfaces() 209 …for (Iterator<Map.Entry<String, ApiElement>> it = mMethods.entrySet().iterator(); it.hasNext(); ) { in removeOverridingMethods()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/testdefs/ |
D | XmlDefsParserTest.java | 63 InstrumentationTestDef def = parser.getTestDefs().iterator().next(); in testParseSingleDef() 79 InstrumentationTestDef def = parser.getTestDefs().iterator().next(); in testParseNonContinuous() 90 InstrumentationTestDef def = parser.getTestDefs().iterator().next(); in testParseFaleContinuous() 101 InstrumentationTestDef def = parser.getTestDefs().iterator().next(); in testParseFullDef()
|
/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/tests/src/com/android/tradefed/config/ |
D | DynamicRemoteFileResolverTest.java | 116 File downloaded = downloadedFile.iterator().next(); in testResolve() 153 File downloaded = downloadedFile.iterator().next(); in testResolve_remoteFileList() 156 Iterator<File> ite = object.remoteFileList.iterator(); in testResolve_remoteFileList() 335 File downloaded = downloadedFile.iterator().next(); in testResolve_withNoGlobalNameSpace() 414 File downloaded = downloadedFile.iterator().next(); in testResolve_addition()
|
/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/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/testtype/suite/ |
D | ITestSuite.java | 1108 return hostAbis.iterator().next(); in getPrimaryAbi() 1246 Iterator<IRemoteTest> iterator = config.getTests().iterator(); in filterByRunnerType() local 1247 while (iterator.hasNext()) { in filterByRunnerType() 1248 IRemoteTest test = iterator.next(); in filterByRunnerType() 1253 iterator.remove(); in filterByRunnerType()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | TestsPoolPoller.java | 127 Iterator<ITokenRequest> itr = mTokenPool.iterator(); in poll() 159 IRemoteTest test = mGenericPool.iterator().next(); in poll() 173 ITokenRequest test = mRejectedToken.iterator().next(); in pollRejectedTokenModule()
|
/tools/tradefederation/contrib/src/com/android/framework/tests/ |
D | DataIdleTest.java | 102 if (testResults != null && testResults.iterator().hasNext()) { in run() 103 Map<String, String> testMetrics = testResults.iterator().next().getMetrics(); in run()
|
/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/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/metalava/src/main/java/com/android/tools/metalava/ |
D | ApiAnalyzer.kt | 476 val iterator = candidates.listIterator() in <lambda>() constant 477 while (iterator.hasNext()) { in <lambda>() 478 val inheritedMethod = iterator.next() in <lambda>() 480 iterator.remove() in <lambda>()
|
/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/src/com/android/tradefed/build/ |
D | FileDownloadCache.java | 353 Iterator<String> keyIterator = mCacheMap.keySet().iterator(); in incrementAndAdjustCache() 429 return mCacheMap.keySet().iterator().next(); in getOldestEntry()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | OptionSetter.java | 286 return mSourceFieldMap.values().iterator().next(); in getFirstField() 294 return mSourceFieldMap.keySet().iterator().next(); in getFirstObject() 298 public Iterator<Map.Entry<Object, Field>> iterator() { in iterator() method in OptionSetter.OptionFieldsForName 299 return mSourceFieldMap.entrySet().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()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | InvocationExecution.java | 301 ListIterator<IMultiTargetPreparer> iterator = in runMultiTargetPreparersTearDown() local 305 while (iterator.hasPrevious()) { in runMultiTargetPreparersTearDown() 306 IMultiTargetPreparer multipreparer = iterator.previous(); in runMultiTargetPreparersTearDown()
|