Home
last modified time | relevance | path

Searched refs:parse (Results 1 – 25 of 61) sorted by relevance

123

/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/util/
DKernelVersionHost.java39 return KernelVersion.parse(res.getStdout()); in getKernelVersion()
51 KernelVersion testKernelVersion = KernelVersion.parse(testVersion); in isKernelVersionEqualTo()
64 KernelVersion testKernelVersion = KernelVersion.parse(testVersion); in isKernelVersionLessThan()
77 KernelVersion testKernelVersion = KernelVersion.parse(testVersion); in isKernelVersionLessThanEqualTo()
90 KernelVersion testKernelVersion = KernelVersion.parse(testVersion); in isKernelVersionGreaterThan()
103 KernelVersion testKernelVersion = KernelVersion.parse(testVersion); in isKernelVersionGreaterThanEqualTo()
/platform_testing/libraries/flicker/utils/src/android/tools/parsers/
DAbstractTraceParser.kt36 final override fun parse(bytes: ByteArray, clearCache: Boolean): OutputTypeTrace { in getEntries() method in android.tools.parsers.AbstractTraceParser
37 return parse( in getEntries()
46 final override fun parse(input: InputTypeTrace, clearCache: Boolean): OutputTypeTrace { in parse() method in android.tools.parsers.AbstractTraceParser
47 return parse( in parse()
105 fun parse( in parse() method in android.tools.parsers.AbstractTraceParser
132 fun parse( in parse() method
140 return parse(input, from, to, addInitialEntry, clearCache) in parse()
DAbstractParser.kt34 open fun parse(bytes: ByteArray, clearCache: Boolean = true): OutputTypeTrace { in doDecodeByteArray() method in android.tools.parsers.AbstractParser
36 return parse(input, clearCache) in doDecodeByteArray()
45 open fun parse(input: InputTypeTrace, clearCache: Boolean = true): OutputTypeTrace { in parse() method in android.tools.parsers.AbstractParser
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/wm/
DLegacyTransitionTraceParser.kt27 fun parse( in parse() method in android.tools.traces.parsers.wm.LegacyTransitionTraceParser
33 val wmTransitionTrace = wmTransitionTraceParser.parse(wmSideTraceData, from, to) in parse()
34 val shellTransitionTrace = shellTransitionTraceParser.parse(shellSideTraceData, from, to) in parse()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/ide/common/resources/deprecated/
DValidatingResourceParser.java63 public boolean parse(InputStream input) in parse() method in ValidatingResourceParser
92 return parse(parser); in parse()
104 private boolean parse(KXmlParser parser) in parse() method in ValidatingResourceParser
DIdResourceParser.java69 public boolean parse(InputStream input) in parse() method in IdResourceParser
80 return parse(parser); in parse()
92 private boolean parse(KXmlParser parser) in parse() method in IdResourceParser
/platform_testing/libraries/flicker/utils/src/android/tools/traces/io/
DResultReader.kt85 traceData?.let { WindowManagerDumpParser().parse(it, clearCache = true) } in <lambda>()
101 .parse( in <lambda>()
133 .parse( in <lambda>()
165 LayersTraceParser().parse(session, clearCache = true) in <lambda>()
189 TransactionsTraceParser().parse(session, from, to, addInitialEntry = true) in <lambda>()
236 .parse( in <lambda>()
252 .parse(session, from = transitionTimeRange.start, to = transitionTimeRange.end) in <lambda>()
267 .parse( in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/wm/
DWindowManagerDumpParserTest.kt39 val trace = WindowManagerDumpParser().parse(readAsset("wm_trace_dump.pb")) in canParseFromStoredDump()
46 val trace = WindowManagerDumpParser().parse(data.first) in canParseFromNewDump()
DLegacyTransitionTraceParserTest.kt44 .parse( in <lambda>()
61 TransitionsTraceParser().parse(session) in <lambda>()
77 val trace = WindowManagerTraceParser().parse(data, clearCache = false) in <lambda>()
DWindowManagerTraceParserTest.kt42 .parse(readAsset("wm_trace_openchrome.pb"), clearCache = false) in canParseAllEntriesFromStoredTrace()
58 val trace = WindowManagerTraceParser().parse(data, clearCache = false) in canParseAllEntriesFromNewTrace()
DLegacyWmLegacyTransitionTraceParserTest.kt47 .parse(readAsset("wm_transition_trace.winscope"), clearCache = false) in canParseAllEntriesFromStoredTrace()
64 val trace = WmTransitionTraceParser().parse(data, clearCache = false) in canParseAllEntriesFromNewTrace()
DLegacyShellLegacyTransitionTraceParserTest.kt48 .parse(readAsset("shell_transition_trace.winscope"), clearCache = false) in canParseAllEntriesFromStoredTrace()
66 val trace = ShellTransitionTraceParser().parse(data, clearCache = false) in canParseAllEntriesFromNewTrace()
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/perfetto/
DLayerTraceParserTest.kt41 LayersTraceParser().parse(session) in <lambda>()
55 LayersTraceParser().parse(session) in <lambda>()
DTransactionsTraceParserTest.kt41 TransactionsTraceParser().parse(session) in <lambda>()
/platform_testing/libraries/flicker/test/src/android/tools/
DUtils.kt58 val layersTrace = LayersTraceParser().parse(session) in <lambda>()
59 val transactionsTrace = TransactionsTraceParser().parse(session) in <lambda>()
65 wmTrace = WindowManagerTraceParser().parse(scenarioTraces.wmTrace.readBytes()), in <lambda>()
69 .parse( in <lambda>()
74 eventLog = EventLogParser().parse(scenarioTraces.eventLog.readBytes()), in <lambda>()
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DReportLogTest.java85 ReportLog.parse((String) null); in testParse_null()
93 ReportLog report = ReportLog.parse(HEADER_XML); in testParse_noData()
98 ReportLog report = ReportLog.parse(String.format(SUMMARY_XML, "testParse_summaryOnly:125")); in testParse_summaryOnly()
104 ReportLog report = ReportLog.parse(String.format(FULL_XML, "testParse_full:140")); in testParse_full()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/
DMonitorUtils.kt51 .parse(WindowManagerTraceMonitor().withTracing(Tag.ALL, predicate)) in <lambda>()
73 LayersTraceParser().parse(session) in withSFTracing()
92 TransactionsTraceParser().parse(session) in withTransactionsTracing()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/
DDeviceDumpParser.kt63 .parse(wmTraceData, clearCache = clearCacheAfterParsing) in <lambda>()
74 .parse(session, clearCache = clearCacheAfterParsing) in <lambda>()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DKeyValueArgsParser.java30 public static HashMap<String, String> parse(String[] args) { in parse() method in KeyValueArgsParser
DReportLog.java140 static Metric parse(XmlPullParser parser) in parse() method in ReportLog.Metric
339 public static ReportLog parse(String result) throws XmlPullParserException, IOException { in parse() method in ReportLog
356 return parse(parser); in parse()
365 public static ReportLog parse(XmlPullParser parser) throws XmlPullParserException, IOException { in parse() method in ReportLog
369 report.setSummary(Metric.parse(parser)); in parse()
/platform_testing/libraries/sts-common-util/util/src/com/android/sts/common/util/
DSplUtils.java45 return LocalDate.parse(spl, formatter); in localDateFromSplString()
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/
DTraceParserTest.kt45 .parse( in canSliceWithAllAfter()
55 .parse( in canSliceWithAllAfter()
247 .parse( in testSliceWithOutInitialEntry()
260 .parse( in testSliceWithInitialEntry()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/view/
DViewTraceParser.kt45 WindowDataParser(entry.title, entry).parse(ByteArray(0))
/platform_testing/libraries/flicker/appHelpers/src/android/tools/device/apphelpers/
DMessagingAppHelper.kt47 val intent = Intent(Intent.ACTION_VIEW, Uri.parse("sms:")) in getMessagesIntent()
DBrowserAppHelper.kt51 val intent = Intent(Intent.ACTION_VIEW, Uri.parse("http://")) in getBrowserIntent()

123