[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit
Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/app/ccapp/cc_timer.c b/ap/app/ccapp/cc_timer.c
new file mode 100644
index 0000000..15a821a
--- /dev/null
+++ b/ap/app/ccapp/cc_timer.c
@@ -0,0 +1,103 @@
+/**************************************************************************
+*
+* Copyright (c) 2013 ZTE Corporation.
+*
+***************************************************************************
+* Ä£ ¿é Ãû : ccapp
+* ÎÄ ¼þ Ãû : cc_timer.c
+* Ïà¹ØÎļþ :
+* ʵÏÖ¹¦ÄÜ : ccapp¶¨Ê±Æ÷³¬Ê±´¦Àí
+* ×÷ Õß :
+* °æ ±¾ : V1.0
+* Íê³ÉÈÕÆÚ : 2016-02-25
+* ÆäËü˵Ã÷ :
+**************************************************************************/
+
+/**************************************************************************
+* Ð޸ļǼ :
+***************************************************************************/
+/**************************************************************************
+* Ð޸ıàºÅ : 0001
+* ÐÞ ¸Ä ÈË :
+* ÐÞ¸ÄÈÕÆÚ :
+* ÐÞ¸ÄÄÚÈÝ :
+**************************************************************************/
+
+/**************************************************************************
+* #includeÇø
+**************************************************************************/
+#include "cc_main.h"
+#include "cc_proc.h"
+#include "cc_com.h"
+#include "cc_timer.h"
+#include "string.h"
+VOID *zCcApp_HookOffTimer(VOID *arg)
+{
+ MSG_BUF tMsgBuf = {0};
+
+ tMsgBuf.src_id = MODULE_ID_CALL_CTRL;
+ tMsgBuf.usMsgCmd = ZCC_HOOKOFFTIMER_E;
+ tMsgBuf.usDataLen = 0;
+ zCc_SendMsgToSub(&tMsgBuf); /* ·¢¸øÖ÷Ïß³Ì */
+ zte_log_append(__FILE__, __LINE__, "zte_ccapp.log","%s zCcApp_HookOffTimer \n",__FUNCTION__);
+ return NULL;
+}
+
+VOID *zCcApp_HookOff_Idle_Timer(VOID *arg)
+{
+ MSG_BUF tMsgBuf = {0};
+
+ tMsgBuf.src_id = MODULE_ID_CALL_CTRL;
+ tMsgBuf.usMsgCmd = ZCC_HOOKOFF_IDLE_TIMER_E;
+ tMsgBuf.usDataLen = 0;
+ zCc_SendMsgToSub(&tMsgBuf); /* ·¢¸øÖ÷Ïß³Ì */
+ zte_log_append(__FILE__, __LINE__, "zte_ccapp.log","%s zCcApp_HookOff_Idle_Timer \n",__FUNCTION__);
+ return NULL;
+}
+
+VOID *zCcApp_DtmfTimer(VOID *arg)
+{
+ MSG_BUF tMsgBuf = {0};
+
+ tMsgBuf.src_id = MODULE_ID_CALL_CTRL;
+ tMsgBuf.usMsgCmd = ZCC_DTMFTIMER_E;
+ tMsgBuf.usDataLen = 0;
+ zCc_SendMsgToSub(&tMsgBuf); /* ·¢¸øÖ÷Ïß³Ì */
+ zte_log_append(__FILE__, __LINE__, "zte_ccapp.log","%s zCcApp_DtmfTimer \n",__FUNCTION__);
+
+ return NULL;
+}
+VOID *zCcApp_BusyToneTimer(VOID *arg)
+{
+ MSG_BUF tMsgBuf = {0};
+
+ tMsgBuf.src_id = MODULE_ID_CALL_CTRL;
+ tMsgBuf.usMsgCmd = ZCC_BUSYTONETIMER_E;
+ tMsgBuf.usDataLen = 0;
+ zCc_SendMsgToSub(&tMsgBuf); /* ·¢¸øÖ÷Ïß³Ì */
+ zte_log_append(__FILE__, __LINE__, "zte_ccapp.log","%s zCcApp_BusyToneTimer \n",__FUNCTION__);
+ return NULL;
+}
+VOID *zCcApp_TkyToneTimer(VOID *arg)
+{
+ MSG_BUF tMsgBuf = {0};
+
+ tMsgBuf.src_id = MODULE_ID_CALL_CTRL;
+ tMsgBuf.usMsgCmd = ZCC_TKYTIMER_E;
+ tMsgBuf.usDataLen = 0;
+ zCc_SendMsgToSub(&tMsgBuf); /* ·¢¸øÖ÷Ïß³Ì */
+ zte_log_append(__FILE__, __LINE__, "zte_ccapp.log","%s zCcApp_TkyToneTimer \n",__FUNCTION__);
+ return NULL;
+}
+VOID *zCcApp_SsDialToneTimer(VOID *arg)
+{
+ MSG_BUF tMsgBuf = {0};
+
+ tMsgBuf.src_id = MODULE_ID_CALL_CTRL;
+ tMsgBuf.usMsgCmd = ZCC_SSDIALTONETIMER_E;
+ tMsgBuf.usDataLen = 0;
+ zCc_SendMsgToSub(&tMsgBuf); /* ·¢¸øÖ÷Ïß³Ì */
+ zte_log_append(__FILE__, __LINE__, "zte_ccapp.log","%s SsDialToneTimer \n",__FUNCTION__);
+ return NULL;
+}
+