Home | History | Annotate | Download | only in phone

Lines Matching full:subid

708     // returns phone associated with the subId.
710 private Phone getPhone(long subId) {
713 // return PhoneUtils.getPhoneForSubscriber(subId);
723 public void dialForSubscriber(long subId, String number) {
735 PhoneConstants.State state = mCM.getState(subId);
739 intent.putExtra(SUBSCRIPTION_KEY, subId);
748 public void callForSubscriber(long subId, String callingPackage, String number) {
767 intent.putExtra(SUBSCRIPTION_KEY, subId);
781 * End a call based on the call state of the subId
784 public boolean endCallForSubscriber(long subId) {
786 return (Boolean) sendRequest(CMD_END_CALL, subId, null);
793 public void answerRingingCallForSubscriber(long subId) {
851 public boolean isOffhookForSubscriber(long subId) {
852 return (getPhone(subId).getState() == PhoneConstants.State.OFFHOOK);
859 public boolean isRingingForSubscriber(long subId) {
860 return (getPhone(subId).getState() == PhoneConstants.State.RINGING);
867 public boolean isIdleForSubscriber(long subId) {
868 return (getPhone(subId).getState() == PhoneConstants.State.IDLE);
880 public boolean supplyPinForSubscriber(long subId, String pin) {
881 int [] resultArray = supplyPinReportResultForSubscriber(subId, pin);
889 public boolean supplyPukForSubscriber(long subId, String puk, String pin) {
890 int [] resultArray = supplyPukReportResultForSubscriber(subId, puk, pin);
899 public int[] supplyPinReportResultForSubscriber(long subId, String pin) {
901 final UnlockSim checkSimPin = new UnlockSim(getPhone(subId).getIccCard());
911 public int[] supplyPukReportResultForSubscriber(long subId, String puk, String pin) {
913 final UnlockSim checkSimPuk = new UnlockSim(getPhone(subId).getIccCard());
1022 public void updateServiceLocationForSubscriber(long subId) {
1026 getPhone(subId).updateServiceLocation();
1033 public boolean isRadioOnForSubscriber(long subId) {
1034 return getPhone(subId).getServiceState().getState() != ServiceState.STATE_POWER_OFF;
1042 public void toggleRadioOnOffForSubscriber(long subId) {
1044 getPhone(subId).setRadioPower(!isRadioOnForSubscriber(subId));
1051 public boolean setRadioForSubscriber(long subId, boolean turnOn) {
1053 if ((getPhone(subId).getServiceState().getState() !=
1055 toggleRadioOnOffForSubscriber(subId);
1092 public boolean setRadioPowerForSubscriber(long subId, boolean turnOn) {
1094 getPhone(subId).setRadioPower(turnOn);
1098 // FIXME: subId version needed
1101 long subId = SubscriptionManager.getDefaultDataSubId();
1102 getPhone(subId).setDataEnabled(true);
1106 // FIXME: subId version needed
1109 long subId = SubscriptionManager.getDefaultDataSubId();
1110 getPhone(subId).setDataEnabled(false);
1114 // FIXME: subId version needed
1116 long subId = SubscriptionManager.getDefaultDataSubId();
1117 return getPhone(subId).isDataConnectivityPossible();
1124 public boolean handlePinMmiForSubscriber(long subId, String dialString) {
1126 return (Boolean) sendRequest(CMD_HANDLE_PIN_MMI, dialString, subId);
1133 public int getCallStateForSubscriber(long subId) {
1134 return DefaultPhoneNotifier.convertCallState(getPhone(subId).getState());
1176 public void enableLocationUpdatesForSubscriber(long subId) {
1179 getPhone(subId).enableLocationUpdates();
1187 public void disableLocationUpdatesForSubscriber(long subId) {
1190 getPhone(subId).disableLocationUpdates();
1386 public int getActivePhoneTypeForSubscriber(long subId) {
1387 return getPhone(subId).getPhoneType();
1398 public int getCdmaEriIconIndexForSubscriber(long subId) {
1399 return getPhone(subId).getCdmaEriIconIndex();
1411 public int getCdmaEriIconModeForSubscriber(long subId) {
1412 return getPhone(subId).getCdmaEriIconMode();
1422 public String getCdmaEriTextForSubscriber(long subId) {
1423 return getPhone(subId).getCdmaEriText();
1429 public String getCdmaMdn(long subId) {
1432 return getPhone(subId).getLine1Number();
1441 public String getCdmaMin(long subId) {
1444 return getPhone(subId).getCdmaMin();
1465 * Returns the unread count of voicemails for a subId
1467 public int getVoiceMessageCountForSubscriber( long subId) {
1468 return getPhone(subId).getVoiceMessageCount();
1482 * Returns the network type for a subId
1485 public int getNetworkTypeForSubscriber(long subId) {
1486 return getPhone(subId).getServiceState().getDataNetworkType();
1498 * Returns the data network type for a subId
1501 public int getDataNetworkTypeForSubscriber(long subId) {
1502 return getPhone(subId).getServiceState().getDataNetworkType();
1514 * Returns the Voice network type for a subId
1517 public int getVoiceNetworkTypeForSubscriber(long subId) {
1518 return getPhone(subId).getServiceState().getVoiceNetworkType();
1548 public int getLteOnCdmaModeForSubscriber(long subId) {
1549 return getPhone(subId).getLteOnCdmaMode();
1558 * Returns Default subId, 0 in the case of single standby.
1912 private String getIccId(long subId) {
1913 UiccCard card = getPhone(subId).getUiccCard();
1927 public void enableSimplifiedNetworkSettingsForSubscriber(long subId, boolean enable) {
1930 String iccId = getIccId(subId);
1944 public boolean getSimplifiedNetworkSettingsEnabledForSubscriber(long subId) {
1946 String iccId = getIccId(subId);
1955 public void setLine1NumberForDisplayForSubscriber(long subId, String alphaTag, String number) {
1958 String iccId = getIccId(subId);
1979 public String getLine1NumberForDisplay(long subId) {
1982 String iccId = getIccId(subId);
1991 public String getLine1AlphaTagForDisplay(long subId) {
1994 String iccId = getIccId(subId);