Home
last modified time | relevance | path

Searched refs:model (Results 1 – 25 of 194) sorted by relevance

12345678

/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/
DTraceViewerWindow.kt24 import trebuchet.model.Model in <lambda>()
72 val model = task.import(object : BufferProducer { in <lambda>() constant
85 return model in <lambda>()
90 model = get() in <lambda>()
95 var model: Model? in <lambda>() variable in traceviewer.ui.TraceViewerWindow
97 set(model) { in <lambda>()
98 _model = model in <lambda>()
99 if (model != null) { in <lambda>()
100 val boost = model.duration * .15 in <lambda>()
101 val zoom = RenderState(model.beginTimestamp - boost, in <lambda>()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/visitors/
DItemVisitor.kt17 package com.android.tools.metalava.model.visitors
19 import com.android.tools.metalava.model.ClassItem
20 import com.android.tools.metalava.model.Codebase
21 import com.android.tools.metalava.model.CompilationUnit
22 import com.android.tools.metalava.model.ConstructorItem
23 import com.android.tools.metalava.model.FieldItem
24 import com.android.tools.metalava.model.Item
25 import com.android.tools.metalava.model.MethodItem
26 import com.android.tools.metalava.model.PackageItem
27 import com.android.tools.metalava.model.ParameterItem
[all …]
DApiVisitor.kt17 package com.android.tools.metalava.model.visitors
20 import com.android.tools.metalava.model.ClassItem
21 import com.android.tools.metalava.model.FieldItem
22 import com.android.tools.metalava.model.Item
23 import com.android.tools.metalava.model.MethodItem
24 import com.android.tools.metalava.model.VisitCandidate
DTypeVisitor.kt17 package com.android.tools.metalava.model.visitors
19 import com.android.tools.metalava.model.Item
20 import com.android.tools.metalava.model.TypeItem
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/task/
DImportTaskTest.kt26 import trebuchet.model.Model in <lambda>()
27 import trebuchet.model.fragments.AsyncSlice in <lambda>()
35 val model = import("hdr-0608-4-trace.html") in <lambda>() constant
36 val slices = model.selectAll { it.name.startsWith("MergeShot")} in <lambda>()
44 val model = import("caltrace1.html") in <lambda>() constant
46 val process = model.processes.values.find { it.name == "surfaceflinger" }!! in <lambda>()
62 val model = import("sample.ftrace") in <lambda>() constant
63 val process = model.processes[6381]!! in <lambda>()
82 val model = task.import(readFile(file)) in <lambda>() constant
83 assertFalse(model.isEmpty()) in <lambda>()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextModifiers.kt17 package com.android.tools.metalava.model.text in <lambda>()
20 import com.android.tools.metalava.model.AnnotationAttribute in <lambda>()
21 import com.android.tools.metalava.model.AnnotationItem in <lambda>()
22 import com.android.tools.metalava.model.AnnotationTarget in <lambda>()
23 import com.android.tools.metalava.model.Codebase in <lambda>()
24 import com.android.tools.metalava.model.DefaultAnnotationAttribute in <lambda>()
25 import com.android.tools.metalava.model.DefaultAnnotationItem in <lambda>()
26 import com.android.tools.metalava.model.DefaultModifierList in <lambda>()
27 import com.android.tools.metalava.model.ModifierList in <lambda>()
DTextBackedAnnotationItem.kt17 package com.android.tools.metalava.model.text
19 import com.android.tools.metalava.model.AnnotationAttribute
20 import com.android.tools.metalava.model.AnnotationItem
21 import com.android.tools.metalava.model.AnnotationTarget
22 import com.android.tools.metalava.model.Codebase
23 import com.android.tools.metalava.model.DefaultAnnotationAttribute
24 import com.android.tools.metalava.model.DefaultAnnotationItem
DTextClassItem.kt17 package com.android.tools.metalava.model.text
21 import com.android.tools.metalava.model.AnnotationRetention
22 import com.android.tools.metalava.model.ClassItem
23 import com.android.tools.metalava.model.ConstructorItem
24 import com.android.tools.metalava.model.DefaultModifierList
25 import com.android.tools.metalava.model.FieldItem
26 import com.android.tools.metalava.model.Item
27 import com.android.tools.metalava.model.MethodItem
28 import com.android.tools.metalava.model.PackageItem
29 import com.android.tools.metalava.model.PropertyItem
[all …]
DTextMethodItem.kt17 package com.android.tools.metalava.model.text
22 import com.android.tools.metalava.model.ClassItem
23 import com.android.tools.metalava.model.Item
24 import com.android.tools.metalava.model.MethodItem
25 import com.android.tools.metalava.model.ParameterItem
26 import com.android.tools.metalava.model.TypeItem
27 import com.android.tools.metalava.model.TypeParameterItem
28 import com.android.tools.metalava.model.TypeParameterList
29 import com.android.tools.metalava.model.TypeParameterListOwner
DTextPropertyItem.kt17 package com.android.tools.metalava.model.text
21 import com.android.tools.metalava.model.FieldItem
22 import com.android.tools.metalava.model.PropertyItem
23 import com.android.tools.metalava.model.TypeItem
/tools/trebuchet/trebuchet/analyzer/src/
DAnalyzer.kt18 import trebuchet.model.Model in <lambda>()
23 fun timeMergeShot(model: Model) { in <lambda>()
25 val slices = model.slices().filter { it.name.startsWith("MergeShot") } in <lambda>()
32 fun measureStartup(model: Model) { in measureStartup()
33 val uiThread = ThreadQueries.firstOrNull(model) { in measureStartup()
50 fun measureRotator(model: Model) { in measureRotator()
51 val latchBuffers = model.selectAll { in measureRotator()
59 val retire = model.selectAll { in measureRotator()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/queries/
DThreadQueries.kt19 import trebuchet.model.Model
20 import trebuchet.model.ThreadModel
24 fun firstOrNull(model: Model, predicate: (ThreadModel) -> Boolean): ThreadModel? { in firstOrNull()
25 model.processes.values.forEach { in firstOrNull()
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/
DThreadModelFragment.kt17 package trebuchet.model.fragments
19 import trebuchet.model.InvalidId
20 import trebuchet.model.SchedSlice
21 import trebuchet.model.base.Slice
22 import trebuchet.model.base.SliceGroup
DCpuModelFragment.kt17 package trebuchet.model.fragments
19 import trebuchet.model.CpuProcessSlice
20 import trebuchet.model.base.Slice
DProcessModelFragment.kt17 package trebuchet.model.fragments in <lambda>()
19 import trebuchet.model.InvalidId in <lambda>()
20 import trebuchet.model.hasCount in <lambda>()
23 … private var hasIdCb: ((trebuchet.model.fragments.ProcessModelFragment) -> Unit)? = null) { in <lambda>()
63 fun merge(other: trebuchet.model.fragments.ProcessModelFragment) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/
DProguardWriter.kt19 import com.android.tools.metalava.model.ClassItem
20 import com.android.tools.metalava.model.ConstructorItem
21 import com.android.tools.metalava.model.FieldItem
22 import com.android.tools.metalava.model.Item
23 import com.android.tools.metalava.model.MethodItem
24 import com.android.tools.metalava.model.ParameterItem
25 import com.android.tools.metalava.model.TypeItem
26 import com.android.tools.metalava.model.VisibilityLevel
27 import com.android.tools.metalava.model.visitors.ApiVisitor
DNullnessMigration.kt19 import com.android.tools.metalava.model.AnnotationItem
20 import com.android.tools.metalava.model.FieldItem
21 import com.android.tools.metalava.model.Item
22 import com.android.tools.metalava.model.MethodItem
23 import com.android.tools.metalava.model.ParameterItem
24 import com.android.tools.metalava.model.SUPPORT_TYPE_USE_ANNOTATIONS
25 import com.android.tools.metalava.model.TypeItem
DSignatureWriter.kt19 import com.android.tools.metalava.model.AnnotationTarget in <lambda>()
20 import com.android.tools.metalava.model.ClassItem in <lambda>()
21 import com.android.tools.metalava.model.ConstructorItem in <lambda>()
22 import com.android.tools.metalava.model.FieldItem in <lambda>()
23 import com.android.tools.metalava.model.Item in <lambda>()
24 import com.android.tools.metalava.model.MethodItem in <lambda>()
25 import com.android.tools.metalava.model.ModifierList in <lambda>()
26 import com.android.tools.metalava.model.PackageItem in <lambda>()
27 import com.android.tools.metalava.model.ParameterItem in <lambda>()
28 import com.android.tools.metalava.model.PropertyItem in <lambda>()
[all …]
DNullabilityAnnotationsValidator.kt20 import com.android.tools.metalava.model.AnnotationItem in <lambda>()
21 import com.android.tools.metalava.model.Codebase in <lambda>()
22 import com.android.tools.metalava.model.Item in <lambda>()
23 import com.android.tools.metalava.model.MethodItem in <lambda>()
24 import com.android.tools.metalava.model.ParameterItem in <lambda>()
25 import com.android.tools.metalava.model.SUPPORT_TYPE_USE_ANNOTATIONS in <lambda>()
26 import com.android.tools.metalava.model.TypeItem in <lambda>()
27 import com.android.tools.metalava.model.visitors.ApiVisitor in <lambda>()
DMarkPackagesAsRecent.kt20 import com.android.tools.metalava.model.ClassItem
21 import com.android.tools.metalava.model.Item
22 import com.android.tools.metalava.model.visitors.ApiVisitor
/tools/platform-compat/java/android/processor/compat/changeid/
DChangeIdProcessor.java19 import static javax.lang.model.element.ElementKind.CLASS;
20 import static javax.lang.model.element.ElementKind.PARAMETER;
38 import javax.lang.model.SourceVersion;
39 import javax.lang.model.element.AnnotationMirror;
40 import javax.lang.model.element.AnnotationValue;
41 import javax.lang.model.element.Element;
42 import javax.lang.model.element.ElementKind;
43 import javax.lang.model.element.Modifier;
44 import javax.lang.model.element.PackageElement;
45 import javax.lang.model.element.TypeElement;
[all …]
/tools/platform-compat/java/android/processor/compat/unsupportedappusage/
DSignatureConverter.java29 import javax.lang.model.element.AnnotationMirror;
30 import javax.lang.model.element.Element;
31 import javax.lang.model.element.ExecutableElement;
32 import javax.lang.model.element.PackageElement;
33 import javax.lang.model.element.TypeElement;
34 import javax.lang.model.element.VariableElement;
35 import javax.lang.model.type.ArrayType;
36 import javax.lang.model.type.DeclaredType;
37 import javax.lang.model.type.TypeKind;
38 import javax.lang.model.type.TypeMirror;
[all …]
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/
DCpuModel.kt16 package trebuchet.model
18 import trebuchet.model.fragments.CpuModelFragment
20 class CpuModel constructor(val model: Model, fragment: CpuModelFragment) { constant in trebuchet.model.CpuModel
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/task/
DImportTask.kt24 import trebuchet.model.Model
25 import trebuchet.model.fragments.ModelFragment
66 val model = Model(fragments) in finish() constant
68 return model in finish()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiPropertyItem.kt17 package com.android.tools.metalava.model.psi
19 import com.android.tools.metalava.model.ClassItem
20 import com.android.tools.metalava.model.FieldItem
21 import com.android.tools.metalava.model.PropertyItem
22 import com.android.tools.metalava.model.TypeItem

12345678