Build m5-rc15

android.telephony
Interface Phone

All Known Implementing Classes:
GSMPhone, PhoneBase

public interface Phone


Nested Class Summary
static class Phone.DataActivityState
           
static class Phone.DataState
           
static class Phone.State
           
 
Field Summary
static int BM_AUS_BAND
           
static int BM_AUS2_BAND
           
static int BM_BOUNDARY
           
static int BM_EURO_BAND
           
static int BM_JPN_BAND
           
static int BM_UNSPECIFIED
           
static int BM_US_BAND
           
static boolean DEBUG_PHONE
           
static String PHONE_NAME_KEY
           
static String STATE_KEY
           
 
Method Summary
 void acceptCall()
           
 boolean canConference()
           
 void clearDisconnected()
           
 void conference()
           
 Connection dial(String s)
           
 void getAvailableNetworks(Message message)
           
 Call getBackgroundCall()
           
 boolean getCallForwardingIndicator()
           
 Context getContext()
           
 Phone.DataActivityState getDataActivityState()
           
 Phone.DataState getDataConnectionState()
           
 Call getForegroundCall()
           
 boolean getMessageWaitingIndicator()
           
 CharSequence getMsisdnAlphaTag()
           
 String getMsisdnNumber()
           
 boolean getMute()
           
 void getPdpContextList(Message message)
           
 List getPendingMmiCodes()
           
 String getPhoneName()
           
 Call getRingingCall()
           
 ServiceState getServiceState()
           
 int getSignalStrengthASU()
           
 SimCard getSimCard()
           
 boolean getSimRecordsLoaded()
           
 SimulatedRadioControl getSimulatedRadioControl()
           
 Phone.State getState()
           
 boolean getUnitTestMode()
           
 CharSequence getVoiceMailAlphaTag()
           
 String getVoiceMailNumber()
           
 boolean handleInCallMmiCommands(String s)
           
 boolean handlePinMmi(String s)
           
 void invokeOemRilRequestRaw(byte[] abyte0, Message message)
           
 void invokeOemRilRequestStrings(String[] as, Message message)
           
 void queryAvailableBandMode(Message message)
           
 void registerForDisconnect(Handler handler, int i, Object obj)
           
 void registerForMmiComplete(Handler handler, int i, Object obj)
           
 void registerForMmiInitiate(Handler handler, int i, Object obj)
           
 void registerForNewRingingConnection(Handler handler, int i, Object obj)
           
 void registerForPhoneStateChanged(Handler handler, int i, Object obj)
           
 void registerForServiceStateChanged(Handler handler, int i, Object obj)
           
 void registerForSuppServiceNotification(Handler handler, int i, Object obj)
           
 void registerForUnknownConnection(Handler handler, int i, Object obj)
           
 void rejectCall()
           
 void selectNetworkManually(NetworkInfo networkinfo, Message message)
           
 void sendDtmf(char c)
           
 void sendUssdResponse(String s)
           
 void setBandMode(int i, Message message)
           
 void setMsisdnNumber(String s, String s1, Message message)
           
 void setMute(boolean flag)
           
 void setNetworkSelectionModeAutomatic(Message message)
           
 void setOnPostDialCharacter(Handler handler, int i, Object obj)
           
 void setRadioPower(boolean flag)
           
 void setUnitTestMode(boolean flag)
           
 void setVoiceMailNumber(String s, String s1, Message message)
           
 void startDtmf(char c)
           
 void stopDtmf()
           
 void switchHoldingAndActive()
           
 void unregisterForDisconnect(Handler handler)
           
 void unregisterForMmiComplete(Handler handler)
           
 void unregisterForMmiInitiate(Handler handler)
           
 void unregisterForNewRingingConnection(Handler handler)
           
 void unregisterForPhoneStateChanged(Handler handler)
           
 void unregisterForServiceStateChanged(Handler handler)
           
 void unregisterForSuppServiceNotification(Handler handler)
           
 void unregisterForUnknownConnection(Handler handler)
           
 void updateServiceLocation(Message message)
           
 

Field Detail

DEBUG_PHONE

static final boolean DEBUG_PHONE
See Also:
Constant Field Values

STATE_KEY

static final String STATE_KEY
See Also:
Constant Field Values

PHONE_NAME_KEY

static final String PHONE_NAME_KEY
See Also:
Constant Field Values

BM_UNSPECIFIED

static final int BM_UNSPECIFIED
See Also:
Constant Field Values

BM_EURO_BAND

static final int BM_EURO_BAND
See Also:
Constant Field Values

BM_US_BAND

static final int BM_US_BAND
See Also:
Constant Field Values

BM_JPN_BAND

static final int BM_JPN_BAND
See Also:
Constant Field Values

BM_AUS_BAND

static final int BM_AUS_BAND
See Also:
Constant Field Values

BM_AUS2_BAND

static final int BM_AUS2_BAND
See Also:
Constant Field Values

BM_BOUNDARY

static final int BM_BOUNDARY
See Also:
Constant Field Values
Method Detail

getServiceState

ServiceState getServiceState()

getDataConnectionState

Phone.DataState getDataConnectionState()

getDataActivityState

Phone.DataActivityState getDataActivityState()

getContext

Context getContext()

getState

Phone.State getState()

getPhoneName

String getPhoneName()

getSignalStrengthASU

int getSignalStrengthASU()

registerForUnknownConnection

void registerForUnknownConnection(Handler handler,
                                  int i,
                                  Object obj)

unregisterForUnknownConnection

void unregisterForUnknownConnection(Handler handler)

registerForPhoneStateChanged

void registerForPhoneStateChanged(Handler handler,
                                  int i,
                                  Object obj)

unregisterForPhoneStateChanged

void unregisterForPhoneStateChanged(Handler handler)

registerForNewRingingConnection

void registerForNewRingingConnection(Handler handler,
                                     int i,
                                     Object obj)

unregisterForNewRingingConnection

void unregisterForNewRingingConnection(Handler handler)

registerForDisconnect

void registerForDisconnect(Handler handler,
                           int i,
                           Object obj)

unregisterForDisconnect

void unregisterForDisconnect(Handler handler)

registerForMmiInitiate

void registerForMmiInitiate(Handler handler,
                            int i,
                            Object obj)

unregisterForMmiInitiate

void unregisterForMmiInitiate(Handler handler)

registerForMmiComplete

void registerForMmiComplete(Handler handler,
                            int i,
                            Object obj)

unregisterForMmiComplete

void unregisterForMmiComplete(Handler handler)

getPendingMmiCodes

List getPendingMmiCodes()

sendUssdResponse

void sendUssdResponse(String s)

registerForServiceStateChanged

void registerForServiceStateChanged(Handler handler,
                                    int i,
                                    Object obj)

unregisterForServiceStateChanged

void unregisterForServiceStateChanged(Handler handler)

registerForSuppServiceNotification

void registerForSuppServiceNotification(Handler handler,
                                        int i,
                                        Object obj)

unregisterForSuppServiceNotification

void unregisterForSuppServiceNotification(Handler handler)

getSimRecordsLoaded

boolean getSimRecordsLoaded()

getSimCard

SimCard getSimCard()

acceptCall

void acceptCall()
                throws CallStateException
Throws:
CallStateException

rejectCall

void rejectCall()
                throws CallStateException
Throws:
CallStateException

switchHoldingAndActive

void switchHoldingAndActive()
                            throws CallStateException
Throws:
CallStateException

canConference

boolean canConference()

conference

void conference()
                throws CallStateException
Throws:
CallStateException

clearDisconnected

void clearDisconnected()

getForegroundCall

Call getForegroundCall()

getBackgroundCall

Call getBackgroundCall()

getRingingCall

Call getRingingCall()

dial

Connection dial(String s)
                throws CallStateException
Throws:
CallStateException

handlePinMmi

boolean handlePinMmi(String s)

handleInCallMmiCommands

boolean handleInCallMmiCommands(String s)
                                throws CallStateException
Throws:
CallStateException

sendDtmf

void sendDtmf(char c)

startDtmf

void startDtmf(char c)

stopDtmf

void stopDtmf()

setRadioPower

void setRadioPower(boolean flag)

getMessageWaitingIndicator

boolean getMessageWaitingIndicator()

getCallForwardingIndicator

boolean getCallForwardingIndicator()

getMsisdnNumber

String getMsisdnNumber()

getMsisdnAlphaTag

CharSequence getMsisdnAlphaTag()

setMsisdnNumber

void setMsisdnNumber(String s,
                     String s1,
                     Message message)

getVoiceMailNumber

String getVoiceMailNumber()

getVoiceMailAlphaTag

CharSequence getVoiceMailAlphaTag()

setVoiceMailNumber

void setVoiceMailNumber(String s,
                        String s1,
                        Message message)

getAvailableNetworks

void getAvailableNetworks(Message message)

setNetworkSelectionModeAutomatic

void setNetworkSelectionModeAutomatic(Message message)

selectNetworkManually

void selectNetworkManually(NetworkInfo networkinfo,
                           Message message)

setOnPostDialCharacter

void setOnPostDialCharacter(Handler handler,
                            int i,
                            Object obj)

setMute

void setMute(boolean flag)

getMute

boolean getMute()

invokeOemRilRequestRaw

void invokeOemRilRequestRaw(byte[] abyte0,
                            Message message)

invokeOemRilRequestStrings

void invokeOemRilRequestStrings(String[] as,
                                Message message)

getPdpContextList

void getPdpContextList(Message message)

updateServiceLocation

void updateServiceLocation(Message message)

setUnitTestMode

void setUnitTestMode(boolean flag)

getUnitTestMode

boolean getUnitTestMode()

setBandMode

void setBandMode(int i,
                 Message message)

queryAvailableBandMode

void queryAvailableBandMode(Message message)

getSimulatedRadioControl

SimulatedRadioControl getSimulatedRadioControl()

Build m5-rc15

Please submit a feedback, bug or feature