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

  /frameworks/base/core/java/android/nfc/
FormatException.java 19 public class FormatException extends Exception {
20 public FormatException() {
24 public FormatException(String message) {
NdefMessage.java 41 * @throws FormatException
43 public NdefMessage(byte[] data) throws FormatException {
46 throw new FormatException("Error while parsing NDEF message");
NdefRecord.java 272 * @throws FormatException if the data is not a valid NDEF record
274 public NdefRecord(byte[] data) throws FormatException {
283 throw new FormatException("Error while parsing NDEF record");
327 public static Uri parseWellKnownUriRecord(NdefRecord record) throws FormatException {
330 throw new FormatException("Payload is not a valid URI (missing prefix)");
342 throw new FormatException("Payload is not a valid URI (invalid prefix)");
  /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();
148 throw new FormatException();
Ndef.java 20 import android.nfc.FormatException;
255 * @throws FormatException if the NDEF Message on the tag is malformed
257 public NdefMessage getNdefMessage() throws IOException, FormatException {
271 throw new FormatException();
299 * @throws FormatException if the NDEF Message to write is malformed
301 public void writeNdefMessage(NdefMessage msg) throws IOException, FormatException {
315 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/calendarcommon/
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...]
  /cts/tests/tests/ndef/src/android/ndef/cts/
BasicNdefTest.java 21 import android.nfc.FormatException;
36 public void test_parseSmartPoster() throws FormatException {
  /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) {
  /development/samples/NFCDemo/src/com/example/android/nfc/record/
SmartPoster.java 19 import android.nfc.FormatException;
109 } catch (FormatException e) {
  /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/calendarcommon/
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/src/com/android/nfc/
NfcDispatcher.java 33 import android.nfc.FormatException;
394 } catch (FormatException e) {
NfcService.java 44 import android.nfc.FormatException;
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/nxp/
NativeNfcTag.java 21 import android.nfc.FormatException;
767 } catch (FormatException e) {
  /prebuilt/sdk/14/
android.jar 

Completed in 654 milliseconds