Home
last modified time | relevance | path

Searched refs:element (Results 1 – 25 of 32) sorted by relevance

12

/cts/tools/signature-tools/templates/model/
Dmodel.stg3 ElementType(element) ::= <<
4 $({$element.class.simpleName$})(element = element)$
7 Modifier(element) ::= <<
8 $element$
11 SigAnnotation(element) ::= <<
12 @$ElementType(element = element.type)$
13 $if(element.elements)$
14 {$element.elements:{$SigAnnotationElement(element=it)$}$}
18 SigAnnotationElement(element) ::= <<
19 $element.declaringField.name$=$element.value$
[all …]
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/
DAllocationInfo.java92 Element element; in newInstance() local
95 element = Element.YUV(rs); in newInstance()
98 element = Element.RGBA_8888(rs); in newInstance()
105 return new AllocationInfo(element, size, usage); in newInstance()
145 public static AllocationInfo newInstance(Element element, Size size) { in newInstance() argument
146 return new AllocationInfo(element, size, Allocation.USAGE_SCRIPT); in newInstance()
164 public static AllocationInfo newInstance(Element element, Size size, int usage) { in newInstance() argument
165 return new AllocationInfo(element, size, usage); in newInstance()
207 public AllocationInfo changeElementWithDefaultUsage(Element element) { in changeElementWithDefaultUsage() argument
208 return newInstance(element, getSize()); in changeElementWithDefaultUsage()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DNonBlockingAudioTrack.java142 QueueElement element = mQueue.peekFirst(); in process() local
143 int written = mAudioTrack.write(element.data, element.size, in process()
144 AudioTrack.WRITE_NON_BLOCKING, element.pts); in process()
150 element.size -= written; in process()
151 if (element.size != 0) { in process()
163 QueueElement element = new QueueElement(); in write() local
164 element.data = data; in write()
165 element.size = size; in write()
166 element.pts = pts; in write()
170 mQueue.add(element); in write()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DRSBaseCompute.java77 Element element = null; in getElement() local
80 element = Element.F64(rs); in getElement()
82 element = Element.F32(rs); in getElement()
84 element = Element.I64(rs); in getElement()
86 element = Element.U64(rs); in getElement()
88 element = Element.I32(rs); in getElement()
90 element = Element.U32(rs); in getElement()
92 element = Element.I16(rs); in getElement()
94 element = Element.U16(rs); in getElement()
96 element = Element.I8(rs); in getElement()
[all …]
Dclear_object.rs12 rs_element element;
16 rsClearObject( &element );
17 *out = ( NULL == element.p ? 1 : 0 );
Dset_object.rs16 rs_element element;
22 rsSetObject(&dst,in->element);
23 *out = ( dst.p == in->element.p ? 1 : 0 );
Dis_object.rs14 rs_element element;
19 *out = rsIsObject(in->element)==false ? 0 : 1;
DSetObjectTest.java31 Element element; field in SetObjectTest
43 element = Element.BOOLEAN(mRS); in setUp()
60 mItem.element = element; in testSetObjectElement()
DIsObjectTest.java32 Element element; field in IsObjectTest
44 element = Element.BOOLEAN(mRS); in setUp()
61 mItem.element = element; in testIsObjectElement()
DClearObjectTest.java63 Element element = Element.BOOLEAN(mRS); in testClearObjectElement() local
66 ms_clear.set_element(element); in testClearObjectElement()
/cts/tests/tests/rscpp/librscpptest/
Dclear_object.rs12 rs_element element;
16 rsClearObject( &element );
17 *out = ( NULL == element.p ? 1 : 0 );
Drs_jni_object.cpp49 sp<const Element> element = Element::BOOLEAN(mRS); in Java_android_cts_rscpp_RSObjectTest_testClearObjectElement() local
51 ms_clear->set_element(element); in Java_android_cts_rscpp_RSObjectTest_testClearObjectElement()
/cts/tools/signature-tools/templates/
DModelElementRow.st2 <td class="element">
3 $ElementType(element=it):{<tt>$it$</tt>}$
DDeltaTableRow.st2 <td class="element">
3 $ElementType(element=it.to):{<tt>$it$</tt>}$
/cts/tools/signature-tools/src/signature/model/util/
DModelUtil.java53 public static IAnnotation getAnnotation(IAnnotatableElement element, in getAnnotation() argument
55 for (IAnnotation annotation : element.getAnnotations()) { in getAnnotation()
66 for (IAnnotationElement element : annotation.getElements()) { in getAnnotationElement()
67 if (elementName.equals(element.getDeclaringField().getName())) { in getAnnotationElement()
68 return element; in getAnnotationElement()
/cts/tools/signature-tools/templates/delta/
Ddeltas.stg4 ADDED(delta) ::= "Added $ElementType(element=delta.to)$"
7 REMOVED(delta) ::= "Removed $ElementType(element=delta.from)$"
47 SigClassReferenceDelta(delta) ::= "from $SigClass(element=delta.from)$ to $SigClass(element=delta.t…
113 SigTypeDelta(delta) ::= "from $ElementType(element=delta.from)$ to $ElementType(element=delta.to)$"
/cts/tools/signature-tools/src/signature/model/impl/
DSigAnnotation.java60 for (IAnnotationElement element : getElements()) { in toString()
62 builder.append(element.toString()); in toString()
/cts/tools/utils/cts/
Dtools.py236 element = self.doc.getElementsByTagName(tag)[0]
237 return element.getAttributeNS('http://schemas.android.com/apk/res/android', attr_name)
249 element = self.doc.getElementsByTagName(tag)[0]
250 return element.getAttribute(attr_name)
/cts/tools/dex-tools/src/dex/reader/
DTypeFormatter.java94 for (Object element : elements) { in format()
98 builder.append(element.toString()); in format()
/cts/tools/dex-tools/test/dex/reader/
DDexTestsCommon.java117 protected DexAnnotation getAnnotation(DexAnnotatedElement element, String annotationType) { in getAnnotation() argument
118 assertNotNull(element); in getAnnotation()
120 for (DexAnnotation anno : element.getAnnotations()) { in getAnnotation()
/cts/suite/cts/deviceTests/browserbench/assets/octane/js/
Dbootstrap-collapse.js29 var Collapse = function (element, options) { argument
30 this.$element = $(element)
/cts/tools/cts-java-scanner-doclet/src/com/android/cts/javascannerdoclet/
DCtsJavaScannerDoclet.java102 AnnotationTypeElementDoc elem = pair.element(); in start()
119 if (pair.element().name().equals("timeout")) { in start()
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/
DCtsXmlGenerator.java150 Element element = (Element) nodeList.item(0); in getElementAttribute() local
151 return element.getAttribute(attributeName); in getElementAttribute()
/cts/tools/utils/
DCollectAllTests.java320 private static Element getElement(Element element, String tagName) { in getElement() argument
321 NodeList elements = element.getElementsByTagName(tagName); in getElement()
329 private static String getElementAttribute(Element element, in getElementAttribute() argument
332 Element e = getElement(element, elementName); in getElementAttribute()
/cts/tools/signature-tools/src/signature/converter/doclet/
DDocletToSigConverter.java556 if ("value".equals(value.element().name())) { in annotationRetentionIsSource()
577 SigAnnotationElement element = new SigAnnotationElement(); in convertAnnotation() local
578 elements.add(element); in convertAnnotation()
580 element.setValue(convertAnnotationValue(pair.value())); in convertAnnotation()
581 String name = pair.element().name(); in convertAnnotation()
585 element.setDeclaringField(field); in convertAnnotation()

12