• Home
  • History
  • Annotate
  • only in /frameworks/base/core/java/android/nfc/cardemulation/
History log of /frameworks/base/core/java/android/nfc/cardemulation/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5e991a129c308805da25957d9f5bf1bab8bcb60d 17-Sep-2014 Martijn Coenen <maco@google.com> Upper-case incoming AIDs.

This fixes scenarios where different services
register the same AID in a different case, and
we don't see any conflict.

Bug: 16517161
Change-Id: I610b585ce7d57b4e32c21004a1d4c50e1133986a
idGroup.java
pduServiceInfo.java
0985fb6c428e75c083e930f895695ee4e9cbb4cb 16-Sep-2014 Martijn Coenen <maco@google.com> Fix static AID prefix registration.

Bug: 16517161
Change-Id: Ibaddf8720907f1d28d44231d927f538628bbf9d0
pduServiceInfo.java
826a73b83b7f05ff92e51a2880fb4a75de08a9d1 05-Aug-2014 Martijn Coenen <maco@google.com> AID prefix registration.

Bug: 16517161
Change-Id: I4e008b84fd1372b17a98437ec8a6b71c33d7cd05
idGroup.java
pduServiceInfo.java
ardEmulation.java
d92c1689748b4630964f1ecf87e56de4b0aa7396 03-Jul-2014 Martijn Coenen <maco@google.com> Add API to query for AID prefix support.

For future devices which may support
registering AID prefixes. Get the API in for now,
the actual implementation is pretty simple and
will follow later.

Change-Id: I6c16dae9a4dbc0f9cd84bdb61a4de93cffd278ec
ardEmulation.java
b92dc6b013f4637bc29b09b9360b37810771ad1b 02-Jul-2014 Martijn Coenen <maco@google.com> Clean up dynamic AID XML parser.

<aid-group> should be generated and parsed
in its own object.

Change-Id: I70f4511a682c66f8d11b7797a0f171cda24cc617
idGroup.java
b51441163fc4c493cddce08f5418021a31d0a719 02-Jul-2014 Martijn Coenen <maco@google.com> Move AID validation to CardEmulation.

More logical place since it's a generic utility
function.

Change-Id: I3381f10d6720e415d091dbd475ef0df8733e7e75
idGroup.java
pduServiceInfo.java
ardEmulation.java
1bfc3d624925c2b6e0928e26cf0660aee0a05ddf 27-Jun-2014 Martijn Coenen <maco@google.com> Validate AIDs when registered.

Change-Id: Ib7140c30a8a7587f1809f529d3303e69933bb245
idGroup.java
pduServiceInfo.java
df48db3c7cab1e39ffe16738c070644c1ef66782 20-May-2014 Martijn Coenen <maco@google.com> Address HCE API review comments.

Remove AidGroup from public APIs.

Bug: 15089341
Change-Id: Ia8e038a12891abc6f1a8e82dbf30b8952e0b1fd7
idGroup.java
ardEmulation.java
2f6f3a0181b008f58b18804b749d5ddf1ba73bc8 26-Apr-2014 Martijn Coenen <maco@google.com> HCE/SE foreground support.

Allow apps to tell the OS they prefer a specific
CardEmulation service to handle a transaction
whenever they are in the foreground.

Change-Id: I8489ba6018f62164ed7e3504f31c8d09accf494e
idGroup.java
pduServiceInfo.java
ardEmulation.java
aa1492d1d8c5f80e074faacb83905bd07487975d 11-Apr-2014 Martijn Coenen <maco@google.com> Dynamic AID registration APIs for HCE.

Adds a set of APIs that allows applications
to dynamically register and unregister AID groups
for HCE and Secure Element based services.

Change-Id: I08e9423dff405955cb725c87423c953a7dbe5c72
idGroup.aidl
idGroup.java
pduServiceInfo.java
ardEmulation.java
35bf6288527b177a04100585321a1266f020004a 14-Oct-2013 Martijn Coenen <maco@google.com> NFC card emulation API docs.

Bug: 10550319
Change-Id: I3023639d728aa76af89d15e0491b86c7c641648e
ardEmulation.java
ostApduService.java
ffHostApduService.java
eed43391c682f64d2a0ec9a74d03b0e3d4d5a709 26-Sep-2013 Martijn Coenen <maco@google.com> Fix crash in ApduServiceInfo parsing.

Bug: 10949100
Change-Id: I181734074b071179ea5637a070714643508bc64b
pduServiceInfo.java
fca357877307f307934457165a91a1b11e0b6853 18-Sep-2013 Martijn Coenen <maco@google.com> Validate AID format and length.

Bug: 10817001
Change-Id: I7cb0d4f718c467d2fccb30068f383f8e71a4a39b
pduServiceInfo.java
58d2065984646a61145df285d1c77b68b1f700fb 06-Sep-2013 Martijn Coenen <maco@google.com> Add support for loading banners from HCE services.

Bug: 10262585
Change-Id: I08f06ce92dd9071dc8ad1390ce9a4b877b05827d
pduServiceInfo.java
51b6322197da054715e53d02754bc81caa8fd456 04-Sep-2013 Martijn Coenen <maco@google.com> Remove legacy HCE APIs.

Bug: 10550349
Change-Id: Ie60942f9551e93bcfb597f7f2a5b9cc9bf21a11a
pduServiceInfo.java
ardEmulationManager.java
ostApduService.java
c85fb576b817aae2d853b6f5cb6effb924b892ed 03-Sep-2013 Martijn Coenen <maco@google.com> Add drawable for Apdu Services, fix build.

Change-Id: I7c138adb60b2efe19377b58b35360cd234628424
ostApduService.java
fb2f8337f6fca9809156ddbaf0a7fe468bc1329f 03-Sep-2013 Martijn Coenen <maco@google.com> NFC: @hide and remove abstract from processCommandApdu().

Replaced by new version with Bundle extras.

Bug: 10550349
Change-Id: If5f284c6d9b14ab32670ebc84881f459813b5b56
ostApduService.java
52246087f4e2b5ad62b9cd6ea8c2cb58f624d4e7 30-Aug-2013 Martijn Coenen <maco@google.com> HCE API review.

Keeping some of the old stuff @hide until all
clients have upgraded.

Bug: 10550349
Change-Id: Id5de7ab74c9b38c179fd20bd4746d95b7df8f033
pduServiceInfo.java
ardEmulation.java
ardEmulationManager.java
ostApduService.java
ffHostApduService.java
c3f0044abe657d3e6d9cd1f322b419abddeba20c 29-Aug-2013 Martijn Coenen <maco@google.com> Add an API for querying HCE service selection mode.

This allows applications to differentiate between
the case where another app is the default, or the
case where the selection mode is "Ask every time".

Also, parse new requireDeviceUnlock attribute in
ApduServiceInfo.

Bug: 10262585
Change-Id: Icac508fe00054132574731532c05a1138edb24f5
pduServiceInfo.java
ardEmulationManager.java
ostApduService.java
583fe9d22b21aa77fad3096bfdad3020d6088230 15-Aug-2013 Martijn Coenen <maco@google.com> NFC: Allow HostApduService to indicate transaction unhandled.

This will cause the OS to show UI that allows the user to pick
another application that could potentially handle the transaction.

Also, tweak processCommandApdu() method to take a Bundle to be more
future-proof.

Bug: 10262585
Change-Id: If9d060341b472fac0349f539c04b87e85fe79dfb
ostApduService.java
62c196abd217c2471dc23d8975f84727560bafb9 09-Aug-2013 Martijn Coenen <maco@google.com> NFC: always upper-case parsed AIDs.

Also added activity intent action for Tap&Pay settings.

Change-Id: I5648e1ded3b79a3363899d1cab8aec55842b3e22
pduServiceInfo.java
38d3bb76967e115b81c9f804e4de9189adfd9680 08-Aug-2013 Martijn Coenen <maco@google.com> NFC: Unify ApduServiceInfo for on/off host.

Change-Id: I4f8bb441d7eb564da0486f3e8a1ac08dd18d0dc8
pduServiceInfo.java
ardEmulationManager.java
d40f43c1256da5fc27beb0000b56f38e65c380c4 07-Aug-2013 Martijn Coenen <maco@google.com> NFC: @hide some APIs, add setDefaultForNextTap API.

Change-Id: I31efe4c96a62e6c3dcb984a885214e6df045c6c6
ardEmulationManager.java
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
pduServiceInfo.aidl
pduServiceInfo.java
ardEmulationManager.java
ostApduService.java
ffHostApduService.java
c3178e5f1c346ad5faa926a6765147840116f4a7 26-Jul-2013 Martijn Coenen <maco@google.com> Change XML-grammar for (Off)HostApduServices.

AIDs can now carry a category attribute. Clarified that
"OffHostApduService" is not bound to by Android, and may
be extended by offering service interfaces that are not
defined in the platform.

Change-Id: Idd0a3990beb927e8d81366013f53386fb46e3f9f
ostApduService.java
ffHostApduService.java
eApduService.java
5eaa8970aa86fa32a6cbb47e0681000ed2d22c57 18-Jul-2013 Martijn Coenen <maco@google.com> First shot at (host-based) card emulation APIs.

HostApduService: convenience service class for implementing
a service that registers a set of ISO7816-4 AIDs and emulates
the corresponding application inside the service itself.

SeApduService: convenience service class for implementing
a service that registers a set of ISO7816-4 AIDs that reflect
applications installed on an embedded secure element or UICC. Contains
event hooks to allow the service to handle eSE/UICC events that
correspond to those AIDs.

Change-Id: I44191bd4abcbbe4f1fd36a9fd42639fe5c0cf496
ostApduService.java
eApduService.java