Home
last modified time | relevance | path

Searched refs:declared (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/
DLiveDataQueryResultBinderProvider.kt35 override fun extractTypeArg(declared: DeclaredType): TypeMirror = declared.typeArguments.first() in extractTypeArg()
45 override fun matches(declared: DeclaredType): Boolean = in matches()
46 declared.typeArguments.size == 1 && isLiveData(declared) in matches()
48 private fun isLiveData(declared: DeclaredType): Boolean { in matches()
52 val erasure = context.processingEnv.typeUtils.erasure(declared) in matches()
DFlowableQueryResultBinderProvider.kt42 override fun extractTypeArg(declared: DeclaredType): TypeMirror = declared.typeArguments.first() in extractTypeArg()
52 override fun matches(declared: DeclaredType): Boolean = in matches()
53 declared.typeArguments.size == 1 && isRxJava2Publisher(declared) in matches()
55 private fun isRxJava2Publisher(declared: DeclaredType): Boolean { in matches()
59 val erasure = context.processingEnv.typeUtils.erasure(declared) in matches()
DRxCallableQueryResultBinderProvider.kt37 override fun provide(declared: DeclaredType, query: ParsedQuery): QueryResultBinder { in provide()
38 val typeArg = declared.typeArguments.first() in provide()
43 override fun matches(declared: DeclaredType): Boolean = in matches()
44 declared.typeArguments.size == 1 && matchesRxType(declared) in matches()
46 private fun matchesRxType(declared: DeclaredType): Boolean { in matches()
47 val erasure = context.processingEnv.typeUtils.erasure(declared) in matches()
DDataSourceFactoryQueryResultBinderProvider.kt37 override fun provide(declared: DeclaredType, query: ParsedQuery): QueryResultBinder { in provide()
41 val typeArg = declared.typeArguments[1] in provide()
52 override fun matches(declared: DeclaredType): Boolean = in matches()
53 declared.typeArguments.size == 2 && isLivePagedList(declared) in matches()
55 private fun isLivePagedList(declared: DeclaredType): Boolean { in matches()
59 val erasure = context.processingEnv.typeUtils.erasure(declared) in matches()
DGuavaListenableFutureQueryResultBinderProvider.kt44 override fun provide(declared: DeclaredType, query: ParsedQuery): QueryResultBinder { in provide()
52 declared.typeArguments.first(), query) in provide()
54 declared.typeArguments.first(), adapter) in provide()
60 override fun matches(declared: DeclaredType): Boolean =
61 declared.typeArguments.size == 1 &&
62 context.processingEnv.typeUtils.erasure(declared).typeName() ==
DCursorQueryResultBinderProvider.kt29 override fun provide(declared: DeclaredType, query: ParsedQuery): QueryResultBinder { in provide()
33 override fun matches(declared: DeclaredType): Boolean =
34 declared.typeArguments.size == 0 && TypeName.get(declared) == AndroidTypeNames.CURSOR
DDataSourceQueryResultBinderProvider.kt41 override fun provide(declared: DeclaredType, query: ParsedQuery): QueryResultBinder { in provide()
45 val typeArg = declared.typeArguments.last() in provide()
54 override fun matches(declared: DeclaredType): Boolean { in matches()
58 if (declared.typeArguments.isEmpty()) { in matches()
61 val erasure = context.processingEnv.typeUtils.erasure(declared) in matches()
DInstantQueryResultBinderProvider.kt27 override fun provide(declared: DeclaredType, query: ParsedQuery): QueryResultBinder { in provide()
29 context.typeAdapterStore.findQueryResultAdapter(declared, query)) in provide()
32 override fun matches(declared: DeclaredType): Boolean = true
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/
DObservableQueryResultBinderProvider.kt32 protected abstract fun extractTypeArg(declared: DeclaredType): TypeMirror in extractTypeArg()
37 final override fun provide(declared: DeclaredType, query: ParsedQuery): QueryResultBinder { in extractTypeArg()
38 val typeArg = extractTypeArg(declared) in extractTypeArg()
DTypeAdapterStore.kt264 val declared = MoreTypes.asDeclared(typeMirror) in <lambda>() constant
266 it.matches(declared) in <lambda>()
267 }.provide(declared, query) in <lambda>()
278 val declared = MoreTypes.asDeclared(typeMirror) in <lambda>() constant
280 if (declared.typeArguments.isEmpty()) { in <lambda>()
288 val typeArg = declared.typeArguments.first() in <lambda>()
295 val typeArg = declared.typeArguments.first() in <lambda>()
299 val typeArg = declared.typeArguments.first() in <lambda>()
323 val declared = MoreTypes.asDeclared(typeMirror) in <lambda>() constant
324 if (declared.typeArguments.isNotEmpty()) { in <lambda>()
[all …]
DQueryResultBinderProvider.kt24 fun provide(declared: DeclaredType, query: ParsedQuery): QueryResultBinder
25 fun matches(declared: DeclaredType): Boolean
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/
DShortcutParameterProcessor.kt93 val declared = MoreTypes.asDeclared(typeMirror) in extractEntityType() constant
94 val entity = extractEntityTypeFromIterator(declared) in extractEntityType()
DInsertionMethodProcessor.kt113 val declared = MoreTypes.asDeclared(returnType) in getInsertionType() constant
114 val param = declared.typeArguments.first() in getInsertionType()
DPojoProcessor.kt431 val declared = MoreTypes.asDeclared(asMember) in <lambda>() constant
432 if (!declared.isCollection()) { in <lambda>()
436 val typeArg = declared.typeArguments.first().extendsBoundOrSelf() in <lambda>()
/frameworks/compile/slang/tests/F_warnings_as_error/
Dstderr.txt.expect3 deprecated.rs:8:13: note: 'func1' declared here
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DLayoutBinder.java179 addVariable(variable.name, variable.type, variable.location, variable.declared); in LayoutBinder()
272 boolean declared) { in addVariable() argument
282 if (declared) { in addVariable()
/frameworks/base/tests/RemoteDisplayProvider/
DREADME2 remote display providers using the API declared by the
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
DResourceBundle.java464 public void addVariable(String name, String type, Location location, boolean declared) { in addVariable() argument
467 mVariables.add(new VariableDeclaration(name, type, location, declared)); in addVariable()
727 public boolean declared; field in ResourceBundle.VariableDeclaration
733 public VariableDeclaration(String name, String type, Location location, boolean declared) { in VariableDeclaration() argument
735 this.declared = declared; in VariableDeclaration()
/frameworks/compile/slang/tests/F_reduce_general_parse/
Dstderr.txt.expect10 reduce_general_parse.rs:15:12: error: reduction kernel 'foo' declared multiple times (first one is …
/frameworks/base/tools/aapt2/
Dreadme.md32 - Fixed issue where overlays that declared `<add-resource>` did not compile. (bug 38355988)
36 - Resources declared via `<item>` with no format attribute were changed to accept all
160 at runtime due to the minimum SDK level declared by the AndroidManifest.xml are stripped.
/frameworks/native/opengl/tools/glgen2/registry/
Dreg.py102 self.declared = False
106 self.declared = False
925 if (f.declared):
957 f.declared = True
/frameworks/rs/script_api/
Drs_value_types.spec33 Vectors are declared using the common type name followed by a 2, 3, or 4.
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dlayered_filter_d1new_helper.rsh20 // int2 that stores the target layer info: 1. front_depth, 2. back_depth; declared in layered_filte…
/frameworks/compile/slang/
DREADME.rst148 global variables and functions within a script that are not declared
/frameworks/rs/script_api/include/
Drs_value_types.rsh35 * Vectors are declared using the common type name followed by a 2, 3, or 4.

12