| /packages/modules/Permission/SafetyCenter/Config/java/com/android/safetycenter/config/ |
| D | SafetyCenterConfigParser.java | 96 @NonNull InputStream in, @NonNull Resources resources) throws ParseException { in parseXmlResource() 104 throw new ParseException("Unexpected parser state"); in parseXmlResource() 113 throw new ParseException("Unexpected extra root element"); in parseXmlResource() 117 throw new ParseException("Exception while parsing the XML resource", e); in parseXmlResource() 124 throws XmlPullParserException, IOException, ParseException { in parseSafetyCenterConfig() 149 throws XmlPullParserException, IOException, ParseException { in parseSafetySourcesGroup() 224 throws XmlPullParserException, IOException, ParseException { in parseSafetySource() 339 throws XmlPullParserException, ParseException { in validateElementStart() 346 throws XmlPullParserException, ParseException { in validateElementEnd() 353 @NonNull XmlPullParser parser, @NonNull String name) throws ParseException { in validateElementHasNoAttribute() [all …]
|
| D | ParseException.java | 27 public final class ParseException extends Exception { class 29 public ParseException(@NonNull String message) { in ParseException() method in ParseException 33 public ParseException(@NonNull String message, @NonNull Throwable ex) { in ParseException() method in ParseException
|
| /packages/modules/NetworkStack/tests/unit/src/android/net/captiveportal/ |
| D | CaptivePortalProbeSpecTest.java | 30 import java.text.ParseException; 37 public void testGetResult_Regex() throws MalformedURLException, ParseException { in testGetResult_Regex() 68 @Test(expected = ParseException.class) 69 public void testParseSpec_Empty() throws MalformedURLException, ParseException { in testParseSpec_Empty() 73 @Test(expected = ParseException.class) 74 public void testParseSpec_Null() throws MalformedURLException, ParseException { in testParseSpec_Null() 78 @Test(expected = ParseException.class) 79 public void testParseSpec_MissingParts() throws MalformedURLException, ParseException { in testParseSpec_MissingParts() 83 @Test(expected = ParseException.class) 84 public void testParseSpec_TooManyParts() throws MalformedURLException, ParseException { in testParseSpec_TooManyParts() [all …]
|
| /packages/services/Iwlan/src/com/google/android/iwlan/epdg/ |
| D | NaptrDnsResolver.java | 26 import android.net.ParseException; 132 throw new ParseException("Unsupported flag type: " + flag); in getTypeFromFlagString() 136 NaptrRecord(byte[] naptrRecordData) throws ParseException { in NaptrRecord() 145 throw new ParseException("NAPTR: regex field expected to be empty!"); in NaptrRecord() 151 throw new ParseException( in NaptrRecord() 155 throw new ParseException( in NaptrRecord() 160 throw new ParseException( in NaptrRecord() 164 throw new ParseException("Parsing NAPTR Record data failed with cause", e); in NaptrRecord() 171 NaptrResponse(@NonNull byte[] data) throws ParseException { in NaptrResponse() 174 throw new ParseException("Not an answer packet"); in NaptrResponse() [all …]
|
| D | SrvDnsResolver.java | 25 import android.net.ParseException; 102 SrvRecord(byte[] srvRecordData) throws ParseException { in SrvRecord() 115 throw new ParseException( in SrvRecord() 119 throw new ParseException( in SrvRecord() 123 throw new ParseException("Parsing SRV Record data failed with cause", e); in SrvRecord() 130 SrvResponse(@NonNull byte[] data) throws ParseException { in SrvResponse() 133 throw new ParseException("Not an answer packet"); in SrvResponse() 138 throw new ParseException("Unexpected query count: " + numQueries); in SrvResponse() 142 throw new ParseException("Unexpected query type: " + mQueryType); in SrvResponse() 148 public @NonNull Map<String, SrvRecord> parseSrvRecords() throws ParseException { in parseSrvRecords() [all …]
|
| /packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
| D | BipPixelTest.java | 141 @Test(expected = ParseException.class) 146 @Test(expected = ParseException.class) 151 @Test(expected = ParseException.class) 156 @Test(expected = ParseException.class) 161 @Test(expected = ParseException.class) 166 @Test(expected = ParseException.class) 171 @Test(expected = ParseException.class) 176 @Test(expected = ParseException.class) 181 @Test(expected = ParseException.class) 186 @Test(expected = ParseException.class) [all …]
|
| D | BipDatetimeTest.java | 113 @Test(expected = ParseException.class) 118 @Test(expected = ParseException.class) 123 @Test(expected = ParseException.class) 128 @Test(expected = ParseException.class) 133 @Test(expected = ParseException.class) 138 @Test(expected = ParseException.class) 143 @Test(expected = ParseException.class) 148 @Test(expected = ParseException.class) 153 @Test(expected = ParseException.class) 158 @Test(expected = ParseException.class) [all …]
|
| D | BipEncodingTest.java | 122 @Test(expected = ParseException.class) 127 @Test(expected = ParseException.class) 132 @Test(expected = ParseException.class) 137 @Test(expected = ParseException.class)
|
| /packages/modules/NetworkStack/src/com/android/networkstack/arp/ |
| D | ArpPacket.java | 96 throws ParseException { in parseArpPacket() 99 throw new ParseException("Invalid packet length: " + length); in parseArpPacket() 110 throw new ParseException("Incorrect Ether Type: " + etherType); in parseArpPacket() 115 throw new ParseException("Incorrect HW Type: " + hwType); in parseArpPacket() 120 throw new ParseException("Incorrect Protocol Type: " + protoType); in parseArpPacket() 125 throw new ParseException("Incorrect HW address length: " + hwAddrLength); in parseArpPacket() 130 throw new ParseException("Incorrect Protocol address length: " + ipAddrLength); in parseArpPacket() 135 throw new ParseException("Incorrect opCode: " + opCode); in parseArpPacket() 153 throw new ParseException("Invalid index when wrapping a byte array into a buffer"); in parseArpPacket() 155 throw new ParseException("Invalid buffer position"); in parseArpPacket() [all …]
|
| /packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/ |
| D | BmessageParser.java | 34 import java.text.ParseException; 84 } catch (ParseException e) { in createBmessage() 92 private ParseException expected(Property... props) { in expected() 104 return new ParseException("Expected: " + sb.toString(), mParser.pos()); in expected() 107 private void parse(String str) throws IOException, ParseException { in parse() 150 private Property parseProperties() throws ParseException { in parseProperties() 193 private Property parseEnvelope(int level) throws IOException, ParseException { in parseEnvelope() 203 throw new ParseException("bEnvelope is nested more than 3 times", mParser.pos()); in parseEnvelope() 243 private Property parseBody() throws IOException, ParseException { in parseBody() 279 throw new ParseException("Invalid LENGTH value", mParser.pos()); in parseBody() [all …]
|
| D | BmsgTokenizer.java | 21 import java.text.ParseException; 46 public Property next(boolean alwaysReturn) throws ParseException { in next() 57 throw new ParseException("Property or empty line expected", pos()); in next() 70 public Property next() throws ParseException { in next()
|
| /packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/incident/ |
| D | ReportDetails.java | 46 public static class ParseException extends Exception { class in ReportDetails 47 public ParseException(String message) { in ParseException() method in ReportDetails.ParseException 51 public ParseException(String message, Throwable ex) { in ParseException() method in ReportDetails.ParseException 64 throws ParseException { in parseIncidentReport() 86 throw new ParseException("Error while reading stream.", ex); in parseIncidentReport() 88 throw new ParseException("Out of memory while loading incident report.", ex); in parseIncidentReport() 116 Resources res) throws ParseException { in parseImages() 133 throw new ParseException("Image count is greater than the limit of " in parseImages() 144 throw new ParseException("Unsupported image type " + mimeType); in parseImages()
|
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
| D | XmlParseUtils.java | 32 public static class ParseException extends XmlPullParserException { class in XmlParseUtils 33 public ParseException(final String msg, final XmlPullParser parser) { in ParseException() method in XmlParseUtils.ParseException 39 public static final class IllegalStartTag extends ParseException { 46 public static final class IllegalEndTag extends ParseException { 53 public static final class IllegalAttribute extends ParseException { 61 public static final class NonEmptyTag extends ParseException{ 80 throw new ParseException( in checkAttributeExists()
|
| /packages/modules/NetworkStack/common/captiveportal/src/android/net/captiveportal/ |
| D | CaptivePortalProbeSpec.java | 32 import java.text.ParseException; 65 public static CaptivePortalProbeSpec parseSpec(@NonNull String spec) throws ParseException, in parseSpec() 68 throw new ParseException("Empty probe spec", 0 /* errorOffset */); in parseSpec() 73 throw new ParseException("Probe spec does not have 3 parts", 0 /* errorOffset */); in parseSpec() 86 throws ParseException { in parsePatternIfNonEmpty() 93 throw new ParseException( in parsePatternIfNonEmpty() 108 } catch (ParseException | MalformedURLException e) { in parseSpecOrNull() 130 } catch (ParseException | MalformedURLException e) { in parseCaptivePortalProbeSpecs() 172 @Nullable Pattern locationHeaderRegex) throws ParseException { in RegexMatchProbeSpec()
|
| /packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
| D | WebAddress.java | 65 public WebAddress(String address) throws ParseException { in WebAddress() 91 throw new ParseException("Bad port"); in WebAddress() 107 throw new ParseException("Bad address"); in WebAddress() 138 public class ParseException extends Exception { class in WebAddress 141 ParseException(String response) { in ParseException() method in WebAddress.ParseException
|
| /packages/modules/NetworkStack/src/android/net/dhcp/ |
| D | DhcpPacket.java | 943 public static class ParseException extends Exception { class in DhcpPacket 945 public ParseException(int errorCode, String msg, Object... args) { in ParseException() method in DhcpPacket.ParseException 979 throws ParseException { in decodeFullPacket() 1028 throw new ParseException(DhcpErrorEvent.L2_TOO_SHORT, in decodeFullPacket() 1041 throw new ParseException(DhcpErrorEvent.L2_WRONG_ETH_TYPE, in decodeFullPacket() 1048 throw new ParseException(DhcpErrorEvent.L3_TOO_SHORT, in decodeFullPacket() 1055 throw new ParseException( in decodeFullPacket() 1073 throw new ParseException( in decodeFullPacket() 1100 throw new ParseException(DhcpErrorEvent.L4_WRONG_PORT, in decodeFullPacket() 1107 throw new ParseException(DhcpErrorEvent.BOOTP_TOO_SHORT, in decodeFullPacket() [all …]
|
| /packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/bluetooth/fastpair/ |
| D | Ltv.java | 42 public static class ParseException extends Exception { class in Ltv 45 private ParseException(@FormatString String format, Object... objects) { in ParseException() method in Ltv.ParseException 61 static List<Ltv> parse(byte[] bytes) throws ParseException { in parse() 68 throw new ParseException( in parse()
|
| /packages/modules/Connectivity/framework/src/android/net/ |
| D | ParseException.java | 25 public class ParseException extends RuntimeException { class 28 public ParseException(@NonNull String response) { in ParseException() method in ParseException 33 public ParseException(@NonNull String response, @NonNull Throwable cause) { in ParseException() method in ParseException
|
| D | DnsResolver.java | 295 } 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()
|
| /packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/ |
| D | BipAttachmentFormat.java | 73 throw new ParseException("ContentType is required and must be valid"); in BipAttachmentFormat() 76 throw new ParseException("Name is required and must be valid"); in BipAttachmentFormat() 87 } catch (ParseException e) { in BipAttachmentFormat() 95 } catch (ParseException e) { in BipAttachmentFormat()
|
| /packages/modules/Connectivity/tests/common/java/ |
| D | ParseExceptionTest.kt | 17 import android.net.ParseException 40 val exception = ParseException(testMessage, base) in testConstructor_WithCause() 49 val exception = ParseException(testMessage) in testConstructor_NoCause()
|
| /packages/modules/NetworkStack/src/com/android/networkstack/packets/ |
| D | NeighborSolicitation.java | 105 throws ParseException { in parse() 108 throw new ParseException("Invalid packet length: " + length); in parse() 127 public static class ParseException extends Exception { class in NeighborSolicitation 128 ParseException(String message) { in ParseException() method in NeighborSolicitation.ParseException
|
| D | NeighborAdvertisement.java | 105 throws ParseException { in parse() 108 throw new ParseException("Invalid packet length: " + length); in parse() 127 public static class ParseException extends Exception { class in NeighborAdvertisement 128 ParseException(String message) { in ParseException() method in NeighborAdvertisement.ParseException
|
| /packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/sip/ |
| D | SipUtils.java | 48 import java.text.ParseException; 96 } catch (ParseException exception) { in createUri() 113 throws ParseException { in buildInvite() 217 throws ParseException { in generateContactHeader() 251 public static SIPRequest buildBye(SIPRequest invite) throws ParseException { in buildBye() 290 throws ParseException { in buildInviteResponse()
|
| /packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/sdp/ |
| D | SdpMedia.java | 25 import java.text.ParseException; 37 public static Builder parseMediaLine(String line) throws ParseException { in parseMediaLine() 43 throw new ParseException("Invalid media line", 0); in parseMediaLine()
|