public class

PhoneInterfaceManager

extends Stub
java.lang.Object
   ↳ ITelephony.Stub
     ↳ com.android.phone.PhoneInterfaceManager

Class Overview

Implementation of the ITelephony interface.

Summary

Public Constructors
PhoneInterfaceManager(PhoneApp app, Phone phone)
Public Methods
void answerRingingCall()
void call(String number)
void cancelMissedCallsNotification()
void dial(String number)
int disableApnType(String type)
boolean disableDataConnectivity()
void disableLocationUpdates()
int enableApnType(String type)
boolean enableDataConnectivity()
void enableLocationUpdates()
boolean endCall()
End a call based on call state
int getActivePhoneType()
int getCallState()
int getCdmaEriIconIndex()
Returns the CDMA ERI icon index to display
int getCdmaEriIconMode()
Returns the CDMA ERI icon mode, 0 - ON 1 - FLASHING
String getCdmaEriText()
Returns the CDMA ERI text,
boolean getCdmaNeedsProvisioning()
Returns true if CDMA provisioning needs to run.
Bundle getCellLocation()
int getDataActivity()
int getDataState()
List<NeighboringCellInfo> getNeighboringCellInfo()
int getNetworkType()
Returns the network type
int getVoiceMessageCount()
Returns the unread count of voicemails
boolean handlePinMmi(String dialString)
boolean hasIccCard()
boolean isDataConnectivityPossible()
boolean isIdle()
boolean isOffhook()
boolean isRadioOn()
boolean isRinging()
boolean isSimPinEnabled()
boolean setRadio(boolean turnOn)
boolean showCallScreen()
boolean showCallScreenWithDialpad(boolean showDialpad)
void silenceRinger()
boolean supplyPin(String pin)
void toggleRadioOnOff()
void updateServiceLocation()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public PhoneInterfaceManager (PhoneApp app, Phone phone)

Public Methods

public void answerRingingCall ()

public void call (String number)

public void cancelMissedCallsNotification ()

public void dial (String number)

public int disableApnType (String type)

public boolean disableDataConnectivity ()

public void disableLocationUpdates ()

public int enableApnType (String type)

public boolean enableDataConnectivity ()

public void enableLocationUpdates ()

public boolean endCall ()

End a call based on call state

Returns
  • true is a call was ended

public int getActivePhoneType ()

public int getCallState ()

public int getCdmaEriIconIndex ()

Returns the CDMA ERI icon index to display

public int getCdmaEriIconMode ()

Returns the CDMA ERI icon mode, 0 - ON 1 - FLASHING

public String getCdmaEriText ()

Returns the CDMA ERI text,

public boolean getCdmaNeedsProvisioning ()

Returns true if CDMA provisioning needs to run.

public Bundle getCellLocation ()

public int getDataActivity ()

public int getDataState ()

public List<NeighboringCellInfo> getNeighboringCellInfo ()

public int getNetworkType ()

Returns the network type

public int getVoiceMessageCount ()

Returns the unread count of voicemails

public boolean handlePinMmi (String dialString)

public boolean hasIccCard ()

Returns
  • true if a ICC card is present

public boolean isDataConnectivityPossible ()

public boolean isIdle ()

public boolean isOffhook ()

public boolean isRadioOn ()

public boolean isRinging ()

public boolean isSimPinEnabled ()

public boolean setRadio (boolean turnOn)

public boolean showCallScreen ()

public boolean showCallScreenWithDialpad (boolean showDialpad)

public void silenceRinger ()

public boolean supplyPin (String pin)

public void toggleRadioOnOff ()

public void updateServiceLocation ()