Home
last modified time | relevance | path

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

123

/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()
DVideoProfile.java22 import com.android.powermodel.ParseException;
DFlashlightProfile.java22 import com.android.powermodel.ParseException;
DAudioProfile.java22 import com.android.powermodel.ParseException;
DCameraProfile.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/services/core/java/com/android/server/timezone/
DPackageStatusStorage.java35 import java.text.ParseException;
112 } catch (ParseException e) { in getPackageStatus()
120 } catch (ParseException e2) { in getPackageStatus()
128 private PackageStatus getPackageStatusLocked() throws ParseException { in getPackageStatusLocked()
140 ParseException e2 = new ParseException("Error reading package status", 0); in getPackageStatusLocked()
182 } catch (ParseException e) { in generateCheckToken()
213 } catch (ParseException e) { in resetCheckState()
253 private int getCurrentOptimisticLockId() throws ParseException { in getCurrentOptimisticLockId()
258 ParseException e2 = new ParseException("Unable to read file", 0); in getCurrentOptimisticLockId()
266 throws ParseException { in parseToPackageStatusTag()
[all …]
/frameworks/libs/net/common/framework/com/android/net/module/util/
DDnsPacket.java40 public static class ParseException extends RuntimeException { class in DnsPacket
42 public ParseException(@NonNull String reason) { in ParseException() method in DnsPacket.ParseException
47 public ParseException(@NonNull String reason, @NonNull Throwable cause) { in ParseException() method in DnsPacket.ParseException
125 throws BufferUnderflowException, ParseException { in DnsRecord()
128 throw new ParseException( in DnsRecord()
181 BufferUnderflowException, ParseException { in parseName()
183 throw new ParseException("Failed to parse name, too many labels"); in parseName()
190 throw new ParseException("Parse name fail, bad label type"); in parseName()
196 throw new ParseException("Parse compression name fail, invalid compression"); in parseName()
207 throw new ParseException("Parse name fail, invalid label length"); in parseName()
[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/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/core/java/android/net/
DParseException.java25 public class ParseException extends RuntimeException { class
28 ParseException(@NonNull String response) { in ParseException() method in ParseException
33 ParseException(@NonNull String response, @NonNull Throwable cause) { in ParseException() method in ParseException
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()
DDnsResolver.java295 } catch (DnsPacket.ParseException e) { in onAnswer()
301 ParseException pe = new ParseException(e.reason, e.getCause()); in onAnswer()
543 DnsAddressAnswer(@NonNull byte[] data) throws ParseException { in DnsAddressAnswer()
546 throw new ParseException("Not an answer packet"); in DnsAddressAnswer()
549 throw new ParseException("No question found"); in DnsAddressAnswer()
DMailTo.java64 public static MailTo parse(String url) throws ParseException { in parse()
69 throw new ParseException("Not a mailto scheme"); in parse()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmSmsAddress.java25 import java.text.ParseException;
45 public GsmSmsAddress(byte[] data, int offset, int length) throws ParseException { in GsmSmsAddress()
57 throw new ParseException("Invalid TOA - high bit must be set. toa = " + toa, in GsmSmsAddress()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollback.java26 import java.text.ParseException;
154 throws ParseException { in rollbackStateFromString()
160 throw new ParseException("Invalid rollback state: " + state, 0); in rollbackStateFromString()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhoneFactory.java25 import java.text.ParseException;
44 } catch (ParseException e) { in makePhone()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipProfile.java26 import java.text.ParseException;
120 public Builder(String uriString) throws ParseException { in Builder()
128 throw new ParseException(uriString + " is not a SIP URI", 0); in Builder()
143 throws ParseException { in Builder()
301 } catch (ParseException e) { in build()
/frameworks/libs/net/common/tests/unit/src/com/android/module/util/
DDnsPacketTest.java55 TestDnsPacket(byte[] data) throws DnsPacket.ParseException { in TestDnsPacket()
72 } catch (DnsPacket.ParseException e) { in testNullDisallowed()

123