Home
last modified time | relevance | path

Searched refs:INVALID_PHONE_INDEX (Results 1 – 13 of 13) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DSubscriptionControllerMock.java20 import static android.telephony.SubscriptionManager.INVALID_PHONE_INDEX;
210 if (subId <= INVALID_SUBSCRIPTION_ID) return INVALID_PHONE_INDEX; in getPhoneId()
215 return INVALID_PHONE_INDEX; in getPhoneId()
259 return getPhoneId(subId) != INVALID_PHONE_INDEX; in isActiveSubId()
DTelephonyRegistryMock.java59 int phoneId = SubscriptionManager.INVALID_PHONE_INDEX;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSwitcher.java21 import static android.telephony.SubscriptionManager.INVALID_PHONE_INDEX;
107 int mPhoneId = INVALID_PHONE_INDEX;
186 private int mPhoneIdInVoiceCall = SubscriptionManager.INVALID_PHONE_INDEX;
195 protected int mPreferredDataPhoneId = SubscriptionManager.INVALID_PHONE_INDEX;
322 mPhoneIdInVoiceCall = SubscriptionManager.INVALID_PHONE_INDEX; in isPhoneInVoiceCallChanged()
503 if (mPhoneIdInVoiceCall == SubscriptionManager.INVALID_PHONE_INDEX) { in handleMessage()
817 if (phoneIdForRequest == INVALID_PHONE_INDEX) continue; in onEvaluate()
953 if (subId == INVALID_SUBSCRIPTION_ID) return INVALID_PHONE_INDEX; in phoneIdForRequest()
968 return INVALID_PHONE_INDEX; in phoneIdForRequest()
972 int phoneId = INVALID_PHONE_INDEX; in phoneIdForRequest()
[all …]
DSubscriptionMonitor.java19 import static android.telephony.SubscriptionManager.INVALID_PHONE_INDEX;
112 int newDefaultDataPhoneId = INVALID_PHONE_INDEX;
DSmsBroadcastUndelivered.java244 int phoneId = SubscriptionManager.INVALID_PHONE_INDEX; in getPhoneId()
DVisualVoicemailSmsFilter.java83 if (phoneId == SubscriptionManager.INVALID_PHONE_INDEX) {
DPhone.java125 SubscriptionManager.INVALID_PHONE_INDEX);
127 if (extraPhoneId == SubscriptionManager.INVALID_PHONE_INDEX ||
DSubscriptionController.java1996 + SubscriptionManager.INVALID_PHONE_INDEX); in getPhoneId()
1998 return SubscriptionManager.INVALID_PHONE_INDEX; in getPhoneId()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DMultiSimSettingControllerTest.java174 doReturn(SubscriptionManager.INVALID_PHONE_INDEX).when(mSubControllerMock).getPhoneId(2); in testTestSubInfoChangeBeforeAllSubReady()
209 doReturn(SubscriptionManager.INVALID_PHONE_INDEX).when(mSubControllerMock).getPhoneId(2); in testSingleActiveDsds()
222 doReturn(SubscriptionManager.INVALID_PHONE_INDEX).when(mSubControllerMock).getPhoneId(1); in testSingleActiveDsds()
243 doReturn(SubscriptionManager.INVALID_PHONE_INDEX).when(mSubControllerMock).getPhoneId(2); in testActivatingSecondSub()
280 doReturn(SubscriptionManager.INVALID_PHONE_INDEX).when(mSubControllerMock).getPhoneId(2); in testActivatingSecondSub()
DTelephonyTest.java549 doReturn(SubscriptionManager.INVALID_PHONE_INDEX) in setUp()
DPhoneSwitcherTest.java1066 if (phoneId == SubscriptionManager.INVALID_PHONE_INDEX) { in initializeSubControllerMock()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java103 public static final int INVALID_PHONE_INDEX = -1; field in SubscriptionManager
1780 return INVALID_PHONE_INDEX; in getPhoneId()
1783 int result = INVALID_PHONE_INDEX; in getPhoneId()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java125 int phoneId = SubscriptionManager.INVALID_PHONE_INDEX;
223 private int mDefaultPhoneId = SubscriptionManager.INVALID_PHONE_INDEX;
983 SubscriptionManager.INVALID_PHONE_INDEX, in notifyCallState()
2103 if (phoneId != SubscriptionManager.INVALID_PHONE_INDEX) { in broadcastCallStateChanged()