/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/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/tests/telephony/current/src/android/telephony/embms/cts/ |
D | MbmsStreamingTestBase.java | 193 .filter((elem) -> elem.get(0).equals(methodName)) in getMiddlewareCalls()
|
D | MbmsDownloadTestBase.java | 213 .filter((elem) -> elem.getString(CtsDownloadService.METHOD_NAME).equals(methodName)) in getMiddlewareCalls()
|
D | MbmsGroupCallTestBase.java | 224 .filter((elem) -> elem.get(0).equals(methodName)) in getMiddlewareCalls()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BinderTest.java | 136 for (StackTraceElement elem : stack) { in testJoinThreadPool() 137 if (elem.toString().contains("Binder.joinThreadPool")) { in testJoinThreadPool()
|
/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/camera/src/android/hardware/multiprocess/camera/cts/ |
D | ErrorLoggingService.java | 143 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/ |
D | NdkApiXmlReport.java | 292 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/ |
D | ReflectionHelper.java | 472 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/ |
D | MediaSessionTest.java | 932 for (QueueItem elem : queueItemArray) { in testQueueItem() 933 assertThat(elem).isNull(); in testQueueItem()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ExtendedCameraCharacteristicsTest.java | 4363 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/ |
D | CameraTestUtils.java | 2402 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()
|