Home
last modified time | relevance | path

Searched refs:elem (Results 1 – 18 of 18) 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/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/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsStreamingTestBase.java193 .filter((elem) -> elem.get(0).equals(methodName)) in getMiddlewareCalls()
DMbmsDownloadTestBase.java213 .filter((elem) -> elem.getString(CtsDownloadService.METHOD_NAME).equals(methodName)) in getMiddlewareCalls()
DMbmsGroupCallTestBase.java224 .filter((elem) -> elem.get(0).equals(methodName)) in getMiddlewareCalls()
/cts/tests/tests/os/src/android/os/cts/
DBinderTest.java136 for (StackTraceElement elem : stack) { in testJoinThreadPool()
137 if (elem.toString().contains("Binder.joinThreadPool")) { in testJoinThreadPool()
/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/camera/src/android/hardware/multiprocess/camera/cts/
DErrorLoggingService.java143 EventWaiter elem = iter.next(); in sendMessages() local
144 Set<Integer> eventSet = elem.getEvents(); in sendMessages()
145 Messenger replyMessenger = elem.getMessenger(); in sendMessages()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DNdkApiXmlReport.java292 protected static void setAttribute(Document doc, Node elem, String name, String value) { in setAttribute() argument
295 elem.getAttributes().setNamedItem(attr); in setAttribute()
/cts/tests/signature/lib/common/src/android/signature/cts/
DReflectionHelper.java472 public static boolean hasMatchingAnnotation(AnnotatedElement elem, String annotationSpec) { in hasMatchingAnnotation() argument
473 for (Annotation a : elem.getAnnotations()) { in hasMatchingAnnotation()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaSessionTest.java932 for (QueueItem elem : queueItemArray) { in testQueueItem()
933 assertThat(elem).isNull(); in testQueueItem()
/cts/tests/camera/src/android/hardware/camera2/cts/
DExtendedCameraCharacteristicsTest.java4363 for (int elem : arr) {
4364 if (elem == needle) {
4377 for (T elem : arr) {
4378 if (elem.equals(needle)) {
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java2402 public static boolean contains(int[] array, int elem) { in contains() argument
2405 if (elem == array[i]) return true; in contains()
2410 public static boolean contains(long[] array, long elem) { in contains() argument
2413 if (elem == array[i]) return true; in contains()