summaryrefslogtreecommitdiff
path: root/nfc-extras
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2018-05-12 22:36:10 +0900
committerJiyong Park <jiyong@google.com>2018-05-12 22:36:10 +0900
commit2caddc3d16bf88735dadf236a9123f124cc78c35 (patch)
tree3333194d8e8a5402e2103236f61b4fb87f7186cc /nfc-extras
parent7e8c166d8e1ad7adbfa6e002bdcb16e6df629a0c (diff)
Add api txt files for nfc-extras
java_sdk_library now does the apicheck by default. Not-yet-released version of API txt files for the nfc-extras library are added by running `m update-api' Bug: 77575606 Test: m -j Test: m -j checkapi Change-Id: I1a9141c71e085be8944943b4df7d3695237f7c69
Diffstat (limited to 'nfc-extras')
-rw-r--r--nfc-extras/api/current.txt60
-rw-r--r--nfc-extras/api/removed.txt0
-rw-r--r--nfc-extras/api/system-current.txt0
-rw-r--r--nfc-extras/api/system-removed.txt0
-rw-r--r--nfc-extras/api/test-current.txt0
-rw-r--r--nfc-extras/api/test-removed.txt0
6 files changed, 60 insertions, 0 deletions
diff --git a/nfc-extras/api/current.txt b/nfc-extras/api/current.txt
new file mode 100644
index 000000000000..066b7b58267e
--- /dev/null
+++ b/nfc-extras/api/current.txt
@@ -0,0 +1,60 @@
+package com.android.nfc_extras {
+
+ public class EeAlreadyOpenException extends com.android.nfc_extras.EeIOException {
+ ctor public EeAlreadyOpenException();
+ ctor public EeAlreadyOpenException(java.lang.String);
+ }
+
+ public class EeExternalFieldException extends com.android.nfc_extras.EeIOException {
+ ctor public EeExternalFieldException();
+ ctor public EeExternalFieldException(java.lang.String);
+ }
+
+ public class EeIOException extends java.io.IOException {
+ ctor public EeIOException();
+ ctor public EeIOException(java.lang.String);
+ }
+
+ public class EeInitializationException extends com.android.nfc_extras.EeIOException {
+ ctor public EeInitializationException();
+ ctor public EeInitializationException(java.lang.String);
+ }
+
+ public class EeListenModeException extends com.android.nfc_extras.EeIOException {
+ ctor public EeListenModeException();
+ ctor public EeListenModeException(java.lang.String);
+ }
+
+ public class EeNfcDisabledException extends com.android.nfc_extras.EeIOException {
+ ctor public EeNfcDisabledException();
+ ctor public EeNfcDisabledException(java.lang.String);
+ }
+
+ public final class NfcAdapterExtras {
+ method public void authenticate(byte[]);
+ method public static com.android.nfc_extras.NfcAdapterExtras get(android.nfc.NfcAdapter);
+ method public com.android.nfc_extras.NfcAdapterExtras.CardEmulationRoute getCardEmulationRoute();
+ method public java.lang.String getDriverName();
+ method public com.android.nfc_extras.NfcExecutionEnvironment getEmbeddedExecutionEnvironment();
+ method public void setCardEmulationRoute(com.android.nfc_extras.NfcAdapterExtras.CardEmulationRoute);
+ field public static final java.lang.String ACTION_RF_FIELD_OFF_DETECTED = "com.android.nfc_extras.action.RF_FIELD_OFF_DETECTED";
+ field public static final java.lang.String ACTION_RF_FIELD_ON_DETECTED = "com.android.nfc_extras.action.RF_FIELD_ON_DETECTED";
+ }
+
+ public static final class NfcAdapterExtras.CardEmulationRoute {
+ ctor public NfcAdapterExtras.CardEmulationRoute(int, com.android.nfc_extras.NfcExecutionEnvironment);
+ field public static final int ROUTE_OFF = 1; // 0x1
+ field public static final int ROUTE_ON_WHEN_SCREEN_ON = 2; // 0x2
+ field public final com.android.nfc_extras.NfcExecutionEnvironment nfcEe;
+ field public final int route;
+ }
+
+ public class NfcExecutionEnvironment {
+ method public void close() throws java.io.IOException;
+ method public void open() throws com.android.nfc_extras.EeIOException;
+ method public byte[] transceive(byte[]) throws java.io.IOException;
+ field public static final java.lang.String ACTION_AID_SELECTED = "com.android.nfc_extras.action.AID_SELECTED";
+ }
+
+}
+
diff --git a/nfc-extras/api/removed.txt b/nfc-extras/api/removed.txt
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/nfc-extras/api/removed.txt
diff --git a/nfc-extras/api/system-current.txt b/nfc-extras/api/system-current.txt
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/nfc-extras/api/system-current.txt
diff --git a/nfc-extras/api/system-removed.txt b/nfc-extras/api/system-removed.txt
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/nfc-extras/api/system-removed.txt
diff --git a/nfc-extras/api/test-current.txt b/nfc-extras/api/test-current.txt
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/nfc-extras/api/test-current.txt
diff --git a/nfc-extras/api/test-removed.txt b/nfc-extras/api/test-removed.txt
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/nfc-extras/api/test-removed.txt