Home
last modified time | relevance | path

Searched refs:ClassName (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/
DInspectionCompanionGenerator.java25 import com.squareup.javapoet.ClassName;
57 private static final ClassName R_CLASS_NAME = ClassName.get("android", "R");
62 private static final ClassName INSPECTION_COMPANION = ClassName.get(
68 private static final ClassName PROPERTY_MAPPER = ClassName.get(
74 private static final ClassName PROPERTY_READER = ClassName.get(
80 private static final ClassName SPARSE_ARRAY = ClassName.get("android.util", "SparseArray");
85 private static final ClassName INT_FLAG_MAPPING = ClassName.get(
428 @NonNull ClassName nodeClass) { in generateReadProperties()
464 private static ClassName generateClassName(@NonNull InspectableClassModel model) { in generateClassName()
465 final ClassName className = model.getClassName(); in generateClassName()
[all …]
DInspectableClassModel.java22 import com.squareup.javapoet.ClassName;
40 private final @NonNull ClassName mClassName;
46 public InspectableClassModel(@NonNull ClassName className) { in InspectableClassModel()
52 public ClassName getClassName() { in getClassName()
DPlatformInspectableProcessor.java23 import com.squareup.javapoet.ClassName;
127 return new InspectableClassModel(ClassName.get(classElement.get())); in processProperties()
/frameworks/base/packages/SettingsLib/search/processor-src/com/android/settingslib/search/
DIndexableProcessor.java19 import com.squareup.javapoet.ClassName;
75 final ClassName searchIndexableData = ClassName.get(PACKAGE, "SearchIndexableData"); in process()
79 ClassName.get(Set.class), in process()
146 ClassName.get(Collection.class), in process()
153 .addSuperinterface(ClassName.get(PACKAGE, "SearchIndexableResources")) in process()
164 .superclass(ClassName.get(PACKAGE, baseClass.name)) in process()
172 .superclass(ClassName.get(PACKAGE, baseClass.name)) in process()
180 .superclass(ClassName.get(PACKAGE, baseClass.name)) in process()
188 .superclass(ClassName.get(PACKAGE, baseClass.name)) in process()
196 .superclass(ClassName.get(PACKAGE, baseClass.name)) in process()
/frameworks/base/tools/codegen/src/com/android/codegen/
DGenerators.kt99 +"value, $ClassName::single${AnnotationName}ToString" in ClassPrinter()
171 "public $ClassName(@$NonNull $ClassName orig)" { in generateCopyConstructor()
221 +" * A builder for {@link $ClassName}" in ClassPrinter()
244 ClassName = BuilderClass, in ClassPrinter()
481 if (!hasMethod(ClassName, Parcel)) { in generateParcelable()
487 "$visibility $ClassName(@$NonNull $Parcel in) {" { in generateParcelable()
603 "public static final @$NonNull $Creator<$ClassName> CREATOR" { in generateParcelable()
604 +"= new $Creator<$ClassName>()" in generateParcelable()
608 "public $ClassName[] newArray(int size)" { in generateParcelable()
609 +"return new $ClassName[size];" in generateParcelable()
[all …]
DClassInfo.kt16 val ClassName = classAst.nameAsString in <lambda>() constant
21 val ClassType = ClassName + genericArgs in <lambda>()
DClassPrinter.kt43 .find { "class $ClassName" in it }!! in <lambda>()
133 … FeatureFlag.AIDL -> fileInfo.mainClass.nameAsString == ClassName && FeatureFlag.PARCELABLE() in <lambda>()
197 if (name == ClassName) classAst.constructors else classAst.methods in <lambda>()
/frameworks/base/tools/xmlpersistence/src/main/kotlin/
DGenerator.kt17 import com.squareup.javapoet.ClassName
57 private val atomicFileType = ClassName.get("android.util", "AtomicFile")
87 private val nonNullType = ClassName.get("android.annotation", "NonNull")
110 private val nullableType = ClassName.get("android.annotation", "Nullable") in generateFileField()
112 private val xmlPullParserType = ClassName.get("org.xmlpull.v1", "XmlPullParser") in generateFileField()
114 private val xmlType = ClassName.get("android.util", "Xml") in generateFileField()
116 private val xmlPullParserExceptionType = ClassName.get("org.xmlpull.v1", "XmlPullParserException") in generateFileField()
164 .addExceptions(listOf(ClassName.get(IOException::class.java), xmlPullParserExceptionType)) in generateParseMethod()
206 listOf(ClassName.get(IOException::class.java), xmlPullParserExceptionType) in generateParseClassMethod()
344 private val xmlSerializerType = ClassName.get("org.xmlpull.v1", "XmlSerializer")
DParser.kt38 import com.squareup.javapoet.ClassName
69 override val type: TypeName = ClassName.get(String::class.java)
75 override val type: ClassName,
166 ClassName.get(List::class.java), elementType.typeName in parseFieldInfo()
241 private val ResolvedReferenceTypeDeclaration.typeName: ClassName
247 return ClassName.get(packageName, topLevelClassName, *nestedClassNames.toTypedArray())
/frameworks/base/tools/processors/view_inspector/test/java/android/processor/view/inspector/
DInspectionCompanionGeneratorTest.java31 import com.squareup.javapoet.ClassName;
46 private static final ClassName TEST_CLASS_NAME =
47 ClassName.get("com.android.node", "TestNode");
60 ClassName.get("com.android.node", "Outer", "Inner")); in testNestedClass()
/frameworks/compile/slang/
Dslang_rs_reflection.h148 const std::string &ClassName, const char *SuperClassName,
165 void startTypeClass(const std::string &ClassName);
211 bool genScriptClass(const std::string &ClassName, std::string &ErrorMsg);
Dslang_rs_reflection.cpp531 bool RSReflectionJava::genScriptClass(const std::string &ClassName, in genScriptClass() argument
534 if (!startClass(AM_Public, false, ClassName, RS_SCRIPT_CLASS_SUPER_CLASS_NAME, in genScriptClass()
1613 const std::string ClassName = GetReduceResultTypeName(ResultType); in genExportReduceResultType() local
1617 mOut.indent() << "public static class " << ClassName; in genExportReduceResultType()
1746 startFunction(AM_Private, false, nullptr, ClassName, 1, "Allocation", "out"); in genExportReduceResultType()
1792 std::string ClassName = ET->getElementName(); in genTypeInstance() local
1793 if (addTypeNameForElement(ClassName)) { in genTypeInstance()
1794 mOut.indent() << RS_ELEM_PREFIX << ClassName << " = " << ClassName in genTypeInstance()
2349 std::string ClassName = ERT->getElementName(); in genTypeClass() local
2353 if (!startClass(AM_Public, false, ClassName, superClassName.c_str(), in genTypeClass()
[all …]