History log of /system/nfc/src/gki/common/gki.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
24d616fd34909aa37aeb23fb89ad8dc2a3348d1e 23-Feb-2018 Vishwath Mohan <vishwath@google.com> Fix type mismatch with timer callback signature.

This CL changes the function signature for TIMER_CBACK from void* to
TIMER_LIST_ENT* instead. This matches the signature of the functions
that eventually get called, and fixes the abort that CFI would
otherwise throw.

Bug: 72914286
Test: m -j50
Change-Id: If0512d87ea2746aed8e8934445514f281246ba2c
/system/nfc/src/gki/common/gki.h
2eba59f3f0639fbf6a2be8cc54167e9ffd5d8536 24-Oct-2017 Ruchi Kandoi <kandoiruchi@google.com> Remove unused global declaration

Test: Tag reading, HCE
Change-Id: I89962090c03a2c373f9bdadf4785320d1f30908a
/system/nfc/src/gki/common/gki.h
561d1d71ebebb36743b793e99dbdaf7d52993f42 13-Oct-2017 Ruchi Kandoi <kandoiruchi@google.com> Remove unused macros

Test: boots, NFC enable/disable
Change-Id: I18fe458d016856fd1d883b6fd927d81edb7efa14
/system/nfc/src/gki/common/gki.h
b46fe8b803cace8d6809b5b139581eac79013045 02-Nov-2017 Vishwath Mohan <vishwath@google.com> Fix TASKPTR's definition to match actual function signatures.

TASKPTR is currently defined as returning void. However the only 2
functions that are ever cast to this type return uint32_t, so this is
technically incorrect. This CL changes TASKPTR to match.

For P, we plan to enable control-flow integrity (CFI) across multiple
platform components, including NFC. This mismatch will break CFI and
cause runtime errors when enabled - so this is also a preemptive
measure to get NFC compatible in preparation.

Bug: 30227045
Test: Builds and runs without CFI errors when enabled.
Change-Id: I3111b5810937c923fdf8cbbd802520fad9baf272
/system/nfc/src/gki/common/gki.h
7dab0e579144a72612d29a4b1548e4d60a7d0ebd 03-Aug-2017 Ruchi Kandoi <kandoiruchi@google.com> Convert files from C to C++

Removes compile time errors and warning as well.

Test: boots and NFC tag reading
Change-Id: I7e6540d607865b405cd18b8c23b2b390af59269f
/system/nfc/src/gki/common/gki.h
ca10e176b0584091ba5a0a4adbadc51c6491eabe 05-Jul-2017 Andre Eisenbach <eisenbach@google.com> Remove GKI_DEBUG #define

Test: manual
Change-Id: I4aa8d1fda663c4a0b36fb8f2799703eb49cea2f8
/system/nfc/src/gki/common/gki.h
ad6b7a0f3932104bbad1a07b63643587b348058f 05-Jul-2017 Andre Eisenbach <eisenbach@google.com> Remove GKI_BUFFER_DEBUG #define

Test: manual
Change-Id: I1004240ce2b9aa2c2d780578491c6ab09c5d9f77
/system/nfc/src/gki/common/gki.h
114909c2fc9bbb89e671a24fbecbabefb72b2f6a 25-Apr-2017 Ruchi Kandoi <kandoiruchi@google.com> Exit gracefully if there was an error in GKI_wait()

Bug: 37566767
Test: manual
Change-Id: Id7922d9e257b9bd0ce0d970fdc9f7d6a0c4561d5
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/nfc/src/gki/common/gki.h
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/gki/common/gki.h
46e6e28414b5e37ffad65353916520fc56ea3a86 30-Jan-2017 Ruchi Kandoi <kandoiruchi@google.com> Fix comments with #defines which exceed 80 characters

Before:
- #define <directive> <value> /* <comment> */
After:
/* <comment> */
- #define <directive> <calue>

Test: compiles
Change-Id: Id4ea0e820563eb98bc731aee9bfb6599ae7d7af8
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/nfc/src/gki/common/gki.h
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/gki/common/gki.h
4182dab9b5de4222ffd4a539fa084cb2b56bc6a1 10-Jan-2017 Ruchi Kandoi <kandoiruchi@google.com> Remove exported api symbols and other windows related defines

Test: compiles
Change-Id: Ied99d7c80aa600091c105c3af478eee7af79f352
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/nfc/src/gki/common/gki.h
3e626d8192138e6795cdf408c0ee92a1a3272215 10-Jan-2017 Ruchi Kandoi <kandoiruchi@google.com> Delete Bluetooth-related header files

Deletes the following files:
- bt_target.h
- uamp_api.h
- ucodec.h
- uusb.h
- unv.h
- usb.h
- utimer.h
- upic.h
- ndef_cho_utils.c

Reduces the following files:
- bt_types.h
- trace_api.h
- buildcfg.h
- ndef_utils.h
- trace_api.h

Test: compiles
Change-Id: If829a17e23e54d473d34f13ab7e49b70707f6b95
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/nfc/src/gki/common/gki.h
303fec1d79b7ac30a09713e5db9fff299f7227fb 14-Dec-2016 Ruchi Kandoi <kandoiruchi@google.com> nfc: Remove defined(MACRO) and define undefined macros

Test: compiles
Change-Id: I5ea9a8f38cfc41e8a71eeb1c11f96755474b4121
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/nfc/src/gki/common/gki.h
c2c337f02f62a0c2763bc36a8cbb3126dd443595 13-Dec-2016 Ruchi Kandoi <kandoiruchi@google.com> Removes TIMER_PARAM_TYPE and replaces it with uintptr_t

Since these variables essentially store pointers, the type should be
uintptr_t to ensure compatibility with both 32-bit and 64-bit platforms.

Test: Compiles
Change-Id: Ibbb6c998660e308ca61cd86474a0fab771ebb039
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
/system/nfc/src/gki/common/gki.h
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/gki/common/gki.h
e9df6ba5a8fcccf306a80b1670b423be8fe7746a 13-Dec-2012 The Android Open Source Project <initial-contribution@android.com> Snapshot 7ddd630e136a035ba463c427285c5c3e9f199ee0

Change-Id: If08c7b905da667dd9e5110231e4592842b634006
/system/nfc/src/gki/common/gki.h