Methods Summary |
---|
public void | acceptCall(int videoState)
mActivePhone.acceptCall(videoState);
|
public void | acquireOwnershipOfImsPhone(com.android.internal.telephony.imsphone.ImsPhone imsPhone)
|
public void | activateCellBroadcastSms(int activate, android.os.Message response)
mActivePhone.activateCellBroadcastSms(activate, response);
|
public boolean | canConference()
return mActivePhone.canConference();
|
public boolean | canTransfer()
return mActivePhone.canTransfer();
|
public void | clearDisconnected()
mActivePhone.clearDisconnected();
|
public void | conference()
mActivePhone.conference();
|
private void | deleteAndCreatePhone(int newVoiceRadioTech)
String outgoingPhoneName = "Unknown";
Phone oldPhone = mActivePhone;
ImsPhone imsPhone = null;
if (oldPhone != null) {
outgoingPhoneName = ((PhoneBase) oldPhone).getPhoneName();
oldPhone.unregisterForSimRecordsLoaded(this);
}
logd("Switching Voice Phone : " + outgoingPhoneName + " >>> "
+ (ServiceState.isGsm(newVoiceRadioTech) ? "GSM" : "CDMA"));
if (ServiceState.isCdma(newVoiceRadioTech)) {
mActivePhone = PhoneFactory.getCdmaPhone(mPhoneId);
} else if (ServiceState.isGsm(newVoiceRadioTech)) {
mActivePhone = PhoneFactory.getGsmPhone(mPhoneId);
} else {
loge("deleteAndCreatePhone: newVoiceRadioTech=" + newVoiceRadioTech +
" is not CDMA or GSM (error) - aborting!");
return;
}
if (oldPhone != null) {
imsPhone = oldPhone.relinquishOwnershipOfImsPhone();
}
if(mActivePhone != null) {
CallManager.getInstance().registerPhone(mActivePhone);
if (imsPhone != null) {
mActivePhone.acquireOwnershipOfImsPhone(imsPhone);
}
mActivePhone.registerForSimRecordsLoaded(this, EVENT_SIM_RECORDS_LOADED, null);
}
if (oldPhone != null) {
CallManager.getInstance().unregisterPhone(oldPhone);
logd("Disposing old phone..");
oldPhone.dispose();
// Potential GC issues: however, callers may have references to old
// phone on which they perform hierarchical funcs: phone.getA().getB()
// HENCE: do not delete references.
//oldPhone.removeReferences();
}
oldPhone = null;
|
public Connection | dial(java.lang.String dialString, int videoState)
return mActivePhone.dial(dialString, videoState);
|
public Connection | dial(java.lang.String dialString, UUSInfo uusInfo, int videoState)
return mActivePhone.dial(dialString, uusInfo, videoState);
|
public void | disableDnsCheck(boolean b)
mActivePhone.disableDnsCheck(b);
|
public void | disableLocationUpdates()
mActivePhone.disableLocationUpdates();
|
public void | dispose()
if (mActivePhone != null) {
mActivePhone.unregisterForSimRecordsLoaded(this);
}
mCommandsInterface.unregisterForOn(this);
mCommandsInterface.unregisterForVoiceRadioTechChanged(this);
mCommandsInterface.unregisterForRilConnected(this);
|
public void | dump(java.io.FileDescriptor fd, java.io.PrintWriter pw, java.lang.String[] args)
try {
((PhoneBase)mActivePhone).dump(fd, pw, args);
} catch (Exception e) {
e.printStackTrace();
}
pw.flush();
pw.println("++++++++++++++++++++++++++++++++");
try {
mPhoneSubInfoProxy.dump(fd, pw, args);
} catch (Exception e) {
e.printStackTrace();
}
pw.flush();
pw.println("++++++++++++++++++++++++++++++++");
try {
mIccCardProxy.dump(fd, pw, args);
} catch (Exception e) {
e.printStackTrace();
}
pw.flush();
pw.println("++++++++++++++++++++++++++++++++");
|
public void | enableEnhancedVoicePrivacy(boolean enable, android.os.Message onComplete)
mActivePhone.enableEnhancedVoicePrivacy(enable, onComplete);
|
public void | enableLocationUpdates()
mActivePhone.enableLocationUpdates();
|
public void | exitEmergencyCallbackMode()
mActivePhone.exitEmergencyCallbackMode();
|
public void | explicitCallTransfer()
mActivePhone.explicitCallTransfer();
|
public java.lang.String | getActiveApnHost(java.lang.String apnType)
return mActivePhone.getActiveApnHost(apnType);
|
public java.lang.String[] | getActiveApnTypes()
return mActivePhone.getActiveApnTypes();
|
public Phone | getActivePhone()
return mActivePhone;
|
public java.util.List | getAllCellInfo()
return mActivePhone.getAllCellInfo();
|
public void | getAvailableNetworks(android.os.Message response)
mActivePhone.getAvailableNetworks(response);
|
public Call | getBackgroundCall()
return mActivePhone.getBackgroundCall();
|
public boolean | getCallForwardingIndicator()
return mActivePhone.getCallForwardingIndicator();
|
public void | getCallForwardingOption(int commandInterfaceCFReason, android.os.Message onComplete)
mActivePhone.getCallForwardingOption(commandInterfaceCFReason,
onComplete);
|
public void | getCallWaiting(android.os.Message onComplete)
mActivePhone.getCallWaiting(onComplete);
|
public int | getCdmaEriIconIndex()
return mActivePhone.getCdmaEriIconIndex();
|
public int | getCdmaEriIconMode()
return mActivePhone.getCdmaEriIconMode();
|
public java.lang.String | getCdmaEriText()
return mActivePhone.getCdmaEriText();
|
public java.lang.String | getCdmaMin()
return mActivePhone.getCdmaMin();
|
public java.lang.String | getCdmaPrlVersion()
return mActivePhone.getCdmaPrlVersion();
|
public void | getCellBroadcastSmsConfig(android.os.Message response)
mActivePhone.getCellBroadcastSmsConfig(response);
|
public android.telephony.CellLocation | getCellLocation()
return mActivePhone.getCellLocation();
|
public android.content.Context | getContext()
return mActivePhone.getContext();
|
public DataActivityState | getDataActivityState()
return mActivePhone.getDataActivityState();
|
public void | getDataCallList(android.os.Message response)
mActivePhone.getDataCallList(response);
|
public PhoneConstants.DataState | getDataConnectionState()
return mActivePhone.getDataConnectionState(PhoneConstants.APN_TYPE_DEFAULT);
|
public PhoneConstants.DataState | getDataConnectionState(java.lang.String apnType)
return mActivePhone.getDataConnectionState(apnType);
|
public boolean | getDataEnabled()
return mActivePhone.getDataEnabled();
|
public boolean | getDataRoamingEnabled()
return mActivePhone.getDataRoamingEnabled();
|
public java.lang.String | getDeviceId()
return mActivePhone.getDeviceId();
|
public java.lang.String | getDeviceSvn()
return mActivePhone.getDeviceSvn();
|
public void | getEnhancedVoicePrivacy(android.os.Message onComplete)
mActivePhone.getEnhancedVoicePrivacy(onComplete);
|
public java.lang.String | getEsn()
return mActivePhone.getEsn();
|
public Call | getForegroundCall()
return mActivePhone.getForegroundCall();
|
public java.lang.String | getGroupIdLevel1()
return mActivePhone.getGroupIdLevel1();
|
public IccCard | getIccCard()
return mIccCardProxy;
|
public com.android.internal.telephony.uicc.IccFileHandler | getIccFileHandler()
return ((PhoneBase)mActivePhone).getIccFileHandler();
|
public IccPhoneBookInterfaceManager | getIccPhoneBookInterfaceManager()
return mActivePhone.getIccPhoneBookInterfaceManager();
|
public IccPhoneBookInterfaceManagerProxy | getIccPhoneBookInterfaceManagerProxy()
return mIccPhoneBookInterfaceManagerProxy;
|
public boolean | getIccRecordsLoaded()
return mIccCardProxy.getIccRecordsLoaded();
|
public java.lang.String | getIccSerialNumber()
return mActivePhone.getIccSerialNumber();
|
public IccSmsInterfaceManager | getIccSmsInterfaceManager()
return mIccSmsInterfaceManager;
|
public java.lang.String | getImei()
return mActivePhone.getImei();
|
public Phone | getImsPhone()
return mActivePhone.getImsPhone();
|
public com.android.internal.telephony.uicc.IsimRecords | getIsimRecords()
return mActivePhone.getIsimRecords();
|
public java.lang.String | getLine1AlphaTag()
return mActivePhone.getLine1AlphaTag();
|
public java.lang.String | getLine1Number()
return mActivePhone.getLine1Number();
|
public android.net.LinkProperties | getLinkProperties(java.lang.String apnType)
return mActivePhone.getLinkProperties(apnType);
|
public int | getLteOnCdmaMode(){@inheritDoc}
return mActivePhone.getLteOnCdmaMode();
|
public java.lang.String | getMeid()
return mActivePhone.getMeid();
|
public boolean | getMessageWaitingIndicator()
return mActivePhone.getMessageWaitingIndicator();
|
public java.lang.String | getMsisdn()
return mActivePhone.getMsisdn();
|
public boolean | getMute()
return mActivePhone.getMute();
|
public java.lang.String | getNai()
return mActivePhone.getNai();
|
public void | getNeighboringCids(android.os.Message response)
mActivePhone.getNeighboringCids(response);
|
public android.net.NetworkCapabilities | getNetworkCapabilities(java.lang.String apnType)
return mActivePhone.getNetworkCapabilities(apnType);
|
public void | getNetworkSelectionMode(android.os.Message response)
mActivePhone.getNetworkSelectionMode(response);
|
public void | getOutgoingCallerIdDisplay(android.os.Message onComplete)
mActivePhone.getOutgoingCallerIdDisplay(onComplete);
|
public java.lang.String[] | getPcscfAddress(java.lang.String apnType)
return mActivePhone.getPcscfAddress(apnType);
|
public java.util.List | getPendingMmiCodes()
return mActivePhone.getPendingMmiCodes();
|
public com.android.internal.telephony.uicc.IccCardProxy | getPhoneIccCardProxy()
return mIccCardProxy;
|
public int | getPhoneId()
return mActivePhone.getPhoneId();
|
public java.lang.String | getPhoneName()
return mActivePhone.getPhoneName();
|
public PhoneSubInfo | getPhoneSubInfo()
return mActivePhone.getPhoneSubInfo();
|
public PhoneSubInfoProxy | getPhoneSubInfoProxy()
return mPhoneSubInfoProxy;
|
public int | getPhoneType()
return mActivePhone.getPhoneType();
|
public void | getPreferredNetworkType(android.os.Message response)
mActivePhone.getPreferredNetworkType(response);
|
public int | getRadioAccessFamily()
return mActivePhone.getRadioAccessFamily();
|
public Call | getRingingCall()
return mActivePhone.getRingingCall();
|
public android.telephony.ServiceState | getServiceState()
return mActivePhone.getServiceState();
|
public android.telephony.SignalStrength | getSignalStrength()
return mActivePhone.getSignalStrength();
|
public com.android.internal.telephony.test.SimulatedRadioControl | getSimulatedRadioControl()
return mActivePhone.getSimulatedRadioControl();
|
public void | getSmscAddress(android.os.Message result)
mActivePhone.getSmscAddress(result);
|
public PhoneConstants.State | getState()
return mActivePhone.getState();
|
public int | getSubId()
return mActivePhone.getSubId();
|
public java.lang.String | getSubscriberId()
return mActivePhone.getSubscriberId();
|
public int | getSupportedRadioAccessFamily()
return mCommandsInterface.getSupportedRadioAccessFamily();
|
public com.android.internal.telephony.uicc.UiccCard | getUiccCard()
return mActivePhone.getUiccCard();
|
public boolean | getUnitTestMode()
return mActivePhone.getUnitTestMode();
|
public com.android.internal.telephony.uicc.UsimServiceTable | getUsimServiceTable()
return mActivePhone.getUsimServiceTable();
|
public java.lang.String | getVoiceMailAlphaTag()
return mActivePhone.getVoiceMailAlphaTag();
|
public java.lang.String | getVoiceMailNumber()
return mActivePhone.getVoiceMailNumber();
|
public int | getVoiceMessageCount()
return mActivePhone.getVoiceMessageCount();
|
public int | getVoicePhoneServiceState()
return mActivePhone.getVoicePhoneServiceState();
|
public boolean | handleInCallMmiCommands(java.lang.String command)
return mActivePhone.handleInCallMmiCommands(command);
|
public void | handleMessage(android.os.Message msg)
AsyncResult ar = (AsyncResult) msg.obj;
switch(msg.what) {
case EVENT_RADIO_ON:
/* Proactively query voice radio technologies */
mCommandsInterface.getVoiceRadioTechnology(
obtainMessage(EVENT_REQUEST_VOICE_RADIO_TECH_DONE));
break;
case EVENT_RIL_CONNECTED:
if (ar.exception == null && ar.result != null) {
mRilVersion = (Integer) ar.result;
} else {
logd("Unexpected exception on EVENT_RIL_CONNECTED");
mRilVersion = -1;
}
break;
case EVENT_VOICE_RADIO_TECH_CHANGED:
case EVENT_REQUEST_VOICE_RADIO_TECH_DONE:
String what = (msg.what == EVENT_VOICE_RADIO_TECH_CHANGED) ?
"EVENT_VOICE_RADIO_TECH_CHANGED" : "EVENT_REQUEST_VOICE_RADIO_TECH_DONE";
if (ar.exception == null) {
if ((ar.result != null) && (((int[]) ar.result).length != 0)) {
int newVoiceTech = ((int[]) ar.result)[0];
logd(what + ": newVoiceTech=" + newVoiceTech);
phoneObjectUpdater(newVoiceTech);
} else {
loge(what + ": has no tech!");
}
} else {
loge(what + ": exception=" + ar.exception);
}
break;
case EVENT_UPDATE_PHONE_OBJECT:
phoneObjectUpdater(msg.arg1);
break;
case EVENT_SIM_RECORDS_LOADED:
// Only check for the voice radio tech if it not going to be updated by the voice
// registration changes.
if (!mActivePhone.getContext().getResources().getBoolean(
com.android.internal.R.bool.config_switch_phone_on_voice_reg_state_change)) {
mCommandsInterface.getVoiceRadioTechnology(obtainMessage(
EVENT_REQUEST_VOICE_RADIO_TECH_DONE));
}
break;
default:
loge("Error! This handler was not registered for this message type. Message: "
+ msg.what);
break;
}
super.handleMessage(msg);
|
public boolean | handlePinMmi(java.lang.String dialString)
return mActivePhone.handlePinMmi(dialString);
|
public boolean | hasMatchedTetherApnSetting()
return mActivePhone.hasMatchedTetherApnSetting();
|
public void | invokeOemRilRequestRaw(byte[] data, android.os.Message response)
mActivePhone.invokeOemRilRequestRaw(data, response);
|
public void | invokeOemRilRequestStrings(java.lang.String[] strings, android.os.Message response)
mActivePhone.invokeOemRilRequestStrings(strings, response);
|
public boolean | isCspPlmnEnabled()
return mActivePhone.isCspPlmnEnabled();
|
public boolean | isDataConnectivityPossible()
return mActivePhone.isDataConnectivityPossible(PhoneConstants.APN_TYPE_DEFAULT);
|
public boolean | isDataConnectivityPossible(java.lang.String apnType)
return mActivePhone.isDataConnectivityPossible(apnType);
|
public boolean | isDnsCheckDisabled()
return mActivePhone.isDnsCheckDisabled();
|
public boolean | isImsRegistered()
return mActivePhone.isImsRegistered();
|
public boolean | isMinInfoReady()
return mActivePhone.isMinInfoReady();
|
public boolean | isOtaSpNumber(java.lang.String dialStr)
return mActivePhone.isOtaSpNumber(dialStr);
|
public boolean | isRadioAvailable()
return mCommandsInterface.getRadioState().isAvailable();
|
private static void | logd(java.lang.String msg)
Rlog.d(LOG_TAG, "[PhoneProxy] " + msg);
|
private void | loge(java.lang.String msg)
Rlog.e(LOG_TAG, "[PhoneProxy] " + msg);
|
public boolean | needsOtaServiceProvisioning()
return mActivePhone.needsOtaServiceProvisioning();
|
public void | notifyDataActivity()
mActivePhone.notifyDataActivity();
|
public void | nvReadItem(int itemID, android.os.Message response)
mActivePhone.nvReadItem(itemID, response);
|
public void | nvResetConfig(int resetType, android.os.Message response)
mActivePhone.nvResetConfig(resetType, response);
|
public void | nvWriteCdmaPrl(byte[] preferredRoamingList, android.os.Message response)
mActivePhone.nvWriteCdmaPrl(preferredRoamingList, response);
|
public void | nvWriteItem(int itemID, java.lang.String itemValue, android.os.Message response)
mActivePhone.nvWriteItem(itemID, itemValue, response);
|
private void | phoneObjectUpdater(int newVoiceRadioTech)
logd("phoneObjectUpdater: newVoiceRadioTech=" + newVoiceRadioTech);
if (mActivePhone != null) {
// Check for a voice over lte replacement
if ((newVoiceRadioTech == ServiceState.RIL_RADIO_TECHNOLOGY_LTE) ||
(newVoiceRadioTech == ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN)) {
int volteReplacementRat = mActivePhone.getContext().getResources().getInteger(
com.android.internal.R.integer.config_volte_replacement_rat);
logd("phoneObjectUpdater: volteReplacementRat=" + volteReplacementRat);
if (volteReplacementRat != ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN) {
newVoiceRadioTech = volteReplacementRat;
}
}
if(mRilVersion == 6 && getLteOnCdmaMode() == PhoneConstants.LTE_ON_CDMA_TRUE) {
/*
* On v6 RIL, when LTE_ON_CDMA is TRUE, always create CDMALTEPhone
* irrespective of the voice radio tech reported.
*/
if (mActivePhone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) {
logd("phoneObjectUpdater: LTE ON CDMA property is set. Use CDMA Phone" +
" newVoiceRadioTech=" + newVoiceRadioTech +
" mActivePhone=" + mActivePhone.getPhoneName());
return;
} else {
logd("phoneObjectUpdater: LTE ON CDMA property is set. Switch to CDMALTEPhone" +
" newVoiceRadioTech=" + newVoiceRadioTech +
" mActivePhone=" + mActivePhone.getPhoneName());
newVoiceRadioTech = ServiceState.RIL_RADIO_TECHNOLOGY_1xRTT;
}
} else {
boolean matchCdma = ServiceState.isCdma(newVoiceRadioTech);
boolean matchGsm = ServiceState.isGsm(newVoiceRadioTech);
if ((matchCdma &&
mActivePhone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) ||
(matchGsm &&
mActivePhone.getPhoneType() == PhoneConstants.PHONE_TYPE_GSM)) {
// Nothing changed. Keep phone as it is.
logd("phoneObjectUpdater: No change ignore," +
" newVoiceRadioTech=" + newVoiceRadioTech +
" mActivePhone=" + mActivePhone.getPhoneName());
return;
}
if (!matchCdma && !matchGsm) {
loge("phoneObjectUpdater: newVoiceRadioTech=" + newVoiceRadioTech +
" doesn't match either CDMA or GSM - error! No phone change");
return;
}
}
}
if (newVoiceRadioTech == ServiceState.RIL_RADIO_TECHNOLOGY_UNKNOWN) {
// We need some voice phone object to be active always, so never
// delete the phone without anything to replace it with!
logd("phoneObjectUpdater: Unknown rat ignore, "
+ " newVoiceRadioTech=Unknown. mActivePhone=" + mActivePhone.getPhoneName());
return;
}
boolean oldPowerState = false; // old power state to off
if (mResetModemOnRadioTechnologyChange) {
if (mCommandsInterface.getRadioState().isOn()) {
oldPowerState = true;
logd("phoneObjectUpdater: Setting Radio Power to Off");
mCommandsInterface.setRadioPower(false, null);
}
}
deleteAndCreatePhone(newVoiceRadioTech);
if (mResetModemOnRadioTechnologyChange && oldPowerState) { // restore power state
logd("phoneObjectUpdater: Resetting Radio");
mCommandsInterface.setRadioPower(oldPowerState, null);
}
// Set the new interfaces in the proxy's
mIccSmsInterfaceManager.updatePhoneObject((PhoneBase) mActivePhone);
mIccPhoneBookInterfaceManagerProxy.setmIccPhoneBookInterfaceManager(mActivePhone
.getIccPhoneBookInterfaceManager());
mPhoneSubInfoProxy.setmPhoneSubInfo(mActivePhone.getPhoneSubInfo());
mCommandsInterface = ((PhoneBase)mActivePhone).mCi;
mIccCardProxy.setVoiceRadioTech(newVoiceRadioTech);
// Send an Intent to the PhoneApp that we had a radio technology change
Intent intent = new Intent(TelephonyIntents.ACTION_RADIO_TECHNOLOGY_CHANGED);
intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING);
intent.putExtra(PhoneConstants.PHONE_NAME_KEY, mActivePhone.getPhoneName());
SubscriptionManager.putPhoneIdAndSubIdExtra(intent, mPhoneId);
ActivityManagerNative.broadcastStickyIntent(intent, null, UserHandle.USER_ALL);
DctController.getInstance().updatePhoneObject(this);
|
public void | queryAvailableBandMode(android.os.Message response)
mActivePhone.queryAvailableBandMode(response);
|
public void | queryCdmaRoamingPreference(android.os.Message response)
mActivePhone.queryCdmaRoamingPreference(response);
|
public void | queryTTYMode(android.os.Message onComplete)
mActivePhone.queryTTYMode(onComplete);
|
public void | registerFoT53ClirlInfo(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerFoT53ClirlInfo(h, what, obj);
|
public void | registerForAllDataDisconnected(android.os.Handler h, int what, java.lang.Object obj)
if (mActivePhone instanceof CDMALTEPhone) {
((CDMALTEPhone)mActivePhone).registerForAllDataDisconnected(h, what, obj);
} else if (mActivePhone instanceof GSMPhone) {
((GSMPhone)mActivePhone).registerForAllDataDisconnected(h, what, obj);
} else {
loge("Phone object is not MultiSim. This should not hit!!!!");
}
|
public void | registerForCallWaiting(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForCallWaiting(h,what,obj);
|
public void | registerForCdmaOtaStatusChange(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForCdmaOtaStatusChange(h,what,obj);
|
public void | registerForDisconnect(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForDisconnect(h, what, obj);
|
public void | registerForDisplayInfo(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForDisplayInfo(h,what,obj);
|
public void | registerForEcmTimerReset(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForEcmTimerReset(h,what,obj);
|
public void | registerForHandoverStateChanged(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForHandoverStateChanged(h, what, obj);
|
public void | registerForInCallVoicePrivacyOff(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForInCallVoicePrivacyOff(h,what,obj);
|
public void | registerForInCallVoicePrivacyOn(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForInCallVoicePrivacyOn(h,what,obj);
|
public void | registerForIncomingRing(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForIncomingRing(h, what, obj);
|
public void | registerForLineControlInfo(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForLineControlInfo( h, what, obj);
|
public void | registerForMmiComplete(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForMmiComplete(h, what, obj);
|
public void | registerForMmiInitiate(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForMmiInitiate(h, what, obj);
|
public void | registerForNewRingingConnection(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForNewRingingConnection(h, what, obj);
|
public void | registerForNumberInfo(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForNumberInfo(h, what, obj);
|
public void | registerForOnHoldTone(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForOnHoldTone(h,what,obj);
|
public void | registerForPreciseCallStateChanged(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForPreciseCallStateChanged(h, what, obj);
|
public void | registerForRadioCapabilityChanged(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForRadioCapabilityChanged(h, what, obj);
|
public void | registerForRadioOffOrNotAvailable(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForRadioOffOrNotAvailable( h, what, obj);
|
public void | registerForRedirectedNumberInfo(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForRedirectedNumberInfo(h, what, obj);
|
public void | registerForResendIncallMute(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForResendIncallMute(h,what,obj);
|
public void | registerForRingbackTone(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForRingbackTone(h,what,obj);
|
public void | registerForServiceStateChanged(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForServiceStateChanged(h, what, obj);
|
public void | registerForSignalInfo(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForSignalInfo(h,what,obj);
|
public void | registerForSimRecordsLoaded(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForSimRecordsLoaded(h,what,obj);
|
public void | registerForSubscriptionInfoReady(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForSubscriptionInfoReady(h, what, obj);
|
public void | registerForSuppServiceFailed(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForSuppServiceFailed(h, what, obj);
|
public void | registerForSuppServiceNotification(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForSuppServiceNotification(h, what, obj);
|
public void | registerForT53AudioControlInfo(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForT53AudioControlInfo( h, what, obj);
|
public void | registerForTtyModeReceived(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForTtyModeReceived(h, what, obj);
|
public void | registerForUnknownConnection(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.registerForUnknownConnection(h, what, obj);
|
public void | rejectCall()
mActivePhone.rejectCall();
|
public com.android.internal.telephony.imsphone.ImsPhone | relinquishOwnershipOfImsPhone() return null;
|
public void | removeReferences()
mActivePhone = null;
mCommandsInterface = null;
|
public void | selectNetworkManually(OperatorInfo network, android.os.Message response)
mActivePhone.selectNetworkManually(network, response);
|
public void | sendBurstDtmf(java.lang.String dtmfString, int on, int off, android.os.Message onComplete)
mActivePhone.sendBurstDtmf(dtmfString, on, off, onComplete);
|
public void | sendDtmf(char c)
mActivePhone.sendDtmf(c);
|
public void | sendUssdResponse(java.lang.String ussdMessge)
mActivePhone.sendUssdResponse(ussdMessge);
|
public void | setBandMode(int bandMode, android.os.Message response)
mActivePhone.setBandMode(bandMode, response);
|
public void | setCallForwardingOption(int commandInterfaceCFReason, int commandInterfaceCFAction, java.lang.String dialingNumber, int timerSeconds, android.os.Message onComplete)
mActivePhone.setCallForwardingOption(commandInterfaceCFReason,
commandInterfaceCFAction, dialingNumber, timerSeconds, onComplete);
|
public void | setCallWaiting(boolean enable, android.os.Message onComplete)
mActivePhone.setCallWaiting(enable, onComplete);
|
public void | setCdmaRoamingPreference(int cdmaRoamingType, android.os.Message response)
mActivePhone.setCdmaRoamingPreference(cdmaRoamingType, response);
|
public void | setCdmaSubscription(int cdmaSubscriptionType, android.os.Message response)
mActivePhone.setCdmaSubscription(cdmaSubscriptionType, response);
|
public void | setCellBroadcastSmsConfig(int[] configValuesArray, android.os.Message response)
mActivePhone.setCellBroadcastSmsConfig(configValuesArray, response);
|
public void | setCellInfoListRate(int rateInMillis){@inheritDoc}
mActivePhone.setCellInfoListRate(rateInMillis);
|
public void | setDataEnabled(boolean enable)
mActivePhone.setDataEnabled(enable);
|
public void | setDataRoamingEnabled(boolean enable)
mActivePhone.setDataRoamingEnabled(enable);
|
public void | setEchoSuppressionEnabled()
mActivePhone.setEchoSuppressionEnabled();
|
public void | setImsRegistrationState(boolean registered)
logd("setImsRegistrationState - registered: " + registered);
mActivePhone.setImsRegistrationState(registered);
if ((mActivePhone.getPhoneName()).equals("GSM")) {
GSMPhone GP = (GSMPhone)mActivePhone;
GP.getServiceStateTracker().setImsRegistrationState(registered);
} else if ((mActivePhone.getPhoneName()).equals("CDMA")) {
CDMAPhone CP = (CDMAPhone)mActivePhone;
CP.getServiceStateTracker().setImsRegistrationState(registered);
}
|
public void | setInternalDataEnabled(boolean enable)
setInternalDataEnabled(enable, null);
|
public void | setInternalDataEnabled(boolean enable, android.os.Message onCompleteMsg)
if (mActivePhone instanceof CDMALTEPhone) {
((CDMALTEPhone)mActivePhone).setInternalDataEnabled(enable, onCompleteMsg);
} else if (mActivePhone instanceof GSMPhone) {
((GSMPhone)mActivePhone).setInternalDataEnabled(enable, onCompleteMsg);
} else {
loge("Phone object is not MultiSim. This should not hit!!!!");
}
|
public boolean | setInternalDataEnabledFlag(boolean enable)
boolean flag = false;
if (mActivePhone instanceof CDMALTEPhone) {
flag = ((CDMALTEPhone)mActivePhone).setInternalDataEnabledFlag(enable);
} else if (mActivePhone instanceof GSMPhone) {
flag = ((GSMPhone)mActivePhone).setInternalDataEnabledFlag(enable);
} else {
loge("Phone object is not MultiSim. This should not hit!!!!");
}
return flag;
|
public boolean | setLine1Number(java.lang.String alphaTag, java.lang.String number, android.os.Message onComplete)
return mActivePhone.setLine1Number(alphaTag, number, onComplete);
|
public void | setMute(boolean muted)
mActivePhone.setMute(muted);
|
public void | setNetworkSelectionModeAutomatic(android.os.Message response)
mActivePhone.setNetworkSelectionModeAutomatic(response);
|
public void | setOnEcbModeExitResponse(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.setOnEcbModeExitResponse(h,what,obj);
|
public void | setOnPostDialCharacter(android.os.Handler h, int what, java.lang.Object obj)
mActivePhone.setOnPostDialCharacter(h, what, obj);
|
public boolean | setOperatorBrandOverride(java.lang.String brand)
return mActivePhone.setOperatorBrandOverride(brand);
|
public void | setOutgoingCallerIdDisplay(int commandInterfaceCLIRMode, android.os.Message onComplete)
mActivePhone.setOutgoingCallerIdDisplay(commandInterfaceCLIRMode,
onComplete);
|
public void | setPreferredNetworkType(int networkType, android.os.Message response)
mActivePhone.setPreferredNetworkType(networkType, response);
|
public void | setRadioCapability(com.android.internal.telephony.RadioCapability rc, android.os.Message response)
mActivePhone.setRadioCapability(rc, response);
|
public void | setRadioPower(boolean power)
mActivePhone.setRadioPower(power);
|
public boolean | setRoamingOverride(java.util.List gsmRoamingList, java.util.List gsmNonRoamingList, java.util.List cdmaRoamingList, java.util.List cdmaNonRoamingList)
return mActivePhone.setRoamingOverride(gsmRoamingList, gsmNonRoamingList,
cdmaRoamingList, cdmaNonRoamingList);
|
public void | setSmscAddress(java.lang.String address, android.os.Message result)
mActivePhone.setSmscAddress(address, result);
|
public void | setTTYMode(int ttyMode, android.os.Message onComplete)
mActivePhone.setTTYMode(ttyMode, onComplete);
|
public void | setUiTTYMode(int uiTtyMode, android.os.Message onComplete)
mActivePhone.setUiTTYMode(uiTtyMode, onComplete);
|
public void | setUnitTestMode(boolean f)
mActivePhone.setUnitTestMode(f);
|
public void | setVoiceMailNumber(java.lang.String alphaTag, java.lang.String voiceMailNumber, android.os.Message onComplete)
mActivePhone.setVoiceMailNumber(alphaTag, voiceMailNumber, onComplete);
|
public void | setVoiceMessageWaiting(int line, int countWaiting)
mActivePhone.setVoiceMessageWaiting(line, countWaiting);
|
public void | shutdownRadio()
mActivePhone.shutdownRadio();
|
public void | startDtmf(char c)
mActivePhone.startDtmf(c);
|
public void | stopDtmf()
mActivePhone.stopDtmf();
|
public void | switchHoldingAndActive()
mActivePhone.switchHoldingAndActive();
|
public void | unregisterForAllDataDisconnected(android.os.Handler h)
if (mActivePhone instanceof CDMALTEPhone) {
((CDMALTEPhone)mActivePhone).unregisterForAllDataDisconnected(h);
} else if (mActivePhone instanceof GSMPhone) {
((GSMPhone)mActivePhone).unregisterForAllDataDisconnected(h);
} else {
loge("Phone object is not MultiSim. This should not hit!!!!");
}
|
public void | unregisterForCallWaiting(android.os.Handler h)
mActivePhone.unregisterForCallWaiting(h);
|
public void | unregisterForCdmaOtaStatusChange(android.os.Handler h)
mActivePhone.unregisterForCdmaOtaStatusChange(h);
|
public void | unregisterForDisconnect(android.os.Handler h)
mActivePhone.unregisterForDisconnect(h);
|
public void | unregisterForDisplayInfo(android.os.Handler h)
mActivePhone.unregisterForDisplayInfo(h);
|
public void | unregisterForEcmTimerReset(android.os.Handler h)
mActivePhone.unregisterForEcmTimerReset(h);
|
public void | unregisterForHandoverStateChanged(android.os.Handler h)
mActivePhone.unregisterForHandoverStateChanged(h);
|
public void | unregisterForInCallVoicePrivacyOff(android.os.Handler h)
mActivePhone.unregisterForInCallVoicePrivacyOff(h);
|
public void | unregisterForInCallVoicePrivacyOn(android.os.Handler h)
mActivePhone.unregisterForInCallVoicePrivacyOn(h);
|
public void | unregisterForIncomingRing(android.os.Handler h)
mActivePhone.unregisterForIncomingRing(h);
|
public void | unregisterForLineControlInfo(android.os.Handler h)
mActivePhone.unregisterForLineControlInfo(h);
|
public void | unregisterForMmiComplete(android.os.Handler h)
mActivePhone.unregisterForMmiComplete(h);
|
public void | unregisterForMmiInitiate(android.os.Handler h)
mActivePhone.unregisterForMmiInitiate(h);
|
public void | unregisterForNewRingingConnection(android.os.Handler h)
mActivePhone.unregisterForNewRingingConnection(h);
|
public void | unregisterForNumberInfo(android.os.Handler h)
mActivePhone.unregisterForNumberInfo(h);
|
public void | unregisterForOnHoldTone(android.os.Handler h)
mActivePhone.unregisterForOnHoldTone(h);
|
public void | unregisterForPreciseCallStateChanged(android.os.Handler h)
mActivePhone.unregisterForPreciseCallStateChanged(h);
|
public void | unregisterForRadioCapabilityChanged(android.os.Handler h)
mActivePhone.unregisterForRadioCapabilityChanged(h);
|
public void | unregisterForRadioOffOrNotAvailable(android.os.Handler h)
mActivePhone.unregisterForRadioOffOrNotAvailable(h);
|
public void | unregisterForRedirectedNumberInfo(android.os.Handler h)
mActivePhone.unregisterForRedirectedNumberInfo(h);
|
public void | unregisterForResendIncallMute(android.os.Handler h)
mActivePhone.unregisterForResendIncallMute(h);
|
public void | unregisterForRingbackTone(android.os.Handler h)
mActivePhone.unregisterForRingbackTone(h);
|
public void | unregisterForServiceStateChanged(android.os.Handler h)
mActivePhone.unregisterForServiceStateChanged(h);
|
public void | unregisterForSignalInfo(android.os.Handler h)
mActivePhone.unregisterForSignalInfo(h);
|
public void | unregisterForSimRecordsLoaded(android.os.Handler h)
mActivePhone.unregisterForSimRecordsLoaded(h);
|
public void | unregisterForSubscriptionInfoReady(android.os.Handler h)
mActivePhone.unregisterForSubscriptionInfoReady(h);
|
public void | unregisterForSuppServiceFailed(android.os.Handler h)
mActivePhone.unregisterForSuppServiceFailed(h);
|
public void | unregisterForSuppServiceNotification(android.os.Handler h)
mActivePhone.unregisterForSuppServiceNotification(h);
|
public void | unregisterForT53AudioControlInfo(android.os.Handler h)
mActivePhone.unregisterForT53AudioControlInfo(h);
|
public void | unregisterForT53ClirInfo(android.os.Handler h)
mActivePhone.unregisterForT53ClirInfo(h);
|
public void | unregisterForTtyModeReceived(android.os.Handler h)
mActivePhone.unregisterForTtyModeReceived(h);
|
public void | unregisterForUnknownConnection(android.os.Handler h)
mActivePhone.unregisterForUnknownConnection(h);
|
public void | unsetOnEcbModeExitResponse(android.os.Handler h)
mActivePhone.unsetOnEcbModeExitResponse(h);
|
public boolean | updateCurrentCarrierInProvider()
if (mActivePhone instanceof CDMALTEPhone) {
return ((CDMALTEPhone)mActivePhone).updateCurrentCarrierInProvider();
} else if (mActivePhone instanceof GSMPhone) {
return ((GSMPhone)mActivePhone).updateCurrentCarrierInProvider();
} else {
loge("Phone object is not MultiSim. This should not hit!!!!");
return false;
}
|
public void | updateDataConnectionTracker()
logd("Updating Data Connection Tracker");
if (mActivePhone instanceof CDMALTEPhone) {
((CDMALTEPhone)mActivePhone).updateDataConnectionTracker();
} else if (mActivePhone instanceof GSMPhone) {
((GSMPhone)mActivePhone).updateDataConnectionTracker();
} else {
loge("Phone object is not MultiSim. This should not hit!!!!");
}
|
public void | updatePhoneObject(int voiceRadioTech)
logd("updatePhoneObject: radioTechnology=" + voiceRadioTech);
sendMessage(obtainMessage(EVENT_UPDATE_PHONE_OBJECT, voiceRadioTech, 0, null));
|
public void | updateServiceLocation()
mActivePhone.updateServiceLocation();
|