Home
last modified time | relevance | path

Searched refs:elem (Results 1 – 16 of 16) sorted by relevance

/cts/suite/cts/deviceTests/browserbench/assets/octane/js/
Djquery.js86 var match, elem, ret, doc;
150 elem = document.getElementById( match[2] );
154 if ( elem && elem.parentNode ) {
157 if ( elem.id !== match[2] ) {
163 this[0] = elem;
291 return this.pushStack( jQuery.map(this, function( elem, i ) {
292 return callback.call( elem, i, elem );
609 nodeName: function( elem, name ) {
610 return elem.nodeName && elem.nodeName.toUpperCase() === name.toUpperCase();
688 inArray: function( elem, array, i ) {
[all …]
/cts/tools/utils/
Dandroid_api_description_splitter.py97 for elem in elemlist:
98 elem = self.__trimElem(elem)
99 self.__generateFile(elem)
103 def __trimElem(self, elem): argument
105 for child in elem.childNodes:
111 elem.removeChild(child)
117 return elem
120 def __generateFile(self, elem): argument
123 … filename = os.path.join(self.out, elem.getAttribute("name").replace(".", "_").lower() + ".xml")
128 self.root.appendChild(elem)
[all …]
DDescriptionGenerator.java369 void appendSuiteToElement(Node elem, TestClass testSuite) { in appendSuiteToElement() argument
371 Collection<Node> children = getSuiteChildren(elem); in appendSuiteToElement()
393 appendSuiteToElementImpl(elem, testSuite); in appendSuiteToElement()
403 Collection<Node> getSuiteChildren(Node elem) { in getSuiteChildren() argument
406 NodeList children = elem.getChildNodes(); in getSuiteChildren()
425 void appendTestCases(Node elem, Collection<TestMethod> cases) { in appendTestCases() argument
428 elem.getParentNode().removeChild(elem); in appendTestCases()
434 Node caseNode = elem.appendChild(mDoc.createElement(TAG_TEST)); in appendTestCases()
462 protected void setAttribute(Node elem, String name, String value) { in setAttribute() argument
466 elem.getAttributes().setNamedItem(attr); in setAttribute()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dkernel_input.rs54 type elem = rsGetElementAt_##type(alloc, 0); \ typedef
55 _RS_ASSERT(elem == initial_value_##type); \
61 type elem = rsGetElementAt_##type(alloc, 0); \ typedef
62 _RS_ASSERT(elem[0] == initial_value_##type[0]); \
63 _RS_ASSERT(elem[1] == initial_value_##type[1]); \
69 type elem = rsGetElementAt_##type(alloc, 0); \ typedef
70 _RS_ASSERT(elem[0] == initial_value_##type[0]); \
71 _RS_ASSERT(elem[1] == initial_value_##type[1]); \
72 _RS_ASSERT(elem[2] == initial_value_##type[2]); \
78 type elem = rsGetElementAt_##type(alloc, 0); \ typedef
[all …]
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
Dmeans_yuvx_444_2d_to_1d.rs42 yuvx_444 elem = { py, pu, pv };
44 LOGD("elem", elem);
46 sum.x += elem.x;
47 sum.y += elem.y;
48 sum.z += elem.z;
69 yuvx_444 elem = rsGetElementAt_yuvx_444(mInput, src_x + i, src_y + x);
71 LOGD("elem", elem);
73 sum.x += elem.x;
74 sum.y += elem.y;
75 sum.z += elem.z;
Dmeans_yuvx_444_1d_to_single.rs36 yuvx_444 elem = rsGetElementAt_yuvx_444(mInput, i);
38 LOGD("elem", elem);
41 sum.x += elem.x;
42 sum.y += elem.y;
43 sum.z += elem.z;
DExtendedCameraCharacteristicsTest.java1268 for (int elem : arr) { in arrayContains()
1269 if (elem == needle) { in arrayContains()
1282 for (T elem : arr) { in arrayContains()
1283 if (elem.equals(needle)) { in arrayContains()
DCameraTestUtils.java1210 public static boolean contains(int[] array, int elem) { in contains() argument
1213 if (elem == array[i]) return true; in contains()
/cts/suite/audio_quality/lib/include/task/
DModelBuilder.h51 virtual bool parseAttributes(const TiXmlElement& elem, TaskGeneric& task);
52 virtual TaskGeneric* parseGeneric(const TiXmlElement& elem, int tableIndex);
55 virtual TaskCase* parseInclude(const TiXmlElement& elem, const android::String8& path);
/cts/common/host-side/xml-plan-generator/src/com/android/compatibility/common/xmlgenerator/
DXmlPlanGenerator.java185 Element elem = m.getDocumentElement(); in main() local
186 appNameSpace = elem.getAttribute("package"); in main()
187 runner = getElementAttribute(elem, "instrumentation", "android:name"); in main()
188 targetNameSpace = getElementAttribute(elem, "instrumentation", "android:targetPackage"); in main()
201 private static String getElementAttribute(Element parent, String elem, String name) { in getElementAttribute() argument
202 NodeList nodeList = parent.getElementsByTagName(elem); in getElementAttribute()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/
DInMatcher.java48 for (T elem : mValues) { in matches()
49 if (Objects.equals(o, elem)) { in matches()
DPreconditions.java145 for (T elem : value) { in checkCollectionElementsNotNull()
146 if (elem == null) { in checkCollectionElementsNotNull()
DAssertHelpers.java216 for (T elem : collection) { in formatCollection()
217 String val = ((first) ? ", " : "") + ((elem != null) ? elem.toString() : "null"); in formatCollection()
/cts/suite/audio_quality/lib/src/task/
DModelBuilder.cpp234 TaskCase* ModelBuilder::parseInclude(const TiXmlElement& elem, const android::String8& path) in parseInclude() argument
236 const char* fileName = elem.Attribute("file"); in parseInclude()
248 bool ModelBuilder::parseAttributes(const TiXmlElement& elem, TaskGeneric& task) in parseAttributes() argument
250 const TiXmlAttribute* attr = elem.FirstAttribute(); in parseAttributes()
/cts/tools/cts-java-scanner-doclet/src/com/android/cts/javascannerdoclet/
DCtsJavaScannerDoclet.java102 AnnotationTypeElementDoc elem = pair.element(); in start() local
104 if (elem.name().equals("minutes")) { in start()
/cts/tests/tests/hardware/src/android/hardware/multiprocess/
DErrorLoggingService.java123 Pair<Integer, Messenger> elem = iter.next(); in sendMessages() local
125 if (elem.first == null || elem.first == i.getEvent()) { in sendMessages()
132 elem.second.send(m); in sendMessages()