Home
last modified time | relevance | path

Searched refs:ParseException (Results 1 – 25 of 26) sorted by relevance

12

/tools/tradefederation/core/src/com/android/tradefed/device/
DDumpsysPackageReceiver.java40 static class ParseException extends IOException { class in DumpsysPackageReceiver
41 ParseException(String msg) { in ParseException() method in DumpsysPackageReceiver.ParseException
45 ParseException(String msg, Throwable t) { in ParseException() method in DumpsysPackageReceiver.ParseException
54 ParserState parse(String line) throws ParseException; in parse()
66 public ParserState parse(String line) throws ParseException { in parse()
100 public ParserState parse(String line) throws ParseException { in parse()
144 public ParserState parse(String line) throws ParseException { in parse()
165 public HiddenPackageParserState(String name) throws ParseException { in HiddenPackageParserState()
168 throw new ParseException(String.format( in HiddenPackageParserState()
178 public ParserState parse(String line) throws ParseException { in parse()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/testdefs/
DXmlDefsParserTest.java18 import com.android.tradefed.util.xml.AbstractXmlParser.ParseException;
59 public void testParseSingleDef() throws ParseException { in testParseSingleDef()
75 public void testParseNonContinuous() throws ParseException { in testParseNonContinuous()
86 public void testParseFaleContinuous() throws ParseException { in testParseFaleContinuous()
97 public void testParseFullDef() throws ParseException { in testParseFullDef()
118 } catch (ParseException e) { in testParseException()
/tools/tradefederation/core/src/com/android/tradefed/util/xml/
DAbstractXmlParser.java42 public static class ParseException extends Exception { class in AbstractXmlParser
43 public ParseException(Throwable cause) { in ParseException() method in AbstractXmlParser.ParseException
54 public void parse(InputStream xmlInput) throws ParseException { in parse()
65 throw new ParseException(e); in parse()
/tools/appbundle/bundletool/java/com/android/tools/appbundle/bundletool/utils/
DFlagParser.java52 public FlagParser parse(String[] args) throws ParseException { in parse()
64 private Map<String, String> parseFlags(List<String> args) throws ParseException { in parseFlags()
68 throw new ParseException( in parseFlags()
77 throw new ParseException( in parseFlags()
141 public static class ParseException extends RuntimeException { class in FlagParser
143 public ParseException(String message) { in ParseException() method in FlagParser.ParseException
/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DSmartMonkeyLogParserTest.java21 import java.text.ParseException;
35 public void testExceptions() throws ParseException { in testExceptions()
65 public void testHeader() throws ParseException { in testHeader()
100 public void testIntermidiateStop() throws ParseException { in testIntermidiateStop()
123 public void testFooter() throws ParseException { in testFooter()
DLogcatParserTest.java26 import java.text.ParseException;
41 public void testParse_anr() throws ParseException { in testParse_anr()
64 public void testParse_anr_pid() throws ParseException { in testParse_anr_pid()
88 public void testParse_java_crash() throws ParseException { in testParse_java_crash()
192 public void testParse_java_crash_system_server() throws ParseException { in testParse_java_crash_system_server()
218 public void testParse_java_crash_process_pid() throws ParseException { in testParse_java_crash_process_pid()
245 public void testParse_java_crash_pid() throws ParseException { in testParse_java_crash_pid()
272 public void testParse_java_crash_empty() throws ParseException { in testParse_java_crash_empty()
288 public void testParse_native_crash_info() throws ParseException { in testParse_native_crash_info()
312 public void testParse_native_crash_fatal() throws ParseException { in testParse_native_crash_fatal()
[all …]
DMonkeyLogParserTest.java28 import java.text.ParseException;
781 private Date parseTime(String timeStr) throws ParseException { in parseTime()
/tools/tradefederation/core/src/com/android/tradefed/util/
DMetricsXmlParser.java45 public static class ParseException extends Exception { class in MetricsXmlParser
46 public ParseException(Throwable cause) { in ParseException() method in MetricsXmlParser.ParseException
50 public ParseException(String msg, Throwable cause) { in ParseException() method in MetricsXmlParser.ParseException
135 throws ParseException { in parse()
141 throw new ParseException("Unable to parse " + xml.getPath(), e); in parse()
150 throws ParseException { in parse()
158 throw new ParseException(e); in parse()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DJUnitXmlParserTest.java24 import com.android.tradefed.util.xml.AbstractXmlParser.ParseException;
58 } catch (ParseException e) { in testEmptyParse()
65 public void testParse() throws ParseException { in testParse()
89 public void testParseErrorAndSkipped() throws ParseException { in testParseErrorAndSkipped()
DMetricsXmlParserTest.java34 import com.android.tradefed.util.MetricsXmlParser.ParseException;
80 } catch (ParseException e) { in testEmptyParse()
88 public void testSimpleParse() throws ParseException { in testSimpleParse()
116 public void testParse() throws ParseException { in testParse()
151 public void testParseBlacklist() throws ParseException { in testParseBlacklist()
/tools/tradefederation/core/src/com/android/tradefed/result/
DRetentionFileSaver.java23 import java.text.ParseException;
66 } catch (ParseException e) { in shouldDelete()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DNativeBenchmarkTestParser.java23 import java.text.ParseException;
95 } catch (ParseException e) { in parseDoubleValue()
/tools/tradefederation/contrib/src/com/android/media/tests/
DAdbScreenrecordTest.java34 import java.text.ParseException;
184 } catch (ParseException e) { in runTest()
222 private long convertDurationToMilliseconds(String duration) throws ParseException { in convertDurationToMilliseconds()
253 throws DeviceNotAvailableException, ParseException, TestFailureException { in extractDurationAndBitrateFromVideoFileUsingAvprobe()
/tools/tradefederation/core/src/com/android/tradefed/util/net/
DXmlRpcHelper.java20 import com.android.tradefed.util.xml.AbstractXmlParser.ParseException;
251 } catch (ParseException e) { in parseResponseTuple()
/tools/loganalysis/src/com/android/loganalysis/parser/
DSmartMonkeyLogParser.java22 import java.text.ParseException;
194 } catch (ParseException e) { in parseTime()
DMonkeyLogParser.java27 import java.text.ParseException;
333 } catch (ParseException e) { in parseTime()
339 } catch (ParseException e) { in parseTime()
DBugreportParser.java37 import java.text.ParseException;
309 } catch (ParseException e) { in parseTime()
DLogcatParser.java27 import java.text.ParseException;
436 } catch (ParseException e) { in parseTime()
/tools/appbundle/bundletool/java/com/android/tools/appbundle/bundletool/
DBundleToolMain.java39 } catch (FlagParser.ParseException e) { in main()
/tools/tradefederation/core/src/com/android/tradefed/testtype/testdefs/
DXmlDefsTest.java34 import com.android.tradefed.util.xml.AbstractXmlParser.ParseException;
265 } catch (ParseException e) { in parseFile()
/tools/tradefederation/core/src/com/android/tradefed/testtype/metricregression/
DDetectRegression.java28 import com.android.tradefed.util.MetricsXmlParser.ParseException;
127 } catch (IOException | ParseException e) { in run()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DLogFileSaverTest.java37 import java.text.ParseException;
126 public void testGetFileDir_retention() throws IOException, ParseException { in testGetFileDir_retention()
DFileSystemLogSaverTest.java42 import java.text.ParseException;
144 public void testGetFileDir_retention() throws IOException, ParseException { in testGetFileDir_retention()
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/
DEmmcPerformanceTest.java38 import java.text.ParseException;
319 } catch (ParseException e) { in simpleperfResultAggregation()
DMicroBenchTest.java39 import java.text.ParseException;
204 } catch (ParseException e) { in processNewLines()

12