Home
last modified time | relevance | path

Searched refs:elements (Results 1 – 14 of 14) sorted by relevance

/cts/tools/release-parser/tests/resources/
Dplatform.xml.pb.txt26 elements {
33 elements {
40 elements {
47 elements {
54 elements {
67 elements {
74 elements {
81 elements {
85 elements {
89 elements {
[all …]
Dandroid.hardware.vulkan.version.xml.pb.txt11 elements {
DCtsJniTestCases.apk.pb.txt1411 name: "elements"
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/main/java/com/android/bedstead/remoteframeworkclasses/processor/
DMethodSignature.java45 public static MethodSignature forMethod(ExecutableElement method, Elements elements) { in forMethod() argument
48 .map(m -> rawType(m, elements)) in forMethod()
52 .stream().map(m -> rawType(m, elements)) in forMethod()
56 rawType(method.getReturnType(), elements), in forMethod()
60 private static TypeMirror rawType(TypeMirror type, Elements elements) { in rawType() argument
64 type = elements.getTypeElement(t.toString().split("<", 2)[0]).asType(); in rawType()
73 public static MethodSignature forApiString(String string, Types types, Elements elements) { in forApiString() argument
96 returnType = typeForString(parts[0], types, elements); in forApiString()
112 .map(t -> typeForString(t, types, elements)) in forApiString()
123 .map(t -> typeForString(t, types, elements)) in forApiString()
[all …]
DApis.java63 public static Apis forClass(String className, Types types, Elements elements) {
69 findParents(parents, className, elements);
73 parseApiTxt(apiTxt.getKey(), apiTxt.getValue(), c, types, elements));
80 private static void findParents(Set<String> parents, String className, Elements elements) {
87 TypeElement element = elements.getTypeElement(className);
92 findParents(parents, superClass.toString(), elements);
96 .forEach(c -> findParents(parents, c, elements));
100 String filename, String apiTxt, String className, Types types, Elements elements) {
140 methodSignatures.add(MethodSignature.forApiString(methodLine, types, elements));
DProcessor.java713 Elements elements) { in generateRemoteSystemService() argument
717 processingEnv.getTypeUtils(), processingEnv.getElementUtils()), elements) in generateRemoteSystemService()
720 MethodSignature.forMethod(t, elements))) in generateRemoteSystemService()
983 Set<ExecutableElement> allMethods, Apis validApis, Elements elements) { in filterMethods() argument
987 MethodSignature methodSignature = MethodSignature.forMethod(method, elements); in filterMethods()
1018 private Set<ExecutableElement> getMethods(TypeElement interfaceClass, Elements elements) { in getMethods() argument
1020 getMethods(methods, interfaceClass, elements); in getMethods()
1025 Elements elements) { in getMethods() argument
1036 .map(m -> elements.getTypeElement(m.toString())) in getMethods()
1037 .forEach(m -> getMethods(methods, m, elements)); in getMethods()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DSequenceMatcher.java127 static <E> Collector<E, ?, MatchResult<E>> of(E... elements) { in of() argument
128 if (elements == null || elements.length == 0) { in of()
132 return of(Arrays.stream(elements).map(Predicate::isEqual).toArray(arraySupplier)); in of()
/cts/tests/tests/jni/libjnitest/
Dandroid_jni_cts_InstanceNonce.c258 jint *elements = (*env)->GetIntArrayElements(env, v9, NULL); in InstanceNonce_takeOneOfEach() local
259 result = (elements[0] == 9) && (elements[1] == 10); in InstanceNonce_takeOneOfEach()
260 (*env)->ReleaseIntArrayElements(env, v9, elements, JNI_ABORT); in InstanceNonce_takeOneOfEach()
Dandroid_jni_cts_StaticNonce.c276 jint *elements = (*env)->GetIntArrayElements(env, v9, NULL); in StaticNonce_takeOneOfEach() local
277 result = (elements[0] == 9) && (elements[1] == 10); in StaticNonce_takeOneOfEach()
278 (*env)->ReleaseIntArrayElements(env, v9, elements, JNI_ABORT); in StaticNonce_takeOneOfEach()
/cts/common/device-side/bedstead/testapp/src/processor/main/java/com/android/bedstead/testapp/processor/
DProcessor.java361 private void generateDpmParentWrapper(Elements elements) { in generateDpmParentWrapper() argument
366 TypeElement interfaceElement = elements.getTypeElement(interfaceClassName.canonicalName()); in generateDpmParentWrapper()
397 for (ExecutableElement method : getMethods(interfaceElement, elements)) { in generateDpmParentWrapper()
798 private Set<ExecutableElement> getMethods(TypeElement interfaceClass, Elements elements) { in getMethods() argument
800 getMethods(methods, interfaceClass, elements); in getMethods()
805 Elements elements) { in getMethods() argument
816 .map(m -> elements.getTypeElement(m.toString())) in getMethods()
817 .forEach(m -> getMethods(methods, m, elements)); in getMethods()
/cts/tools/cts-api-coverage/proto/
Dtestsuite.proto59 repeated Element elements = 3; field
/cts/tools/release-parser/proto/
Drelease.proto63 repeated Element elements = 3; field
306 repeated Element elements = 2; field
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DDexParser.java190 Set<? extends AnnotationElement> elements = annotation.getElements(); in getAnnotationList() local
191 for (AnnotationElement ele : elements) { in getAnnotationList()
/cts/tests/tests/drm/src/android/drm/cts/
DDRMTest.java256 SequenceInputStream dmStream = new SequenceInputStream(sequence.elements()); in testForwardLockAccess()