/tools/metalava/metalava/src/main/java/com/android/tools/metalava/ |
D | SdkFileWriter.kt | 72 for (clazz in classes) { in generate() variable 74 val fields = clazz.fields() in generate() 99 if (!clazz.isHiddenOrRemoved() && clazz.isPublic && !clazz.modifiers.isAbstract()) { in generate() 101 val annotations = clazz.modifiers.annotations() in generate() 105 widgets.add(clazz) in generate() 109 layouts.add(clazz) in generate() 119 ANDROID_VIEW_VIEW_GROUP_LAYOUT_PARAMS == clazz.qualifiedName() in generate() 121 topLayoutParams = clazz in generate() 124 if (isIncludedPackage(clazz)) { in generate() 127 when (checkInheritance(clazz)) { in generate() [all …]
|
D | ApiPredicate.kt | 142 var clazz: ClassItem? = in test() variable 149 if (clazz != null) { in test() 150 var pkg: PackageItem? = clazz.containingPackage() in test() 158 while (clazz != null) { in test() 161 (clazz.isPublic || in test() 162 clazz.isProtected || in test() 163 (clazz.isInternal && clazz.hasShowAnnotation())) in test() 165 hasShowAnnotation or (config.ignoreShown || clazz.hasShowAnnotation()) in test() 166 hidden = hidden or clazz.hidden in test() 167 docOnly = docOnly or clazz.docOnly in test() [all …]
|
/tools/tradefederation/core/common_util/com/android/tradefed/error/ |
D | HarnessException.java | 73 protected final void setCallerClass(Class<?> clazz) { in setCallerClass() argument 74 if (clazz != null) { in setCallerClass() 75 mOrigin = clazz.getCanonicalName(); in setCallerClass() 79 protected final void setCallerClass(String clazz) { in setCallerClass() argument 80 if (clazz != null && mOrigin == null) { in setCallerClass() 81 mOrigin = clazz; in setCallerClass()
|
D | HarnessRuntimeException.java | 82 protected final void setCallerClass(Class<?> clazz) { in setCallerClass() argument 83 if (clazz != null) { in setCallerClass() 84 mOrigin = clazz.getCanonicalName(); in setCallerClass()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | ApiGenerator.kt | 182 for (clazz in api.classes) { in <lambda>() constant 183 val module = clazz.mainlineModule ?: continue in <lambda>() 187 clazz.since, in <lambda>() 189 extensionsMap.getExtensions(clazz), in <lambda>() 190 clazz.sinceExtension in <lambda>() 192 clazz.updateSdks(sdks) in <lambda>() 193 var iter = clazz.fieldIterator in <lambda>() 200 extensionsMap.getExtensions(clazz, field), in <lambda>() 205 iter = clazz.methodIterator in <lambda>() 212 extensionsMap.getExtensions(clazz, method), in <lambda>()
|
D | ApiToExtensionsMap.kt | 55 fun getExtensions(clazz: ApiClass): List<String> = getExtensions(clazz.name.toDotNotation()) in isEmpty() 57 fun getExtensions(clazz: ApiClass, member: ApiElement): List<String> = in isEmpty() 58 getExtensions(clazz.name.toDotNotation() + "#" + member.name.toDotNotation()) in isEmpty()
|
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/ |
D | CommonTypeParameterItemTest.kt | 169 val clazz = codebase.assertClass("test.pkg.Foo") in Test self-referential type parameter() constant 170 val classTypeParam = clazz.typeParameterList.single() in Test self-referential type parameter() 179 val method = clazz.methods().single() in Test self-referential type parameter() 267 val clazz = codebase.assertClass("test.pkg.Foo") in Test method type parameter that references class type parameter() constant 268 val clazzTypeParam = clazz.typeParameterList.single() in Test method type parameter that references class type parameter() 271 val method = clazz.methods().single() in Test method type parameter that references class type parameter() 301 val clazz = codebase.assertClass("test.pkg.Foo") in Test type parameter bounds with multiple class parameters() constant 302 val typeParameter = clazz.typeParameterList.single() in Test type parameter bounds with multiple class parameters() 365 val clazz = codebase.assertClass("test.pkg.Foo") in Test explicit Object bound() constant 366 val typeParameters = clazz.typeParameterList in Test explicit Object bound()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/ |
D | JavaCodeCoverageCollectorTest.java | 521 private static <T> String vmName(Class<T> clazz) { in vmName() argument 522 return clazz.getName().replace('.', '/'); in vmName() 525 private static <T> ExecutionData fullyCovered(Class<T> clazz) throws IOException { in fullyCovered() argument 528 return new ExecutionData(classId(clazz), vmName(clazz), probes); in fullyCovered() 531 private static <T> ExecutionData partiallyCovered(Class<T> clazz) throws IOException { in partiallyCovered() argument 534 return new ExecutionData(classId(clazz), vmName(clazz), probes); in partiallyCovered() 537 private static <T> ExecutionData firstHalfCovered(Class<T> clazz) throws IOException { in firstHalfCovered() argument 542 return new ExecutionData(classId(clazz), vmName(clazz), probes); in firstHalfCovered() 545 private static <T> ExecutionData secondHalfCovered(Class<T> clazz) throws IOException { in secondHalfCovered() argument 550 return new ExecutionData(classId(clazz), vmName(clazz), probes); in secondHalfCovered() [all …]
|
/tools/metalava/metalava-model/src/testFixtures/java/com/android/tools/metalava/model/junit4/ |
D | CustomizableParameterizedRunner.kt | 70 clazz: Class<*>, 73 ) : ParentRunner<Runner>(clazz) { 95 ParameterizedBuilder.build(clazz) { in <lambda>() 99 InjectedTestClass(clazz, parametersRunnerFactoryClass).also { in <lambda>() 178 clazz: Class<*>, 184 ) : TestClass(clazz) { 280 fun build(clazz: Class<*>, block: ParameterizedBuilder.() -> Unit): Parameterized { in fakeArguments() 284 return parameterizedConstructor.newInstance(clazz, builder.runnersFactory) in fakeArguments()
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/ |
D | DriverTestRunner.kt | 28 class DriverTestRunner(clazz: Class<*>) : in <lambda>() 30 clazz = clazz, in <lambda>()
|
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/ |
D | ModelTestSuiteRunner.kt | 41 class ModelTestSuiteRunner(clazz: Class<*>) : 43 clazz = clazz,
|
/tools/platform-compat/java/com/android/annotationvisitor/ |
D | AnnotationVisitor.java | 48 public AnnotationVisitor(JavaClass clazz, Status status, in AnnotationVisitor() argument 50 mClass = clazz; in AnnotationVisitor() 53 mDescendingVisitor = new DescendingVisitor(clazz, this); in AnnotationVisitor()
|
/tools/asuite/team_build_scripts/ |
D | filter_teams.py | 136 clazz = mod_value.get("class", []) 137 if "NATIVE_TESTS" in clazz: 147 if "ROBOLECTRIC" in clazz:
|
/tools/platform-compat/java/com/android/class2nonsdklist/ |
D | MemberDumpingVisitor.java | 27 public MemberDumpingVisitor(JavaClass clazz, Status status) { in MemberDumpingVisitor() argument 29 mDescendingVisitor = new DescendingVisitor(clazz, this); in MemberDumpingVisitor()
|
D | Class2NonSdkList.java | 245 reader.stream().forEach(clazz -> new AnnotationVisitor(clazz, mStatus, handlers) in main() 260 reader.stream().forEach(clazz -> new MemberDumpingVisitor(clazz, status) in dumpAllMembers()
|
/tools/metalava/metalava-model/src/test/java/com/android/tools/metalava/model/junit4/ |
D | CustomizableParameterizedParametersProviderTest.kt | 47 class ParameterProvider(clazz: Class<*>) : 48 CustomizableParameterizedRunner(clazz, ::mergeParameters) {
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/apilevels/ |
D | ApiToExtensionsMapTest.kt | 83 val clazz = ApiClass("com/foo/Bar", 1, false) in single class() constant 85 assertEquals(map.getExtensions(clazz), listOf("A")) in single class() 86 assertEquals(map.getExtensions(clazz, method), listOf("A")) in single class()
|
/tools/platform-compat/java/android/processor/compat/unsupportedappusage/ |
D | SignatureConverter.java | 108 private String getClassSignature(TypeElement clazz) { in getClassSignature() argument 110 for (Element enclosing : getEnclosingElements(clazz)) { in getClassSignature() 132 .append(clazz.getSimpleName()) in getClassSignature()
|
/tools/metalava/metalava-model/src/testFixtures/java/com/android/tools/metalava/model/testing/ |
D | BaseModelProviderRunner.kt | 77 clazz: Class<*>, in <lambda>() 83 clazz, in <lambda>() 98 if (!injectableClass.isAssignableFrom(clazz)) {
|
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/ |
D | ClassItem.kt | 518 for (clazz in allInterfaces()) { in <lambda>() constant 522 if (clazz == this) { in <lambda>() 525 if (!clazz.isInterface()) { in <lambda>() 528 for (field in clazz.fields()) { in <lambda>()
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/logger/ |
D | CurrentInvocation.java | 281 Class<?> clazz = StackWalker.getInstance(Option.RETAIN_CLASS_REFERENCE).getCallerClass(); in createFailure() local 282 failure.setOrigin(clazz.getCanonicalName()); in createFailure()
|
/tools/test/graphicsbenchmark/benchmark_libs/ |
D | agq.cpp | 99 startLoop(activity->clazz); in startLoop()
|