Home
last modified time | relevance | path

Searched refs:node (Results 1 – 8 of 8) sorted by relevance

/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/view/
DViewFrameBuilder.kt36 private fun parseViewNode(node: com.android.app.viewcapture.data.ViewNode): ViewNode = in parseViewNode()
38 classNameIndex = node.classnameIndex, in parseViewNode()
39 hashCode = node.hashcode, in parseViewNode()
40 id = node.id, in parseViewNode()
43 node.left, in parseViewNode()
44 node.top, in parseViewNode()
45 /* right */ node.left + node.width, in parseViewNode()
46 /* bottom */ node.top + node.height in parseViewNode()
48 scroll = Point(node.scrollX, node.scrollY), in parseViewNode()
49 translation = PointF(node.translationX, node.translationY), in parseViewNode()
[all …]
DWindowDataParser.kt41 return ViewFrameBuilder().forSystemUptime(entry.timestamp).fromRootNode(entry.node).build() in doDecodeByteArray()
/platform_testing/libraries/collectors-helper/lyric/test/src/com/android/helpers/
DLyricCpuUtilizationHelperTest.java61 String node = "retiming-empty_group"; in testProcessOutput() local
62 assertThat(metrics.get(String.format(METRIC_KEY, node, "number_of_invocations"))) in testProcessOutput()
65 assertThat(metrics.get(String.format(METRIC_KEY, node, "user_time"))) in testProcessOutput()
68 assertThat(metrics.get(String.format(METRIC_KEY, node, "user_time"))) in testProcessOutput()
71 assertThat(metrics.get(String.format(METRIC_KEY, node, "user_time_max"))) in testProcessOutput()
74 assertThat(metrics.get(String.format(METRIC_KEY, node, "user_time_min"))) in testProcessOutput()
77 assertThat(metrics.get(String.format(METRIC_KEY, node, "system_time"))) in testProcessOutput()
80 assertThat(metrics.get(String.format(METRIC_KEY, node, "system_time_max"))) in testProcessOutput()
83 assertThat(metrics.get(String.format(METRIC_KEY, node, "system_time_min"))) in testProcessOutput()
86 assertThat(metrics.get(String.format(METRIC_KEY, node, "wall_time"))) in testProcessOutput()
[all …]
/platform_testing/libraries/collectors-helper/lyric/src/com/android/helpers/
DLyricCpuUtilizationHelper.java103 String node = matcher.group(1).replace(":", "-"); in processMatch() local
105 String.format(METRIC_KEY, node, "number_of_invocations"), in processMatch()
107 metrics.put(String.format(METRIC_KEY, node, "system_time"), parseTime(matcher.group(3))); in processMatch()
109 String.format(METRIC_KEY, node, "system_time_max"), parseTime(matcher.group(4))); in processMatch()
111 String.format(METRIC_KEY, node, "system_time_min"), parseTime(matcher.group(5))); in processMatch()
112 metrics.put(String.format(METRIC_KEY, node, "user_time"), parseTime(matcher.group(6))); in processMatch()
113 metrics.put(String.format(METRIC_KEY, node, "user_time_max"), parseTime(matcher.group(7))); in processMatch()
114 metrics.put(String.format(METRIC_KEY, node, "user_time_min"), parseTime(matcher.group(8))); in processMatch()
115 metrics.put(String.format(METRIC_KEY, node, "wall_time"), parseTime(matcher.group(9))); in processMatch()
116 metrics.put(String.format(METRIC_KEY, node, "wall_time_max"), parseTime(matcher.group(10))); in processMatch()
[all …]
/platform_testing/libraries/motion/compose/values/src/platform/test/motion/compose/values/
DMotionTestValue.kt21 import androidx.compose.ui.node.CompositionLocalConsumerModifierNode
22 import androidx.compose.ui.node.ModifierNodeElement
23 import androidx.compose.ui.node.SemanticsModifierNode
24 import androidx.compose.ui.node.currentValueOf
70 override fun update(node: MotionTestValuesNode) { in exportAs()
71 node.values = values in exportAs()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DRootcanalUtils.java264 Node node = in tryUpdateVintfManifest() local
269 if (node != null) { in tryUpdateVintfManifest()
274 .evaluate("version", node, XPathConstants.NODE); in tryUpdateVintfManifest()
281 .evaluate("fqname", node, XPathConstants.NODE); in tryUpdateVintfManifest()
/platform_testing/libraries/motion/compose/src/platform/test/motion/compose/
DComposeToolkit.kt380 val node = onNode.fetchSemanticsNode() in <lambda>() constant
381 val density = node.layoutInfo.density in <lambda>()
382 val viewConfiguration = node.layoutInfo.viewConfiguration in <lambda>()
384 with(node.boundsInRoot) { IntSize(width.roundToInt(), height.roundToInt()) } in <lambda>()
/platform_testing/libraries/sts-common-util/host-side/tests/res/
Dlogcat.txt370 03-04 04:09:01.438 11980 11988 W QVRServiceDisplay: failed to open lineptr_event event node: No suc…