Home
last modified time | relevance | path

Searched refs:it (Results 1 – 25 of 41) sorted by relevance

12

/cts/common/host-side/native-scanner/tests/src/com/android/compatibility/common/scanner/
DNativeScannerTest.java36 Iterator<String> it = names.iterator(); in testSingleTestNamesCase() local
37 assertEquals("suite:TestSuite", it.next()); in testSingleTestNamesCase()
38 assertEquals("case:FakeTestCase", it.next()); in testSingleTestNamesCase()
39 assertEquals("test:FakeTestName", it.next()); in testSingleTestNamesCase()
40 assertFalse(it.hasNext()); in testSingleTestNamesCase()
50 Iterator<String> it = names.iterator(); in testMultipleTestNamesCase() local
51 assertEquals("suite:TestSuite", it.next()); in testMultipleTestNamesCase()
52 assertEquals("case:Case1", it.next()); in testMultipleTestNamesCase()
53 assertEquals("test:Test1", it.next()); in testMultipleTestNamesCase()
54 assertEquals("test:Test2", it.next()); in testMultipleTestNamesCase()
[all …]
/cts/tools/cts-native-scanner/tests/src/com/android/cts/nativescanner/
DTestScannerTest.java40 Iterator it = names.iterator(); in testSingleTestNamesCase() local
41 assertEquals("suite:TestSuite", it.next()); in testSingleTestNamesCase()
42 assertEquals("case:FakeTestCase", it.next()); in testSingleTestNamesCase()
43 assertEquals("test:FakeTestName", it.next()); in testSingleTestNamesCase()
44 assertFalse(it.hasNext()); in testSingleTestNamesCase()
55 Iterator it = names.iterator(); in testMultipleTestNamesCase() local
56 assertEquals("suite:TestSuite", it.next()); in testMultipleTestNamesCase()
57 assertEquals("case:Case1", it.next()); in testMultipleTestNamesCase()
58 assertEquals("test:Test1", it.next()); in testMultipleTestNamesCase()
59 assertEquals("test:Test2", it.next()); in testMultipleTestNamesCase()
[all …]
/cts/suite/audio_quality/lib/src/task/
DTaskSave.cpp85 std::list<TaskCase::BufferPair>::iterator it = buffersp->begin(); in handleFile() local
87 for (; it != end; it++) { in handleFile()
89 fileName.appendPath(it->first); in handleFile()
90 if (!it->second->saveToFile(fileName)) { in handleFile()
123 std::list<TaskCase::ValuePair>::iterator it = values->begin(); in handleReport() local
126 for (; it != end; it++) { in handleReport()
127 if (it->second.getType() == TaskCase::Value::ETypeDouble) { in handleReport()
128 details.appendFormat(" %s: %f\n", it->first.string(), it->second.getDouble()); in handleReport()
130 details.appendFormat(" %s: %lld\n", it->first.string(), it->second.getInt64()); in handleReport()
DTaskCase.cpp71 typename std::map<android::String8, T>::iterator it; in registerGeneric() local
72 it = map.find(name); in registerGeneric()
73 if (it != map.end()) { in registerGeneric()
86 typename std::map<android::String8, T>::iterator it; in findGeneric() local
87 it = map.find(name); in findGeneric()
88 if (it == map.end()) { in findGeneric()
91 data = it->second; in findGeneric()
99 typename std::map<android::String8, T>::iterator it; in updateGeneric() local
100 it = map.find(name); in updateGeneric()
101 if (it == map.end()) { in updateGeneric()
[all …]
DTaskGeneric.cpp127 std::set<android::String8, android::String8>::iterator it = mAllowedStringAttributes.find(key); in addStringAttribute() local
128 if (it == mAllowedStringAttributes.end()) { in addStringAttribute()
137 std::map<android::String8, android::String8>::const_iterator it = mStringAttributes.find(key); in findStringAttribute() local
138 if (it == mStringAttributes.end()) { in findStringAttribute()
141 value = it->second; in findStringAttribute()
DTaskSequential.cpp94 std::list<TaskAsync*>::iterator it; in queueAsyncTask() local
95 it = std::find(mAsyncTasks.begin(), mAsyncTasks.end(), task); in queueAsyncTask()
96 if (it != mAsyncTasks.end()) { // already queued in queueAsyncTask()
/cts/tools/signature-tools/templates/
DClassChangedLink.st1 $Link(url={$it.packageName$.$it.name$.html}, name={<tt>$it.name$</tt>})$
DClassReferenceLink.st1 …{http://code.google.com/android/reference/$it.packageFragments; separator="/"$/$it.name$.html}, na…
DDeltaTableRow.st3 $ElementType(element=it.to):{<tt>$it$</tt>}$
6 $DeltaTypeSwitch(delta=it)$
DPackageOverviewPage.st22 $Table(name="Removed Classes and Interfaces", rows=removed_classes:{$it.from:{<tt>$it.name$</tt>}$}…
28 $Table(name="Added Classes and Interfaces", rows=added_classes:{$it.to:ClassReferenceLink()$}:Simpl…
33 $Table(name="Changed Classes and Interfaces", rows=changed_classes:{$it.to:ClassChangedLink()$}:Sim…
DPackageChangedLink.st1 $Link(url={changes/pkg_$it.name$.html}, name={<tt>$it.name$</tt>})$
DModelElementRow.st3 $ElementType(element=it):{<tt>$it$</tt>}$
DPackageAddedLink.st1 …tp://code.google.com/android/reference/$it.packageFragments; separator="/"$/package-summary.html},…
DSimpleTableRow.st3 $it$
/cts/suite/audio_quality/lib/src/
DReport.cpp93 std::list<StringPair>::const_iterator it; in writeResult() local
94 for (it = begin; it != end; it++) { in writeResult()
96 printf(" <test title=\"%s\" result=\"pass\" >", it->first.string()); in writeResult()
98 printf(" <test title=\"%s\" result=\"fail\" >", it->first.string()); in writeResult()
100 printf(" <details>\n%s", it->second.string()); in writeResult()
/cts/tools/signature-tools/templates/model/
Dmodel.stg14 {$element.elements:{$SigAnnotationElement(element=it)$}$}
36 $if(element.interfaces)$ implements $element.interfaces:{$ElementType(element=it)$}; separator=", "…
44 $ClassReferenceLink(it = element.classDefinition, link_style="discreet")$
60 $element.name$($element.parameters:{$SigParameter(element=it)$}; separator=", "$)
61 $if(element.exceptions)$ throws $element.exceptions:{$ElementType(element=it)$}; separator=", "$$en…
96 $if(element.typeArguments)$&lt;$element.typeArguments:{$ElementType(element=it)$}$&gt;$endif$
104 …ent.upperBounds.empty)$ extends $element.upperBounds:{$ElementType(element=it)$}; separator=", "$$…
114 $if(!element.upperBounds.empty)$ extends $element.upperBounds:{$ElementType(element=it)$}; separato…
128 $element.annotations:{$SigAnnotation(element=it)$}; separator=separator$
134 $if(element.typeParameters)$ &lt;$element.typeParameters:{$SigTypeVariableDefinition(element=it)$};…
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DCtsTestHelper.java30 Intent it = new Intent(); in storeCtsTestResult() local
31 it.putExtra(REPORTED_FOV_EXTRA, reportedFOV); in storeCtsTestResult()
32 it.putExtra(MEASURED_FOV_EXTRA, measuredFOV); in storeCtsTestResult()
33 activity.setResult(Activity.RESULT_OK, it); in storeCtsTestResult()
/cts/tools/signature-tools/src/signature/converter/dex/
DDexFactory.java39 Iterator<IPackage> it = api.getPackages().iterator(); in loadApi() local
40 while (it.hasNext()) { in loadApi()
41 IPackage aPackage = it.next(); in loadApi()
49 it.remove(); in loadApi()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DApiPackage.java82 Iterator<Entry<String, ApiClass>> it = mApiClassMap.entrySet().iterator(); in resolveSuperClasses() local
83 while (it.hasNext()) { in resolveSuperClasses()
84 Map.Entry<String, ApiClass> entry = it.next(); in resolveSuperClasses()
/cts/suite/audio_quality/lib/src/audio/
DRemoteAudio.cpp222 std::map<android::String8, int>::iterator it; in getDataId() local
223 it = mIdMap.find(name); in getDataId()
224 if (it == mIdMap.end()) { in getDataId()
228 return it->second; in getDataId()
241 std::map<int, android::sp<Buffer> >::iterator it; in startPlayback() local
242 it = mBufferList.find(id); in startPlayback()
243 if (it == mBufferList.end()) { in startPlayback()
255 handler->getParam().mBuffer = it->second; in startPlayback()
/cts/tools/dex-tools/
DREADME.txt4 The parser is able to read a dex file and to create a datastructure based on it.
8 Since this folder contains a .project file, it can be imported directly into eclipse as a java proj…
/cts/apps/CameraITS/tests/inprog/scene2/
DREADME7 If a test requires that the camera be in any particular orientaion, it will
/cts/tests/tests/drm/src/android/drm/cts/
DDRMTest.java172 for (Iterator it = request.keySet().iterator(); it.hasNext(); ) { in executeAcquireDrmInfo()
173 String key = (String) it.next(); in executeAcquireDrmInfo()
/cts/tools/dasm/src/java_cup/
Dparser.cup53 build up parts of the current production while it is being parsed.
425 /* if it wasn't declared, emit a message */
461 and build a special start production for it. */
561 /* build a production_part and put it in the table */
586 /* put it in the non_terms table */
589 /* build a production_part and put it in the symbols table */
/cts/tests/tests/util/src/android/util/cts/
DArraySetTest.java256 Iterator<ControlledHash> it = arraySet.iterator(); in testBasicArraySet()
257 while (it.hasNext()) { in testBasicArraySet()
258 if (it.next().equals(lookup)) { in testBasicArraySet()
259 it.remove(); in testBasicArraySet()

12