rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | /* Copyright Statement: |
| 2 | * |
| 3 | * This software/firmware and related documentation ("MediaTek Software") are |
| 4 | * protected under relevant copyright laws. The information contained herein |
| 5 | * is confidential and proprietary to MediaTek Inc. and/or its licensors. |
| 6 | * Without the prior written permission of MediaTek inc. and/or its licensors, |
| 7 | * any reproduction, modification, use or disclosure of MediaTek Software, |
| 8 | * and information contained herein, in whole or in part, shall be strictly prohibited. |
| 9 | */ |
| 10 | /* MediaTek Inc. (C) 2010. All rights reserved. |
| 11 | * |
| 12 | * BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES |
| 13 | * THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE") |
| 14 | * RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO RECEIVER ON |
| 15 | * AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES, |
| 16 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF |
| 17 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. |
| 18 | * NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE |
| 19 | * SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR |
| 20 | * SUPPLIED WITH THE MEDIATEK SOFTWARE, AND RECEIVER AGREES TO LOOK ONLY TO SUCH |
| 21 | * THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. RECEIVER EXPRESSLY ACKNOWLEDGES |
| 22 | * THAT IT IS RECEIVER'S SOLE RESPONSIBILITY TO OBTAIN FROM ANY THIRD PARTY ALL PROPER LICENSES |
| 23 | * CONTAINED IN MEDIATEK SOFTWARE. MEDIATEK SHALL ALSO NOT BE RESPONSIBLE FOR ANY MEDIATEK |
| 24 | * SOFTWARE RELEASES MADE TO RECEIVER'S SPECIFICATION OR TO CONFORM TO A PARTICULAR |
| 25 | * STANDARD OR OPEN FORUM. RECEIVER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND |
| 26 | * CUMULATIVE LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE, |
| 27 | * AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE, |
| 28 | * OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY RECEIVER TO |
| 29 | * MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. |
| 30 | * |
| 31 | * The following software/firmware and/or related documentation ("MediaTek Software") |
| 32 | * have been modified by MediaTek Inc. All revisions are subject to any receiver's |
| 33 | * applicable license agreements with MediaTek Inc. |
| 34 | */ |
| 35 | |
| 36 | { RIL_REQUEST_SET_TRM, dispatchInts, responseVoid}, |
| 37 | { RIL_REQUEST_SET_IMS_ENABLE,dispatchInts,responseVoid}, |
| 38 | //eCall |
| 39 | #ifdef ECALL_SUPPORT |
| 40 | { RIL_REQUEST_ECALL_FAST_MAKE_ECALL,dispatchFastEcall,responseVoid}, |
| 41 | { RIL_REQUEST_ECALL_SET_IVS,dispatchInts,responseVoid}, |
| 42 | { RIL_REQUEST_ECALL_SET_MSD,dispatchSetMsd,responseVoid}, |
| 43 | { RIL_REQUEST_ECALL_SET_PSAP,dispatchInts,responseVoid}, |
| 44 | { RIL_REQUEST_ECALL_IVS_PUSH_MSD,dispatchVoid,responseVoid}, |
| 45 | { RIL_REQUEST_ECALL_PSAP_PULL_MSD,dispatchVoid,responseVoid}, |
| 46 | { RIL_REQUEST_ECALL_SET_TEST_NUM,dispatchEcallRecord,responseVoid}, |
| 47 | { RIL_REQUEST_ECALL_SET_RECONF_NUM,dispatchEcallRecord,responseVoid}, |
| 48 | { RIL_REQUEST_ECALL_MAKE_ECALL,dispatchInts,responseVoid}, |
| 49 | { RIL_REQUEST_ECALL_RESET_IVS,dispatchVoid,responseVoid}, |
| 50 | { RIL_REQUEST_ECALL_CTRL_SEQUENCE,dispatchStrings,responseVoid}, |
| 51 | { RIL_REQUEST_ECALL_SET_PRI,dispatchInts,responseVoid}, |
| 52 | { RIL_REQUEST_ECALL_SET_NAD_DEREGISTRATION_TIME,dispatchInts,responseVoid}, |
| 53 | { RIL_REQUEST_ECALL_SET_REGISTRATION_STATE,dispatchInts,responseVoid}, |
| 54 | #endif /*ECALL_SUPPORT*/ |
| 55 | //cc |
| 56 | { RIL_REQUEST_HANGUP_ALL, dispatchVoid, responseVoid}, |
| 57 | { RIL_REQUEST_FORCE_RELEASE_CALL, dispatchInts, responseVoid}, |
| 58 | { RIL_REQUEST_EMERGENCY_DIAL,dispatchDial,responseVoid}, |
| 59 | { RIL_REQUEST_SET_ECC_SERVICE_CATEGORY,dispatchInts,responseVoid}, |
| 60 | { RIL_REQUEST_SET_ECC_LIST,dispatchStrings,responseVoid}, |
| 61 | //AT Cmd |
| 62 | { RIL_REQUEST_AT_COMMAND_WITH_PROXY,dispatchString,responseString}, |
| 63 | //SS Command |
| 64 | { RIL_REQUEST_SET_CLIP, dispatchInts, responseVoid}, |
| 65 | { RIL_REQUEST_GET_COLP, dispatchVoid, responseInts}, |
| 66 | { RIL_REQUEST_SET_COLP, dispatchInts, responseVoid}, |
| 67 | { RIL_REQUEST_GET_COLR, dispatchVoid, responseInts}, |
| 68 | { RIL_REQUEST_SEND_USSI, dispatchStrings, responseVoid}, |
| 69 | { RIL_REQUEST_CANCEL_USSI, dispatchVoid, responseVoid}, |
| 70 | //IMS conference call //need confirm |
| 71 | { RIL_REQUEST_ADD_IMS_CONFERENCE_CALL_MEMBER,dispatchStrings,responseVoid}, |
| 72 | { RIL_REQUEST_REMOVE_IMS_CONFERENCE_CALL_MEMBER,dispatchStrings,responseVoid}, |
| 73 | { RIL_REQUEST_CONFERENCE_DIAL,dispatchStrings,responseVoid}, |
| 74 | { RIL_REQUEST_DIAL_WITH_SIP_URI,dispatchString,responseVoid}, |
| 75 | { RIL_REQUEST_HOLD_CALL,dispatchInts,responseVoid}, |
| 76 | { RIL_REQUEST_RESUME_CALL,dispatchInts,responseVoid}, |
| 77 | //MODEM |
| 78 | { RIL_REQUEST_MODEM_POWEROFF,dispatchVoid,responseVoid}, |
| 79 | { RIL_REQUEST_MODEM_POWERON,dispatchVoid,responseVoid}, |
| 80 | //SIM |
| 81 | { RIL_REQUEST_QUERY_ICCID, dispatchVoid, responseString}, |
| 82 | //Keepalive |
| 83 | #ifdef KEEP_ALIVE |
| 84 | { RIL_REQUEST_START_KEEPALIVE_PRO,dispatchStartKeepalivePro,responseInts}, |
| 85 | { RIL_REQUEST_STOP_KEEPALIVE_PRO,dispatchInts,responseVoid}, |
| 86 | {RIL_REQUEST_SYNC_DATA_SETTINGS_TO_MD, dispatchInts, responseVoid }, |
| 87 | #endif /*KEEP_ALIVE*/ |
| 88 | {RIL_REQUEST_GET_SMS_SIM_MEM_STATUS, dispatchVoid, responseSmsSimMemStatus}, |
| 89 | {RIL_REQUEST_SET_ECC_NUM, dispatchStrings, responseVoid }, |
| 90 | {RIL_REQUEST_GET_ECC_NUM, dispatchVoid, responseVoid }, |
| 91 | {RIL_REQUEST_SET_IMSCFG, dispatchInts, responseVoid}, |
| 92 | {RIL_REQUEST_REPORT_AIRPLANE_MODE, dispatchInts, responseVoid}, |
| 93 | {RIL_REQUEST_QUERY_AVAILABLE_NETWORKS_WITH_ACT, dispatchVoid, responseStrings }, |
| 94 | {RIL_REQUEST_GSM_GET_BROADCAST_LANGUAGE, dispatchVoid, responseString }, |
| 95 | {RIL_REQUEST_GSM_SET_BROADCAST_LANGUAGE, dispatchString, responseVoid }, |
| 96 | //SIM |
| 97 | #ifdef TARGET_PLATFORM_MT2731 |
| 98 | {RIL_REQUEST_QUERY_SIM_RETRY_COUNT, dispatchVoid, responseInts }, |
| 99 | #endif |
| 100 | {RIL_REQUEST_QUERY_EID, dispatchVoid, responseString }, |