/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 …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | kernel_input.rscript | 64 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 …]
|
D | SmallStructsTest.java | 169 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()
|
D | small_structs.rscript | 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.rscript | 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.rscript | 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 | 2501 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/ |
D | ModelBuilder.h | 52 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/ |
D | ModelBuilder.cpp | 237 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/ |
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; in formatCollection()
|
/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/tests/tests/telephony/current/src/android/telephony/embms/cts/ |
D | MbmsStreamingTestBase.java | 173 .filter((elem) -> elem.get(0).equals(methodName)) in getMiddlewareCalls()
|
D | MbmsGroupCallTestBase.java | 194 .filter((elem) -> elem.get(0).equals(methodName)) in getMiddlewareCalls()
|
D | MbmsDownloadTestBase.java | 194 .filter((elem) -> elem.getString(CtsDownloadService.METHOD_NAME).equals(methodName)) in getMiddlewareCalls()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/ |
D | VrListenerVerifierActivity.java | 407 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/ |
D | BinderTest.java | 369 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/ |
D | NdkApiXmlReport.java | 291 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/ |
D | ReflectionHelper.java | 429 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/ |
D | CameraTestUtils.java | 1471 public static boolean contains(int[] array, int elem) { in contains() argument 1474 if (elem == array[i]) return true; in contains()
|