SIP: remove unused file.
Change-Id: Ifb3582da888926e62775a73a6b3080d15f1c3e42
This commit is contained in:
@@ -42,7 +42,7 @@ public class SipPhoneFactory {
|
||||
SipProfile profile = new SipProfile.Builder(sipUri).build();
|
||||
return new SipPhone(context, phoneNotifier, profile);
|
||||
} catch (ParseException e) {
|
||||
Log.w("SipPhoneProxy", "setPhone", e);
|
||||
Log.w("SipPhoneFactory", "makePhone", e);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,749 +0,0 @@
|
||||
/*
|
||||
* 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 com.android.internal.telephony.*;
|
||||
import com.android.internal.telephony.gsm.NetworkInfo;
|
||||
import com.android.internal.telephony.test.SimulatedRadioControl;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Handler;
|
||||
import android.os.Message;
|
||||
import android.telephony.CellLocation;
|
||||
import android.telephony.ServiceState;
|
||||
import android.telephony.SignalStrength;
|
||||
import android.util.Log;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Temporary. Will be removed after integrating with CallManager.
|
||||
* (TODO)
|
||||
* @hide
|
||||
*/
|
||||
public class SipPhoneProxy implements Phone {
|
||||
private static final String LOG_TAG = "PHONE";
|
||||
|
||||
private static SipPhoneProxy sPhoneProxy = new SipPhoneProxy();
|
||||
|
||||
public static SipPhoneProxy getInstance() {
|
||||
return sPhoneProxy;
|
||||
}
|
||||
|
||||
private SipPhone mActivePhone;
|
||||
private CallProxy mRingingCall = new CallProxy();
|
||||
private CallProxy mForegroundCall = new CallProxy();
|
||||
private CallProxy mBackgroundCall = new CallProxy();
|
||||
|
||||
private SipPhoneProxy() {
|
||||
}
|
||||
|
||||
public void onNewCall(Object call) {
|
||||
if (mActivePhone.canTake(call)) {
|
||||
Log.v("SipPhoneProxy", "onNewCall(): call taken: " + call);
|
||||
} else {
|
||||
Log.v("SipPhoneProxy", "onNewCall(): call dropped: " + call);
|
||||
}
|
||||
}
|
||||
|
||||
public synchronized void setPhone(SipPhone phone) {
|
||||
if (phone == null) return;
|
||||
if (mActivePhone != null) phone.migrateFrom(mActivePhone);
|
||||
mActivePhone = phone;
|
||||
mForegroundCall.setTarget(phone.getForegroundCall());
|
||||
mBackgroundCall.setTarget(phone.getBackgroundCall());
|
||||
mRingingCall.setTarget(phone.getRingingCall());
|
||||
}
|
||||
|
||||
public synchronized Call getForegroundCall() {
|
||||
return mForegroundCall;
|
||||
}
|
||||
|
||||
public synchronized Call getBackgroundCall() {
|
||||
return mBackgroundCall;
|
||||
}
|
||||
|
||||
public synchronized Call getRingingCall() {
|
||||
return mRingingCall;
|
||||
}
|
||||
|
||||
|
||||
public ServiceState getServiceState() {
|
||||
return mActivePhone.getServiceState();
|
||||
}
|
||||
|
||||
public CellLocation getCellLocation() {
|
||||
return mActivePhone.getCellLocation();
|
||||
}
|
||||
|
||||
public DataState getDataConnectionState() {
|
||||
return mActivePhone.getDataConnectionState();
|
||||
}
|
||||
|
||||
public DataActivityState getDataActivityState() {
|
||||
return mActivePhone.getDataActivityState();
|
||||
}
|
||||
|
||||
public Context getContext() {
|
||||
return mActivePhone.getContext();
|
||||
}
|
||||
|
||||
public void disableDnsCheck(boolean b) {
|
||||
mActivePhone.disableDnsCheck(b);
|
||||
}
|
||||
|
||||
public boolean isDnsCheckDisabled() {
|
||||
return mActivePhone.isDnsCheckDisabled();
|
||||
}
|
||||
|
||||
public State getState() {
|
||||
return mActivePhone.getState();
|
||||
}
|
||||
|
||||
public String getPhoneName() {
|
||||
return mActivePhone.getPhoneName();
|
||||
}
|
||||
|
||||
public int getPhoneType() {
|
||||
return mActivePhone.getPhoneType();
|
||||
}
|
||||
|
||||
public String[] getActiveApnTypes() {
|
||||
return mActivePhone.getActiveApnTypes();
|
||||
}
|
||||
|
||||
public String getActiveApn() {
|
||||
return mActivePhone.getActiveApn();
|
||||
}
|
||||
|
||||
public SignalStrength getSignalStrength() {
|
||||
return mActivePhone.getSignalStrength();
|
||||
}
|
||||
|
||||
public void registerForUnknownConnection(Handler h, int what, Object obj) {
|
||||
mActivePhone.registerForUnknownConnection(h, what, obj);
|
||||
}
|
||||
|
||||
public void unregisterForUnknownConnection(Handler h) {
|
||||
mActivePhone.unregisterForUnknownConnection(h);
|
||||
}
|
||||
|
||||
public void registerForPreciseCallStateChanged(Handler h, int what, Object obj) {
|
||||
mActivePhone.registerForPreciseCallStateChanged(h, what, obj);
|
||||
}
|
||||
|
||||
public void unregisterForPreciseCallStateChanged(Handler h) {
|
||||
mActivePhone.unregisterForPreciseCallStateChanged(h);
|
||||
}
|
||||
|
||||
public void registerForNewRingingConnection(Handler h, int what, Object obj) {
|
||||
mActivePhone.registerForNewRingingConnection(h, what, obj);
|
||||
}
|
||||
|
||||
public void unregisterForNewRingingConnection(Handler h) {
|
||||
mActivePhone.unregisterForNewRingingConnection(h);
|
||||
}
|
||||
|
||||
public void registerForIncomingRing(Handler h, int what, Object obj) {
|
||||
mActivePhone.registerForIncomingRing(h, what, obj);
|
||||
}
|
||||
|
||||
public void unregisterForIncomingRing(Handler h) {
|
||||
mActivePhone.unregisterForIncomingRing(h);
|
||||
}
|
||||
|
||||
public void registerForDisconnect(Handler h, int what, Object obj) {
|
||||
mActivePhone.registerForDisconnect(h, what, obj);
|
||||
}
|
||||
|
||||
public void unregisterForDisconnect(Handler h) {
|
||||
mActivePhone.unregisterForDisconnect(h);
|
||||
}
|
||||
|
||||
public void registerForMmiInitiate(Handler h, int what, Object obj) {
|
||||
mActivePhone.registerForMmiInitiate(h, what, obj);
|
||||
}
|
||||
|
||||
public void unregisterForMmiInitiate(Handler h) {
|
||||
mActivePhone.unregisterForMmiInitiate(h);
|
||||
}
|
||||
|
||||
public void registerForMmiComplete(Handler h, int what, Object obj) {
|
||||
mActivePhone.registerForMmiComplete(h, what, obj);
|
||||
}
|
||||
|
||||
public void unregisterForMmiComplete(Handler h) {
|
||||
mActivePhone.unregisterForMmiComplete(h);
|
||||
}
|
||||
|
||||
public List<? extends MmiCode> getPendingMmiCodes() {
|
||||
return mActivePhone.getPendingMmiCodes();
|
||||
}
|
||||
|
||||
public void sendUssdResponse(String ussdMessge) {
|
||||
mActivePhone.sendUssdResponse(ussdMessge);
|
||||
}
|
||||
|
||||
public void registerForServiceStateChanged(Handler h, int what, Object obj) {
|
||||
mActivePhone.registerForServiceStateChanged(h, what, obj);
|
||||
}
|
||||
|
||||
public void unregisterForServiceStateChanged(Handler h) {
|
||||
mActivePhone.unregisterForServiceStateChanged(h);
|
||||
}
|
||||
|
||||
public void registerForSuppServiceNotification(Handler h, int what, Object obj) {
|
||||
mActivePhone.registerForSuppServiceNotification(h, what, obj);
|
||||
}
|
||||
|
||||
public void unregisterForSuppServiceNotification(Handler h) {
|
||||
mActivePhone.unregisterForSuppServiceNotification(h);
|
||||
}
|
||||
|
||||
public void registerForSuppServiceFailed(Handler h, int what, Object obj) {
|
||||
mActivePhone.registerForSuppServiceFailed(h, what, obj);
|
||||
}
|
||||
|
||||
public void unregisterForSuppServiceFailed(Handler h) {
|
||||
mActivePhone.unregisterForSuppServiceFailed(h);
|
||||
}
|
||||
|
||||
public void registerForInCallVoicePrivacyOn(Handler h, int what, Object obj){
|
||||
mActivePhone.registerForInCallVoicePrivacyOn(h,what,obj);
|
||||
}
|
||||
|
||||
public void unregisterForInCallVoicePrivacyOn(Handler h){
|
||||
mActivePhone.unregisterForInCallVoicePrivacyOn(h);
|
||||
}
|
||||
|
||||
public void registerForInCallVoicePrivacyOff(Handler h, int what, Object obj){
|
||||
mActivePhone.registerForInCallVoicePrivacyOff(h,what,obj);
|
||||
}
|
||||
|
||||
public void unregisterForInCallVoicePrivacyOff(Handler h){
|
||||
mActivePhone.unregisterForInCallVoicePrivacyOff(h);
|
||||
}
|
||||
|
||||
public void registerForCdmaOtaStatusChange(Handler h, int what, Object obj) {
|
||||
mActivePhone.registerForCdmaOtaStatusChange(h,what,obj);
|
||||
}
|
||||
|
||||
public void unregisterForCdmaOtaStatusChange(Handler h) {
|
||||
mActivePhone.unregisterForCdmaOtaStatusChange(h);
|
||||
}
|
||||
|
||||
public void registerForSubscriptionInfoReady(Handler h, int what, Object obj) {
|
||||
mActivePhone.registerForSubscriptionInfoReady(h, what, obj);
|
||||
}
|
||||
|
||||
public void unregisterForSubscriptionInfoReady(Handler h) {
|
||||
mActivePhone.unregisterForSubscriptionInfoReady(h);
|
||||
}
|
||||
|
||||
public void registerForEcmTimerReset(Handler h, int what, Object obj) {
|
||||
mActivePhone.registerForEcmTimerReset(h,what,obj);
|
||||
}
|
||||
|
||||
public void unregisterForEcmTimerReset(Handler h) {
|
||||
mActivePhone.unregisterForEcmTimerReset(h);
|
||||
}
|
||||
|
||||
public void registerForRingbackTone(Handler h, int what, Object obj) {
|
||||
mActivePhone.registerForRingbackTone(h,what,obj);
|
||||
}
|
||||
|
||||
public void unregisterForRingbackTone(Handler h) {
|
||||
mActivePhone.unregisterForRingbackTone(h);
|
||||
}
|
||||
|
||||
public void registerForResendIncallMute(Handler h, int what, Object obj) {
|
||||
mActivePhone.registerForResendIncallMute(h,what,obj);
|
||||
}
|
||||
|
||||
public void unregisterForResendIncallMute(Handler h) {
|
||||
mActivePhone.unregisterForResendIncallMute(h);
|
||||
}
|
||||
|
||||
public boolean getIccRecordsLoaded() {
|
||||
return mActivePhone.getIccRecordsLoaded();
|
||||
}
|
||||
|
||||
public IccCard getIccCard() {
|
||||
return mActivePhone.getIccCard();
|
||||
}
|
||||
|
||||
public void acceptCall() throws CallStateException {
|
||||
mActivePhone.acceptCall();
|
||||
}
|
||||
|
||||
public void rejectCall() throws CallStateException {
|
||||
mActivePhone.rejectCall();
|
||||
}
|
||||
|
||||
public void switchHoldingAndActive() throws CallStateException {
|
||||
mActivePhone.switchHoldingAndActive();
|
||||
}
|
||||
|
||||
public boolean canConference() {
|
||||
return mActivePhone.canConference();
|
||||
}
|
||||
|
||||
public void conference() throws CallStateException {
|
||||
mActivePhone.conference();
|
||||
}
|
||||
|
||||
public void enableEnhancedVoicePrivacy(boolean enable, Message onComplete) {
|
||||
mActivePhone.enableEnhancedVoicePrivacy(enable, onComplete);
|
||||
}
|
||||
|
||||
public void getEnhancedVoicePrivacy(Message onComplete) {
|
||||
mActivePhone.getEnhancedVoicePrivacy(onComplete);
|
||||
}
|
||||
|
||||
public boolean canTransfer() {
|
||||
return mActivePhone.canTransfer();
|
||||
}
|
||||
|
||||
public void explicitCallTransfer() throws CallStateException {
|
||||
mActivePhone.explicitCallTransfer();
|
||||
}
|
||||
|
||||
public void clearDisconnected() {
|
||||
mActivePhone.clearDisconnected();
|
||||
}
|
||||
|
||||
public Connection dial(String dialString) throws CallStateException {
|
||||
return mActivePhone.dial(dialString);
|
||||
}
|
||||
|
||||
public Connection dial(String dialString, UUSInfo uusInfo) throws CallStateException {
|
||||
return mActivePhone.dial(dialString);
|
||||
}
|
||||
|
||||
public boolean handlePinMmi(String dialString) {
|
||||
return mActivePhone.handlePinMmi(dialString);
|
||||
}
|
||||
|
||||
public boolean handleInCallMmiCommands(String command) throws CallStateException {
|
||||
return mActivePhone.handleInCallMmiCommands(command);
|
||||
}
|
||||
|
||||
public void sendDtmf(char c) {
|
||||
mActivePhone.sendDtmf(c);
|
||||
}
|
||||
|
||||
public void startDtmf(char c) {
|
||||
mActivePhone.startDtmf(c);
|
||||
}
|
||||
|
||||
public void stopDtmf() {
|
||||
mActivePhone.stopDtmf();
|
||||
}
|
||||
|
||||
public void setRadioPower(boolean power) {
|
||||
mActivePhone.setRadioPower(power);
|
||||
}
|
||||
|
||||
public boolean getMessageWaitingIndicator() {
|
||||
return mActivePhone.getMessageWaitingIndicator();
|
||||
}
|
||||
|
||||
public boolean getCallForwardingIndicator() {
|
||||
return mActivePhone.getCallForwardingIndicator();
|
||||
}
|
||||
|
||||
public String getLine1Number() {
|
||||
return mActivePhone.getLine1Number();
|
||||
}
|
||||
|
||||
public String getCdmaMin() {
|
||||
return mActivePhone.getCdmaMin();
|
||||
}
|
||||
|
||||
public boolean isMinInfoReady() {
|
||||
return mActivePhone.isMinInfoReady();
|
||||
}
|
||||
|
||||
public String getCdmaPrlVersion() {
|
||||
return mActivePhone.getCdmaPrlVersion();
|
||||
}
|
||||
|
||||
public String getLine1AlphaTag() {
|
||||
return mActivePhone.getLine1AlphaTag();
|
||||
}
|
||||
|
||||
public void setLine1Number(String alphaTag, String number, Message onComplete) {
|
||||
mActivePhone.setLine1Number(alphaTag, number, onComplete);
|
||||
}
|
||||
|
||||
public String getVoiceMailNumber() {
|
||||
return mActivePhone.getVoiceMailNumber();
|
||||
}
|
||||
|
||||
/** @hide */
|
||||
public int getVoiceMessageCount(){
|
||||
return mActivePhone.getVoiceMessageCount();
|
||||
}
|
||||
|
||||
public String getVoiceMailAlphaTag() {
|
||||
return mActivePhone.getVoiceMailAlphaTag();
|
||||
}
|
||||
|
||||
public void setVoiceMailNumber(String alphaTag,String voiceMailNumber,
|
||||
Message onComplete) {
|
||||
mActivePhone.setVoiceMailNumber(alphaTag, voiceMailNumber, onComplete);
|
||||
}
|
||||
|
||||
public void getCallForwardingOption(int commandInterfaceCFReason,
|
||||
Message onComplete) {
|
||||
mActivePhone.getCallForwardingOption(commandInterfaceCFReason,
|
||||
onComplete);
|
||||
}
|
||||
|
||||
public void setCallForwardingOption(int commandInterfaceCFReason,
|
||||
int commandInterfaceCFAction, String dialingNumber,
|
||||
int timerSeconds, Message onComplete) {
|
||||
mActivePhone.setCallForwardingOption(commandInterfaceCFReason,
|
||||
commandInterfaceCFAction, dialingNumber, timerSeconds, onComplete);
|
||||
}
|
||||
|
||||
public void getOutgoingCallerIdDisplay(Message onComplete) {
|
||||
mActivePhone.getOutgoingCallerIdDisplay(onComplete);
|
||||
}
|
||||
|
||||
public void setOutgoingCallerIdDisplay(int commandInterfaceCLIRMode,
|
||||
Message onComplete) {
|
||||
mActivePhone.setOutgoingCallerIdDisplay(commandInterfaceCLIRMode,
|
||||
onComplete);
|
||||
}
|
||||
|
||||
public void getCallWaiting(Message onComplete) {
|
||||
mActivePhone.getCallWaiting(onComplete);
|
||||
}
|
||||
|
||||
public void setCallWaiting(boolean enable, Message onComplete) {
|
||||
mActivePhone.setCallWaiting(enable, onComplete);
|
||||
}
|
||||
|
||||
public void getAvailableNetworks(Message response) {
|
||||
mActivePhone.getAvailableNetworks(response);
|
||||
}
|
||||
|
||||
public void setNetworkSelectionModeAutomatic(Message response) {
|
||||
mActivePhone.setNetworkSelectionModeAutomatic(response);
|
||||
}
|
||||
|
||||
public void selectNetworkManually(NetworkInfo network, Message response) {
|
||||
mActivePhone.selectNetworkManually(network, response);
|
||||
}
|
||||
|
||||
public void setPreferredNetworkType(int networkType, Message response) {
|
||||
mActivePhone.setPreferredNetworkType(networkType, response);
|
||||
}
|
||||
|
||||
public void getPreferredNetworkType(Message response) {
|
||||
mActivePhone.getPreferredNetworkType(response);
|
||||
}
|
||||
|
||||
public void getNeighboringCids(Message response) {
|
||||
mActivePhone.getNeighboringCids(response);
|
||||
}
|
||||
|
||||
public void setOnPostDialCharacter(Handler h, int what, Object obj) {
|
||||
mActivePhone.setOnPostDialCharacter(h, what, obj);
|
||||
}
|
||||
|
||||
public void setMute(boolean muted) {
|
||||
mActivePhone.setMute(muted);
|
||||
}
|
||||
|
||||
public boolean getMute() {
|
||||
return mActivePhone.getMute();
|
||||
}
|
||||
|
||||
public void invokeOemRilRequestRaw(byte[] data, Message response) {
|
||||
mActivePhone.invokeOemRilRequestRaw(data, response);
|
||||
}
|
||||
|
||||
public void invokeOemRilRequestStrings(String[] strings, Message response) {
|
||||
mActivePhone.invokeOemRilRequestStrings(strings, response);
|
||||
}
|
||||
|
||||
public void getDataCallList(Message response) {
|
||||
mActivePhone.getDataCallList(response);
|
||||
}
|
||||
|
||||
public List<DataConnection> getCurrentDataConnectionList() {
|
||||
return mActivePhone.getCurrentDataConnectionList();
|
||||
}
|
||||
|
||||
public void updateServiceLocation() {
|
||||
mActivePhone.updateServiceLocation();
|
||||
}
|
||||
|
||||
public void enableLocationUpdates() {
|
||||
mActivePhone.enableLocationUpdates();
|
||||
}
|
||||
|
||||
public void disableLocationUpdates() {
|
||||
mActivePhone.disableLocationUpdates();
|
||||
}
|
||||
|
||||
public void setUnitTestMode(boolean f) {
|
||||
mActivePhone.setUnitTestMode(f);
|
||||
}
|
||||
|
||||
public boolean getUnitTestMode() {
|
||||
return mActivePhone.getUnitTestMode();
|
||||
}
|
||||
|
||||
public void setBandMode(int bandMode, Message response) {
|
||||
mActivePhone.setBandMode(bandMode, response);
|
||||
}
|
||||
|
||||
public void queryAvailableBandMode(Message response) {
|
||||
mActivePhone.queryAvailableBandMode(response);
|
||||
}
|
||||
|
||||
public boolean getDataRoamingEnabled() {
|
||||
return mActivePhone.getDataRoamingEnabled();
|
||||
}
|
||||
|
||||
public void setDataRoamingEnabled(boolean enable) {
|
||||
mActivePhone.setDataRoamingEnabled(enable);
|
||||
}
|
||||
|
||||
public void queryCdmaRoamingPreference(Message response) {
|
||||
mActivePhone.queryCdmaRoamingPreference(response);
|
||||
}
|
||||
|
||||
public void setCdmaRoamingPreference(int cdmaRoamingType, Message response) {
|
||||
mActivePhone.setCdmaRoamingPreference(cdmaRoamingType, response);
|
||||
}
|
||||
|
||||
public void setCdmaSubscription(int cdmaSubscriptionType, Message response) {
|
||||
mActivePhone.setCdmaSubscription(cdmaSubscriptionType, response);
|
||||
}
|
||||
|
||||
public SimulatedRadioControl getSimulatedRadioControl() {
|
||||
return mActivePhone.getSimulatedRadioControl();
|
||||
}
|
||||
|
||||
public boolean enableDataConnectivity() {
|
||||
return mActivePhone.enableDataConnectivity();
|
||||
}
|
||||
|
||||
public boolean disableDataConnectivity() {
|
||||
return mActivePhone.disableDataConnectivity();
|
||||
}
|
||||
|
||||
public int enableApnType(String type) {
|
||||
return mActivePhone.enableApnType(type);
|
||||
}
|
||||
|
||||
public int disableApnType(String type) {
|
||||
return mActivePhone.disableApnType(type);
|
||||
}
|
||||
|
||||
public boolean isDataConnectivityEnabled() {
|
||||
return mActivePhone.isDataConnectivityEnabled();
|
||||
}
|
||||
|
||||
public boolean isDataConnectivityPossible() {
|
||||
return mActivePhone.isDataConnectivityPossible();
|
||||
}
|
||||
|
||||
public String getInterfaceName(String apnType) {
|
||||
return mActivePhone.getInterfaceName(apnType);
|
||||
}
|
||||
|
||||
public String getIpAddress(String apnType) {
|
||||
return mActivePhone.getIpAddress(apnType);
|
||||
}
|
||||
|
||||
public String getGateway(String apnType) {
|
||||
return mActivePhone.getGateway(apnType);
|
||||
}
|
||||
|
||||
public String[] getDnsServers(String apnType) {
|
||||
return mActivePhone.getDnsServers(apnType);
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return mActivePhone.getDeviceId();
|
||||
}
|
||||
|
||||
public String getDeviceSvn() {
|
||||
return mActivePhone.getDeviceSvn();
|
||||
}
|
||||
|
||||
public String getSubscriberId() {
|
||||
return mActivePhone.getSubscriberId();
|
||||
}
|
||||
|
||||
public String getIccSerialNumber() {
|
||||
return mActivePhone.getIccSerialNumber();
|
||||
}
|
||||
|
||||
public String getEsn() {
|
||||
return mActivePhone.getEsn();
|
||||
}
|
||||
|
||||
public String getMeid() {
|
||||
return mActivePhone.getMeid();
|
||||
}
|
||||
|
||||
public PhoneSubInfo getPhoneSubInfo(){
|
||||
return mActivePhone.getPhoneSubInfo();
|
||||
}
|
||||
|
||||
public IccSmsInterfaceManager getIccSmsInterfaceManager(){
|
||||
return mActivePhone.getIccSmsInterfaceManager();
|
||||
}
|
||||
|
||||
public IccPhoneBookInterfaceManager getIccPhoneBookInterfaceManager(){
|
||||
return mActivePhone.getIccPhoneBookInterfaceManager();
|
||||
}
|
||||
|
||||
public void setTTYMode(int ttyMode, Message onComplete) {
|
||||
mActivePhone.setTTYMode(ttyMode, onComplete);
|
||||
}
|
||||
|
||||
public void queryTTYMode(Message onComplete) {
|
||||
mActivePhone.queryTTYMode(onComplete);
|
||||
}
|
||||
|
||||
public void activateCellBroadcastSms(int activate, Message response) {
|
||||
mActivePhone.activateCellBroadcastSms(activate, response);
|
||||
}
|
||||
|
||||
public void getCellBroadcastSmsConfig(Message response) {
|
||||
mActivePhone.getCellBroadcastSmsConfig(response);
|
||||
}
|
||||
|
||||
public void setCellBroadcastSmsConfig(int[] configValuesArray, Message response) {
|
||||
mActivePhone.setCellBroadcastSmsConfig(configValuesArray, response);
|
||||
}
|
||||
|
||||
public void notifyDataActivity() {
|
||||
mActivePhone.notifyDataActivity();
|
||||
}
|
||||
|
||||
public void getSmscAddress(Message result) {
|
||||
mActivePhone.getSmscAddress(result);
|
||||
}
|
||||
|
||||
public void setSmscAddress(String address, Message result) {
|
||||
mActivePhone.setSmscAddress(address, result);
|
||||
}
|
||||
|
||||
public int getCdmaEriIconIndex() {
|
||||
return mActivePhone.getCdmaEriIconIndex();
|
||||
}
|
||||
|
||||
public String getCdmaEriText() {
|
||||
return mActivePhone.getCdmaEriText();
|
||||
}
|
||||
|
||||
public int getCdmaEriIconMode() {
|
||||
return mActivePhone.getCdmaEriIconMode();
|
||||
}
|
||||
|
||||
public void sendBurstDtmf(String dtmfString, int on, int off, Message onComplete){
|
||||
mActivePhone.sendBurstDtmf(dtmfString, on, off, onComplete);
|
||||
}
|
||||
|
||||
public void exitEmergencyCallbackMode(){
|
||||
mActivePhone.exitEmergencyCallbackMode();
|
||||
}
|
||||
|
||||
public boolean isOtaSpNumber(String dialStr){
|
||||
return mActivePhone.isOtaSpNumber(dialStr);
|
||||
}
|
||||
|
||||
public void registerForCallWaiting(Handler h, int what, Object obj){
|
||||
mActivePhone.registerForCallWaiting(h,what,obj);
|
||||
}
|
||||
|
||||
public void unregisterForCallWaiting(Handler h){
|
||||
mActivePhone.unregisterForCallWaiting(h);
|
||||
}
|
||||
|
||||
public void registerForSignalInfo(Handler h, int what, Object obj) {
|
||||
mActivePhone.registerForSignalInfo(h,what,obj);
|
||||
}
|
||||
|
||||
public void unregisterForSignalInfo(Handler h) {
|
||||
mActivePhone.unregisterForSignalInfo(h);
|
||||
}
|
||||
|
||||
public void registerForDisplayInfo(Handler h, int what, Object obj) {
|
||||
mActivePhone.registerForDisplayInfo(h,what,obj);
|
||||
}
|
||||
|
||||
public void unregisterForDisplayInfo(Handler h) {
|
||||
mActivePhone.unregisterForDisplayInfo(h);
|
||||
}
|
||||
|
||||
public void registerForNumberInfo(Handler h, int what, Object obj) {
|
||||
mActivePhone.registerForNumberInfo(h, what, obj);
|
||||
}
|
||||
|
||||
public void unregisterForNumberInfo(Handler h) {
|
||||
mActivePhone.unregisterForNumberInfo(h);
|
||||
}
|
||||
|
||||
public void registerForRedirectedNumberInfo(Handler h, int what, Object obj) {
|
||||
mActivePhone.registerForRedirectedNumberInfo(h, what, obj);
|
||||
}
|
||||
|
||||
public void unregisterForRedirectedNumberInfo(Handler h) {
|
||||
mActivePhone.unregisterForRedirectedNumberInfo(h);
|
||||
}
|
||||
|
||||
public void registerForLineControlInfo(Handler h, int what, Object obj) {
|
||||
mActivePhone.registerForLineControlInfo( h, what, obj);
|
||||
}
|
||||
|
||||
public void unregisterForLineControlInfo(Handler h) {
|
||||
mActivePhone.unregisterForLineControlInfo(h);
|
||||
}
|
||||
|
||||
public void registerFoT53ClirlInfo(Handler h, int what, Object obj) {
|
||||
mActivePhone.registerFoT53ClirlInfo(h, what, obj);
|
||||
}
|
||||
|
||||
public void unregisterForT53ClirInfo(Handler h) {
|
||||
mActivePhone.unregisterForT53ClirInfo(h);
|
||||
}
|
||||
|
||||
public void registerForT53AudioControlInfo(Handler h, int what, Object obj) {
|
||||
mActivePhone.registerForT53AudioControlInfo( h, what, obj);
|
||||
}
|
||||
|
||||
public void unregisterForT53AudioControlInfo(Handler h) {
|
||||
mActivePhone.unregisterForT53AudioControlInfo(h);
|
||||
}
|
||||
|
||||
public void setOnEcbModeExitResponse(Handler h, int what, Object obj){
|
||||
mActivePhone.setOnEcbModeExitResponse(h,what,obj);
|
||||
}
|
||||
|
||||
public void unsetOnEcbModeExitResponse(Handler h){
|
||||
mActivePhone.unsetOnEcbModeExitResponse(h);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user