HomeSort by relevance Sort by last modified time
    Searched refs:FormatException (Results 1 - 25 of 27) sorted by null

1 2

  /frameworks/base/core/java/android/nfc/
FormatException.java 19 public class FormatException extends Exception {
20 public FormatException() {
24 public FormatException(String message) {
28 public FormatException(String message, Throwable e) {
NdefRecord.java 544 * @throws FormatException if the data cannot be parsed into a valid record
548 public NdefRecord(byte[] data) throws FormatException {
553 throw new FormatException("data too long");
689 } catch (FormatException e) { }
736 * Always returns 1 or more NdefRecord's, or throws FormatException.
741 * @throws FormatException on any parsing error
743 static NdefRecord[] parse(ByteBuffer buffer, boolean ignoreMbMe) throws FormatException {
766 throw new FormatException("expected MB flag");
768 throw new FormatException("unexpected MB flag");
770 throw new FormatException("unexpected IL flag in non-leading chunk")
    [all...]
NdefMessage.java 78 * {@link FormatException} is thrown<p>
92 * @throws FormatException if the data cannot be parsed
94 public NdefMessage(byte[] data) throws FormatException {
101 throw new FormatException("trailing data");
  /frameworks/base/core/java/android/nfc/tech/
NdefFormatable.java 20 import android.nfc.FormatException;
92 * @throws FormatException if the NDEF Message to write is malformed
94 public void format(NdefMessage firstMessage) throws IOException, FormatException {
114 * @throws FormatException if the NDEF Message to write is malformed
116 public void formatReadOnly(NdefMessage firstMessage) throws IOException, FormatException {
121 FormatException {
134 throw new FormatException();
153 throw new FormatException();
Ndef.java 20 import android.nfc.FormatException;
264 * @throws FormatException if the NDEF Message on the tag is malformed
266 public NdefMessage getNdefMessage() throws IOException, FormatException {
302 * @throws FormatException if the NDEF Message to write is malformed
304 public void writeNdefMessage(NdefMessage msg) throws IOException, FormatException {
321 throw new FormatException();
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/
TagVerifier.java 19 import android.nfc.FormatException;
28 Result verifyTag(Tag tag) throws FormatException, IOException;
NdefTagTester.java 22 import android.nfc.FormatException;
65 public TagVerifier writeTag(Tag tag) throws IOException, FormatException {
78 public Result verifyTag(Tag tag) throws IOException, FormatException {
107 private void writeMessage(Tag tag, NdefMessage message) throws IOException, FormatException {
124 private NdefMessage readMessage(Tag tag) throws IOException, FormatException {
  /packages/apps/Nfc/src/com/android/nfc/ndefpush/
NdefPushProtocol.java 22 import android.nfc.FormatException;
66 public NdefPushProtocol(byte[] data) throws FormatException {
76 throw new FormatException("Unable to read version");
81 throw new FormatException("Got version " + version + ", expected " + VERSION);
89 throw new FormatException("Error while parsing NdefMessageSet");
93 throw new FormatException("Error while parsing NdefMessageSet");
105 throw new FormatException("Error while parsing NdefMessageSet");
113 throw new FormatException("Error while parsing NdefMessageSet");
122 throw new FormatException("Error while parsing NdefMessageSet");
127 throw new FormatException("Error while parsing NdefMessageSet")
    [all...]
NdefPushServer.java 24 import android.nfc.FormatException;
104 } catch (FormatException e) {
  /frameworks/opt/calendar/src/com/android/calendarcommon2/
ICalendar.java 41 public static class FormatException extends Exception {
42 public FormatException() {
46 public FormatException(String msg) {
50 public FormatException(String msg, Throwable cause) {
429 throws FormatException {
444 // FormatException will get thrown.
448 } catch (FormatException fe) {
468 throws FormatException {
484 throw new FormatException("Expected BEGIN");
502 throw new FormatException("Unexpected END " + componentName)
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/snep/
SnepMessage.java 19 import android.nfc.FormatException;
74 public static SnepMessage fromByteArray(byte[] data) throws FormatException {
78 private SnepMessage(byte[] data) throws FormatException {
SnepMessenger.java 21 import android.nfc.FormatException;
71 } catch (FormatException e) {
181 } catch (FormatException e) {
  /packages/apps/Nfc/src/com/android/nfc/handover/
HandoverClient.java 18 import android.nfc.FormatException;
136 } catch (FormatException e) {
HandoverServer.java 18 import android.nfc.FormatException;
189 } catch (FormatException e) {
HandoverManager.java 35 import android.nfc.FormatException;
434 } catch (FormatException e) {
  /external/zxing/core/
core.jar 
  /cts/tests/tests/ndef/src/android/ndef/cts/
NdefTest.java 25 import android.nfc.FormatException;
89 public void testInvalidParsing() throws FormatException {
113 fail("expected FormatException for input " + bytesToString(b));
114 } catch (FormatException e) { }
118 public void testValidParsing() throws FormatException {
388 public void testCreateApplicationRecord() throws FormatException {
434 public void testToByteArray() throws FormatException {
  /packages/apps/Tag/src/com/android/apps/tag/record/
SmartPoster.java 28 import android.nfc.FormatException;
130 } catch (FormatException e) {
  /frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
RecurrenceSetTest.java 132 throws ICalendar.FormatException {
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
ICalendarTest.java 227 } catch (ICalendar.FormatException e) {
240 } catch (ICalendar.FormatException e) {
312 // Note that parseEvent doesn't throw the FormatException you might expect because
  /packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
NativeNfcTag.java 21 import android.nfc.FormatException;
788 } catch (FormatException e) {
  /packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/
NativeNfcTag.java 21 import android.nfc.FormatException;
777 } catch (FormatException e) {
  /packages/apps/Nfc/src/com/android/nfc/
NfcService.java 45 import android.nfc.FormatException;
    [all...]
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 

Completed in 764 milliseconds

1 2