Home
last modified time | relevance | path

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

123

/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/filters/
DTextFileFilterPolicyParser.kt18 import com.android.hoststubgen.ParseException in <lambda>()
100 throw ParseException("Class ('c') expects 2 fields.") in createFilterFromTextPolicyFile()
113 throw ParseException( in createFilterFromTextPolicyFile()
122 throw ParseException( in createFilterFromTextPolicyFile()
131 throw ParseException("Class can't have policy '$policy'") in createFilterFromTextPolicyFile()
149 throw ParseException( in createFilterFromTextPolicyFile()
157 throw ParseException( in createFilterFromTextPolicyFile()
165 throw ParseException( in createFilterFromTextPolicyFile()
173 throw ParseException( in createFilterFromTextPolicyFile()
185 throw ParseException("Field ('f') expects 2 fields.") in createFilterFromTextPolicyFile()
[all …]
/frameworks/base/tools/powermodel/src/com/android/powermodel/component/
DCpuProfile.java23 import com.android.powermodel.ParseException;
54 public void setSuspendMa(float value) throws ParseException { in setSuspendMa()
58 public void setIdleMa(float value) throws ParseException { in setIdleMa()
62 public void setActiveMa(float value) throws ParseException { in setActiveMa()
66 public void setCoreCount(int[] value) throws ParseException { in setCoreCount()
70 public void setClusterPower(int cluster, float value) throws ParseException { in setClusterPower()
74 public void setCoreSpeeds(int cluster, int[] value) throws ParseException { in setCoreSpeeds()
78 throw new ParseException("length of cpu.core_speeds.cluster" + cluster in setCoreSpeeds()
83 throw new ParseException("cluster " + cluster in setCoreSpeeds()
90 public void setCorePower(int cluster, float[] value) throws ParseException { in setCorePower()
[all …]
DModemProfile.java22 import com.android.powermodel.ParseException;
61 public void setSleepMa(float value) throws ParseException { in setSleepMa()
65 public void setIdleMa(float value) throws ParseException { in setIdleMa()
69 public void setRxMa(float value) throws ParseException { in setRxMa()
73 public void setTxMa(float[] value) throws ParseException { in setTxMa()
77 public void setScanningMa(float value) throws ParseException { in setScanningMa()
81 public ModemProfile build() throws ParseException { in build()
DGpsProfile.java22 import com.android.powermodel.ParseException;
35 public void setOnMa(float value) throws ParseException { in setOnMa()
39 public void setSignalMa(float[] value) throws ParseException { in setSignalMa()
43 public GpsProfile build() throws ParseException { in build()
DFlashlightProfile.java22 import com.android.powermodel.ParseException;
DCameraProfile.java22 import com.android.powermodel.ParseException;
DAudioProfile.java22 import com.android.powermodel.ParseException;
DVideoProfile.java22 import com.android.powermodel.ParseException;
DBluetoothProfile.java22 import com.android.powermodel.ParseException;
DWifiProfile.java22 import com.android.powermodel.ParseException;
/frameworks/base/core/java/com/android/internal/util/
DTypedProperties.java81 public static class ParseException extends IllegalArgumentException { class in TypedProperties
82 ParseException(StreamTokenizer state, String expected) { in ParseException() method in TypedProperties.ParseException
141 static void parse(Reader r, Map<String, Object> map) throws ParseException, IOException { in parse()
161 throw new ParseException(st, "type name"); in parse()
165 throw new ParseException(st, "valid type name"); in parse()
173 throw new ParseException(st, "'('"); in parse()
180 throw new ParseException(st, "property name"); in parse()
184 throw new ParseException(st, "valid property name"); in parse()
192 throw new ParseException(st, "')'"); in parse()
199 throw new ParseException(st, "'='"); in parse()
[all …]
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DParseException.java19 public class ParseException extends Exception { class
22 public ParseException(int line, String message, Throwable th) { in ParseException() method in ParseException
27 public ParseException(int line, String message) { in ParseException() method in ParseException
31 public ParseException(String message) { in ParseException() method in ParseException
DRawBatteryStats.java536 abstract void setField(int lineNumber, Record object, String value) throws ParseException; in setField()
538 int startIndex, int endIndex) throws ParseException; in setArray()
564 void setField(int lineNumber, Record object, String value) throws ParseException { in setField()
568 throw new ParseException(lineNumber, "can't parse as integer: " + value); in setField()
576 int startIndex, int endIndex) throws ParseException { in setArray()
584 throw new ParseException(lineNumber, "can't parse field " in setArray()
604 void setField(int lineNumber, Record object, String value) throws ParseException { in setField()
608 throw new ParseException(lineNumber, "can't parse as long: " + value); in setField()
616 int startIndex, int endIndex) throws ParseException { in setArray()
624 throw new ParseException(lineNumber, "can't parse field " in setArray()
[all …]
DBatteryStatsReader.java38 public static ActivityReport parse(InputStream stream) throws ParseException, IOException { in parse()
63 ActivityReport parse() throws ParseException, IOException { in parse()
DCsvParser.java51 void onLine(int lineNumber, ArrayList<String> fields) throws ParseException; in onLine()
58 throws IOException, ParseException { in parse()
150 throw new ParseException(lineNumber, "Line is too long: " in parse()
DPowerProfile.java113 PowerProfile parse() throws ParseException { in parse()
138 throw new ParseException(ex.getLineNumber(), ex.getMessage(), ex); in parse()
141 throw new ParseException(handler.getLineNumber(), ex.getMessage(), ex); in parse()
216 } catch (ParseException ex) { in onItem()
242 } catch (ParseException ex) { in onArray()
516 public static PowerProfile parse(InputStream stream) throws ParseException { in parse()
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
DSimpleDateFormatPerfTest.java29 import java.text.ParseException;
51 public void time_parseWithTimeZoneShort() throws ParseException { in time_parseWithTimeZoneShort()
60 public void time_parseWithTimeZoneLong() throws ParseException { in time_parseWithTimeZoneLong()
69 public void time_parseWithoutTimeZone() throws ParseException { in time_parseWithoutTimeZone()
78 public void time_createAndParseWithTimeZoneShort() throws ParseException { in time_createAndParseWithTimeZoneShort()
87 public void time_createAndParseWithTimeZoneLong() throws ParseException { in time_createAndParseWithTimeZoneLong()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipHelper.java29 import java.text.ParseException;
95 throws ParseException { in createFromHeader()
99 private ToHeader createToHeader(SipProfile profile) throws ParseException { in createToHeader()
104 throws ParseException { in createToHeader()
113 throws ParseException, InvalidArgumentException { in createCSeqHeader()
142 throws ParseException, SipException { in createViaHeaders()
153 throws ParseException, SipException { in createContactHeader()
158 String ip, int port) throws ParseException, in createContactHeader()
179 ListeningPoint lp) throws ParseException { in createSipUri()
184 String ip, int port) throws ParseException { in createSipUri()
[all …]
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/
DUtils.kt72 class ParseException : Exception, UserErrorException { class
84 fun withSourceInfo(filename: String, lineNo: Int): ParseException { in withSourceInfo()
88 return ParseException(this.message ?: "", filename, lineNo) in withSourceInfo()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmSmsAddress.java25 import java.text.ParseException;
44 public GsmSmsAddress(byte[] data, int offset, int length) throws ParseException { in GsmSmsAddress()
56 throw new ParseException("Invalid TOA - high bit must be set. toa = " + toa, in GsmSmsAddress()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipProfile.java26 import java.text.ParseException;
122 public Builder(String uriString) throws ParseException { in Builder()
130 throw new ParseException(uriString + " is not a SIP URI", 0); in Builder()
145 throws ParseException { in Builder()
303 } catch (ParseException e) { in build()
/frameworks/base/core/java/android/net/
DWebAddress.java76 public WebAddress(String address) throws ParseException { in WebAddress()
104 throw new ParseException("Bad port"); in WebAddress()
120 throw new ParseException("Bad address"); in WebAddress()
DMailTo.java64 public static MailTo parse(String url) throws ParseException { in parse()
69 throw new ParseException("Not a mailto scheme"); in parse()
/frameworks/base/tools/hoststubgen/hoststubgen/test/com/android/hoststubgen/utils/
DClassFilterTest.kt18 import com.android.hoststubgen.ParseException
81 } catch (e: ParseException) { in testBadFilter1()
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/utils/
DClassFilter.kt18 import com.android.hoststubgen.ParseException in <lambda>()
129 throw ParseException( in <lambda>()

123