/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/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 | QueryMethodProcessor.kt | 66 context.checker.check(executableType.returnType.kind != TypeKind.ERROR, 74 val returnTypeName = TypeName.get(executableType.returnType) 86 .findQueryResultBinder(executableType.returnType, query) 98 returnType = executableType.returnType,
|
H A D | CustomConverterProcessor.kt | 113 val returnType = executableType.returnType 114 val invalidReturnType = INVALID_RETURN_TYPES.contains(returnType.kind) 121 val returnTypeName = returnType.typeName() 133 return CustomTypeConverter(container, methodElement, param, returnType)
|
H A D | ShortcutMethodProcessor.kt | 47 return executableType.returnType
|
H A D | ShortcutParameterProcessor.kt | 79 typeUtils.asMemberOf(iterableType, it)).returnType)
|
H A D | PojoProcessor.kt | 153 it.parameters.size == 0 && it.returnType.kind != TypeKind.VOID 157 it.parameters.size == 1 && it.returnType.kind == TypeKind.VOID 409 method.returnType 420 type = match.returnType,
|
H A D | DatabaseProcessor.kt | 85 val daoType = MoreTypes.asTypeElement(executable.returnType)
|
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/vo/ |
H A D | QueryMethod.kt | 31 val returnType: TypeMirror, val parameters: List<QueryParameter>, 49 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/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/android/arch/persistence/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 | 104 assertThat(parsedQuery.returnType.typeName(), 117 assertThat(parsedQuery.returnType.typeName(), `is`(TypeName.LONG)) 134 assertThat(parsedQuery.returnType.typeName(), `is`(TypeName.LONG)) 275 assertThat(parsedQuery.returnType.typeName(), `is`(expected)) 342 assertThat(parsedQuery.returnType.typeName(), 386 assertThat(parsedQuery.returnType.typeName(), `is`(TypeName.INT)) 399 assertThat(parsedQuery.returnType.typeName(), `is`(TypeName.VOID)) 412 assertThat(parsedQuery.returnType.typeName(), `is`(TypeName.VOID)) 426 assertThat(parsedQuery.returnType.typeName(), 456 assertThat(parsedQuery.returnType [all...] |
/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/android/arch/persistence/room/writer/ |
H A D | DaoWriter.kt | 147 method.returnType.typeName(), resultVar, stmtName) 175 val returnsValue = method.element.returnType.kind != TypeKind.VOID 201 params.add(element.returnType) 425 method.returnType.typeName(), resultVar, stmtVar) 460 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);
|
/frameworks/native/opengl/tools/glgen/src/ |
H A D | JniCodeEmitter.java | 312 CType returnType = cfunc.getType(); 313 boolean isVoid = returnType.isVoid(); 318 if (returnType.getBaseType().startsWith("EGL")) { 319 return "(" + returnType.getDeclaration() + ") 0"; 931 CType returnType = cfunc.getType(); 932 boolean isVoid = returnType.isVoid(); 1028 out.println(indent + returnType.getDeclaration() + 1031 out.println(indent + returnType.getDeclaration() + 1034 out.println(indent + returnType.getDeclaration() +
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/ |
H A D | SetterStore.java | 247 TypeMirror returnType = eraseType(processingEnv, bindingMethod.getReturnType()); 248 String value = getQualifiedName(returnType); 742 bestMethod.returnType, isBetterView, imports)) { 744 bestMethod.returnType = adapterValueType; 855 ModelClass returnType = method.getReturnType(null); // no parameters 857 isBetterParameter(returnType, valueType, bestReturnType, 860 bestReturnType = returnType; 1814 public ModelClass returnType; field in class:SetterStore.InverseMethod 1817 public InverseMethod(BindingGetterCall call, ModelClass returnType, ModelClass viewType) { argument 1819 this.returnType [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewDebug.java | 1183 final Class<?> returnType = method.getReturnType(); 1188 if (returnType == int.class) { 1220 } else if (returnType == int[].class) { 1228 } else if (returnType == String[].class) { 1241 } else if (!returnType.isPrimitive()) { 1536 final Class<?> returnType = method.getReturnType(); 1541 sb.append(capturedViewExportMethods(methodValue, returnType, method.getName() + "#"));
|
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/ |
H A D | LayoutBinderWriter.kt | 594 val shouldReturn = !wrapper.method.returnType.isVoid 600 block("public final ${wrapper.method.returnType.canonicalName} ${wrapper.listenerMethodName}(${wrapper.allArgsWithTypes()})") { 624 nl("return ${wrapper.method.returnType.defaultValue()};") 1171 val returnType = listenerMethod.getReturnType(parameterTypes.toList()) 1173 tab("public $returnType ${listenerMethod.name}(${ 1185 if (!returnType.isVoid) {
|