summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
Commit message (Collapse)AuthorAgeFilesLines
* New permission in Nfc stack to allow client validation.Rubin Xu2015-06-191-0/+1
| | | | | | | | 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
* Add LOCAL_MAC_ADDRESS permission.Martijn Coenen2015-06-041-0/+1
| | | | | | | For Android Beam. Bug: 20545952 Change-Id: Icaf7119b3c4e3209a99c6505ff58d3e2c92fe16d
* Declare that Nfc app does not use cleartext network traffic.Alex Klyubin2015-04-021-0/+1
| | | | | | | | | | 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
* Refactor Beam to work with managed profilesAndres Morales2014-11-121-2/+8
| | | | | | | | | | | 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
* Revert "Do Beam UI outside NFC persistent process"Andres Morales2014-10-141-4/+0
| | | | | | This reverts commit 018e05b5f55cd444835e8dd751b30eaaccd2c9ff. Change-Id: Iec6610b7b08d003c81adbfd0ec368bd245e10330
* Fix issue #17752399: Multiple apps broken by GET_TASKS permission changeDianne Hackborn2014-10-031-1/+1
| | | | | | Switch to REAL_GET_TASKS. Change-Id: I0bebb921379901b4e8a0c2a04b18a71d74857aa4
* Merge "Don't kill NfcService after restore." into lmp-devMartijn Coenen2014-09-241-0/+1
|\
| * Don't kill NfcService after restore.Martijn Coenen2014-09-231-0/+1
| | | | | | | | | | | | | | To prevent kills during firmware upgrade. Bug: 17624121 Change-Id: Ica803735dbb26b486ceeec2f8c426e5a01112cca
* | Do Beam UI outside NFC persistent processAndres Morales2014-09-181-0/+4
|/ | | | | | | Saves ~100MB of memory Bug:17490126 Change-Id: I1449b2cbf20ef1750f3d1f49826d02899bfbf9c8
* Switch to Theme Material.Martijn Coenen2014-08-111-1/+2
| | | | | Bug: 15907600 Change-Id: I876b9e334a8cf3c7d886419507d17235e905d9e5
* Allow "Android Beam" in share menu to be localizedAndres Morales2014-07-171-1/+1
| | | | | | Bug: 16066347 Change-Id: Idf1ad2ee7bd03da0916f3d8dcf7ad53e626c5171 (cherry picked from commit da8b9b46636f3a61f7d9fc45af19c1bd7725e01e)
* Wifi-Direct connection handover for Beam.Andres Morales2014-06-241-3/+5
| | | | | | | | 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
* HCE/SE foreground support.Martijn Coenen2014-05-081-0/+1
| | | | | | | | | | | | | | - 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
* Handle NFC Wifi configuration tagsAndres Morales2014-04-151-0/+12
| | | | | | | Adds a hook in NfcDispatcher to attempt to configure a network if the appropriate mime type is found on a tag. Change-Id: Id53bc3124f54186115f4ed9f85eae4d289db1434
* Revert "Mark Nfc as required for all profiles"Alexandra Gherghina2014-04-111-1/+0
| | | | | | | | This reverts commit 35d394b9cd748c90fb88831d7b119d08e5a8b8d8. We've switched to a whitelist approach. Change-Id: Ia269a26544c14b828726c676e820cd0fd32801d6
* Mark Nfc as required for all profilesAlexandra Gherghina2014-04-011-0/+1
| | | | Change-Id: I6ba4eed1226bc8528e3c043b6211ee6256dbc050
* Android Beam direct invoke / share menu invoking.Martijn Coenen2014-02-241-1/+17
| | | | | | | | | | | | | | | | | | | | | 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
* Add NFC unlock to NFC ServiceAndres Morales2013-12-121-0/+1
| | | | | | | | Change-Id: Ie065742a6f2ffe8ddcfe141a56bea16b40486124 Fix imports Change-Id: I389d8ecba447d1eb0bd15a74709dc6c7eae99a2c
* Add BLUETOOTH_PRIVILEGED permission.Martijn Coenen2013-10-081-0/+1
| | | | | | | To allow NFC connection handover again. Bug: 11121108 Change-Id: I964b6ad078a0efbfaa08e868c43f4927d824ad03
* HCE: API updates, default handling, lock-screen.Martijn Coenen2013-08-291-2/+0
| | | | | | | | | | - 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
* HCE: dialog when default app is removedMartijn Coenen2013-08-091-0/+8
| | | | | | | | Plus some other stuff: - Fix locking in AidRoutingManager - Simplify default handling Change-Id: I46ed2e645cdef9c2778ac7ae263f698391e3e22b
* HCE: permissions, OffHost services, payment service.Martijn Coenen2013-08-071-0/+2
| | | | | | | | | | | | | | - 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
* HCE: 1-time tap overrides, chooser/tap again.Martijn Coenen2013-08-061-0/+14
| | | | | | | | | | | | - 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
* More HCE work.Martijn Coenen2013-08-021-0/+2
| | | | | | | | | | | | | | | | | - 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
* Fix license header on some files.Martijn Coenen2013-07-231-0/+14
| | | | Change-Id: I65c18bbfdbdbffd2beb83ee645bfe2cfeec909ed
* Revert "Add ACCESS_NETWORK_STATE permission."Martijn Coenen2013-02-221-1/+0
| | | | This reverts commit 0894e9a568a9eac92e93e93df6bd9a80c20fe4a8.
* Add ACCESS_NETWORK_STATE permission.Martijn Coenen2013-02-221-0/+1
| | | | | Bug: 8253625 Change-Id: I13097a1fe2963c297c3a40a73eeeeda4b55388b5
* Snapshot b80adb2c263702442cf2f2d771168400e6ceb9f8The Android Open Source Project2012-12-131-0/+3
| | | | Change-Id: I391d8e1be1a61e68b01f0db371dbb4ed3e5b5933
* Snapshot 1a6bcf3cca90fedfbad33c1cdd6d05af5774fc01The Android Open Source Project2012-12-131-2/+4
| | | | Change-Id: I3ccb25bf7cde2c22f52260cae0e9957517e6bb5f
* Bluetooth Beam handover: deal with multi-file transfers.Martijn Coenen2012-05-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* UI confirmation for pairing a BT device through NFC.Martijn Coenen2012-05-101-0/+7
| | | | | | | | 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
* Latest changes for Bluetooth Beam.Martijn Coenen2012-04-201-0/+2
| | | | | | | | | | | | | | - 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
* Fix backup key for Nfc.Martijn Coenen2012-04-061-1/+1
| | | | | | This became invalid when we changed back to com.android.nfc. Change-Id: I503223bd7b7ae0ac7409d94708cd0819a92b9b06
* Replace vendor specific NfcGoogle.apk with generic Nfc.apkNick Pelly2011-11-211-4/+4
| | | | | | | | | | | | | | 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
* Add null check to aovid NPE on un-matched close().Nick Pelly2011-11-141-6/+0
| | | | | | Also finish removing NFCEE permission, and fix a couple of style mistakes. Change-Id: I4ec22469990de6661365c281db2e8cfd7ae413b0
* Implement static white-list access control for NFC-EE.Jeff Hamilton2011-11-111-1/+1
| | | | | | | | | | | 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
* Start all NFC activities from a dedicated root task.Martijn Coenen2011-10-171-0/+5
| | | | | | | | 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
* Latest zeroclick animations.Martijn Coenen2011-09-011-8/+0
| | | | | | | | | | | | | - 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
* Prevent NFC task transition animations.Martijn Coenen2011-08-161-1/+1
| | | | | | | | | | | 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
* Move 0-click animations to activity.Martijn Coenen2011-08-101-0/+7
| | | | | | | | | - 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
* 0-click animations: "tap to send" and "tilt to send".Martijn Coenen2011-08-081-0/+1
| | | | Change-Id: I771b97bc090ebce07eeb46807c8fb337be703513
* Turn off ME Profile sharing & BT Dropbox.Nick Pelly2011-08-011-2/+0
| | | | | | Seems like it won't make the cut. Change-Id: Iac7aa00debfe0d8118b28e8651abc200ce41d8ef
* Play an animation for outbound NFC P2P.Jeff Hamilton2011-07-261-0/+2
| | | | | | | | | Clean up NFC service sound playing. Cancel P2P tasks when the LLCP link is broken. Bug: 4941390 Change-Id: I0710bc7dd9d09ed47a540cb4739890bcc3a4f905
* Bluetooth dropbox for out-of-band transfersBen Dodson2011-07-201-0/+4
| | | | | | | | Use dropbox for ME profile. Transiently turn on Bluetooth. Change-Id: I81556a67872e7e0ac7c66c0376549adc5f0c168d
* Add correct permissions for sharing me profile.Martijn Coenen2011-06-271-0/+2
| | | | Change-Id: I6a4fb18540b4841bc8c65089b1ae22b3a1a2fc96
* automatically share packages of user apps that don't support nfcBen Dodson2011-06-161-0/+1
| | | | Change-Id: I531d8cb50a334a93f0e44f90cbab4ebc1f70d4b2
* Backup NFC preferences.Martijn Coenen2011-05-311-0/+3
| | | | | | | | | 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
* Merge "Implement tear down scripts." into gingerbreadJason parks2011-04-011-0/+1
|\
| * Implement tear down scripts.Jason parks2011-04-011-0/+1
| | | | | | Change-Id: Ie6d491b4bf1a735d4119f78f252aa14a95536149
* | Make the NFC UID forward compatible.Jeff Hamilton2011-04-011-1/+1
|/ | | | Change-Id: Idebe263500839a0238fd5b0cf732e5ecc477698e