/******************************************************************************* ** ** Function: NfcAdaptation::NFCA_TASK() ** ** Description: NFCA_TASK runs the GKI main task ** ** Returns: none ** *******************************************************************************/ UINT32 NfcAdaptation::NFCA_TASK (UINT32 arg) { const char* func = "NfcAdaptation::NFCA_TASK"; ALOGD ("%s: enter", func); GKI_run (0); ALOGD ("%s: exit", func); return NULL; }
/****************************************************************************** ** ** Function bte_main_enable ** ** Description BTE MAIN API - Creates all the BTE tasks. Should be called ** part of the Bluetooth stack enable sequence ** ** Returns None ** ******************************************************************************/ void bte_main_enable() { APPL_TRACE_DEBUG1("%s", __FUNCTION__); /* Initialize BTE control block */ BTE_Init(); lpm_enabled = FALSE; GKI_create_task((TASKPTR)btu_task, BTU_TASK, BTE_BTU_TASK_STR, (UINT16 *) ((UINT8 *)bte_btu_stack + BTE_BTU_STACK_SIZE), sizeof(bte_btu_stack)); bte_hci_enable(); GKI_run(0); }