- 26 Sep, 2013 1 commit
-
-
Martijn Coenen authored
To fix a specific scenario where a service is enabled using PackageManager.setComponentEnabledSetting(): in this case, the ACTION_PACKAGE_CHANGED broadcast is delayed by 10 seconds, causing NfcService not to know about enabled services until then. This in turn could cause our "isDefault" APIs to return incorrect results in the first 10 seconds after changing the component state, because we do not know about the newly enabled service yet. Fix by invalidating the cache if we don't know about a service passed in from API calls. Bug: 10633674 Change-Id: I4c236002afc79464e0b41f3c6919541915020ba4
-
- 25 Sep, 2013 1 commit
-
-
Martijn Coenen authored
Use service description whenever we can. Bug: 10862185 Bug: 10859925 Change-Id: I1e6f668bec0d2d2e4f96f803ba24ba58088836a3
-
- 19 Sep, 2013 1 commit
-
-
Baligh Uddin authored
Change-Id: I76d459b12ed208f169d0c0f1702500b935c518c3 Auto-generated-cl: translation import
-
- 18 Sep, 2013 2 commits
-
-
Martijn Coenen authored
-
Martijn Coenen authored
Also, notify currently active service if an AID has been selected on an off-host secure selement. Clean up some TODO items as well. Bug: 10817001 Change-Id: Ia6c0bb746d88add94464ed8c4339aa4aaf9d6c35
-
- 16 Sep, 2013 1 commit
-
-
Baligh Uddin authored
Change-Id: I6829864b677f0116d4f9efe713694ba4db4126b8 Auto-generated-cl: translation import
-
- 14 Sep, 2013 1 commit
-
-
Baligh Uddin authored
Change-Id: Iefd475e24ab483b8495b4e136a9f61f166a87499 Auto-generated-cl: translation import
-
- 12 Sep, 2013 7 commits
-
-
Martijn Coenen authored
-
Martijn Coenen authored
Change-Id: Id29de698f60266a0dd8d6fb4d5823dc5011f1562
-
Martijn Coenen authored
-
Martijn Coenen authored
-
Martijn Coenen authored
To improve reader performance. Bug: 10360259 Change-Id: I3a76563b876aafa9c8cd555127a32f8c8e5bfd14
-
Martijn Coenen authored
Bug: 10690065 Change-Id: I4df41e3197ce8fe0b2fc3f017e78f66968d2692f
-
Ruben Brunk authored
-
- 11 Sep, 2013 1 commit
-
-
Martijn Coenen authored
Also, close dialogs on screen off. Bug: 10262585 Change-Id: Ida69636cc54a7575cc109c908992cf47fe95cb76
-
- 10 Sep, 2013 2 commits
-
-
Ruben Brunk authored
Bug: 10680559 Change-Id: Ia84f1ddc1980e5f6d18e993eb66e6b0878193d86
-
Martijn Coenen authored
-
- 04 Sep, 2013 3 commits
-
-
Martijn Coenen authored
Bug: 10550349 Change-Id: Ifa5c9893373a69b1561dfa72fbd5f9c268f8f66e
-
Martijn Coenen authored
Ignore new pairing requests until the outstanding one is done. Bug: 10265451 Bug: 10265164 Change-Id: I5f3766c21f5be81371593161f9684ea9324ea317
-
Martijn Coenen authored
Bug: 10360259 Change-Id: I1339840ed900b73d3f9ae43e1a01b59c7e679f9e
-
- 03 Sep, 2013 1 commit
-
-
Martijn Coenen authored
Bug: 10360259 Change-Id: I41c47ce84aa18bce01f6fb1ebe280fac0ed79070
-
- 30 Aug, 2013 1 commit
-
-
Martijn Coenen authored
Following API review. Also: - Added support for pause/resume P2P in reader mode - Fixed bug where we tried to route even when NFC was off, causing lockups. Bug: 10550349 Bug: 10552589 - Change-Id: I48f6834386bd542bdf1b7f1a8b1072d8981b0915
-
- 29 Aug, 2013 1 commit
-
-
Martijn Coenen authored
- Use new selection mode APIs - Fixed up default handling - Check if service requires device unlock before dispatching - Fixed isDefaultServiceForAid() - Fixed a bug where we created two routing managers Change-Id: Iba4a3ce7f599974ccedbf8d301cc46ff1e99c94e
-
- 27 Aug, 2013 1 commit
-
-
Martijn Coenen authored
Disable p2p/listen modes on request. Currently only for NCI platforms, NXP will follow later. Also, fixed some compiler warnings and a mem leak. Bug: 10360259 Change-Id: Id13db24914adc43db62e055b66e0989e9cde2482
-
- 22 Aug, 2013 2 commits
-
-
Martijn Coenen authored
Bug: 10428933 Change-Id: I2f229e10c4db5db09b5224628dc358a7e284c0d7
-
Martijn Coenen authored
Bug: 10407395 Change-Id: I25f68edb39331a27132172b7c5ca93756251515a
-
- 19 Aug, 2013 2 commits
-
-
Martijn Coenen authored
Also: - Refactor AID handling to separate class. - Implement unHandled() call from service. - Verify the service's identify by checking replyTo param - Return 6F00 in case we can't parse an APDU for whatever reason. Bug: 10262585 Change-Id: I1a3ccb9ae57107d68cf5923c3cf05bd224f93e4e
-
Evan Chu authored
Patches contributed by Evan Chu<evanchu@broadcom.com> and Paul Chaisson<pchaisson@broadcom.com>. Bug: 10360038 Change-Id: I1402191406b08e097680f8c7f587f393f749184e
-
- 10 Aug, 2013 1 commit
-
-
Martijn Coenen authored
Plus some other stuff: - Fix locking in AidRoutingManager - Simplify default handling Change-Id: I46ed2e645cdef9c2778ac7ae263f698391e3e22b
-
- 08 Aug, 2013 2 commits
-
-
Martijn Coenen authored
Change-Id: I01bfe49d718767ae1087a58f310b683ffe7807d1
-
Martijn Coenen authored
- Added permission and userId checks for all new incoming binder calls. - Started enumerating OffHostApduServies correctly, dealing with the routing as we go. - Fixed up HostEmulationManager logic to work with the correct service; check if service is already bound. - Persistently bind to payment service if one has been selected as default by the user. - Return 6A82 for AIDs that are not found. Change-Id: I7b8121bec54b815d94b49747bc4f2bb00de26b36
-
- 07 Aug, 2013 1 commit
-
-
Martijn Coenen authored
Change-Id: I022c15485798b164c6278e2abc9407da5d101e50
-
- 06 Aug, 2013 1 commit
-
-
Martijn Coenen authored
- Added two dialogs for dealing with app selection and asking the user to "Tap Again" once an app has been selected. - Logic for dealing with 1-time tap overrides and defaults. UX still to be finalized. Change-Id: I10f9fed6ef8aa6255a88f6a518af9875068ddac4
-
- 05 Aug, 2013 1 commit
-
-
Martijn Coenen authored
Bug: 8870470 Change-Id: I084bdfb68452530ac8a8c124d1d703902c09847e
-
- 03 Aug, 2013 1 commit
-
-
Martijn Coenen authored
- Factor our helper class containing information about (Off)HostApduServices to ApduServiceInfo. - New BIND_NFC_SERVICE permission to protect implementing services from other apps binding. - Implement INfcCardEmulationService interface from the framework APIs. - Observe changes in settings for default apps in a category. - Single algorithm that resolves AIDs to a list of eligible services, taking into account defaults as well. Result of that algorithm feeds directly into the routing decisions. - Removed old persisting code, everything is in Settings.Secure now. Change-Id: I1840710f19435b079d20a4a41642b79fd03d1c76
-
- 26 Jul, 2013 2 commits
-
-
Martijn Coenen authored
-
Martijn Coenen authored
Also clean up a bit and get rid of some nasty dependencies. Change-Id: I8fe5a787830a583f3e85e9ead1b002feed8de223
-
- 24 Jul, 2013 1 commit
-
-
Martijn Coenen authored
Bug: 9998605 Change-Id: Iccc85ade4354308e34ef78250e0cad2ca18bafb3
-
- 23 Jul, 2013 2 commits
-
-
Martijn Coenen authored
-
Martijn Coenen authored
* commit '3b5a46f8': Fix license header on some files.
-