Home
last modified time | relevance | path

Searched refs:iterator (Results 1 – 25 of 40) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleMergerTest.java54 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()
DITestSuiteIntegrationTest.java284 Iterator<TestRunResult> iterator = mListener.getRunResults().iterator(); in testSimplePassRun_withLoggedFile() local
285 TestRunResult module1 = iterator.next(); in testSimplePassRun_withLoggedFile()
297 TestRunResult module2 = iterator.next(); in testSimplePassRun_withLoggedFile()
/tools/tradefederation/core/prod-tests/src/com/android/ota/tests/
DOtaStabilityTestTest.java70 Iterator<IRemoteTest> iterator = shards.iterator(); in testSplit_remainder() local
71 IRemoteTest first = iterator.next(); in testSplit_remainder()
74 IRemoteTest second = iterator.next(); in testSplit_remainder()
77 IRemoteTest three = iterator.next(); in testSplit_remainder()
/tools/tradefederation/core/src/com/android/tradefed/device/
DManagedDeviceList.java78 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/core/tests/src/com/android/tradefed/testtype/testdefs/
DXmlDefsParserTest.java63 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/metalava/src/main/java/com/android/tools/metalava/apilevels/
DApiClass.java116 for (Iterator<ApiElement> iterator = mInterfaces.iterator(); iterator.hasNext(); ) { in removeImplicitInterfaces()
117 ApiElement interfaceElement = iterator.next(); in removeImplicitInterfaces()
123 iterator.remove(); in removeImplicitInterfaces()
162 …for (Iterator<Map.Entry<String, ApiElement>> it = mMethods.entrySet().iterator(); it.hasNext(); ) { in removeOverridingMethods()
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/
DLongevityHostRunner.java138 Iterator<String> iterator = mKeyValueOptions.iterator(); in getOptions() local
139 while (iterator.hasNext()) { in getOptions()
140 String kvPair = iterator.next(); in getOptions()
145 iterator.remove(); in getOptions()
155 iterator.remove(); in getOptions()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/
DFsDirectory.java39 public Iterator<FsDirectoryEntry> iterator(); in iterator() method
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DConditionPriorityBlockingQueueTest.java290 Thread iterator = new Thread() { in testModificationOnIterating() local
302 iterator.setName(getClass().getCanonicalName() + "#testModificationOnIterating"); in testModificationOnIterating()
303 iterator.start(); in testModificationOnIterating()
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
DDataIdleTest.java105 if (testResults != null && testResults.iterator().hasNext()) { in run()
106 Map<String, String> testMetrics = testResults.iterator().next().getMetrics(); in run()
/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DLocationServiceParserTest.java66 LocationInfoItem client = locationClients.getLocationClients().iterator().next(); in testLocationClientParser()
/tools/tradefederation/core/src/com/android/tradefed/util/
DConditionPriorityBlockingQueue.java320 public Iterator<T> iterator() { in iterator() method in ConditionPriorityBlockingQueue
321 return getCopy().iterator(); in iterator()
DArrayUtil.java77 Iterator<Object> iter = pieces.iterator(); in internalJoin()
DTestLoader.java72 Iterator<File> jarIter = dependentJars.iterator(); in buildJarClassLoader()
DEmail.java42 Iterator<String> iter = list.iterator(); in join()
/tools/loganalysis/tests/src/com/android/loganalysis/item/
DLocationDumpsItemTest.java71 LocationInfoItem client = item.getLocationClients().iterator().next(); in testGetLocationDumps()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DVersionedTfLauncher.java83 ITestDevice device = mDeviceInfos.entrySet().iterator().next().getKey(); in preRun()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DITestSuite.java945 Iterator<IRemoteTest> iterator = config.getTests().iterator(); in filterByRunnerType() local
946 while (iterator.hasNext()) { in filterByRunnerType()
947 IRemoteTest test = iterator.next(); in filterByRunnerType()
952 iterator.remove(); in filterByRunnerType()
/tools/tradefederation/core/src/com/android/tradefed/build/
DFileDownloadCache.java339 Iterator<String> keyIterator = mCacheMap.keySet().iterator(); in incrementAndAdjustCache()
415 return mCacheMap.keySet().iterator().next(); in getOldestEntry()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DFatLfnDirectory.java313 public Iterator<FsDirectoryEntry> iterator() { in iterator() method in FatLfnDirectory
317 shortNameIndex.values().iterator(); in iterator()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DJUnitToInvocationResultForwarderTest.java130 assertTrue(desc.getAnnotations().iterator().next() instanceof MyCustomAnnotation); in testStartTest_annotations()
/tools/tradefederation/core/src/com/android/tradefed/util/hostmetric/
DEmailHostHealthAgent.java86 Iterator<String> toAddress = mDestinations.iterator(); in flush()
/tools/loganalysis/src/com/android/loganalysis/util/config/
DOptionSetter.java185 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/src/com/android/tradefed/invoker/
DInvocationExecution.java252 ListIterator<IMultiTargetPreparer> iterator = in runMultiTargetPreparersTearDown() local
254 while (iterator.hasPrevious()) { in runMultiTargetPreparersTearDown()
255 IMultiTargetPreparer multipreparer = iterator.previous(); in runMultiTargetPreparersTearDown()
/tools/tradefederation/core/src/com/android/tradefed/log/
DTerribleFailureEmailHandler.java192 Iterator<String> toAddress = mDestinations.iterator(); in generateEmailMessage()

12