History log of /packages/apps/Nfc/src/com/android/nfc/snep/SnepServer.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d89216c9b1f9271edb00a5d96756557e4faf3fb4 13-Dec-2013 Martijn Coenen <maco@google.com> Fix SNEP wrongly sending CONTINUE.

Our SNEP server implementation fetches a first
blob of data of size MIU. If that first blob size
is smaller than the total data size, we send a
SNEP CONTINUE command, to indicate to the remote
it can continue.

The bug is though that instead of using the local
MIU (which is really how many bytes we could read),
we use the remote MIU. This causes us to wrongly
send CONTINUE for large payloads that actually
fit in the local MIU but not in the remote MIU.

Bug: 9323533
Change-Id: I12d6b4706995306a326a0d5fec415ee06726dae6
/packages/apps/Nfc/src/com/android/nfc/snep/SnepServer.java
525c260303268a83da4c3413b953d13c9084e834 14-Dec-2012 The Android Open Source Project <initial-contribution@android.com> Snapshot 1a6bcf3cca90fedfbad33c1cdd6d05af5774fc01

Change-Id: I3ccb25bf7cde2c22f52260cae0e9957517e6bb5f
/packages/apps/Nfc/src/com/android/nfc/snep/SnepServer.java
77d0b56bfa6a4e4e1449c476a1141a7486f34ad9 11-Aug-2011 Nick Pelly <npelly@google.com> Decouple P2P link management from P2P UX management.

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
/packages/apps/Nfc/src/com/android/nfc/snep/SnepServer.java
e5b26d522885ed1cc30c0820ca59ed7c44707987 09-Aug-2011 Martijn Coenen <maco@google.com> Move 0-click animations to activity.

- 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
/packages/apps/Nfc/src/com/android/nfc/snep/SnepServer.java
4a61d3b45e81c0070538f94747a70a49c78f12fa 30-Jun-2011 Jeff Hamilton <jham@android.com> Remove the binder interface for LLCP.

Change-Id: I8d5fd546ecb07f005322eb5f173975dff7820439
/packages/apps/Nfc/src/com/android/nfc/snep/SnepServer.java
7e5d9e8a0d68930074d1090d8403a7cc61bfa84f 17-Jun-2011 Ben Dodson <bjdodson@google.com> Updates for SnepServer thread safety

Change-Id: Iea481089edf1a59f738367ec7e6a57c6403d96fd
/packages/apps/Nfc/src/com/android/nfc/snep/SnepServer.java
2ef360deaff9f17aa72d5749ceee283cc80897af 15-Jun-2011 Ben Dodson <bjdodson@google.com> Merge snep p2p to master

Change-Id: Ic629c9a2ad348c1f352f39d7fc2be04edcf627e7
/packages/apps/Nfc/src/com/android/nfc/snep/SnepServer.java