コード例 #1
0
ファイル: vmtel.c プロジェクト: WayWingsDev/testmywatch
static void vm_callout_initial(void)
{
	VMINT callcount = 0;

	callcount = srv_ucm_query_call_count(SRV_UCM_CALL_STATE_ALL, SRV_UCM_CALL_TYPE_ALL, NULL);	
	
	if (callcount > 0)
	{
		vm_callout_status = VM_CALLOUT_BUSY;
	}
	else
	{
		vm_callout_status = VM_CALLOUT_IDEL;
	}
	
	mmi_frm_cb_reg_event(EVT_ID_SRV_UCM_STATUS_CHANGE, vm_callout_ucm_callback, NULL);

	vm_res_type_set_notify_callback(VM_RES_TYPE_CALLOUT, vm_callout_process_state_pro);	
	vm_res_type_set_notify_callback(VM_RES_TYPE_IVR, vm_callout_process_state_pro);	
}
コード例 #2
0
/*****************************************************************************
 * FUNCTION
 *  InitEngineerMode
 * DESCRIPTION
 *  
 * PARAMETERS
 *  void
 * RETURNS
 *  void
 *****************************************************************************/
void InitEngineerMode(void)
{
    /*----------------------------------------------------------------*/
    /* Local Variables                                                */
    /*----------------------------------------------------------------*/

    /*----------------------------------------------------------------*/
    /* Code Body                                                      */
    /*----------------------------------------------------------------*/
    MMI_EM_DCM_LOAD();

    mmi_em_init_asm_mem();
    
#ifdef __MMI_EM_RF_GSM__
    /* RF Test Tool GSM Init Context */
    EMRFTestGSMInitContext();
#endif /* __MMI_EM_RF_GSM__ */   


#if defined(__MMI_EM_RF_WIFI__)
    /* RF Test Tool Wifi Init Context */
    EMRFTestWiFiInitContext();
#endif   /* #if defined(__MMI_EM_RF_WIFI__) */

#ifdef __MMI_EM_GPRS_CNMGR_SCRI_SUPPORT__
    mmi_em_cnmgr_init();
#endif

    /********************** Bluetooth *******************/

    /***********************CSB**************************/
#if defined(__MMI_CSB_BROWSER__)
    InitCSB();	
#endif

#ifdef __MMI_EM_MISC_SOFTWARE_TRACER__
/* under construction !*/
#endif

#if defined(__MMI_EM_CAM_AF_CONTSHOT__)
/* under construction !*/
#endif

    /********************** AGPSLOG *******************/
    mmi_em_agpslog_init();

    /*********************** Internet Application ************************/
#if !defined(__MMI_EM_INET_APP_SLIM__)
    mmi_em_inet_init();
#endif

    #if ( defined (__MMI_EM_PROFILING_FS_TEST__) && !defined(FMT_NOT_PRESENT) && !defined(__L1_STANDALONE__) && !defined(__MAUI_BASIC__) )
      /*FS Test*/
    mmi_em_fs_test_init();
    #endif

    mmi_frm_cb_reg_event(EVT_ID_IDLE_GROUP_ENTER, DeInitSpecialMode, NULL);
    
#ifdef __MMI_EM_AUDIO_AUTO_VM__
    mmi_em_aud_auto_vm_setting_init();
#endif
#if defined(__MMI_EM_AUDIO__) || defined(__MMI_EM_AUDIO_DEBUG_INFO__) || defined(__MMI_EM_AUDIO_AUTO_VM__)  
    /* Audio Debug Info Init */
    mmi_em_audio_debug_info_init();
#endif

    MMI_EM_DCM_SEND_UNLOAD();
}