Home
last modified time | relevance | path

Searched full:type (Results 1 – 25 of 99) sorted by relevance

1234

/benchmark/benchmark-macro/
DdependencyAnalysis-baseline.json6 "type": "module", string
14 "type": "module", string
22 "type": "module", string
30 "type": "module", string
39 "type": "module", string
47 "type": "module", string
55 "type": "module", string
64 "type": "module", string
73 "type": "project", string
80 "type": "project", string
/benchmark/benchmark-common/
DdependencyAnalysis-baseline.json6 "type": "module", string
14 "type": "module", string
22 "type": "module", string
30 "type": "module", string
38 "type": "module", string
46 "type": "module", string
54 "type": "module", string
/benchmark/benchmark-macro-junit4/
DdependencyAnalysis-baseline.json6 "type": "module", string
14 "type": "module", string
22 "type": "module", string
30 "type": "module", string
38 "type": "module", string
/benchmark/benchmark-junit4/
DdependencyAnalysis-baseline.json6 "type": "module", string
14 "type": "module", string
22 "type": "project", string
29 "type": "project", string
/benchmark/baseline-profile-gradle-plugin/src/main/kotlin/androidx/baselineprofile/gradle/utils/
DBuildTypes.kt41 throw GradleException("Build type `${buildType.name}` is not of type ${T::class}") in <lambda>()
48 // Check in case the build type was created manually (to allow full customization) in <lambda>()
52 "Build type $newBuildTypeName won't be created because already exists." in <lambda>()
54 // If the build type exists, we apply the `overrideConfigurationBlock` in <lambda>()
60 // If the new build type doesn't exist, create it and apply the in <lambda>()
69 // Mapping the build type to the newly created in <lambda>()
79 // If the build type is for applications, the signing config has not been defined yet, in copySigningConfigIfNotSpecified()
80 // we copy the signing config of the original build type, or the debug one if the original in copySigningConfigIfNotSpecified()
97 // Check in case the build type was created manually (to allow full customization) in createBuildTypeIfNotExists()
99 project.logger.info("Build type $buildTypeName won't be created because already exists.") in createBuildTypeIfNotExists()
[all …]
/benchmark/benchmark-common/src/androidTest/java/androidx/benchmark/vmtrace/
DArtTraceTest.kt94 type = TrackEvent.Type.TYPE_SLICE_BEGIN, in artToPerfettoTraceConversion()
109 TrackEvent(type = TrackEvent.Type.TYPE_SLICE_END, track_uuid = 1L), in artToPerfettoTraceConversion()
118 tracePackets.count { it.track_event?.type == TrackEvent.Type.TYPE_SLICE_BEGIN }, in artToPerfettoTraceConversion()
119 tracePackets.count { it.track_event?.type == TrackEvent.Type.TYPE_SLICE_END } in artToPerfettoTraceConversion()
/benchmark/benchmark-common/src/androidTest/java/androidx/benchmark/
DInMemoryTracingTest.kt93 type = TrackEvent.Type.TYPE_SLICE_BEGIN, in minimalTrace()
111 type = TrackEvent.Type.TYPE_SLICE_END, in minimalTrace()
160 type = TrackEvent.Type.TYPE_SLICE_BEGIN, in traceWithCounters()
180 type = TrackEvent.Type.TYPE_SLICE_END, in traceWithCounters()
196 type = TrackEvent.Type.TYPE_COUNTER, in traceWithCounters()
/benchmark/baseline-profile-gradle-plugin/src/main/kotlin/androidx/baselineprofile/gradle/apptarget/
DBaselineProfileAppTargetPlugin.kt65 // Benchmark build type to the original ones. Ex: benchmarkRelease -> release
73 // Baseline Profile build type to the original ones. Ex: nonMinifiedRelease -> release
153 // Extending the build type won't also copy the build type specific dependencies, that in onApplicationVariants()
175 "Variant `${variant.name}` does not have a build type." in onApplicationVariants()
183 "Build type `${variant.buildType}` was not extended." in onApplicationVariants()
186 // Copy build type specific dependencies in onApplicationVariants()
205 // single build type for both benchmark and baseline profile in the producer module. in onApplicationVariants()
206 // This build type is minified but not obfuscated. Here we add a fixed proguard file that in onApplicationVariants()
225 // Note that if the build type already does not exist, the `newConfigureBlock` is applied, in createBuildTypesWithAgp80()
242 // Properties applied when the build type does not exist. in createBuildTypesWithAgp80()
[all …]
/benchmark/benchmark-common/src/main/java/androidx/benchmark/
DProfiler.kt56 val type: ProfilerOutput.Type, constant in androidx.benchmark.Profiler.ResultFile
74 type = ProfilerOutput.Type.PerfettoTrace, in ofPerfettoTrace()
82 type = ProfilerOutput.Type.MethodTrace, in ofPerfettoTrace()
88 type: ProfilerOutput.Type, in ofPerfettoTrace()
96 type = type, in ofPerfettoTrace()
213 type = ProfilerOutput.Type.StackSamplingTrace, in startRuntimeMethodTracing()
221 type = ProfilerOutput.Type.MethodTrace, in startRuntimeMethodTracing()
367 type = ProfilerOutput.Type.StackSamplingTrace, in start()
/benchmark/benchmark-macro/api/
Dcurrent.txt169 ctor public PowerMetric(androidx.benchmark.macro.PowerMetric.Type type);
170 method public static androidx.benchmark.macro.PowerMetric.Type.Battery Battery();
171 …method public static androidx.benchmark.macro.PowerMetric.Type.Energy Energy(optional java.util.Ma…
172 …method public static androidx.benchmark.macro.PowerMetric.Type.Power Power(optional java.util.Map<…
179 method public androidx.benchmark.macro.PowerMetric.Type.Battery Battery();
180 …method public androidx.benchmark.macro.PowerMetric.Type.Energy Energy(optional java.util.Map<andro…
181 …method public androidx.benchmark.macro.PowerMetric.Type.Power Power(optional java.util.Map<android…
186 public abstract static sealed class PowerMetric.Type {
192 …public static final class PowerMetric.Type.Battery extends androidx.benchmark.macro.PowerMetric.Ty…
193 ctor public PowerMetric.Type.Battery();
[all …]
D1.2.0-beta03.txt152 ctor public PowerMetric(androidx.benchmark.macro.PowerMetric.Type type);
153 method public static androidx.benchmark.macro.PowerMetric.Type.Battery Battery();
154 …method public static androidx.benchmark.macro.PowerMetric.Type.Energy Energy(optional java.util.Ma…
155 …method public static androidx.benchmark.macro.PowerMetric.Type.Power Power(optional java.util.Map<…
160 method public androidx.benchmark.macro.PowerMetric.Type.Battery Battery();
161 …method public androidx.benchmark.macro.PowerMetric.Type.Energy Energy(optional java.util.Map<andro…
162 …method public androidx.benchmark.macro.PowerMetric.Type.Power Power(optional java.util.Map<android…
165 public abstract static sealed class PowerMetric.Type {
171 …public static final class PowerMetric.Type.Battery extends androidx.benchmark.macro.PowerMetric.Ty…
172 ctor public PowerMetric.Type.Battery();
[all …]
D1.2.0-beta05.txt152 ctor public PowerMetric(androidx.benchmark.macro.PowerMetric.Type type);
153 method public static androidx.benchmark.macro.PowerMetric.Type.Battery Battery();
154 …method public static androidx.benchmark.macro.PowerMetric.Type.Energy Energy(optional java.util.Ma…
155 …method public static androidx.benchmark.macro.PowerMetric.Type.Power Power(optional java.util.Map<…
160 method public androidx.benchmark.macro.PowerMetric.Type.Battery Battery();
161 …method public androidx.benchmark.macro.PowerMetric.Type.Energy Energy(optional java.util.Map<andro…
162 …method public androidx.benchmark.macro.PowerMetric.Type.Power Power(optional java.util.Map<android…
165 public abstract static sealed class PowerMetric.Type {
171 …public static final class PowerMetric.Type.Battery extends androidx.benchmark.macro.PowerMetric.Ty…
172 ctor public PowerMetric.Type.Battery();
[all …]
D1.2.0-beta02.txt152 ctor public PowerMetric(androidx.benchmark.macro.PowerMetric.Type type);
153 method public static androidx.benchmark.macro.PowerMetric.Type.Battery Battery();
154 …method public static androidx.benchmark.macro.PowerMetric.Type.Energy Energy(optional java.util.Ma…
155 …method public static androidx.benchmark.macro.PowerMetric.Type.Power Power(optional java.util.Map<…
160 method public androidx.benchmark.macro.PowerMetric.Type.Battery Battery();
161 …method public androidx.benchmark.macro.PowerMetric.Type.Energy Energy(optional java.util.Map<andro…
162 …method public androidx.benchmark.macro.PowerMetric.Type.Power Power(optional java.util.Map<android…
165 public abstract static sealed class PowerMetric.Type {
171 …public static final class PowerMetric.Type.Battery extends androidx.benchmark.macro.PowerMetric.Ty…
172 ctor public PowerMetric.Type.Battery();
[all …]
D1.2.0-beta01.txt152 ctor public PowerMetric(androidx.benchmark.macro.PowerMetric.Type type);
153 method public static androidx.benchmark.macro.PowerMetric.Type.Battery Battery();
154 …method public static androidx.benchmark.macro.PowerMetric.Type.Energy Energy(optional java.util.Ma…
155 …method public static androidx.benchmark.macro.PowerMetric.Type.Power Power(optional java.util.Map<…
160 method public androidx.benchmark.macro.PowerMetric.Type.Battery Battery();
161 …method public androidx.benchmark.macro.PowerMetric.Type.Energy Energy(optional java.util.Map<andro…
162 …method public androidx.benchmark.macro.PowerMetric.Type.Power Power(optional java.util.Map<android…
165 public abstract static sealed class PowerMetric.Type {
171 …public static final class PowerMetric.Type.Battery extends androidx.benchmark.macro.PowerMetric.Ty…
172 ctor public PowerMetric.Type.Battery();
[all …]
D1.2.0-beta04.txt152 ctor public PowerMetric(androidx.benchmark.macro.PowerMetric.Type type);
153 method public static androidx.benchmark.macro.PowerMetric.Type.Battery Battery();
154 …method public static androidx.benchmark.macro.PowerMetric.Type.Energy Energy(optional java.util.Ma…
155 …method public static androidx.benchmark.macro.PowerMetric.Type.Power Power(optional java.util.Map<…
160 method public androidx.benchmark.macro.PowerMetric.Type.Battery Battery();
161 …method public androidx.benchmark.macro.PowerMetric.Type.Energy Energy(optional java.util.Map<andro…
162 …method public androidx.benchmark.macro.PowerMetric.Type.Power Power(optional java.util.Map<android…
165 public abstract static sealed class PowerMetric.Type {
171 …public static final class PowerMetric.Type.Battery extends androidx.benchmark.macro.PowerMetric.Ty…
172 ctor public PowerMetric.Type.Battery();
[all …]
Drestricted_current.txt182 ctor public PowerMetric(androidx.benchmark.macro.PowerMetric.Type type);
183 method public static androidx.benchmark.macro.PowerMetric.Type.Battery Battery();
184 …method public static androidx.benchmark.macro.PowerMetric.Type.Energy Energy(optional java.util.Ma…
185 …method public static androidx.benchmark.macro.PowerMetric.Type.Power Power(optional java.util.Map<…
192 method public androidx.benchmark.macro.PowerMetric.Type.Battery Battery();
193 …method public androidx.benchmark.macro.PowerMetric.Type.Energy Energy(optional java.util.Map<andro…
194 …method public androidx.benchmark.macro.PowerMetric.Type.Power Power(optional java.util.Map<android…
199 public abstract static sealed class PowerMetric.Type {
205 …public static final class PowerMetric.Type.Battery extends androidx.benchmark.macro.PowerMetric.Ty…
206 ctor public PowerMetric.Type.Battery();
[all …]
Drestricted_1.2.0-beta04.txt165 ctor public PowerMetric(androidx.benchmark.macro.PowerMetric.Type type);
166 method public static androidx.benchmark.macro.PowerMetric.Type.Battery Battery();
167 …method public static androidx.benchmark.macro.PowerMetric.Type.Energy Energy(optional java.util.Ma…
168 …method public static androidx.benchmark.macro.PowerMetric.Type.Power Power(optional java.util.Map<…
173 method public androidx.benchmark.macro.PowerMetric.Type.Battery Battery();
174 …method public androidx.benchmark.macro.PowerMetric.Type.Energy Energy(optional java.util.Map<andro…
175 …method public androidx.benchmark.macro.PowerMetric.Type.Power Power(optional java.util.Map<android…
178 public abstract static sealed class PowerMetric.Type {
184 …public static final class PowerMetric.Type.Battery extends androidx.benchmark.macro.PowerMetric.Ty…
185 ctor public PowerMetric.Type.Battery();
[all …]
Drestricted_1.2.0-beta02.txt165 ctor public PowerMetric(androidx.benchmark.macro.PowerMetric.Type type);
166 method public static androidx.benchmark.macro.PowerMetric.Type.Battery Battery();
167 …method public static androidx.benchmark.macro.PowerMetric.Type.Energy Energy(optional java.util.Ma…
168 …method public static androidx.benchmark.macro.PowerMetric.Type.Power Power(optional java.util.Map<…
173 method public androidx.benchmark.macro.PowerMetric.Type.Battery Battery();
174 …method public androidx.benchmark.macro.PowerMetric.Type.Energy Energy(optional java.util.Map<andro…
175 …method public androidx.benchmark.macro.PowerMetric.Type.Power Power(optional java.util.Map<android…
178 public abstract static sealed class PowerMetric.Type {
184 …public static final class PowerMetric.Type.Battery extends androidx.benchmark.macro.PowerMetric.Ty…
185 ctor public PowerMetric.Type.Battery();
[all …]
Drestricted_1.2.0-beta05.txt165 ctor public PowerMetric(androidx.benchmark.macro.PowerMetric.Type type);
166 method public static androidx.benchmark.macro.PowerMetric.Type.Battery Battery();
167 …method public static androidx.benchmark.macro.PowerMetric.Type.Energy Energy(optional java.util.Ma…
168 …method public static androidx.benchmark.macro.PowerMetric.Type.Power Power(optional java.util.Map<…
173 method public androidx.benchmark.macro.PowerMetric.Type.Battery Battery();
174 …method public androidx.benchmark.macro.PowerMetric.Type.Energy Energy(optional java.util.Map<andro…
175 …method public androidx.benchmark.macro.PowerMetric.Type.Power Power(optional java.util.Map<android…
178 public abstract static sealed class PowerMetric.Type {
184 …public static final class PowerMetric.Type.Battery extends androidx.benchmark.macro.PowerMetric.Ty…
185 ctor public PowerMetric.Type.Battery();
[all …]
Drestricted_1.2.0-beta01.txt165 ctor public PowerMetric(androidx.benchmark.macro.PowerMetric.Type type);
166 method public static androidx.benchmark.macro.PowerMetric.Type.Battery Battery();
167 …method public static androidx.benchmark.macro.PowerMetric.Type.Energy Energy(optional java.util.Ma…
168 …method public static androidx.benchmark.macro.PowerMetric.Type.Power Power(optional java.util.Map<…
173 method public androidx.benchmark.macro.PowerMetric.Type.Battery Battery();
174 …method public androidx.benchmark.macro.PowerMetric.Type.Energy Energy(optional java.util.Map<andro…
175 …method public androidx.benchmark.macro.PowerMetric.Type.Power Power(optional java.util.Map<android…
178 public abstract static sealed class PowerMetric.Type {
184 …public static final class PowerMetric.Type.Battery extends androidx.benchmark.macro.PowerMetric.Ty…
185 ctor public PowerMetric.Type.Battery();
[all …]
Drestricted_1.2.0-beta03.txt165 ctor public PowerMetric(androidx.benchmark.macro.PowerMetric.Type type);
166 method public static androidx.benchmark.macro.PowerMetric.Type.Battery Battery();
167 …method public static androidx.benchmark.macro.PowerMetric.Type.Energy Energy(optional java.util.Ma…
168 …method public static androidx.benchmark.macro.PowerMetric.Type.Power Power(optional java.util.Map<…
173 method public androidx.benchmark.macro.PowerMetric.Type.Battery Battery();
174 …method public androidx.benchmark.macro.PowerMetric.Type.Energy Energy(optional java.util.Map<andro…
175 …method public androidx.benchmark.macro.PowerMetric.Type.Power Power(optional java.util.Map<android…
178 public abstract static sealed class PowerMetric.Type {
184 …public static final class PowerMetric.Type.Battery extends androidx.benchmark.macro.PowerMetric.Ty…
185 ctor public PowerMetric.Type.Battery();
[all …]
/benchmark/benchmark-macro/src/main/java/androidx/benchmark/macro/
DMetric.kt447 * // this metric queries a single slice type to produce submetrics, but could be extended
762 * @param type Either [Type.Energy] or [Type.Power], which can be configured to show components of
763 * system power usage, or [Type.Battery], which will halt charging of device to measure power
766 * For [Type.Energy] or [Type.Power], the sum of all categories will be displayed as a `Total`
772 * For [Type.Battery], the charge for the start of the run and the end of the run will be displayed.
776 * The metrics will be stored in the format `<type><name><unit>`. This outputs measurements like the
810 class PowerMetric(private val type: Type) : Metric() { constant in androidx.benchmark.macro.PowerMetric
816 fun Battery(): Type.Battery { in Battery()
817 return Type.Battery() in Battery()
823 ): Type.Energy { in Energy()
[all …]
/benchmark/benchmark-common/src/main/java/androidx/benchmark/json/
DBenchmarkData.kt104 val type: String, in <lambda>() constant in androidx.benchmark.json.BenchmarkData.Context.Build
116 type = android.os.Build.TYPE, in <lambda>()
195 * Type of trace. in <lambda>()
197 * Note that multiple data formats may use the same type here, like simpleperf vs art in <lambda>()
202 val type: Type, in <lambda>() constant in androidx.benchmark.json.BenchmarkData.TestResult.ProfilerOutput
206 * If more than one profiler output has the same type, this label gives context in <lambda>()
216 type = profilerResult.type, in <lambda>()
221 enum class Type { in <lambda>() class in androidx.benchmark.json.BenchmarkData.TestResult.ProfilerOutput
/benchmark/benchmark-common/src/main/cpp/
DProfiler.cpp97 pe.type = PERF_TYPE_HARDWARE; in resetEvents()
129 pe.type = PERF_TYPE_HARDWARE; in resetEvents()
139 pe.type = PERF_TYPE_HARDWARE; in resetEvents()
149 pe.type = PERF_TYPE_HARDWARE; in resetEvents()
159 pe.type = PERF_TYPE_HARDWARE; in resetEvents()
169 pe.type = PERF_TYPE_HARDWARE; in resetEvents()
180 pe.type = PERF_TYPE_RAW; in resetEvents()
190 pe.type = PERF_TYPE_RAW; in resetEvents()
200 pe.type = PERF_TYPE_HW_CACHE; in resetEvents()
212 pe.type = PERF_TYPE_HW_CACHE; in resetEvents()
/benchmark/benchmark-macro/src/main/java/androidx/benchmark/macro/perfetto/
DPowerQuery.kt67 fun getValue(type: PowerMetric.Type): Double { in <lambda>()
68 return if (type is PowerMetric.Type.Power) powerUw else energyUws in <lambda>()
86 fun getValue(type: PowerMetric.Type): Double { in <lambda>()
87 return if (type is PowerMetric.Type.Power) powerUw else energyUws in <lambda>()

1234