| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This is to allow clients to enforce that a NFC message is dispatched to them
from the Nfc stack, rather than from some arbitrary apps.
Bug: 19838376
Change-Id: Ifbc0379b8aecd330bbd2519c4de4dfc22e1a3247
|
|
|
|
|
|
|
| |
For Android Beam.
Bug: 20545952
Change-Id: Icaf7119b3c4e3209a99c6505ff58d3e2c92fe16d
|
|
|
|
|
|
|
|
|
|
| |
This declares to the platform and tools that this app does not use
cleartext network traffic. The platform and tools will be blocking
(on best effort basis) attempts to use such traffic by this app.
For example, attempts to use HTTP (rather than HTTPS) will be blocked.
Bug: 19215516
Change-Id: Idde6b70bad12d1a7374890c98a4da962323dd53f
|
|
|
|
|
|
|
|
|
|
|
| |
Simplify logic and break out different components
into their own services.
Allow BeamShareData to pass a UserHandle in order
to start the transfer in the correct user.
Bug: 17966846
Change-Id: I012a9ebe87deca6fceb857da8c8d4e2ecbeca6fe
|
|
|
|
|
|
| |
This reverts commit 018e05b5f55cd444835e8dd751b30eaaccd2c9ff.
Change-Id: Iec6610b7b08d003c81adbfd0ec368bd245e10330
|
|
|
|
|
|
| |
Switch to REAL_GET_TASKS.
Change-Id: I0bebb921379901b4e8a0c2a04b18a71d74857aa4
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
To prevent kills during firmware upgrade.
Bug: 17624121
Change-Id: Ica803735dbb26b486ceeec2f8c426e5a01112cca
|
|/
|
|
|
|
|
| |
Saves ~100MB of memory
Bug:17490126
Change-Id: I1449b2cbf20ef1750f3d1f49826d02899bfbf9c8
|
|
|
|
|
| |
Bug: 15907600
Change-Id: I876b9e334a8cf3c7d886419507d17235e905d9e5
|
|
|
|
|
|
| |
Bug: 16066347
Change-Id: Idf1ad2ee7bd03da0916f3d8dcf7ad53e626c5171
(cherry picked from commit da8b9b46636f3a61f7d9fc45af19c1bd7725e01e)
|
|
|
|
|
|
|
|
| |
Enables usage of a Wi-Fi direct channel for large
file transfer via Android Beam. Leaves BT as
default until b/15721122 is resolved.
Change-Id: I9b5e00b79b893d4d0208033241e4b1604bdc4d11
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Allow apps to specify a service they'd like to execute while in foreground.
- Refactored code that determines priority into PreferredServices
- Made a generic ForegroundUtils class that use IProcessObserver
to monitor foreground/background state transitions.
- Simplified logic in RegisteredAidCache that determines where an AID goes. Order is:
1) Foreground (if allowed to override)
2) Payment default app
3) Other.
- Added dump() to classes for easier debugging
Change-Id: Idf871ea91d10102b82b170a45b519be98adc9edf
|
|
|
|
|
|
|
| |
Adds a hook in NfcDispatcher to attempt to configure
a network if the appropriate mime type is found on a tag.
Change-Id: Id53bc3124f54186115f4ed9f85eae4d289db1434
|
|
|
|
|
|
|
|
| |
This reverts commit 35d394b9cd748c90fb88831d7b119d08e5a8b8d8.
We've switched to a whitelist approach.
Change-Id: Ia269a26544c14b828726c676e820cd0fd32801d6
|
|
|
|
| |
Change-Id: I6ba4eed1226bc8528e3c043b6211ee6256dbc050
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change allows Android Beam to be invoked
directly from an application.
Additionally, it adds handling for the ACTION_SEND
intent that is launched by various apps when using the
share menu. This will cause Android Beam to be shown
as an option in share menus. There's some logic needed
that translates the data in an ACTION_SEND intent to
either NDEF message or an Uri that can be shared using
handover.
Finally, the Beam UI code has been modified to instantiate
a proper window, in order for us to catch the back key
event to be able to back out of the Beam animation
(this wasn't possible previously).
Bug: 5134061
Change-Id: I9cbfc50109bb497973bae177c67d920f6f990789
|
|
|
|
|
|
|
|
| |
Change-Id: Ie065742a6f2ffe8ddcfe141a56bea16b40486124
Fix imports
Change-Id: I389d8ecba447d1eb0bd15a74709dc6c7eae99a2c
|
|
|
|
|
|
|
| |
To allow NFC connection handover again.
Bug: 11121108
Change-Id: I964b6ad078a0efbfaa08e868c43f4927d824ad03
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
| |
Plus some other stuff:
- Fix locking in AidRoutingManager
- Simplify default handling
Change-Id: I46ed2e645cdef9c2778ac7ae263f698391e3e22b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
Change-Id: I65c18bbfdbdbffd2beb83ee645bfe2cfeec909ed
|
|
|
|
| |
This reverts commit 0894e9a568a9eac92e93e93df6bd9a80c20fe4a8.
|
|
|
|
|
| |
Bug: 8253625
Change-Id: I13097a1fe2963c297c3a40a73eeeeda4b55388b5
|
|
|
|
| |
Change-Id: I391d8e1be1a61e68b01f0db371dbb4ed3e5b5933
|
|
|
|
| |
Change-Id: I3ccb25bf7cde2c22f52260cae0e9957517e6bb5f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A handover transfer object no longer represents a single file,
but all the files associated with the handover. This association
is based on the source address of the transfer and a timer;
if a new file transfer from the same source is started within
this timer, it is considered to be part of the same handover
transfer.
Received files are stored in beam/. If multiple files are
transferred, they are stored in their own subdirectory of beam.
We now use the mediaScanner for mime-types that the
platform can deal with by default. The advantage of this
is that the mediaScanner can already gather meta-data for
these files, and (platform) apps can query for and populate
views with such data.
3rd party applications can also query the mediaScanner
for meta-data on the received files.
A handover transfer object has a single notification
associated with it; upon launching the notification,
a single ACTION_VIEW intent is launched. If multiple files
were transferred as part of this handover, ACTION_VIEW is
launched on the first file in the set.
Change-Id: I00c23e58736f6dbe96726a1ec56fbc8c984a215d
|
|
|
|
|
|
|
|
| |
If we find a BT device to pair through NFC and we haven't
seen it device before, request confirmation before pairing it.
Bug: 6092058
Change-Id: I34fc638fbdb152a48e90644f9a34cc1a0b942de2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Receive transfer notifications and status info from Bluetooth, to show
progress using Notifications.
- Added power manager, to keep track of BT power state, and turn BT off
if possible.
TODO:
- UI for failed operations (ie transfer failed, Bluetooth enable failed).
- Cleanup of transfer list
- Make sure BT doesn't connect to other peripherals or isn't connectable.
Change-Id: I31450f589bbaeb72ee8c450c5019f00f0190b7aa
|
|
|
|
|
|
| |
This became invalid when we changed back to com.android.nfc.
Change-Id: I503223bd7b7ae0ac7409d94708cd0819a92b9b06
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The access control changes allow us to just use Nfc.apk with
the regular platform certificate, instead of the custom signed
NfcGoogle.apk. So we can compeltely get rid of vendor/google/apps/NfcGoogle
and just build it out of packages/apps/Nfc now.
The package name is also reverted from com.android.nfc3 to com.android.nfc
The NFC uid needs to get bumped (25 to 27) to allow the cert change.
Bug: 5608249
Change-Id: I4437dff96f2529f0b9e7d8e65c21359c3eeccd0b
|
|
|
|
|
|
| |
Also finish removing NFCEE permission, and fix a couple of style mistakes.
Change-Id: I4ec22469990de6661365c281db2e8cfd7ae413b0
|
|
|
|
|
|
|
|
|
|
|
| |
NFC service now has a build time array of package signatures and package names
that are allowed access to the NFCEE, removing the shared certificate
requirement.
See sample_nfcee_access.xml for the XML format.
Bug: 4515759
Change-Id: Ibf03e259137f2f4247ec5d31fb88b1090b013d32
|
|
|
|
|
|
|
|
| |
Instead of launching NFC into existing tasks, always launch
into a clean task that is owned and controlled by the NFC process.
Bug: 5122560
Change-Id: Iea6022bb754bcc46e7ab3adb1b9ccc7fe20797e3
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Only hw-accelerate when we have the resources for it;
- Disallow status bar interaction;
- Remove background;
- On failure, gradually scale back up;
- On receive, slide out to the right.
TODO:
- OpenGL fireflies
Change-Id: I1deae65f24f40a226c8a575130ca22b72ff9e05e
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes the "black flashes" when starting/finishing
the NFC animation activity.
TODO:
- The status bar is "animated in" still, causing a brief white
rectangle where the status bar is.
Change-Id: Id99f3ecfe8695edcb6c02caa611731fa6e58a560
|
|
|
|
|
|
|
|
|
| |
- Start activity instead of window overlay;
- Implement "the real twist": need to twist back to share;
- Implement receive animation (slide out);
- General cleanup.
Change-Id: I3f6a015c2a73f309892a8c5c3b1ea1b133b54d42
|
|
|
|
| |
Change-Id: I771b97bc090ebce07eeb46807c8fb337be703513
|
|
|
|
|
|
| |
Seems like it won't make the cut.
Change-Id: Iac7aa00debfe0d8118b28e8651abc200ce41d8ef
|
|
|
|
|
|
|
|
|
| |
Clean up NFC service sound playing.
Cancel P2P tasks when the LLCP link is broken.
Bug: 4941390
Change-Id: I0710bc7dd9d09ed47a540cb4739890bcc3a4f905
|
|
|
|
|
|
|
|
| |
Use dropbox for ME profile.
Transiently turn on Bluetooth.
Change-Id: I81556a67872e7e0ac7c66c0376549adc5f0c168d
|
|
|
|
| |
Change-Id: I6a4fb18540b4841bc8c65089b1ae22b3a1a2fc96
|
|
|
|
| |
Change-Id: I531d8cb50a334a93f0e44f90cbab4ebc1f70d4b2
|
|
|
|
|
|
|
|
|
| |
Backs up all NFC shared preferences. Note this only works when doing a
full system restore. Doing just a runtime restore won't trigger the NFC
service to restart and reload the setting.
Bug: 3139537
Change-Id: I40d3e5c5cd39482a292e634a941af6093f639ece
|
|\ |
|
| |
| |
| | |
Change-Id: Ie6d491b4bf1a735d4119f78f252aa14a95536149
|
|/
|
|
| |
Change-Id: Idebe263500839a0238fd5b0cf732e5ecc477698e
|