History log of /system/nfc/src/adaptation/libmain.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6fca02d5010de7bd31d83b853c32138021da5f29 30-Jan-2017 Ruchi Kandoi <kandoiruchi@google.com> Apply clang-format

find * | grep "\.[ch]" | xargs clang-format --style=file -i

Test: compiles
Change-Id: Id9b790d9685f7ba5ba1bcec1149619b63c2e679a
signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/nfc/src/adaptation/libmain.c
552f2b745deddd35d9b75da9c9c09bd2f3f573a8 29-Jan-2017 Ruchi Kandoi <kandoiruchi@google.com> Fix comments which aren't accurately fixed by clang-format

Test: compiles
Change-Id: Ia3e7a4007b096d57ae082f8474649b17144a2a86
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/nfc/src/adaptation/libmain.c
d03c06e4c5dc9b5561d084d173d34e731304e604 27-Jan-2017 Ruchi Kandoi <kandoiruchi@google.com> Rename OverrideLog.h to _OverrideLog.h

This is a temporary hack. OverrideLog.h has a requirement that it needs
to be included first so that it can define it's own version of ALOGD.
Remaining it to _OverrideLog.h will ensure that it is the first file
which is included.

Test: compiles
Change-Id: Ib566a47950e88c90bec4169a7feffcc65b7bb545
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/nfc/src/adaptation/libmain.c
4a179646f6d5567830a0383050aee7610a0222a6 04-Jan-2017 Ruchi Kandoi <kandoiruchi@google.com> Replace TRUE/FALSE directives with standard true/false

@@
expression E;
@@

(
-E = TRUE
+E = true
|
-E == TRUE
+E == true
|
-E != TRUE
+E != true
|
-E ? TRUE : FALSE
+E ? true : false
)

@@
@@

(
-return TRUE;
+return true;
)

@@
identifier fn;
@@

fn (...,
-TRUE,
+true,
...)

type T1;
identifier i1;
@@

T1 i1 = {
- TRUE,
+ true,
...};

Test: Compiles
Change-Id: I633924fe6bc6a4c3f50634c5e1c6d75fb1d3258f
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/nfc/src/adaptation/libmain.c
512ee63c7cc8feb016863e507a5d33cd0f4242bf 03-Jan-2017 Ruchi Kandoi <kandoiruchi@google.com> Changes data types to standard types.

platform/system/bt/tools/scripts/change_types.sh was used to convert:
UINT8->uint8_t
UINT32->uint32_t
UINT16->uint16_t
INT8->int8_t
INT32->int32_t
INT16->int16_t

Test: Compiles
Change-Id: I7fce2cbff75a2087db46cda7527437a46a627c46
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/nfc/src/adaptation/libmain.c
82c3eede067007cf74632c9cec00aa9bf7801f2f 30-Jan-2015 Elliott Hughes <enh@google.com> Add missing includes.

Change-Id: I710c99bc17c7a94bf037ee0a105e08aa0d69de9f
/system/nfc/src/adaptation/libmain.c
9a804c6ab0a6f4cddfe5f9a50602a4f1bc39e89d 01-Mar-2014 Paul Chaisson <chaisson@broadcom.com> Fix coverity issue.

Double file close issue resolved.

Change-Id: I2ad69ca8911f7d9cbdc344c3f1dfcb0033b8db87
/system/nfc/src/adaptation/libmain.c
46f4e4f7099609ff6b5e7efce7b91b4252bdbfb1 19-Nov-2013 Evan Chu <evanchu@broadcom.com> Delete non-volatile storage file for NFCEE ID 0xF5.

Delete non-volatile storage file for NFCEE ID 0xF5, which
corresponds to UICC slot 2 on chip 20795.

Change-Id: I1ad2016f93af4fda42c8b6e44672cc39529cb09e
/system/nfc/src/adaptation/libmain.c
a24be4f06674b2707b57904deaa0dff5a95823bd 13-Nov-2013 Evan Chu <evanchu@broadcom.com> Upgrade stack to NFA_PI_1.03.66+

Take code from NFCA_MI_430.10.00.07.
Additional changes include:
* Adjust copyright.
* Clean up stack and HAL diagnostic tracing.
* Fix ce_t4t_data_cback() in src/nfc/tags/ce_t4t.c in order to let HCE payment to work.
* Reduce compilation warnings.

Change-Id: I7b174229029d4a4955ff7750623e78c9a8c856f6
/system/nfc/src/adaptation/libmain.c
e9629bad30a9f478b336ab46b8e6e02f7f87af46 31-Jan-2014 Evan Chu <evanchu@broadcom.com> Adjust copyright year to 2014.

No code change.

Change-Id: Id868ad0356f9b5a43c887de7a3b596bb86be9026
/system/nfc/src/adaptation/libmain.c
0a85f658ebd49b72be39fe0fb61fcca4ee0fbc82 28-Feb-2014 Martijn Coenen <maco@android.com> libnfc-nci fixes for AArch64 build.

pthread_cond_timedwait_monotonic() is going away in LP64.
Use the POSIX standard for now, and use pthread_condattr_setclock()
when it becomes available to set clock spec to MONOTONIC.

Also fixed some other small build warnings/errors.

Change-Id: Ic192299b157529fa3f74dba521f038b8b99206bf
/system/nfc/src/adaptation/libmain.c
edbfba90df8e223fadd787a10cb131e1dcfa7347 10-Apr-2013 Evan Chu <evanchu@broadcom.com> Store checksum in non-volatile store to detect corruption.

Store 2-byte checksum in the first two bytes of the non-volatile store.
If corruption is detected, delete all content in non-volatile store.

Change-Id: I79ca57796da1950a430064e50752c4a9fae6d05e
/system/nfc/src/adaptation/libmain.c
5c65c3a0f42e174e47fecd4e569606003217ff4e 27-Mar-2013 Martijn Coenen <maco@google.com> Latest NFC stack-drop from Broadcom.

Patches provided by Evan Chu <evanchu@broadcom.com> and
Paul Chaisson <pchaisson@broadcom.com>.

Most important changes:
- Support for BCM20793B4 and BCM20793B5 revisions in the HAL.
- Remove connection handover and SNEP implementations, since
we already have them in java-land.
- Fix issue where the NFCC is not woken for HCI writes.
- Remove a lot of duplicated code in the HAL.
- Various small fixes.

Change-Id: I00f7457fe7ec23602071532a15bf2be9d7706b37
/system/nfc/src/adaptation/libmain.c
e9df6ba5a8fcccf306a80b1670b423be8fe7746a 13-Dec-2012 The Android Open Source Project <initial-contribution@android.com> Snapshot 7ddd630e136a035ba463c427285c5c3e9f199ee0

Change-Id: If08c7b905da667dd9e5110231e4592842b634006
/system/nfc/src/adaptation/libmain.c