Home | History | Annotate | Download | only in server

Lines Matching refs:phoneId

73  * and 15973975 by saving the phoneId of the registrant and then using the
74 * phoneId when deciding to to make a callback. This is necessary because
102 int phoneId = SubscriptionManager.INVALID_PHONE_INDEX;
120 + " callerUserId=" + callerUserId + " subId=" + subId + " phoneId=" + phoneId
527 r.phoneId = SubscriptionManager.getPhoneId(r.subId);
529 int phoneId = r.phoneId;
532 log("listen: Register r=" + r + " r.subId=" + r.subId + " phoneId=" + phoneId);
535 if (notifyNow && validatePhoneId(phoneId)) {
538 if (VDBG) log("listen: call onSSC state=" + mServiceState[phoneId]);
540 new ServiceState(mServiceState[phoneId]));
547 int gsmSignalStrength = mSignalStrength[phoneId]
558 mMessageWaiting[phoneId]);
566 mCallForwarding[phoneId]);
574 + mCellLocation[phoneId]);
576 new Bundle(mCellLocation[phoneId]));
583 r.callback.onCallStateChanged(mCallState[phoneId],
584 getCallIncomingNumber(r, phoneId));
591 r.callback.onDataConnectionStateChanged(mDataConnectionState[phoneId],
592 mDataConnectionNetworkType[phoneId]);
599 r.callback.onDataActivity(mDataActivity[phoneId]);
606 r.callback.onSignalStrengthsChanged(mSignalStrength[phoneId]);
620 if (DBG_LOC) log("listen: mCellInfo[" + phoneId + "] = "
621 + mCellInfo.get(phoneId));
622 r.callback.onCellInfoChanged(mCellInfo.get(phoneId));
681 private String getCallIncomingNumber(Record record, int phoneId) {
683 return record.canReadPhoneState ? mCallIncomingNumber[phoneId] : "";
739 int phoneId = SubscriptionManager.getPhoneId(subId);
740 if (validatePhoneId(phoneId)) {
741 mCallState[phoneId] = state;
742 mCallIncomingNumber[phoneId] = incomingNumber;
748 String incomingNumberOrEmpty = getCallIncomingNumber(r, phoneId);
761 public void notifyServiceStateForPhoneId(int phoneId, int subId, ServiceState state) {
768 log("notifyServiceStateForSubscriber: subId=" + subId + " phoneId=" + phoneId
771 if (validatePhoneId(phoneId)) {
772 mServiceState[phoneId] = state;
773 logServiceStateChanged("notifyServiceStateForSubscriber", subId, phoneId, state);
779 + " phoneId=" + phoneId + " state=" + state);
782 idMatch(r.subId, subId, phoneId)) {
786 + " subId=" + subId + " phoneId=" + phoneId
796 log("notifyServiceStateForSubscriber: INVALID phoneId=" + phoneId);
818 int phoneId = SubscriptionManager.getPhoneId(subId);
819 if (validatePhoneId(phoneId)) {
820 if (VDBG) log("notifySignalStrengthForSubscriber: valid phoneId=" + phoneId);
821 mSignalStrength[phoneId] = signalStrength;
825 + " phoneId=" + phoneId + " ss=" + signalStrength);
829 idMatch(r.subId, subId, phoneId)) {
833 + " subId=" + subId + " phoneId=" + phoneId
842 idMatch(r.subId, subId, phoneId)){
848 + " subId=" + subId + " phoneId=" + phoneId
858 log("notifySignalStrengthForSubscriber: invalid phoneId=" + phoneId);
903 int phoneId = SubscriptionManager.getPhoneId(subId);
904 if (validatePhoneId(phoneId)) {
905 mCellInfo.set(phoneId, cellInfo);
908 idMatch(r.subId, subId, phoneId)) {
950 public void notifyMessageWaitingChangedForPhoneId(int phoneId, int subId, boolean mwi) {
955 log("notifyMessageWaitingChangedForSubscriberPhoneID: subId=" + phoneId
959 if (validatePhoneId(phoneId)) {
960 mMessageWaiting[phoneId] = mwi;
964 idMatch(r.subId, subId, phoneId)) {
990 int phoneId = SubscriptionManager.getPhoneId(subId);
991 if (validatePhoneId(phoneId)) {
992 mCallForwarding[phoneId] = cfi;
996 idMatch(r.subId, subId, phoneId)) {
1018 int phoneId = SubscriptionManager.getPhoneId(subId);
1019 if (validatePhoneId(phoneId)) {
1020 mDataActivity[phoneId] = state;
1058 int phoneId = SubscriptionManager.getPhoneId(subId);
1059 if (validatePhoneId(phoneId)) {
1064 if (mDataConnectionState[phoneId] != state) {
1065 mDataConnectionState[phoneId] = state;
1072 mDataConnectionState[phoneId] = state;
1080 mDataConnectionPossible[phoneId] = isDataConnectivityPossible;
1081 mDataConnectionReason[phoneId] = reason;
1082 mDataConnectionLinkProperties[phoneId] = linkProperties;
1083 mDataConnectionNetworkCapabilities[phoneId] = networkCapabilities;
1084 if (mDataConnectionNetworkType[phoneId] != networkType) {
1085 mDataConnectionNetworkType[phoneId] = networkType;
1091 log("onDataConnectionStateChanged(" + mDataConnectionState[phoneId]
1092 + ", " + mDataConnectionNetworkType[phoneId] + ")");
1097 idMatch(r.subId, subId, phoneId)) {
1101 r.callback.onDataConnectionStateChanged(mDataConnectionState[phoneId],
1102 mDataConnectionNetworkType[phoneId]);
1181 int phoneId = SubscriptionManager.getPhoneId(subId);
1182 if (validatePhoneId(phoneId)) {
1183 mCellLocation[phoneId] = cellLocation;
1186 idMatch(r.subId, subId, phoneId)) {
1644 private boolean validatePhoneId(int phoneId) {
1645 boolean valid = (phoneId >= 0) && (phoneId < mNumPhones);
1661 public void set(Time t, String s, int subId, int phoneId, ServiceState state) {
1662 mTime = t; mS = s; mSubId = subId; mPhoneId = phoneId; mState = state;
1675 private void logServiceStateChanged(String s, int subId, int phoneId, ServiceState state) {
1684 logSSC[next].set(t, s, subId, phoneId, state);
1711 boolean idMatch(int rSubId, int subId, int phoneId) {
1714 // Invalid case, we need compare phoneId with default one.
1715 return (mDefaultPhoneId == phoneId);
1724 private void checkPossibleMissNotify(Record r, int phoneId) {
1730 mServiceState[phoneId]);
1732 new ServiceState(mServiceState[phoneId]));
1740 SignalStrength signalStrength = mSignalStrength[phoneId];
1752 int gsmSignalStrength = mSignalStrength[phoneId]
1768 log("checkPossibleMissNotify: onCellInfoChanged[" + phoneId + "] = "
1769 + mCellInfo.get(phoneId));
1771 r.callback.onCellInfoChanged(mCellInfo.get(phoneId));
1780 log("checkPossibleMissNotify: onMessageWaitingIndicatorChanged phoneId="
1781 + phoneId + " mwi=" + mMessageWaiting[phoneId]);
1784 mMessageWaiting[phoneId]);
1793 log("checkPossibleMissNotify: onCallForwardingIndicatorChanged phoneId="
1794 + phoneId + " cfi=" + mCallForwarding[phoneId]);
1797 mCallForwarding[phoneId]);
1806 + mCellLocation[phoneId]);
1807 r.callback.onCellLocationChanged(new Bundle(mCellLocation[phoneId]));
1817 + "=" + mDataConnectionState[phoneId]
1818 + ", mDataConnectionNetworkType=" + mDataConnectionNetworkType[phoneId]
1821 r.callback.onDataConnectionStateChanged(mDataConnectionState[phoneId],
1822 mDataConnectionNetworkType[phoneId]);