/frameworks/base/tests/net/java/android/net/captiveportal/ |
D | CaptivePortalProbeSpecTest.java | 31 import java.text.ParseException; 38 public void testGetResult_Regex() throws MalformedURLException, ParseException { in testGetResult_Regex() 69 @Test(expected = ParseException.class) 70 public void testParseSpec_Empty() throws MalformedURLException, ParseException { in testParseSpec_Empty() 74 @Test(expected = ParseException.class) 75 public void testParseSpec_Null() throws MalformedURLException, ParseException { in testParseSpec_Null() 79 @Test(expected = ParseException.class) 80 public void testParseSpec_MissingParts() throws MalformedURLException, ParseException { in testParseSpec_MissingParts() 84 @Test(expected = ParseException.class) 85 public void testParseSpec_TooManyParts() throws MalformedURLException, ParseException { in testParseSpec_TooManyParts() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | TypedProperties.java | 81 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/ |
D | PackageStatusStorage.java | 35 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/captiveportal/ |
D | CaptivePortalProbeSpec.java | 29 import java.text.ParseException; 60 public static CaptivePortalProbeSpec parseSpec(String spec) throws ParseException, in parseSpec() 63 throw new ParseException("Empty probe spec", 0 /* errorOffset */); in parseSpec() 68 throw new ParseException("Probe spec does not have 3 parts", 0 /* errorOffset */); in parseSpec() 80 private static Pattern parsePatternIfNonEmpty(String pattern, int pos) throws ParseException { in parsePatternIfNonEmpty() 87 throw new ParseException( in parsePatternIfNonEmpty() 102 } catch (ParseException | MalformedURLException e) { in parseSpecOrNull() 122 } catch (ParseException | MalformedURLException e) { in parseCaptivePortalProbeSpecs()
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipHelper.java | 29 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/services/net/java/android/net/dhcp/ |
D | DhcpPacket.java | 715 public static class ParseException extends Exception { class in DhcpPacket 717 public ParseException(int errorCode, String msg, Object... args) { in ParseException() method in DhcpPacket.ParseException 733 static DhcpPacket decodeFullPacket(ByteBuffer packet, int pktType) throws ParseException in decodeFullPacket() 776 throw new ParseException(DhcpErrorEvent.L2_TOO_SHORT, in decodeFullPacket() 789 throw new ParseException(DhcpErrorEvent.L2_WRONG_ETH_TYPE, in decodeFullPacket() 796 throw new ParseException(DhcpErrorEvent.L3_TOO_SHORT, in decodeFullPacket() 803 throw new ParseException( in decodeFullPacket() 821 throw new ParseException( in decodeFullPacket() 848 throw new ParseException(DhcpErrorEvent.L4_WRONG_PORT, in decodeFullPacket() 855 throw new ParseException(DhcpErrorEvent.BOOTP_TOO_SHORT, in decodeFullPacket() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | GsmSmsAddress.java | 21 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/core/java/android/net/ |
D | ParseException.java | 23 public class ParseException extends RuntimeException { class 26 ParseException(String response) { in ParseException() method in ParseException
|
D | WebAddress.java | 69 public WebAddress(String address) throws ParseException { in WebAddress() 97 throw new ParseException("Bad port"); in WebAddress() 113 throw new ParseException("Bad address"); in WebAddress()
|
D | MailTo.java | 64 public static MailTo parse(String url) throws ParseException { in parse() 69 throw new ParseException("Not a mailto scheme"); in parse()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipPhoneFactory.java | 25 import java.text.ParseException; 44 } catch (ParseException e) { in makePhone()
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
D | SipProfile.java | 25 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()
|
D | SipManager.java | 28 import java.text.ParseException; 390 } catch (ParseException e) { in makeAudioCall()
|
/frameworks/base/tests/net/java/android/net/dhcp/ |
D | DhcpPacketTest.java | 191 } catch (ParseException expected) { in assertLeaseTimeParses() 368 } catch (DhcpPacket.ParseException expected) { in testBadIpPacket() 387 } catch (DhcpPacket.ParseException expected) { in testBadDhcpPacket() 416 } catch (DhcpPacket.ParseException expected) { in testBadTruncatedOffer() 447 } catch (DhcpPacket.ParseException expected) { in testBadOfferWithoutACookie() 479 } catch (DhcpPacket.ParseException expected) { in testOfferWithBadCookie() 516 } catch (ParseException e) { in testTruncatedOfferPackets() 533 } catch (ParseException e) { in testRandomPackets() 835 } catch (ParseException expected) {} in testUdpInvalidDstPort()
|
/frameworks/support/jetifier/jetifier/preprocessor/src/main/kotlin/com/android/tools/build/jetifier/preprocessor/ |
D | Main.kt | 26 import org.apache.commons.cli.ParseException 85 } catch (e: ParseException) { in parseCmdLine()
|
/frameworks/support/jetifier/jetifier/standalone/src/main/kotlin/com/android/tools/build/jetifier/standalone/ |
D | Main.kt | 28 import org.apache.commons.cli.ParseException 170 } catch (e: ParseException) { in parseCmdLine()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | DeviceInfoUtils.java | 38 import java.text.ParseException; 163 } catch (ParseException e) { in getSecurityPatch()
|
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/ |
D | BatteryDataRecorder.java | 22 import java.text.ParseException;
|
D | BatteryStatsParser.java | 20 import java.text.ParseException;
|
/frameworks/base/core/java/android/webkit/ |
D | URLUtil.java | 20 import android.net.ParseException; 72 } catch (ParseException ex) { in guessUrl()
|
/frameworks/base/core/java/android/widget/ |
D | CalendarView.java | 40 import java.text.ParseException; 782 } catch (ParseException e) { in parseDate()
|
/frameworks/base/core/java/android/net/http/ |
D | SslCertificate.java | 37 import java.text.ParseException; 312 } catch (ParseException e) { in parseDate()
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/ |
D | DatePicker.java | 29 import java.text.ParseException; 117 } catch (ParseException e) { in parseDate()
|
/frameworks/base/core/java/android/security/net/config/ |
D | XmlConfigSource.java | 17 import java.text.ParseException; 136 } catch (ParseException e) { in parsePinSet()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | Camera2SurfaceViewTestCase.java | 58 import java.text.ParseException; 790 } catch (ParseException e) { in getArgumentsAsNumber()
|