Home
last modified time | relevance | path

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

/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 …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dkernel_input.rscript64 type elem = rsGetElementAt_##type(alloc, 0); \
65 _RS_ASSERT(elem == initial_value_##type); \
71 type elem = rsGetElementAt_##type(alloc, 0); \
72 _RS_ASSERT(elem[0] == initial_value_##type[0]); \
73 _RS_ASSERT(elem[1] == initial_value_##type[1]); \
79 type elem = rsGetElementAt_##type(alloc, 0); \
80 _RS_ASSERT(elem[0] == initial_value_##type[0]); \
81 _RS_ASSERT(elem[1] == initial_value_##type[1]); \
82 _RS_ASSERT(elem[2] == initial_value_##type[2]); \
88 type elem = rsGetElementAt_##type(alloc, 0); \
[all …]
DSmallStructsTest.java169 for (int elem = 0; elem < sAllocationElements; ++elem) { in testSmallStructsOfCharArray()
170 set_bytes.invoke(field, elem, bytes, true); in testSmallStructsOfCharArray()
221 for (int elem = 0; elem < sAllocationElements; ++elem) { in testSmallStructsOfHeterogeneousTypes()
226 fieldASetter.invoke(field, elem, initialValueA, true); in testSmallStructsOfHeterogeneousTypes()
232 fieldBSetter.invoke(field, elem, initialValueB, true); in testSmallStructsOfHeterogeneousTypes()
Dsmall_structs.rscript86 struct char_array_##SIZE *elem = \
89 _RS_ASSERT(elem->bytes[j] == 2 * j + 1); \
190 struct two_element_struct_##TAG *elem = \
192 _RS_ASSERT(equals_##TYPE1(elem->a, (1 + (i % 3)) * initial_value_##TYPE1)); \
193 _RS_ASSERT(equals_##TYPE2(elem->b, (1 + (i % 4)) * initial_value_##TYPE2)); \
/cts/tests/camera/src/android/hardware/camera2/cts/
Dmeans_yuvx_444_2d_to_1d.rscript42 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.rscript36 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.java2501 for (int elem : arr) {
2502 if (elem == needle) {
2515 for (T elem : arr) {
2516 if (elem.equals(needle)) {
/cts/suite/audio_quality/lib/include/task/
DModelBuilder.h52 virtual bool parseAttributes(const tinyxml2::XMLElement& elem, TaskGeneric& task);
53 virtual TaskGeneric* parseGeneric(const tinyxml2::XMLElement& elem, int tableIndex);
56 virtual TaskCase* parseInclude(const tinyxml2::XMLElement& elem, const android::String8& path);
/cts/suite/audio_quality/lib/src/task/
DModelBuilder.cpp237 TaskCase* ModelBuilder::parseInclude(const XMLElement& elem, const android::String8& path) in parseInclude() argument
239 const char* fileName = elem.Attribute("file"); in parseInclude()
251 bool ModelBuilder::parseAttributes(const XMLElement& elem, TaskGeneric& task) in parseAttributes() argument
253 const XMLAttribute* attr = elem.FirstAttribute(); in parseAttributes()
/cts/tests/camera/utils/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; in formatCollection()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
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()
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsStreamingTestBase.java173 .filter((elem) -> elem.get(0).equals(methodName)) in getMiddlewareCalls()
DMbmsGroupCallTestBase.java194 .filter((elem) -> elem.get(0).equals(methodName)) in getMiddlewareCalls()
DMbmsDownloadTestBase.java194 .filter((elem) -> elem.getString(CtsDownloadService.METHOD_NAME).equals(methodName)) in getMiddlewareCalls()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/
DVrListenerVerifierActivity.java407 private static <E> void assertIn(String message, E elem, E[] c) { in assertIn() argument
408 if (!Arrays.asList(c).contains(elem)) { in assertIn()
413 private static void assertEventIn(String message, MockVrListenerService.Event elem, in assertEventIn() argument
415 if (!Arrays.asList(c).contains(elem.type)) { in assertEventIn()
/cts/tests/tests/os/src/android/os/cts/
DBinderTest.java369 for (StackTraceElement elem : stack) { in testJoinThreadPool()
370 if (elem.toString().contains("Binder.joinThreadPool")) { in testJoinThreadPool()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DNdkApiXmlReport.java291 protected static void setAttribute(Document doc, Node elem, String name, String value) { in setAttribute() argument
294 elem.getAttributes().setNamedItem(attr); in setAttribute()
/cts/tests/signature/lib/common/src/android/signature/cts/
DReflectionHelper.java429 public static boolean hasMatchingAnnotation(AnnotatedElement elem, String annotationSpec) { in hasMatchingAnnotation() argument
430 for (Annotation a : elem.getAnnotations()) { in hasMatchingAnnotation()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1471 public static boolean contains(int[] array, int elem) { in contains() argument
1474 if (elem == array[i]) return true; in contains()