/telephony/java/com/android/internal/telephony/sip/SipCommandInterface.java
Java | 403 lines | 260 code | 122 blank | 21 comment | 0 complexity | 507f4141db405b48e77a844755d001df MD5 | raw file
- /*
- * Copyright (C) 2010 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- package com.android.internal.telephony.sip;
- import android.content.Context;
- import android.os.Handler;
- import android.os.Message;
- import com.android.internal.telephony.BaseCommands;
- import com.android.internal.telephony.CommandsInterface;
- import com.android.internal.telephony.UUSInfo;
- import com.android.internal.telephony.gsm.SmsBroadcastConfigInfo;
- /**
- * SIP doesn't need CommandsInterface. The class does nothing but made to work
- * with PhoneBase's constructor.
- */
- class SipCommandInterface extends BaseCommands implements CommandsInterface {
- SipCommandInterface(Context context) {
- super(context);
- }
- @Override public void setOnNITZTime(Handler h, int what, Object obj) {
- }
- public void getIccCardStatus(Message result) {
- }
- public void supplyIccPin(int slot, String aid, String pin, Message result) {
- }
- public void supplyIccPuk(int slot, String aid, String puk, String newPin, Message result) {
- }
- public void supplyIccPin2(int slot, String aid, String pin, Message result) {
- }
- public void supplyIccPuk2(int slot, String aid, String puk, String newPin2, Message result) {
- }
- public void changeIccPin(int slot, String aid, String oldPin, String newPin, Message result) {
- }
- public void changeIccPin2(int slot, String aid, String oldPin2, String newPin2, Message result) {
- }
- public void changeBarringPassword(String facility, String oldPwd,
- String newPwd, Message result) {
- }
- public void supplyNetworkDepersonalization(String netpin, Message result) {
- }
- public void getCurrentCalls(Message result) {
- }
- @Deprecated public void getPDPContextList(Message result) {
- }
- public void getDataCallList(Message result) {
- }
- public void dial(String address, int clirMode, Message result) {
- }
- public void dial(String address, int clirMode, UUSInfo uusInfo,
- Message result) {
- }
- public void getIMSI(int slot, String aid, Message result) {
- }
- public void getIMEI(Message result) {
- }
- public void getIMEISV(Message result) {
- }
- public void hangupConnection (int gsmIndex, Message result) {
- }
- public void hangupWaitingOrBackground (Message result) {
- }
- public void hangupForegroundResumeBackground (Message result) {
- }
- public void switchWaitingOrHoldingAndActive (Message result) {
- }
- public void conference (Message result) {
- }
- public void setPreferredVoicePrivacy(boolean enable, Message result) {
- }
- public void getPreferredVoicePrivacy(Message result) {
- }
- public void separateConnection (int gsmIndex, Message result) {
- }
- public void acceptCall (Message result) {
- }
- public void rejectCall (Message result) {
- }
- public void explicitCallTransfer (Message result) {
- }
- public void getLastCallFailCause (Message result) {
- }
- /** @deprecated */
- public void getLastPdpFailCause (Message result) {
- }
- public void getLastDataCallFailCause (Message result) {
- }
- public void setMute (boolean enableMute, Message response) {
- }
- public void getMute (Message response) {
- }
- public void getSignalStrength (Message result) {
- }
- public void getRegistrationState (Message result) {
- }
- public void getDataRegistrationState (Message response) {
- }
- public void getGPRSRegistrationState (Message result) {
- }
- public void getOperator(Message result) {
- }
- public void sendDtmf(char c, Message result) {
- }
- public void startDtmf(char c, Message result) {
- }
- public void stopDtmf(Message result) {
- }
- public void sendBurstDtmf(String dtmfString, int on, int off,
- Message result) {
- }
- public void sendSMS (String smscPDU, String pdu, Message result) {
- }
- public void sendCdmaSms(byte[] pdu, Message result) {
- }
- public void sendImsGsmSms (String smscPDU, String pdu, Message response) {
- }
- public void sendImsCdmaSms(byte[] pdu, Message response) {
- }
- public void deleteSmsOnSim(int index, Message response) {
- }
- public void deleteSmsOnRuim(int index, Message response) {
- }
- public void writeSmsToSim(int status, String smsc, String pdu, Message response) {
- }
- public void writeSmsToRuim(int status, String pdu, Message response) {
- }
- public void setupDefaultPDP(String apn, String user, String password,
- Message result) {
- }
- public void deactivateDefaultPDP(int cid, Message result) {
- }
- public void setupDataCall(String radioTechnology, String profile,
- String apn, String user, String password, String authType,
- String ipVersion,
- Message result) {
- }
- public void deactivateDataCall(int cid, Message result) {
- }
- public void setRadioPower(boolean on, Message result) {
- }
- public void setSuppServiceNotifications(boolean enable, Message result) {
- }
- public void acknowledgeLastIncomingGsmSms(boolean success, int cause,
- Message result) {
- }
- public void acknowledgeLastIncomingCdmaSms(boolean success, int cause,
- Message result) {
- }
- public void iccIO(int slot, String aid, int command, int fileid, String path, int p1, int p2, int p3,
- String data, String pin2, Message response) {
- }
- public void getCLIR(Message result) {
- }
- public void setCLIR(int clirMode, Message result) {
- }
- public void queryCallWaiting(int serviceClass, Message response) {
- }
- public void setCallWaiting(boolean enable, int serviceClass,
- Message response) {
- }
- public void setNetworkSelectionModeAutomatic(Message response) {
- }
- public void setNetworkSelectionModeManual(
- String operatorNumeric, Message response) {
- }
- public void getNetworkSelectionMode(Message response) {
- }
- public void getAvailableNetworks(Message response) {
- }
- public void setCallForward(int action, int cfReason, int serviceClass,
- String number, int timeSeconds, Message response) {
- }
- public void queryCallForwardStatus(int cfReason, int serviceClass,
- String number, Message response) {
- }
- public void queryCLIP(Message response) {
- }
- public void getBasebandVersion (Message response) {
- }
- public void queryFacilityLock (int slot, String aid, String facility, String password, int serviceClass,
- Message response) {
- }
- public void setFacilityLock (int slot, String aid, String facility, boolean lockState, String password,
- int serviceClass, Message response) {
- }
- public void sendUSSD (String ussdString, Message response) {
- }
- public void cancelPendingUssd (Message response) {
- }
- public void resetRadio(Message result) {
- }
- public void invokeOemRilRequestRaw(byte[] data, Message response) {
- }
- public void invokeOemRilRequestStrings(String[] strings, Message response) {
- }
- public void setBandMode (int bandMode, Message response) {
- }
- public void queryAvailableBandMode (Message response) {
- }
- public void sendTerminalResponse(String contents, Message response) {
- }
- public void sendEnvelope(String contents, Message response) {
- }
- public void handleCallSetupRequestFromSim(
- boolean accept, Message response) {
- }
- public void setPreferredNetworkType(int networkType , Message response) {
- }
- public void getPreferredNetworkType(Message response) {
- }
- public void getNeighboringCids(Message response) {
- }
- public void setLocationUpdates(boolean enable, Message response) {
- }
- public void getSmscAddress(Message result) {
- }
- public void setSmscAddress(String address, Message result) {
- }
- public void reportSmsMemoryStatus(boolean available, Message result) {
- }
- public void reportStkServiceIsRunning(Message result) {
- }
- public void getGsmBroadcastConfig(Message response) {
- }
- public void setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) {
- }
- public void setGsmBroadcastActivation(boolean activate, Message response) {
- }
- public void getVoiceRadioTechnology(Message result) {
- }
- // ***** Methods for CDMA support
- public void getCdmaSubscriptionSource(Message result) {
- }
- public void getDeviceIdentity(Message response) {
- }
- public void getCDMASubscription(Message response) {
- }
- public void setPhoneType(int phoneType) { //Set by CDMAPhone and GSMPhone constructor
- }
- public void queryCdmaRoamingPreference(Message response) {
- }
- public void setCdmaRoamingPreference(int cdmaRoamingType, Message response) {
- }
- public void setCdmaSubscription(int cdmaSubscription , Message response) {
- }
- public void getImsRegistrationState (Message result) {
- }
- public void getCdmaPrlVersion(Message result) {
- }
- public void queryTTYMode(Message response) {
- }
- public void setTTYMode(int ttyMode, Message response) {
- }
- public void sendCDMAFeatureCode(String FeatureCode, Message response) {
- }
- public void getCdmaBroadcastConfig(Message response) {
- }
- public void setCdmaBroadcastConfig(int[] configValuesArray, Message response) {
- }
- public void setCdmaBroadcastActivation(boolean activate, Message response) {
- }
- public void exitEmergencyCallbackMode(Message response) {
- }
- public void invokeDepersonalization(String pin, int type, Message response) {
- }
- public void getDataCallProfile(int appType, Message result) {
- }
- public void setRilPowerOff(Message result) {
- }
- }