HomeSort by relevance Sort by last modified time
    Searched full:formatexception (Results 1 - 25 of 31) 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) {
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");
NdefRecord.java 585 * @throws FormatException if the data cannot be parsed into a valid record
589 public NdefRecord(byte[] data) throws FormatException {
594 throw new FormatException("data too long");
730 } catch (FormatException e) { }
777 * Always returns 1 or more NdefRecord's, or throws FormatException.
782 * @throws FormatException on any parsing error
784 static NdefRecord[] parse(ByteBuffer buffer, boolean ignoreMbMe) throws FormatException {
    [all...]
  /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/base/core/java/android/nfc/tech/
NdefFormatable.java 20 import android.nfc.FormatException;
91 * @throws FormatException if the NDEF Message to write is malformed
93 public void format(NdefMessage firstMessage) throws IOException, FormatException {
113 * @throws FormatException if the NDEF Message to write is malformed
115 public void formatReadOnly(NdefMessage firstMessage) throws IOException, FormatException {
120 FormatException {
133 throw new FormatException();
152 throw new FormatException();
Ndef.java 20 import android.nfc.FormatException;
263 * @throws FormatException if the NDEF Message on the tag is malformed
265 public NdefMessage getNdefMessage() throws IOException, FormatException {
303 * @throws FormatException if the NDEF Message to write is malformed
305 public void writeNdefMessage(NdefMessage msg) throws IOException, FormatException {
322 throw new FormatException();
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/
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 {
TagVerifier.java 19 import android.nfc.FormatException;
28 Result verifyTag(Tag tag) throws FormatException, IOException;
  /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/handover/
HandoverClient.java 18 import android.nfc.FormatException;
136 } catch (FormatException e) {
HandoverServer.java 29 import android.nfc.FormatException;
199 } catch (FormatException e) {
HandoverDataParser.java 31 import android.nfc.FormatException;
263 } catch (FormatException e) {
  /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/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/Settings/src/com/android/settings/wifi/
WriteWifiConfigToNfcDialog.java 24 import android.nfc.FormatException;
210 } 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/calendarcommon2/
RecurrenceSetTest.java 132 throws ICalendar.FormatException {
  /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 {
  /external/zxing/core/
core.jar 
  /packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
NativeNfcTag.java 23 import android.nfc.FormatException;
800 } catch (FormatException e) {
  /packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/
NativeNfcTag.java 22 import android.nfc.FormatException;
790 } catch (FormatException e) {
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/logging/
__init__.py 430 def formatException(self, ei):
462 it is formatted using formatException() and appended to the message.
472 record.exc_text = self.formatException(record.exc_info)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/logging/
__init__.py 430 def formatException(self, ei):
462 it is formatted using formatException() and appended to the message.
472 record.exc_text = self.formatException(record.exc_info)
    [all...]

Completed in 770 milliseconds

1 2