Home
last modified time | relevance | path

Searched refs:ParseException (Results 1 – 25 of 62) 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()
/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/base/core/java/android/net/
DDnsPacket.java108 throws BufferUnderflowException, ParseException { in DnsRecord()
111 throw new ParseException( in DnsRecord()
164 BufferUnderflowException, ParseException { in parseName()
166 throw new ParseException("Failed to parse name, too many labels"); in parseName()
173 throw new ParseException("Parse name fail, bad label type"); in parseName()
179 throw new ParseException("Parse compression name fail, invalid compression"); in parseName()
190 throw new ParseException("Parse name fail, invalid label length"); in parseName()
209 protected DnsPacket(@NonNull byte[] data) throws ParseException { in DnsPacket()
210 if (null == data) throw new ParseException("Parse header failed, null input data"); in DnsPacket()
216 throw new ParseException("Parse Header fail, bad input data", e); in DnsPacket()
[all …]
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.java75 public WebAddress(String address) throws ParseException { in WebAddress()
103 throw new ParseException("Bad port"); in WebAddress()
119 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/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/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DTimestamps.java36 import java.text.ParseException;
165 public static Timestamp parse(String value) throws ParseException { in parse()
168 throw new ParseException("Failed to parse timestamp: invalid timestamp \"" + value + "\"", 0); in parse()
178 throw new ParseException("Failed to parse timestamp: missing valid timezone offset.", 0); in parse()
195 throw new ParseException( in parse()
213 throw new ParseException("Failed to parse timestmap: timestamp is out of range.", 0); in parse()
311 private static long parseTimezoneOffset(String value) throws ParseException { in parseTimezoneOffset()
314 throw new ParseException("Invalid offset value: " + value, 0); in parseTimezoneOffset()
321 static int parseNanos(String value) throws ParseException { in parseNanos()
327 throw new ParseException("Invalid nanosecnds.", 0); in parseNanos()
DDurations.java41 import java.text.ParseException;
142 public static Duration parse(String value) throws ParseException { in parse()
145 throw new ParseException("Invalid duration string: " + value, 0); in parse()
162 throw new ParseException("Invalid duration string: " + value, 0); in parse()
171 throw new ParseException("Duration value is out of range.", 0); in parse()
DTimeUtil.java37 import java.text.ParseException;
90 public static Timestamp parseTimestamp(String value) throws ParseException { in parseTimestamp()
119 public static Duration parseDuration(String value) throws ParseException { in parseDuration()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DTextFormat.java748 public void consume(final String token) throws ParseException { in consume()
780 public String consumeIdentifier() throws ParseException { in consumeIdentifier()
807 } catch (ParseException e) { in tryConsumeIdentifier()
816 public int consumeInt32() throws ParseException { in consumeInt32()
830 public int consumeUInt32() throws ParseException { in consumeUInt32()
844 public long consumeInt64() throws ParseException { in consumeInt64()
862 } catch (ParseException e) { in tryConsumeInt64()
871 public long consumeUInt64() throws ParseException { in consumeUInt64()
889 } catch (ParseException e) { in tryConsumeUInt64()
898 public double consumeDouble() throws ParseException { in consumeDouble()
[all …]
/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/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/test/java/com/google/protobuf/util/
DTimeUtilTest.java40 import java.text.ParseException;
100 } catch (ParseException e) { in run()
190 } catch (ParseException e) { in testTimetampInvalidFormat()
198 } catch (ParseException e) { in testTimetampInvalidFormat()
206 } catch (ParseException e) { in testTimetampInvalidFormat()
214 } catch (ParseException e) { in testTimetampInvalidFormat()
222 } catch (ParseException e) { in testTimetampInvalidFormat()
230 } catch (ParseException e) { in testTimetampInvalidFormat()
238 } catch (ParseException e) { in testTimetampInvalidFormat()
321 } catch (ParseException e) { in testDurationInvalidFormat()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmSmsAddress.java21 import java.text.ParseException;
42 public GsmSmsAddress(byte[] data, int offset, int length) throws ParseException { in GsmSmsAddress()
54 throw new ParseException("Invalid TOA - high bit must be set. toa = " + toa, in GsmSmsAddress()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackData.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.java25 import java.text.ParseException;
119 public Builder(String uriString) throws ParseException { in Builder()
127 throw new ParseException(uriString + " is not a SIP URI", 0); in Builder()
142 throws ParseException { in Builder()
300 } catch (ParseException e) { in build()
/frameworks/base/tests/net/java/android/net/
DDnsPacketTest.java55 TestDnsPacket(byte[] data) throws ParseException { in TestDnsPacket()
72 } catch (ParseException e) { in testNullDisallowed()

123