| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
When SE is in wired mode shared prefs sets the se_wired to true,
when SE is no more in wired mode shared prefs sets se_wired to
false. Default value for se_wired is false. se_wired shared pref
is set during the NFC initialization.
Change-Id: I9a3565c23035802895c8e99c671483c808312e0e
|
|
|
|
| |
Change-Id: I7572274dd74d8f9c3f0c80bdccf3d30707c91c3f
|
|
|
|
|
| |
Bug: 5813943
Change-Id: I1274e3c47203e30cedefb57049738f97122de4b1
|
|
|
|
|
|
|
| |
Was only used for one call into the service, and it wasn't even correct
in that case.
Change-Id: I6c7d9d137783fde9341e119402e6823776c711b7
|
|
|
|
|
|
| |
Removed code-duplication, fixed some warnings.
Change-Id: I5b7a2986e3836d6689b677bf80cb93421bfa821e
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Allow servicename for connectionless sockets;
- Pass in servicename in Bind() for both types;
- EchoServer: allow MIU=128 again since ATR_RES
fix was merged in libnfc-nxp
- EchoServer: fix reading from incorrect offset.
Change-Id: Ie77fe5b46e7a17435e6261c8b7400dcca4d3784a
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The dispatch sequence is identical, but the hierarchy of functions has been
collapsed. The flow now is:
dipsatchTag() ->
tryOverrides() ->
*** NDEF override ***
*** TECH override ***
*** TAG override ***
tryNdef() ->
*** AAR to NDEF ***
*** AAR to application launch ***
*** AAR to market launch ***
*** regular NDEF ***
tryTech() ->
*** TECH ***
*** TAG ***
o Fix bug where cancelling a pending intent would disable further foreground dispatch.
o Fix bug where a foreground process dying would not cancel override
o Assume one NdefMessage per tag in implementation methods
Change-Id: Iaf7a0a83076e4f540a5e55c9e628490570116b01
|
|
|
|
|
|
| |
Useful for testing the connectionless part of the LLCP stack.
Change-Id: I76a7962526ec1e6ff463c938431229f89c545824
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
Regression from a patch applied long ago: the NfcA technology
used to have its higher-level type (Mifare / 4A) associated with it,
and the code that determined formatable used this. The patch
associated NfcA technology only with the 3A libnfc type, causing the
format check to return false for all of these types.
Change-Id: Idc02873de447b6d8121bff02af795a6a7f5058cf
|
|
|
|
|
|
|
| |
Set to 255 ms, increase number of retries to 64.
Add dump() interface to native library
Change-Id: Ib3a32f70453f7f8b79ff89394410f56b4b9dd7a2
|
|
|
|
|
|
|
|
|
| |
Patch to perform a download at NfcService boot time
This patch permit, when NFC is off, to perform a download if the PN544
is not up to date
Change-Id: Iaa01e218ccd1e4cb18ef77d58c18348823135b1e
|
|
|
|
|
| |
Maximum transceive length is enforced in calls to transceive.
Change-Id: I94a4f16283e5fd5df9143b02e52c16f868b1c3ab
|
|
|
|
|
|
|
|
| |
Should throw an IOException() whenever recv() failed. Also
changed recv error return value to be -1, to be more in line with
common sockets.
Change-Id: If65fe9e22c76f0a4558a9a6dedc0662bac038ee8
|
|
|
| |
Change-Id: I8d5fd546ecb07f005322eb5f173975dff7820439
|
|
|
|
|
|
| |
While I was there, rework of NativeNfcTag.findAndReadNdef()
Change-Id: I971403d880f281c8f64d2f9ed60756f6e692e9ae
|
|
|
|
|
| |
Bug: 4492175
Change-Id: I289e40d1527e7b570e8fd46f9968094b92a31902
|
|
|
|
| |
Change-Id: I3b7019e94346046d4e0834531651c372c754e0a3
|
|
|
|
| |
Change-Id: Ie4f9f57b7969979a4db2ddcb795aed9fc3cd592b
|
|
|
|
| |
Change-Id: I558cc850a3d799271c733807ca63a66487db2839
|
|
|
|
|
|
|
| |
This moves some of the stack functionality
behind interfaces that the NFC service uses.
Change-Id: Ia377b8d0b9f57a25ac72a5f650fd25c35df72de0
|
|
Change-Id: I0b743245d60bf9c47ce84ec0ab7fd8c5b6202ec9
|