/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/ |
H A D | InsertionMethodProcessor.kt | 50 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 D | RawQueryMethodProcessor.kt | 50 val returnTypeName = TypeName.get(executableType.returnType) 57 .findQueryResultBinder(executableType.returnType, query) 65 returnType = executableType.returnType,
|
H A D | CustomConverterProcessor.kt | 111 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 D | QueryMethodProcessor.kt | 87 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 D | ShortcutMethodProcessor.kt | 47 return executableType.returnType
|
H A D | ShortcutParameterProcessor.kt | 83 typeUtils.asMemberOf(iterableType, it)).returnType)
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
H A D | ReflectionUtils.java | 126 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 D | QueryMethod.kt | 31 val returnType: TypeMirror, val parameters: List<QueryParameter>, 50 returnType.typeName() != TypeName.VOID
|
H A D | RawQueryMethod.kt | 34 val returnType: TypeMirror, 40 returnType.typeName() != TypeName.VOID
|
H A D | InsertionMethod.kt | 29 val entities: Map<String, Entity>, val returnType: TypeMirror,
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | TransformClassAdapter.java | 97 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 D | DelegateMethodAdapter.java | 259 Type returnType = Type.getReturnType(mDesc); 260 mDelWriter.visitInsn(returnType.getOpcode(Opcodes.IRETURN));
|
H A D | StubMethodAdapter.java | 51 public StubMethodAdapter(MethodVisitor mv, String methodName, Type returnType, argument 55 mReturnType = returnType;
|
/frameworks/base/core/java/com/android/internal/util/function/pooled/ |
H A D | PooledLambdaImpl.java | 218 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 D | LockTargetStateAnalysis.java | 49 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 D | InjectedMethod.java | 38 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 D | CallbackWrapperWriter.kt | 58 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 D | InsertionMethodProcessorTest.kt | 71 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 D | QueryMethodProcessorTest.kt | 111 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 D | RawQueryMethodProcessorTest.kt | 62 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 D | ProGuardClassSpecParser.kt | 109 // [@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 D | AnnotationMethod.java | 113 TypeMirror returnType = mMethod.getReturnType(); 116 return new AnnotationClass(returnType);
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/ |
H A D | DaoWriter.kt | 155 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 D | ScriptGroup.java | 115 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 D | ScriptGroup.java | 124 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);
|