| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Exposed by the new stack; need to take locks around
mRunning and mLlcpServerSocket.
Bug: 6922853
Change-Id: Ic8e3b90d1a1c9d77b27308e3f18bf8871843206f
|
|
|
|
|
|
|
|
|
|
|
|
| |
I noticed these while looking at something else.
- Removes unused imports; unthrown exceptions on some non-visible methods; dead
code.
- Tags a few stray interface implementations that lacked @Override.
- Removes unnecessary semicolons in a few place.
- Fixes one instance of ArrayList being used as a raw type.
Change-Id: I860921a3a4d003fd6d6fc1381c0813599f3caf26
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The goal is to make it easier to track the state of the P2P transfer, and
to make it easier to fine-tune UX (sound, vibration, animation) for P2P
transfer.
NdefP2pManager -> P2pLinkManager
It now only handles LLCP and NDEF logic (and no UX). It has a state machine to
track the state of the LLCP link, send and receive. It does debouncing on the
LLCP link. Events are surfaced to P2pEventManager through the P2pEventListener
interface.
P2pEventManager
Handles all UX (sound, vibration, animation) and send confirmation.
The current implementation uses Rotation to confirm send, and
P2pAnimationActivity to animate the send.
Change-Id: Ie498219857afe69403e90f09c77f4d6d1b24ffeb
|
|
|
|
|
|
|
|
|
| |
- 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: If62df6f07d1282fe39a6f3ac3a67c7a264e2be77
|
|
|
| |
Change-Id: I8d5fd546ecb07f005322eb5f173975dff7820439
|
|
|
|
|
|
|
|
|
| |
Clean up NFC service sound playing.
Cancel P2P tasks when the LLCP link is broken.
Bug: 4941390
Change-Id: I0710bc7dd9d09ed47a540cb4739890bcc3a4f905
|
|
|
|
|
|
|
|
|
| |
This is Ben's patch with some small modifications:
- Added code to retrieve the me profile and transmit/receive it;
- Moved local SAP definitions for more clarity.
- Removed sending of my tag.
Change-Id: Ica85b4491206526e89bc34c23479f9d4489ed1cf
|
|
|
|
| |
Change-Id: Ic629c9a2ad348c1f352f39d7fc2be04edcf627e7
|
|
|
|
| |
Change-Id: I829c95436b69f41bc473f8085f18247fedac48c5
|
|
|
|
|
|
|
|
|
|
|
|
| |
Foreground dispatch overrides now interpret
null for the filters as "catch all".
Foreground NDEF push disables standard dispatch
and only honors foreground dispatching so that
two NDEF push apps don't end up just swapping
between each other when the push happens.
Change-Id: Ic305d4a3a593fff732b8d88ae72e09b4a03d6286
|
|
|
|
|
|
|
| |
This method takes the buffer, the start offset and the end offset as
parameters.
Change-Id: I52e33d7083a26bea57e0f3c819c40c8daa4e3816
|
|
|
|
|
|
|
|
|
|
|
|
| |
At the NFCIP-1 level, the LLCP frames are splitted in 251-bytes
packets. Knowing that NFCIP-1 packets have a 3-bytes header, the
optimal size for a LLCP packet is 248-bytes.
With the previous value (256), each LLCP frame was splitted in
two NFCIP-1 packets, one 248+3 bytes and another one of 8+3 bytes.
This was leading to less-than-optimal performances.
Change-Id: Ide31b1ee24efc910c71d690a8ae100331b62ccf8
|
|
The protocol allows pushing NDEF messages
over LLCP in order to simulate a card read
wihtout having to use card emulation. This
also allows for 2 way transfer of meesages.
The protocol allows for a single immediate
message, to be dispatched upon arrival as if
it were read from a tag, and any number of
deferred dispatch messages. The handling of
deferred dispatch messages is up to the
receiver and not implemented in this patch.
Change-Id: Ib99e4fc01532cc741debab370a417f94669b62ac
|