summaryrefslogtreecommitdiffstats
path: root/stack/include
diff options
context:
space:
mode:
authorSharvil Nanavati <sharvil@google.com>2014-12-28 02:25:02 -0800
committerAndre Eisenbach <eisenbach@google.com>2015-03-16 16:51:42 -0700
commite13fbfafe2105d264357ac41133f0ac0e054429c (patch)
tree8e6bc80e221977910ee0a7e2aa8727d99298d9ec /stack/include
parent23e561a1f374557d6030b497337a1c96e9bb6aa4 (diff)
downloadandroid_system_bt-e13fbfafe2105d264357ac41133f0ac0e054429c.tar.gz
android_system_bt-e13fbfafe2105d264357ac41133f0ac0e054429c.tar.bz2
android_system_bt-e13fbfafe2105d264357ac41133f0ac0e054429c.zip
Remove more GKI code.
This change removes all remaining GKI task remnants as well as a few timer and buffer bits.
Diffstat (limited to 'stack/include')
-rw-r--r--stack/include/bt_types.h5
-rw-r--r--stack/include/btu.h9
-rw-r--r--stack/include/dyn_mem.h9
3 files changed, 0 insertions, 23 deletions
diff --git a/stack/include/bt_types.h b/stack/include/bt_types.h
index 35f3d25bb..441cd1754 100644
--- a/stack/include/bt_types.h
+++ b/stack/include/bt_types.h
@@ -197,11 +197,6 @@ typedef bool BOOLEAN;
#define BT_EVT_BTIF 0xA000
#define BT_EVT_CONTEXT_SWITCH_EVT (0x0001 | BT_EVT_BTIF)
-#define BT_EVT_TRIGGER_STACK_INIT EVENT_MASK(APPL_EVT_0)
-#define BT_EVT_HARDWARE_INIT_FAIL EVENT_MASK(APPL_EVT_1)
-
-#define BT_EVT_PRELOAD_CMPL EVENT_MASK(APPL_EVT_6)
-
/* Define the header of each buffer used in the Bluetooth stack.
*/
typedef struct
diff --git a/stack/include/btu.h b/stack/include/btu.h
index 336f9f990..ca563016a 100644
--- a/stack/include/btu.h
+++ b/stack/include/btu.h
@@ -161,14 +161,6 @@ typedef void (*tBTU_EVENT_CALLBACK)(BT_HDR *p_hdr);
#define BTU_TTYPE_UCD_TO 108
-
-
-/* Define the BTU_TASK APPL events
-*/
-#if (defined(NFC_SHARED_TRANSPORT_ENABLED) && (NFC_SHARED_TRANSPORT_ENABLED==TRUE))
-#define BTU_NFC_AVAILABLE_EVT EVENT_MASK(APPL_EVT_0) /* Notifies BTU task that NFC is available (used for shared NFC+BT transport) */
-#endif
-
/* This is the inquiry response information held by BTU, and available
** to applications.
*/
@@ -254,7 +246,6 @@ extern void btu_uipc_rx_cback(BT_HDR *p_msg);
extern void btu_start_quick_timer (TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout);
extern void btu_stop_quick_timer (TIMER_LIST_ENT *p_tle);
extern void btu_process_quick_timer_evt (void);
-extern void process_quick_timer_evt (TIMER_LIST_Q *p_tlq);
#endif
#if (defined(HCILP_INCLUDED) && HCILP_INCLUDED == TRUE)
diff --git a/stack/include/dyn_mem.h b/stack/include/dyn_mem.h
index b0ca9f963..2693ae636 100644
--- a/stack/include/dyn_mem.h
+++ b/stack/include/dyn_mem.h
@@ -19,15 +19,6 @@
#define DYN_MEM_H
/****************************************************************************
-** Define memory usage for GKI (if not defined in bdroid_buildcfg.h)
-** The default for GKI is to use static memory allocation for its control
-** block.
-*/
-#ifndef GKI_DYNAMIC_MEMORY
-#define GKI_DYNAMIC_MEMORY FALSE
-#endif
-
-/****************************************************************************
** Define memory usage for each CORE component (if not defined in bdroid_buildcfg.h)
** The default for each component is to use static memory allocations.
*/