Home
last modified time | relevance | path

Searched refs:ParserException (Results 1 – 19 of 19) sorted by relevance

/packages/apps/SecureElement/src/com/android/se/security/gpac/
DBerTlv.java70 public static BerTlv decode(byte[] data, int startIndex) throws ParserException { in decode()
76 throws ParserException { in decode()
79 throw new ParserException("No data given!"); in decode()
94 throw new ParserException( in decode()
104 throw new ParserException("Index " + curIndex + " out of range! [0..[" + data.length); in decode()
117 throw new ParserException("Invalid TLV length encoding!"); in decode()
120 throw new ParserException("Not enough data provided!"); in decode()
123 throw new ParserException( in decode()
130 throw new ParserException("Index out of range! [0..[" + data.length); in decode()
134 throw new ParserException("Invalid TLV length encoding!"); in decode()
[all …]
DParserException.java38 public class ParserException extends Exception { class
43 public ParserException() { in ParserException() method in ParserException
48 public ParserException(String arg0, Throwable arg1) { in ParserException() method in ParserException
53 public ParserException(String arg0) { in ParserException() method in ParserException
58 public ParserException(Throwable arg0) { in ParserException() method in ParserException
DNFC_AR_DO.java76 public void interpret() throws ParserException { in interpret()
84 throw new ParserException("Not enough data for NFC_AR_DO!"); in interpret()
88 throw new ParserException("Invalid length of NFC-AR-DO!"); in interpret()
90 throw new ParserException( in interpret()
DAID_REF_DO.java107 public void interpret() throws ParserException { in interpret()
113 throw new ParserException("Invalid value length for AID-REF-DO!"); in interpret()
119 throw new ParserException("Invalid value length for AID-REF-DO!"); in interpret()
123 throw new ParserException("Not enough data for AID-REF-DO!"); in interpret()
130 throw new ParserException("Invalid Tag for AID-REF-DO!"); in interpret()
DREF_AR_DO.java85 public void interpret() throws ParserException { in interpret()
94 throw new ParserException("Not enough data for AR_DO!"); in interpret()
122 throw new ParserException("Missing Ref-DO in REF-AR-DO!"); in interpret()
125 throw new ParserException("Missing AR-DO in REF-AR-DO!"); in interpret()
DREF_DO.java113 public void interpret() throws ParserException { in interpret()
123 throw new ParserException("Not enough data for AR_DO!"); in interpret()
149 throw new ParserException("Unexpected combination of SEAC DOs and DAC DO"); in interpret()
160 throw new ParserException("Missing AID-REF-DO in REF-DO!"); in interpret()
164 throw new ParserException("Missing Hash-REF-DO in REF-DO!"); in interpret()
DAPDU_AR_DO.java97 public void interpret() throws ParserException { in interpret()
107 throw new ParserException("Not enough data for APDU_AR_DO!"); in interpret()
117 throw new ParserException("Invalid value of APDU-AR-DO : " + String.format("%02x", in interpret()
143 throw new ParserException("Invalid length of APDU-AR-DO!"); in interpret()
DPERM_AR_DO.java49 public void interpret() throws ParserException { in interpret()
57 throw new ParserException("Not enough data for PERM-AR-DO!"); in interpret()
64 throw new ParserException("Invalid length of PERM-AR-DO!"); in interpret()
DResponse_RefreshTag_DO.java68 public void interpret() throws ParserException { in interpret()
73 throw new ParserException("Invalid length of RefreshTag DO!"); in interpret()
80 throw new ParserException("Not enough data for RefreshTag DO!"); in interpret()
DHash_REF_DO.java106 public void interpret() throws ParserException { in interpret()
116 throw new ParserException("Invalid value length for Hash-REF-DO!"); in interpret()
121 throw new ParserException("Not enough data for Hash-REF-DO!"); in interpret()
DPKG_REF_DO.java74 public void interpret() throws ParserException { in interpret()
80 throw new ParserException("Invalid value length for PKG-REF-DO!"); in interpret()
84 throw new ParserException("Not enough data for PKG-REF-DO!"); in interpret()
DAR_DO.java103 public void interpret() throws ParserException { in interpret()
113 throw new ParserException("Not enough data for AR_DO!"); in interpret()
137 throw new ParserException("No valid DO in AR-DO!"); in interpret()
DResponse_AR_DO.java69 public void interpret() throws ParserException { in interpret()
80 throw new ParserException("Not enough data for Response_AR_DO!"); in interpret()
DResponse_ALL_AR_DO.java71 public void interpret() throws ParserException { in interpret()
84 throw new ParserException("Not enough data for Response_AR_DO!"); in interpret()
DResponse_ARAC_AID_DO.java71 public void interpret() throws ParserException { in interpret()
84 throw new ParserException("Not enough data for Response_ARAC_AID_DO!"); in interpret()
DResponse_DO_Factory.java41 public static BerTlv createDO(byte[] data) throws ParserException { in createDO()
/packages/apps/SecureElement/src/com/android/se/security/ara/
DAccessRuleApplet.java42 import com.android.se.security.gpac.ParserException;
82 } catch (ParserException e) { in readAllAccessRules()
149 } catch (ParserException e) { in readRefreshTag()
DAraController.java50 import com.android.se.security.gpac.ParserException;
198 } catch (ParserException e) { in readAllAccessRules()
/packages/modules/Media/apex/framework/java/android/media/
DMediaParser.java37 import com.google.android.exoplayer2.ParserException;
471 private ParsingException(ParserException cause) { in ParsingException()
1262 if (e instanceof ParserException) { in advance()
1263 throw new ParsingException((ParserException) e); in advance()