blob: f514bce6f58b52643691e65b52d5676040d3c6c9 [file] [log] [blame]
/* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein
* is confidential and proprietary to MediaTek Inc. and/or its licensors.
* Without the prior written permission of MediaTek inc. and/or its licensors,
* any reproduction, modification, use or disclosure of MediaTek Software,
* and information contained herein, in whole or in part, shall be strictly prohibited.
*/
/* MediaTek Inc. (C) 2010. All rights reserved.
*
* BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO RECEIVER ON
* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND RECEIVER AGREES TO LOOK ONLY TO SUCH
* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. RECEIVER EXPRESSLY ACKNOWLEDGES
* THAT IT IS RECEIVER'S SOLE RESPONSIBILITY TO OBTAIN FROM ANY THIRD PARTY ALL PROPER LICENSES
* CONTAINED IN MEDIATEK SOFTWARE. MEDIATEK SHALL ALSO NOT BE RESPONSIBLE FOR ANY MEDIATEK
* SOFTWARE RELEASES MADE TO RECEIVER'S SPECIFICATION OR TO CONFORM TO A PARTICULAR
* STANDARD OR OPEN FORUM. RECEIVER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND
* CUMULATIVE LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY RECEIVER TO
* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
*
* The following software/firmware and/or related documentation ("MediaTek Software")
* have been modified by MediaTek Inc. All revisions are subject to any receiver's
* applicable license agreements with MediaTek Inc.
*/
{ RIL_REQUEST_SET_TRM, dispatchInts, responseVoid},
{ RIL_REQUEST_SET_IMS_ENABLE,dispatchInts,responseVoid},
//eCall
#ifdef ECALL_SUPPORT
{ RIL_REQUEST_ECALL_FAST_MAKE_ECALL,dispatchFastEcall,responseVoid},
{ RIL_REQUEST_ECALL_SET_IVS,dispatchInts,responseVoid},
{ RIL_REQUEST_ECALL_SET_MSD,dispatchSetMsd,responseVoid},
{ RIL_REQUEST_ECALL_SET_PSAP,dispatchInts,responseVoid},
{ RIL_REQUEST_ECALL_IVS_PUSH_MSD,dispatchVoid,responseVoid},
{ RIL_REQUEST_ECALL_PSAP_PULL_MSD,dispatchVoid,responseVoid},
{ RIL_REQUEST_ECALL_SET_TEST_NUM,dispatchEcallRecord,responseVoid},
{ RIL_REQUEST_ECALL_SET_RECONF_NUM,dispatchEcallRecord,responseVoid},
{ RIL_REQUEST_ECALL_MAKE_ECALL,dispatchInts,responseVoid},
{ RIL_REQUEST_ECALL_RESET_IVS,dispatchVoid,responseVoid},
{ RIL_REQUEST_ECALL_CTRL_SEQUENCE,dispatchStrings,responseVoid},
{ RIL_REQUEST_ECALL_SET_PRI,dispatchInts,responseVoid},
{ RIL_REQUEST_ECALL_SET_NAD_DEREGISTRATION_TIME,dispatchInts,responseVoid},
{ RIL_REQUEST_ECALL_SET_REGISTRATION_STATE,dispatchInts,responseVoid},
#endif /*ECALL_SUPPORT*/
//cc
{ RIL_REQUEST_HANGUP_ALL, dispatchVoid, responseVoid},
{ RIL_REQUEST_FORCE_RELEASE_CALL, dispatchInts, responseVoid},
{ RIL_REQUEST_EMERGENCY_DIAL,dispatchDial,responseVoid},
{ RIL_REQUEST_SET_ECC_SERVICE_CATEGORY,dispatchInts,responseVoid},
{ RIL_REQUEST_SET_ECC_LIST,dispatchStrings,responseVoid},
//AT Cmd
{ RIL_REQUEST_AT_COMMAND_WITH_PROXY,dispatchString,responseString},
//SS Command
{ RIL_REQUEST_SET_CLIP, dispatchInts, responseVoid},
{ RIL_REQUEST_GET_COLP, dispatchVoid, responseInts},
{ RIL_REQUEST_SET_COLP, dispatchInts, responseVoid},
{ RIL_REQUEST_GET_COLR, dispatchVoid, responseInts},
{ RIL_REQUEST_SEND_USSI, dispatchStrings, responseVoid},
{ RIL_REQUEST_CANCEL_USSI, dispatchVoid, responseVoid},
//IMS conference call //need confirm
{ RIL_REQUEST_ADD_IMS_CONFERENCE_CALL_MEMBER,dispatchStrings,responseVoid},
{ RIL_REQUEST_REMOVE_IMS_CONFERENCE_CALL_MEMBER,dispatchStrings,responseVoid},
{ RIL_REQUEST_CONFERENCE_DIAL,dispatchStrings,responseVoid},
{ RIL_REQUEST_DIAL_WITH_SIP_URI,dispatchString,responseVoid},
{ RIL_REQUEST_HOLD_CALL,dispatchInts,responseVoid},
{ RIL_REQUEST_RESUME_CALL,dispatchInts,responseVoid},
//MODEM
{ RIL_REQUEST_MODEM_POWEROFF,dispatchVoid,responseVoid},
{ RIL_REQUEST_MODEM_POWERON,dispatchVoid,responseVoid},
//SIM
{ RIL_REQUEST_QUERY_ICCID, dispatchVoid, responseString},
//Keepalive
#ifdef KEEP_ALIVE
{ RIL_REQUEST_START_KEEPALIVE_PRO,dispatchStartKeepalivePro,responseInts},
{ RIL_REQUEST_STOP_KEEPALIVE_PRO,dispatchInts,responseVoid},
{RIL_REQUEST_SYNC_DATA_SETTINGS_TO_MD, dispatchInts, responseVoid },
#endif /*KEEP_ALIVE*/
{RIL_REQUEST_GET_SMS_SIM_MEM_STATUS, dispatchVoid, responseSmsSimMemStatus},
{RIL_REQUEST_SET_ECC_NUM, dispatchStrings, responseVoid },
{RIL_REQUEST_GET_ECC_NUM, dispatchVoid, responseVoid },
{RIL_REQUEST_SET_IMSCFG, dispatchInts, responseVoid},
{RIL_REQUEST_REPORT_AIRPLANE_MODE, dispatchInts, responseVoid},
{RIL_REQUEST_QUERY_AVAILABLE_NETWORKS_WITH_ACT, dispatchVoid, responseStrings },
{RIL_REQUEST_GSM_GET_BROADCAST_LANGUAGE, dispatchVoid, responseString },
{RIL_REQUEST_GSM_SET_BROADCAST_LANGUAGE, dispatchString, responseVoid },
//SIM
#ifdef TARGET_PLATFORM_MT2731
{RIL_REQUEST_QUERY_SIM_RETRY_COUNT, dispatchVoid, responseInts },
#endif
{RIL_REQUEST_QUERY_EID, dispatchVoid, responseString },