/frameworks/support/webkit-codegen/src/main/java/androidx/webkit/internal/codegen/representations/ |
D | ClassRepr.java | 21 import com.squareup.javapoet.TypeSpec; 64 public TypeSpec createBoundaryInterface() { in createBoundaryInterface() 65 TypeSpec.Builder interfaceBuilder = in createBoundaryInterface() 66 TypeSpec.interfaceBuilder(this.psiClass.getName() + "BoundaryInterface") in createBoundaryInterface()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/ |
D | PreparedStatementWriter.kt | 25 import com.squareup.javapoet.TypeSpec 32 fun createAnonymous(classWriter: ClassWriter, dbParam: FieldSpec): TypeSpec { in createAnonymous() 35 return TypeSpec.anonymousClassBuilder("$N", dbParam).apply { in createAnonymous()
|
D | ClassWriter.kt | 29 import com.squareup.javapoet.TypeSpec 41 abstract fun createTypeSpecBuilder(): TypeSpec.Builder in createTypeSpecBuilder() 54 private fun addSuppressUnchecked(builder: TypeSpec.Builder) { in addSuppressUnchecked() 63 private fun addGeneratedAnnotationIfAvailable(adapterTypeSpecBuilder: TypeSpec.Builder, in addGeneratedAnnotationIfAvailable()
|
D | EntityDeletionAdapterWriter.kt | 31 import com.squareup.javapoet.TypeSpec 35 fun createAnonymous(classWriter: ClassWriter, dbParam: String): TypeSpec { in createAnonymous() 37 return TypeSpec.anonymousClassBuilder("$L", dbParam).apply { in createAnonymous()
|
D | EntityInsertionAdapterWriter.kt | 31 import com.squareup.javapoet.TypeSpec in <lambda>() 35 fun createAnonymous(classWriter: ClassWriter, dbParam: String): TypeSpec { in <lambda>() 37 return TypeSpec.anonymousClassBuilder("$L", dbParam).apply { in <lambda>()
|
D | EntityUpdateAdapterWriter.kt | 31 import com.squareup.javapoet.TypeSpec in <lambda>() 35 fun createAnonymous(classWriter: ClassWriter, dbParam: String): TypeSpec { in <lambda>() 37 return TypeSpec.anonymousClassBuilder("$L", dbParam).apply { in <lambda>()
|
D | DatabaseWriter.kt | 34 import com.squareup.javapoet.TypeSpec in <lambda>() 46 override fun createTypeSpecBuilder(): TypeSpec.Builder { in <lambda>() 47 val builder = TypeSpec.classBuilder(database.implTypeName) in <lambda>() 123 private fun addDaoImpls(builder: TypeSpec.Builder) { in <lambda>()
|
D | SQLiteOpenHelperWriter.kt | 31 import com.squareup.javapoet.TypeSpec in <lambda>() 64 private fun createOpenCallback(scope: CodeGenScope): TypeSpec { in <lambda>() 65 return TypeSpec.anonymousClassBuilder(L, database.version).apply { in <lambda>()
|
D | DaoWriter.kt | 42 import com.squareup.javapoet.TypeSpec in <lambda>() 76 override fun createTypeSpecBuilder(): TypeSpec.Builder { in <lambda>() 77 val builder = TypeSpec.classBuilder(dao.implTypeName) in <lambda>() 361 insertionAdapters: Map<String, Pair<FieldSpec, TypeSpec>> in <lambda>() 430 implCallback: (T, Entity) -> TypeSpec in <lambda>() 453 adapters: Map<String, Pair<FieldSpec, TypeSpec>> in <lambda>() 559 val fields: Map<String, Pair<FieldSpec, TypeSpec>>, in <lambda>()
|
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/writer/ |
D | EntityCursorConverterWriterTest.kt | 23 import com.squareup.javapoet.TypeSpec in <lambda>() 97 override fun createTypeSpecBuilder(): TypeSpec.Builder { in <lambda>() 99 return TypeSpec.classBuilder(className).apply { in <lambda>()
|
/frameworks/support/navigation/safe-args-generator/src/main/kotlin/androidx/navigation/safe/args/generator/ |
D | NavWriter.kt | 31 import com.squareup.javapoet.TypeSpec in <lambda>() 97 destination: Destination): TypeSpec { in generateDestinationDirectionsTypeSpec() 115 return TypeSpec.classBuilder(className) in generateDestinationDirectionsTypeSpec() 122 fun generateDirectionsTypeSpec(action: Action): TypeSpec { in generateDirectionsTypeSpec() 132 return TypeSpec.classBuilder(className) in generateDirectionsTypeSpec() 190 val builderTypeSpec = TypeSpec.classBuilder("Builder") in generateArgsJavaFile() 200 val typeSpec = TypeSpec.classBuilder(className) in generateArgsJavaFile()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/query/result/ |
D | LiveDataQueryResultBinder.kt | 32 import com.squareup.javapoet.TypeSpec 52 val liveDataImpl = TypeSpec.anonymousClassBuilder("").apply { in convertAndReturn() 103 private fun createAnonymousObserver(): TypeSpec { in createAnonymousObserver() 105 return TypeSpec.anonymousClassBuilder(tableNamesList).apply { in createAnonymousObserver()
|
D | GuavaListenableFutureQueryResultBinder.kt | 30 import com.squareup.javapoet.TypeSpec 77 scope: CodeGenScope): TypeSpec { in createCallableOfT() 78 return TypeSpec.anonymousClassBuilder("").apply { in createCallableOfT()
|
D | DataSourceFactoryQueryResultBinder.kt | 26 import com.squareup.javapoet.TypeSpec 42 val pagedListProvider = TypeSpec in convertAndReturn()
|
D | FlowableQueryResultBinder.kt | 30 import com.squareup.javapoet.TypeSpec 45 val callableImpl = TypeSpec.anonymousClassBuilder("").apply { in convertAndReturn()
|
D | PositionalDataSourceQueryResultBinder.kt | 31 import com.squareup.javapoet.TypeSpec 49 val spec = TypeSpec.anonymousClassBuilder("$N, $L, $L $L", in convertAndReturn()
|
D | RxCallableQueryResultBinder.kt | 32 import com.squareup.javapoet.TypeSpec 49 val callable = TypeSpec.anonymousClassBuilder("").apply { in convertAndReturn()
|
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/solver/ |
D | CustomTypeConverterResolutionTest.kt | 44 import com.squareup.javapoet.TypeSpec 53 fun TypeSpec.toJFO(): JavaFileObject { in toJFO() method 233 useCollection: Boolean = false): TypeSpec { in createEntity() 242 return TypeSpec.classBuilder(ENTITY).apply { in createEntity() 264 useCollection: Boolean = false): TypeSpec { in createDatabase() 265 return TypeSpec.classBuilder(DB).apply { in createDatabase() 295 useCollection: Boolean = false): TypeSpec { in createDao() 304 return TypeSpec.classBuilder(DAO).apply { in createDao()
|
D | BasicColumnTypeAdaptersTest.kt | 26 import com.squareup.javapoet.TypeSpec in <lambda>() 123 val spec = TypeSpec.classBuilder("OutClass") in <lambda>()
|
/frameworks/support/navigation/safe-args-generator/src/tests/kotlin/androidx/navigation/safe/args/generator/ |
D | NavWriterTest.kt | 33 import com.squareup.javapoet.TypeSpec 61 private fun wrappedInnerClass(spec: TypeSpec): JavaFileObject { in id() 62 val wrappedSpec = TypeSpec.classBuilder("BoringWrapper").addType(spec).build() in id() 75 private fun toJavaFileObject(spec: TypeSpec) = in toJavaFileObject()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | LoadedArsc.h | 46 struct TypeSpec { struct 77 using TypeSpecPtr = util::unique_cptr<TypeSpec>; 150 inline const TypeSpec* GetTypeSpecByTypeIndex(uint8_t type_index) const { in GetTypeSpecByTypeIndex()
|
/frameworks/base/libs/androidfw/tests/ |
D | LoadedArsc_test.cpp | 60 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(type_index); in TEST() 84 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(type_index); in TEST() 168 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(type_index); in TEST() 211 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(0); in TEST() 260 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(0x03u - 1); in TEST()
|
/frameworks/support/lifecycle/compiler/src/main/kotlin/androidx/lifecycle/ |
D | writer.kt | 29 import com.squareup.javapoet.TypeSpec in <lambda>() 116 val adapterTypeSpecBuilder = TypeSpec.classBuilder(adapterName) in writeAdapter() 132 private fun addGeneratedAnnotationIfAvailable(adapterTypeSpecBuilder: TypeSpec.Builder, in addGeneratedAnnotationIfAvailable()
|
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/ |
D | CustomConverterProcessorTest.kt | 35 import com.squareup.javapoet.TypeSpec in <lambda>() 203 TypeSpec.classBuilder(ClassName.bestGuess(extendingQName)).apply { in <lambda>() 238 val code = TypeSpec.classBuilder(CONVERTER).apply { in <lambda>()
|
/frameworks/base/libs/androidfw/ |
D | LoadedArsc.cpp | 66 if ((std::numeric_limits<size_t>::max() - sizeof(TypeSpec)) / sizeof(ElementType) < in Build() 70 TypeSpec* type_spec = in Build() 71 (TypeSpec*)::malloc(sizeof(TypeSpec) + (types_.size() * sizeof(ElementType))); in Build() 333 const TypeSpec* type_spec = type_specs_[type_idx].get(); in FindEntryByName()
|