Searched refs:returnType (Results 1 - 25 of 33) sorted by relevance

12

/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/
H A DInsertionMethodProcessor.kt50 val returnType = delegate.extractReturnType()
51 val returnTypeName = TypeName.get(returnType)
61 var insertionType = getInsertionType(returnType)
79 returnType = returnType,
88 private fun getInsertionType(returnType: TypeMirror): InsertionMethod.Type? {
99 return if (returnType.kind == VOID) {
101 } else if (returnType.kind == TypeKind.ARRAY) {
102 val arrayType = MoreTypes.asArray(returnType)
111 } else if (MoreTypes.isType(returnType)
[all...]
H A DRawQueryMethodProcessor.kt50 val returnTypeName = TypeName.get(executableType.returnType)
57 .findQueryResultBinder(executableType.returnType, query)
65 returnType = executableType.returnType,
H A DCustomConverterProcessor.kt111 val returnType = executableType.returnType
112 val invalidReturnType = INVALID_RETURN_TYPES.contains(returnType.kind)
119 val returnTypeName = returnType.typeName()
131 return CustomTypeConverter(container, methodElement, param, returnType)
H A DQueryMethodProcessor.kt87 context.checker.check(executableType.returnType.kind != TypeKind.ERROR,
95 val returnTypeName = TypeName.get(executableType.returnType)
107 .findQueryResultBinder(executableType.returnType, query)
144 returnType = executableType.returnType,
H A DShortcutMethodProcessor.kt47 return executableType.returnType
H A DShortcutParameterProcessor.kt83 typeUtils.asMemberOf(iterableType, it)).returnType)
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
H A DReflectionUtils.java126 final Class<?> returnType = m.getReturnType();
127 if (returnType == boolean.class) {
129 } else if (returnType == int.class) {
131 } else if (returnType == long.class) {
133 } else if (returnType == short.class) {
135 } else if (returnType == char.class) {
137 } else if (returnType == byte.class) {
139 } else if (returnType == float.class) {
141 } else if (returnType == double.class) {
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/
H A DQueryMethod.kt31 val returnType: TypeMirror, val parameters: List<QueryParameter>,
50 returnType.typeName() != TypeName.VOID
H A DRawQueryMethod.kt34 val returnType: TypeMirror,
40 returnType.typeName() != TypeName.VOID
H A DInsertionMethod.kt29 val entities: Map<String, Entity>, val returnType: TypeMirror,
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DTransformClassAdapter.java97 String returnType = t.getInternalName();
98 if (returnType != null) {
99 if (mDeleteReturns.contains(returnType)) {
129 return new StubMethodAdapter(mw, name, returnType(desc), invokeSignature,
141 Type returnType(String desc) { method in class:TransformClassAdapter
H A DDelegateMethodAdapter.java259 Type returnType = Type.getReturnType(mDesc);
260 mDelWriter.visitInsn(returnType.getOpcode(Opcodes.IRETURN));
H A DStubMethodAdapter.java51 public StubMethodAdapter(MethodVisitor mv, String methodName, Type returnType, argument
55 mReturnType = returnType;
/frameworks/base/core/java/com/android/internal/util/function/pooled/
H A DPooledLambdaImpl.java218 final int returnType = LambdaType.decodeReturnType(funcType);
222 switch (returnType) {
230 switch (returnType) {
242 switch (returnType) {
256 switch (returnType) {
270 switch (returnType) {
285 switch (returnType) {
302 switch (returnType) {
320 switch (returnType) {
527 static int encode(int argCount, int returnType) { argument
572 toString(int returnType) argument
[all...]
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
H A DLockTargetStateAnalysis.java49 Type returnType = Type.getReturnType(invoke.desc);
50 if (returnType.equals(Type.VOID_TYPE)) {
57 if (returnType.getDescriptor().equals(target.getTargetDesc())) {
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
H A DInjectedMethod.java38 String returnType, String... parameters) {
42 mReturnTypeName = returnType;
37 InjectedMethod(InjectedClass containingClass, boolean isStatic, String name, String returnType, String... parameters) argument
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/
H A DCallbackWrapperWriter.kt58 block("public ${method.returnType.canonicalName} ${method.name}(${wrapper.argsWithTypes()})") {
60 if (method.returnType.isVoid) {
68 nl("${method.returnType} $listenerMethodName(${wrapper.allArgsWithTypes()});")
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/
H A DInsertionMethodProcessorTest.kt71 assertThat(insertion.returnType.typeName(), `is`(TypeName.VOID))
91 assertThat(insertion.returnType.typeName(), `is`(TypeName.LONG))
130 assertThat(insertion.returnType.typeName(), `is`(TypeName.VOID))
150 assertThat(insertion.returnType.typeName(), `is`(
171 assertThat(insertion.returnType.typeName(), `is`(TypeName.VOID))
190 assertThat(insertion.returnType.typeName(), `is`(TypeName.VOID))
209 assertThat(insertion.returnType.typeName(), `is`(TypeName.VOID))
226 assertThat(insertion.returnType.typeName(), `is`(TypeName.VOID))
245 assertThat(insertion.returnType.typeName(), `is`(TypeName.VOID))
262 assertThat(insertion.returnType
[all...]
H A DQueryMethodProcessorTest.kt111 assertThat(parsedQuery.returnType.typeName(),
124 assertThat(parsedQuery.returnType.typeName(), `is`(TypeName.LONG))
142 assertThat(parsedQuery.returnType.typeName(), `is`(TypeName.LONG))
284 assertThat(parsedQuery.returnType.typeName(), `is`(expected))
355 assertThat(parsedQuery.returnType.typeName(),
399 assertThat(parsedQuery.returnType.typeName(), `is`(TypeName.INT))
412 assertThat(parsedQuery.returnType.typeName(), `is`(TypeName.VOID))
425 assertThat(parsedQuery.returnType.typeName(), `is`(TypeName.VOID))
439 assertThat(parsedQuery.returnType.typeName(),
468 assertThat(parsedQuery.returnType
[all...]
H A DRawQueryMethodProcessorTest.kt62 assertThat(query.returnType.typeName(),
171 assertThat(query.returnType.typeName(), `is`(pojo))
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/proguard/
H A DProGuardClassSpecParser.kt109 // [@annotation] [[!]public|private|etc...] returnType methodName(argumentType,...));
116 { returnType: String -> mapper.replaceType(returnType) },
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/
H A DAnnotationMethod.java113 TypeMirror returnType = mMethod.getReturnType();
116 return new AnnotationClass(returnType);
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/
H A DDaoWriter.kt155 method.returnType.typeName(), resultVar, stmtName)
183 val returnsValue = method.element.returnType.kind != TypeKind.VOID
211 params.add(element.returnType)
506 method.returnType.typeName(), resultVar, stmtVar)
546 returns(baseSpec.returnType)
/frameworks/base/rs/java/android/renderscript/
H A DScriptGroup.java115 Closure(RenderScript rs, Script.KernelID kernelID, Type returnType, argument
120 mReturnValue = Allocation.createTyped(rs, returnType);
943 * @param returnType Allocation type for the return value
949 private Closure addKernelInternal(Script.KernelID k, Type returnType, Object[] args, argument
951 Closure c = new Closure(mRS, k, returnType, args, globalBindings);
992 public Closure addKernel(Script.KernelID k, Type returnType, Object... argsAndBindings) { argument
998 return addKernelInternal(k, returnType, args.toArray(), bindingMap);
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DScriptGroup.java124 Closure(RenderScript rs, Script.KernelID kernelID, Type returnType, argument
133 mReturnValue = Allocation.createTyped(rs, returnType);
1060 * @param returnType Allocation type for the return value
1066 private Closure addKernelInternal(Script.KernelID k, Type returnType, Object[] args, argument
1068 Closure c = new Closure(mRS, k, returnType, args, globalBindings);
1110 public Closure addKernel(Script.KernelID k, Type returnType, Object... argsAndBindings) { argument
1116 return addKernelInternal(k, returnType, args.toArray(), bindingMap);

Completed in 313 milliseconds

12