Home
last modified time | relevance | path

Searched refs:FormatException (Results 1 – 21 of 21) sorted by relevance

/aosp12/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DICalendar.java41 public static class FormatException extends Exception { class in ICalendar
42 public FormatException() { in FormatException() method in ICalendar.FormatException
46 public FormatException(String msg) { in FormatException() method in ICalendar.FormatException
50 public FormatException(String msg, Throwable cause) { in FormatException() method in ICalendar.FormatException
429 throws FormatException { in parseComponentImpl()
448 } catch (FormatException fe) { in parseComponentImpl()
468 throws FormatException { in parseLine()
484 throw new FormatException("Expected BEGIN"); in parseLine()
526 throws FormatException { in extractValue()
542 throws FormatException { in extractParameter()
[all …]
/aosp12/packages/apps/Nfc/src/com/android/nfc/ndefpush/
H A DNdefPushProtocol.java22 import android.nfc.FormatException;
66 public NdefPushProtocol(byte[] data) throws FormatException { in NdefPushProtocol()
76 throw new FormatException("Unable to read version"); in NdefPushProtocol()
81 throw new FormatException("Got version " + version + ", expected " + VERSION); in NdefPushProtocol()
89 throw new FormatException("Error while parsing NdefMessageSet"); in NdefPushProtocol()
93 throw new FormatException("Error while parsing NdefMessageSet"); in NdefPushProtocol()
105 throw new FormatException("Error while parsing NdefMessageSet"); in NdefPushProtocol()
113 throw new FormatException("Error while parsing NdefMessageSet"); in NdefPushProtocol()
122 throw new FormatException("Error while parsing NdefMessageSet"); in NdefPushProtocol()
127 throw new FormatException("Error while parsing NdefMessageSet"); in NdefPushProtocol()
[all …]
H A DNdefPushServer.java24 import android.nfc.FormatException;
104 } catch (FormatException e) { in run()
/aosp12/frameworks/base/core/java/android/nfc/tech/
H A DNdefFormatable.java20 import android.nfc.FormatException;
93 public void format(NdefMessage firstMessage) throws IOException, FormatException { in format()
115 public void formatReadOnly(NdefMessage firstMessage) throws IOException, FormatException { in formatReadOnly()
120 FormatException { in format()
133 throw new FormatException(); in format()
152 throw new FormatException(); in format()
H A DNdef.java20 import android.nfc.FormatException;
265 public NdefMessage getNdefMessage() throws IOException, FormatException { in getNdefMessage()
305 public void writeNdefMessage(NdefMessage msg) throws IOException, FormatException { in writeNdefMessage()
322 throw new FormatException(); in writeNdefMessage()
/aosp12/frameworks/base/core/java/android/nfc/
H A DFormatException.java19 public class FormatException extends Exception { class
20 public FormatException() { in FormatException() method in FormatException
24 public FormatException(String message) { in FormatException() method in FormatException
28 public FormatException(String message, Throwable e) { in FormatException() method in FormatException
H A DNdefRecord.java594 public NdefRecord(byte[] data) throws FormatException { in NdefRecord()
599 throw new FormatException("data too long"); in NdefRecord()
735 } catch (FormatException e) { } in toUri()
812 throw new FormatException("expected MB flag"); in parse()
814 throw new FormatException("unexpected MB flag"); in parse()
816 throw new FormatException("unexpected IL flag in non-leading chunk"); in parse()
822 throw new FormatException("" + in parse()
882 throw new FormatException(error); in parse()
890 throw new FormatException("expected more data", e); in parse()
895 private static void ensureSanePayloadSize(long size) throws FormatException { in ensureSanePayloadSize()
[all …]
H A DNdefMessage.java95 public NdefMessage(byte[] data) throws FormatException { in NdefMessage()
102 throw new FormatException("trailing data"); in NdefMessage()
/aosp12/packages/apps/Nfc/src/com/android/nfc/snep/
H A DSnepMessenger.java24 import android.nfc.FormatException;
74 } catch (FormatException e) { in sendMessage()
96 } catch (FormatException e) { in sendMessage()
119 } catch (FormatException e) { in sendMessage()
274 } catch (FormatException e) { in getMessage()
H A DSnepMessage.java19 import android.nfc.FormatException;
91 public static SnepMessage fromByteArray(byte[] data) throws FormatException { in fromByteArray()
138 private SnepMessage(byte[] data) throws FormatException { in SnepMessage()
/aosp12/packages/apps/Nfc/src/com/android/nfc/handover/
H A DHandoverClient.java18 import android.nfc.FormatException;
136 } catch (FormatException e) { in sendHandoverRequest()
H A DHandoverServer.java29 import android.nfc.FormatException;
199 } catch (FormatException e) { in run()
H A DHandoverDataParser.java26 import android.nfc.FormatException;
292 } catch (FormatException e) { in isCarrierActivating()
/aosp12/packages/apps/Tag/src/com/android/apps/tag/record/
H A DSmartPoster.java28 import android.nfc.FormatException;
130 } catch (FormatException e) { in parse()
/aosp12/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
H A DICalendarTest.java227 } catch (ICalendar.FormatException e) { in testParseEventDoesNotStartWithBegin()
240 } catch (ICalendar.FormatException e) { in testParseCalendarDoesNotStartWithBegin()
/aosp12/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
H A DNativeNfcTag.java23 import android.nfc.FormatException;
816 } catch (FormatException e) { in findAndReadNdef()
/aosp12/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DRecurrenceSetTest.java240 throws ICalendar.FormatException { in verifyPopulateContentValues()
/aosp12/packages/apps/Nfc/src/com/android/nfc/
H A DNfcService.java44 import android.nfc.FormatException;
1837 } catch (FormatException e) { in ndefRead()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt27243 public class FormatException extends java.lang.Exception {
27244 ctor public FormatException();
27245 ctor public FormatException(String);
27246 ctor public FormatException(String, Throwable);
27250 ctor public NdefMessage(byte[]) throws android.nfc.FormatException;
27263 ctor @Deprecated public NdefRecord(byte[]) throws android.nfc.FormatException;
27545 …method public android.nfc.NdefMessage getNdefMessage() throws android.nfc.FormatException, java.io…
27551 …method public void writeNdefMessage(android.nfc.NdefMessage) throws android.nfc.FormatException, j…
27562 …method public void format(android.nfc.NdefMessage) throws android.nfc.FormatException, java.io.IOE…
27563 …method public void formatReadOnly(android.nfc.NdefMessage) throws android.nfc.FormatException, jav…
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt18334 public class FormatException extends java.lang.Exception {
18335 ctor public FormatException();
18336 ctor public FormatException(java.lang.String);
18337 ctor public FormatException(java.lang.String, java.lang.Throwable);
18341 ctor public NdefMessage(byte[]) throws android.nfc.FormatException;
18354 ctor public deprecated NdefRecord(byte[]) throws android.nfc.FormatException;
18585 …method public android.nfc.NdefMessage getNdefMessage() throws android.nfc.FormatException, java.io…
18589 …method public void writeNdefMessage(android.nfc.NdefMessage) throws android.nfc.FormatException, j…
18598 …method public void format(android.nfc.NdefMessage) throws android.nfc.FormatException, java.io.IOE…
18599 …method public void formatReadOnly(android.nfc.NdefMessage) throws android.nfc.FormatException, jav…