/cts/tools/utils/ |
D | android_api_description_splitter.py | 97 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 …]
|
D | DescriptionGenerator.java | 369 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/ |
D | kernel_input.rs | 64 type elem = rsGetElementAt_##type(alloc, 0); \ typedef 65 _RS_ASSERT(elem == initial_value_##type); \ 71 type elem = rsGetElementAt_##type(alloc, 0); \ typedef 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); \ typedef 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); \ typedef [all …]
|
D | SmallStructsTest.java | 163 for (int elem = 0; elem < sAllocationElements; ++elem) { in testSmallStructsOfCharArray() 164 set_bytes.invoke(field, elem, bytes, true); in testSmallStructsOfCharArray() 212 for (int elem = 0; elem < sAllocationElements; ++elem) { in testSmallStructsOfHeterogeneousTypes() 217 fieldASetter.invoke(field, elem, initialValueA, true); in testSmallStructsOfHeterogeneousTypes() 223 fieldBSetter.invoke(field, elem, initialValueB, true); in testSmallStructsOfHeterogeneousTypes()
|
D | small_structs.rs | 86 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/ |
D | means_yuvx_444_2d_to_1d.rs | 42 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;
|
D | means_yuvx_444_1d_to_single.rs | 36 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;
|
D | ExtendedCameraCharacteristicsTest.java | 1390 for (int elem : arr) { in arrayContains() 1391 if (elem == needle) { in arrayContains() 1404 for (T elem : arr) { in arrayContains() 1405 if (elem.equals(needle)) { in arrayContains()
|
D | CameraTestUtils.java | 1313 public static boolean contains(int[] array, int elem) { in contains() argument 1316 if (elem == array[i]) return true; in contains()
|
/cts/suite/audio_quality/lib/include/task/ |
D | ModelBuilder.h | 51 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/tests/camera/src/android/hardware/camera2/cts/helpers/ |
D | InMatcher.java | 48 for (T elem : mValues) { in matches() 49 if (Objects.equals(o, elem)) { in matches()
|
D | Preconditions.java | 145 for (T elem : value) { in checkCollectionElementsNotNull() 146 if (elem == null) { in checkCollectionElementsNotNull()
|
D | AssertHelpers.java | 216 for (T elem : collection) { in formatCollection() 217 String val = ((first) ? ", " : "") + ((elem != null) ? elem.toString() : "null"); in formatCollection()
|
/cts/suite/audio_quality/lib/src/task/ |
D | ModelBuilder.cpp | 234 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/tests/tests/icu/tools/android/icu/cts/tools/ |
D | GenerateTestCaseXML.java | 124 protected static void setAttribute(Node elem, String name, String value) { in setAttribute() argument 125 Attr attr = elem.getOwnerDocument().createAttribute(name); in setAttribute() 128 elem.getAttributes().setNamedItem(attr); in setAttribute()
|
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/ |
D | ErrorLoggingService.java | 123 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/apps/CtsVerifier/src/com/android/cts/verifier/vr/ |
D | VrListenerVerifierActivity.java | 355 private static <E> void assertIn(String message, E elem, E[] c) { in assertIn() argument 356 if (!Arrays.asList(c).contains(elem)) { in assertIn() 361 private static void assertEventIn(String message, MockVrListenerService.Event elem, in assertEventIn() argument 363 if (!Arrays.asList(c).contains(elem.type)) { in assertEventIn()
|
/cts/common/util/src/com/android/compatibility/common/util/ |
D | ReportLog.java | 277 /* package */ void setSummary(Metric elem) { in setSummary() argument 278 mSummary = elem; in setSummary()
|