Home
last modified time | relevance | path

Searched refs:parser (Results 1 – 25 of 35) sorted by relevance

12

/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DResultHandler.java188 XmlPullParser parser = factory.newPullParser(); in getResultFromDir() local
189 parser.setInput(new FileReader(resultFile)); in getResultFromDir()
191 parser.nextTag(); in getResultFromDir()
192 parser.require(XmlPullParser.START_TAG, NS, RESULT_TAG); in getResultFromDir()
194 parser.getAttributeValue(NS, START_TIME_ATTR))); in getResultFromDir()
195 invocation.setTestPlan(parser.getAttributeValue(NS, SUITE_PLAN_ATTR)); in getResultFromDir()
196 invocation.setCommandLineArgs(parser.getAttributeValue(NS, COMMAND_LINE_ARGS)); in getResultFromDir()
197 String deviceList = parser.getAttributeValue(NS, DEVICES_ATTR); in getResultFromDir()
202 parser.nextTag(); in getResultFromDir()
203 parser.require(XmlPullParser.START_TAG, NS, BUILD_TAG); in getResultFromDir()
[all …]
DDynamicConfig.java127 XmlPullParser parser = XmlPullParserFactory.newInstance().newPullParser(); in createConfigMap() local
128 parser.setInput(new InputStreamReader(fileStream)); in createConfigMap()
129 parser.nextTag(); in createConfigMap()
130 parser.require(XmlPullParser.START_TAG, NS, CONFIG_TAG); in createConfigMap()
132 while (parser.nextTag() == XmlPullParser.START_TAG) { in createConfigMap()
133 parser.require(XmlPullParser.START_TAG, NS, ENTRY_TAG); in createConfigMap()
134 String key = parser.getAttributeValue(NS, KEY_ATTR); in createConfigMap()
136 while (parser.nextTag() == XmlPullParser.START_TAG) { in createConfigMap()
137 parser.require(XmlPullParser.START_TAG, NS, VALUE_TAG); in createConfigMap()
138 valueList.add(parser.nextText()); in createConfigMap()
[all …]
DReportLog.java140 static Metric parse(XmlPullParser parser) in parse() argument
142 parser.require(XmlPullParser.START_TAG, null, METRIC_TAG); in parse()
143 String source = parser.getAttributeValue(null, SOURCE_ATTR); in parse()
144 String message = parser.getAttributeValue(null, MESSAGE_ATTR); in parse()
146 parser.getAttributeValue(null, SCORETYPE_ATTR)); in parse()
148 parser.getAttributeValue(null, SCOREUNIT_ATTR)); in parse()
150 while (parser.nextTag() == XmlPullParser.START_TAG) { in parse()
151 parser.require(XmlPullParser.START_TAG, null, VALUE_TAG); in parse()
152 valuesList.add(parser.nextText()); in parse()
153 parser.require(XmlPullParser.END_TAG, null, VALUE_TAG); in parse()
[all …]
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/
DUiDeviceExtensionsTest.kt23 import com.android.server.wm.traces.parser.FLAG_STATE_DUMP_FLAG_LAYERS
24 import com.android.server.wm.traces.parser.FLAG_STATE_DUMP_FLAG_WM
25 import com.android.server.wm.traces.parser.WmStateDumpFlags
26 import com.android.server.wm.traces.parser.getCurrentState
27 import com.android.server.wm.traces.parser.getCurrentStateDump
DUtils.kt25 import com.android.server.wm.traces.parser.layers.LayersTraceParser
26 import com.android.server.wm.traces.parser.tags.TagTraceParserUtil
27 import com.android.server.wm.traces.parser.windowmanager.WindowManagerTraceParser
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/
DDeviceDumpParser.kt17 package com.android.server.wm.traces.parser
25 import com.android.server.wm.traces.parser.layers.LayersTraceParser
26 import com.android.server.wm.traces.parser.windowmanager.WindowManagerTraceParser
DWmStateDumpFlags.kt17 package com.android.server.wm.traces.parser
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/monitor/
DExtensions.kt24 import com.android.server.wm.traces.parser.DeviceDumpParser
25 import com.android.server.wm.traces.parser.layers.LayersTraceParser
26 import com.android.server.wm.traces.parser.windowmanager.WindowManagerTraceParser
/platform_testing/tests/example/mobly/
Dhello_world_test.py121 parser = argparse.ArgumentParser(description='Mobly Hello World Test.')
122 parser.add_argument(
129 args, unrec_argv = parser.parse_known_args(other_args)
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/tags/
DExtensions.kt19 package com.android.server.wm.traces.parser.tags
28 import com.android.server.wm.traces.parser.LOG_TAG
DTagTraceParserUtil.kt17 package com.android.server.wm.traces.parser.tags
25 import com.android.server.wm.traces.parser.LOG_TAG
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/errors/
DErrorTraceParserUtil.kt17 package com.android.server.wm.traces.parser.errors
24 import com.android.server.wm.traces.parser.LOG_TAG
DExtensions.kt19 package com.android.server.wm.traces.parser.errors
28 import com.android.server.wm.traces.parser.LOG_TAG
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/service/
DFlickerService.kt27 import com.android.server.wm.traces.parser.errors.writeToFile
28 import com.android.server.wm.traces.parser.tags.writeToFile
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/rules/
DWMFlickerServiceRule.kt29 import com.android.server.wm.traces.parser.layers.LayersTraceParser in <lambda>()
30 import com.android.server.wm.traces.parser.windowmanager.WindowManagerTraceParser in <lambda>()
DLaunchAppRule.kt23 import com.android.server.wm.traces.parser.windowmanager.WindowManagerStateHelper
DChangeDisplayOrientationRule.kt26 import com.android.server.wm.traces.parser.windowmanager.WindowManagerStateHelper
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/service/
DFassMockTest.kt24 import com.android.server.wm.traces.parser.windowmanager.WindowManagerStateHelper
DRotationMockTest.kt25 import com.android.server.wm.traces.parser.windowmanager.WindowManagerStateHelper
DErrorParserTest.kt22 import com.android.server.wm.traces.parser.errors.ErrorTraceParserUtil
DTagParserTest.kt23 import com.android.server.wm.traces.parser.tags.TagTraceParserUtil
DTraceIsTaggableTest.kt28 import com.android.server.wm.traces.parser.windowmanager.WindowManagerStateHelper
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/
DTransitionRunner.kt23 import com.android.server.wm.traces.parser.DeviceDumpParser
24 import com.android.server.wm.traces.parser.getCurrentState
DFlickerRunResult.kt32 import com.android.server.wm.traces.parser.layers.LayersTraceParser in <lambda>()
33 import com.android.server.wm.traces.parser.windowmanager.WindowManagerTraceParser in <lambda>()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/flicker/
DFlickerRuleBase.java27 import com.android.server.wm.traces.parser.layers.LayersTraceParser;
28 import com.android.server.wm.traces.parser.windowmanager.WindowManagerTraceParser;

12