d55def89244f9c7be69559e48300734d3966e712 |
|
14-Apr-2016 |
Martijn Coenen <maco@google.com> |
Fix API review comments, add remove callback. Bug: 28148561 Bug: 26426491 Change-Id: I5917ea5d8fe0d3195b407643ec271ab4eb8b30b7
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
c52adfe12469a1d1bcd5b7119b83363e094a7b84 |
|
22-Jan-2016 |
Yoshinobu Ito <Yoshinobu.Ito@jp.sony.com> |
Implementation of HCE for NFC-F. This impementation includes HCE(Host-based Card Emulation) for NFC-F which emulates NFC Forum Type 3 Tag on a smartphone. Signed-off-by: Daisuke Ito <DaisukeE.Ito@jp.sony.com> Yoshinobu Ito <Yoshinobu.Ito@jp.sony.com> Change-Id: I1618a7fba801e0705ff3cc078206a1446b3dd56d
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
d8bcfbadf7037dd2574312a3bfa04dd70d967166 |
|
14-Nov-2014 |
Martijn Coenen <maco@google.com> |
Verify NFC permission immediately on API calls. Bug: 18358968 Change-Id: I648494e6435e107337e0c5bc4c6328774f9a54be
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
258d222152a410341ddad045ce92e57dd7ab454e |
|
07-Oct-2014 |
Andres Morales <anmorales@google.com> |
Fix build, previous commit failed to remove an import Bug:17883273 Change-Id: I6ef422eae83fb8b44279f1bf5a811858b791afa7
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
9c4f400aac00b1cdc665bece0c1315fccaa86d8b |
|
09-Sep-2014 |
Andres Morales <anmorales@google.com> |
Add hidden API for pausing and resuming NFC polling. Bug:17401266 Change-Id: Icce34787fc89dc33445f6c36f40f669a8b9b2f92
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
b59d35c16d55dda03622b24d90ac57773086e1fd |
|
19-Aug-2014 |
Andres Morales <anmorales@google.com> |
Remove old NFC unlock api Bug: 16401635 Change-Id: I667d91c2346355ed0a2115644e6192f5f208e288
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
f9a97942e1b530cb87a8d7b28551889bc438a744 |
|
15-Aug-2014 |
Andres Morales <anmorales@google.com> |
Fix issue where unlock handlers are not properly updated If an unlock handler already exists, we need to try to update the tech mask for it. Don't permit unlock handlers with no tech mask. Bug: 17054331 Change-Id: I54a885d28bdd8ce41d8646d968621c7d6abc9387
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
11d2e53dc0d2682f66f8dcbd8f0ad52432cb4aa7 |
|
23-Jul-2014 |
Andres Morales <anmorales@google.com> |
NFC Unlock api changes Bug: 16401635 Change-Id: I994bd80be40052c2f894199bb44ebbde40077f27
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
92b4b3c64ddbec9d10b631e03f0fbba225ca9057 |
|
30-Jul-2014 |
Andres Morales <anmorales@google.com> |
Revert "NFC Unlock api changes" This reverts commit 9fef5fbcd6d47ef86823b3a2d82d34801f9be335. Change-Id: Idabe1c2901e0e26d38f84583308f69804ab2c1c3
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
131197aa6e6b0ae91fefe4bb5f39fffb780997c5 |
|
23-Jul-2014 |
Andres Morales <anmorales@google.com> |
NFC Unlock api changes Bug: 16401635 Change-Id: I138a9aa0bb156982b6c7656c51a1e2194776e4ed
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
dbedb4cc0f6c64705c16396bdd34445dd8191cad |
|
02-Jul-2014 |
Martijn Coenen <maco@google.com> |
Add new IPC for direct Beam invoke. Used by BeamShareActivity when Beam is invoked through the share menu. Also made these IPCs one-way as they can run asynchronously. Bug: 15939863 Change-Id: I7d048947c96c697e6b04bbda2ec3fbf28cccc29b
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
3b33fd283c32a8fb707a23d25f3f3cf13e8b046f |
|
20-May-2014 |
Andres Morales <anmorales@google.com> |
Framework changes to support NFC trustlet. Adds a system-only ability to register for receiving tags from NfcService at the lockscreen. Change-Id: I4b50941031e8d1f40ebb6314211226e70a2ad187
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
62b25a5bf0750483f36ac79c88177ee2ab630f8e |
|
20-May-2014 |
Andres Morales <anmorales@google.com> |
Revert "Adding INfcUnlockSettings and NfcUnlock interface class." This will be re-added as a Trustlet in a subsequent CL. This reverts commit 38a7ed05f8fed0aa81f7214d827875f9876ffbe1. Change-Id: I5aa36df42a7751f165b4ef184e0cda57e5568b59
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
7fe9fa163ccd2ec34cbf533be4422aa66356431f |
|
30-Jan-2014 |
Martijn Coenen <maco@google.com> |
Add an API to manually invoke Android Beam. Activities can call NfcAdapter.invokeBeam() to manually invoke the Beam animation. Any NFC tap is then enough to complete the transaction. Also, added NdefRecord convenience method for creating Text records. Bug: 5134061 Change-Id: Ia9df360d1d7e8451157c85a6d12f2a4eec924960
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
38a7ed05f8fed0aa81f7214d827875f9876ffbe1 |
|
15-Nov-2013 |
Andres Morales <anmorales@google.com> |
Adding INfcUnlockSettings and NfcUnlock interface class. Change-Id: Ie55a5d4bb58c2944952fc84cce32d3573a3a1a22
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
5b1e032ea7c06ab11d778264dd950009fcb93cc5 |
|
03-Sep-2013 |
Martijn Coenen <maco@google.com> |
Reader mode NFC API: move to callback model. Using intents for reader mode doesn't work well for 2 reasons: 1) Intents are used to resolve, but in reader mode we already know where to resolve to. Additionally, dispatching an intent causes additional latency. 2) Using intents with foreground dispatch was tricky; for every call to onNewIntent() with a new tag, there was a call to onPause(), which effectively disabled reader mode again, causing a discovery loop. Instead, let the app register a callback, and call that when we discover a new tag. Also, add new flag to disable platform sounds, and to change the presence check delay. Bug: 10360259 Change-Id: I8373543d6cf2f7ca73c9b3e42bb8b51e3ac48cac
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
c20ed2ff125fd23bed25df8172bf24db84c5a352 |
|
27-Aug-2013 |
Martijn Coenen <maco@google.com> |
Add NFC reader-mode API. Allows applications to temporarily force the NFC controller to only do tag discovery. This will allow Android applications to read and interact with devices that employ HCE. Bug: 10360259 Change-Id: I709ead9a26f8e6ae8582cc295d82bd896e7c5bba
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
a7397883de67d674970d91f86d46ccf637e5e543 |
|
31-Jul-2013 |
Martijn Coenen <maco@google.com> |
NFC: Host-based card emulation APIs. - New INfcCardEmulation interface to allow apps to interface with card emulation system. - New BIND_NFC_SERVICE permission to prevent malicious apps from binding to card emulation services. - ApduServiceInfo is now in the framework. - Added constants to Settings.Secure for storing defaults. - Modified XML grammar a bit. Change-Id: I56b3fa6b42eb5dc132c91c1386ab1e6bac779059
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
3bba8d0457408421a6468f03bbb36e9ff32b81cf |
|
10-Apr-2012 |
Sunil Jogi <sunil.jogi@nxp.com> |
Added NFC disable during phone shutdown NFC was not disabled/deinitialized when phone shutdown. This patch add NFC disable on phone shutdown which can complete any pending NFC transaction before phone shutdown. Change-Id: Id1e604be7c34adec8623a1e526d8ff99e18bf74b
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
8ce7a27770735791b5c38e4128f4ab9cee86bc43 |
|
21-Mar-2012 |
Nick Pelly <npelly@google.com> |
Use Application#registerLifecycleEvents() instead of a Fragment for Beam. Fragments don't work as desired if called after life-cycle events such as onDestory() or onSaveInstanceState(). The new approach doesn't work after onDestroy() either, but we can more easily detect this now. For pre-JB apps, we will log an error, and for JB and onwards we will throw. Update documentation to make these rules clear, and to encourage the use of a single Activity per API call, and to make the call in onCreate(). Bug: 5199662 Bug: 5994691 Bug: 6034901 Bug: 6125297 Change-Id: Ib0dde6abfa44cd56c7ddc13ba0ad0e83bbe30058
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
188cddb1d8c89749618401e371a7e7900cb58d6d |
|
01-Feb-2012 |
Martijn Coenen <maco@google.com> |
Hidden API for setting p2p NFC modes. Change-Id: I406bab36b441cf99b5b45f51701dbcbab588a9b0
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
1f5badc1cb08f10ddf4b09aaaf34060a23999a51 |
|
24-Jan-2012 |
Nick Pelly <npelly@google.com> |
Add NdefMessage.getByteLength(), and more minor fixes: Remove NdefMessage from dispatch(). It's already in the Tag. /*package*/ cleanup Fix sitemap after removal of NFCDemo Change-Id: Ie1f6d9ea98144aa97f56bb709a33f5d0ef916e8b
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
c97a552023c3c71079b39092e80c9b44f25a789b |
|
05-Jan-2012 |
Nick Pelly <npelly@google.com> |
Improve NDEF API's o Add NdefRecord.toMimeType() Maps the record to a MIME type o Add NdefRecord.toUri() Maps the record to a URI o Add hidden NfcAdapter.dispatch() Helps test the dispatch path. o Modify createMime(), createUri() and createExternal(): Do not try and strictly follow RFC requirements for URI or MIME content types. This just leads to heartbreak - the RFC requirements are too strict. For example RFC1341 forbids the use of '.' in a MIME type, however this is in common use in types such as "application/vnd.companyname". I think the best approach is to only remove 'obvious' whitespace issues, and to convert uppercase to lowercase as per Android guidelines. Change-Id: Id686f5f3b05b2dceafad48e1cfcbdb2b3890b854
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
bb951c893973691554f49d2e725985125f866b27 |
|
08-Nov-2011 |
Jeff Hamilton <jham@android.com> |
Changes for access control. The package name is now required when using the NFC extras APIs so the context is stored away and used to derive the package name to be sent to the NfcService. Bug: 4515759 Change-Id: I1a3aba3fc026e0090a914b0686fc4b8dec25b927
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
c84c89a6cacaf16c1ba41f57cc1aecdb150e85f9 |
|
23-Aug-2011 |
Nick Pelly <npelly@google.com> |
Improve NDEF push API Introduce setNdefPushMessage() setNdefPushMessageCallback() setNdefPushCompleteCallback() Deprecate public API enableForegroundNdefPush() disableForegroundNdefPush() Hide & Deprecate staged (public but never released) API enableForegroundNdefPushCallback() The new API's do not require the application to explicitly call enable()/disable() in onPause()/onResume(), we use a Fragment behind the scenes to manager this automatically. NDEF Push can be disabled by using a null parameter, so each enable()/disable() pair is collapsed to a single set() call. Application code should now look something like: public void onCreate() { NfcAdapter adapter = NfcAdapter.getDefaultAdapter(this); if (adapter != null) { // check that NFC is available on this device adapter.setNdefPushMessage(myNdefMessage, this); } } And that's it - no need to explicitly hook into onPause() and onResume() events. Also - introduce a generic NfcEvent class that is provided as a parameter on all NFC callbacks. Right now it just provides the NfcAdapter, but using the wrapper classes allows us to add more fields later without changing the callback signature. (i'm thinking Bluetooth). Change-Id: I371dcb026b535b8199225c1262eca64ce644458a
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
8d32a01bd24b8a0d1a98f0581b3394a78fab8242 |
|
09-Aug-2011 |
Nick Pelly <npelly@google.com> |
Add NFC to airplane mode NFC now observes airplanes mode, and is by default toggleable in airplane mode. Change-Id: I5f19d35422c9eb1cffb0b5e0631b3f3c5eeaedcf
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
c3afd39c6722cd57307fd90aee405179aea77f6b |
|
30-Jun-2011 |
Jeff Hamilton <jham@android.com> |
Remove the binder interface for LLCP. Change-Id: Idc9631cdbcac1435e285c656948a37315e32515d
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
6d7489407995210f3f01690d1f0c8b970362d8ae |
|
21-Jul-2011 |
Martijn Coenen <maco@google.com> |
Interfaces for enabling/disabling zero-click. Change-Id: If7a90e67ca0f05cb18bea2861001e9cb6a14f4d6
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
a77258b98ec1aa7f605a93e4be59c3540c90c05c |
|
21-Jul-2011 |
Jeff Hamilton <jham@android.com> |
Remove the hidden My Tag APIs. Bug: 5048185 Change-Id: Iaf8a77e301fd378738db632e23674facd2c8fccc
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
c17a7a57d727f82b1a7d6db7fe6348e67a6f45e4 |
|
10-Jun-2011 |
Nick Pelly <npelly@google.com> |
NfcAdapter: Remove dead AIDL methods. Change-Id: Ia848c86dffcbe9f661d63fab6b32af41bbd8ee81
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
01425365a85e605139f612502f68954cad869e5b |
|
24-May-2011 |
Jason parks <jparks@google.com> |
Add public API to do NDEF push. Change-Id: I102da9bbc6d78577a26fa03ee363a60abc389d6c
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
367f41f8f61126c2ab34a34cc676756a9fc23ac2 |
|
08-Mar-2011 |
Nick Pelly <npelly@google.com> |
Implement new NFC-EE API's as shared library (frameworks/base). Change-Id: I45c4eaf59ec78167fc236fdd59676465a5e1bcb7
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
d88e9aa575eb3a9d20cdb0e8918d54993e1ce1e0 |
|
24-Jan-2011 |
Jeff Hamilton <jham@android.com> |
Use classnames instead of ints for NFC techs. This makes the system more flexible and allows adding new technology types without having to update the API. Change-Id: Iaee6b633965e501a70e8afc3f1d54d9d94a4d05a
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
33ff2405581271adf14ed4e45597a3b0b80a46ab |
|
17-Jan-2011 |
Jeff Hamilton <jham@android.com> |
New APIs for NDEF Push Protocol. The NPP is only usable by the foregorund activity to prevent dispatching confusion on the far end. Change-Id: I08475a52083fd7f81b79b7fe2faf4e126121a809
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
52d3203ef69d4babbc4dd030a15c08c0b8d1d226 |
|
08-Jan-2011 |
Jeff Hamilton <jham@android.com> |
Add dispatching overrides for foreground apps. Apps can register to override the default dispatching but only when they're in the foreground. Change-Id: I8e9a9254d3f79f097fb3c8c677d806043574ba4d
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
9024564107b58955f7bd257cab6fc6dfcb2e5ec2 |
|
17-Nov-2010 |
Daniel Tomas <daniel.tomas@trusted-logic.com> |
Secure Element access implementation Change-Id: I907e6771ecc5babe895115c3a49288fa2144a187
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
4934d3361edadb761d9c65fe8c2bf5b8d01e8121 |
|
11-Nov-2010 |
Jeff Hamilton <jham@android.com> |
Revert "Merge "Remove the My Tag feature." into gingerbread" This reverts commit ef5694692f88bb91ed6ee1191b11a66ec594ff39, reversing changes made to 65816a32ee2c2181895e3be636f3173a6e769f67.
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
575a6bbfe0300b670ce7403c9dddd1298ec49e20 |
|
03-Nov-2010 |
Jeff Hamilton <jham@android.com> |
Remove the My Tag feature. Change-Id: I9167121da2fa66ddae23386d24fef7bcc64eb3f1
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|
590b73bc5b8e5f7b59bff1d9264a52388a5162e6 |
|
12-Oct-2010 |
Nick Pelly <npelly@google.com> |
NFC API revision round 2. - Add the second half of the new NFC API: NfcAdapter, Tag, NdefTag, RawTagConnection, NdefTagConnection. - Add implementations for all of the new NFC API. Change-Id: I8da9fd1d2971ed2c8b76f2a93f207fa9e305b0f6 Signed-off-by: Nick Pelly <npelly@google.com>
/frameworks/base/core/java/android/nfc/INfcAdapter.aidl
|