Searched refs:getPhoneCount (Results 1 – 20 of 20) sorted by relevance
102 if (prefs.contains(key) || telephonyManager.getPhoneCount() != 1) { in migrateVoicemailVibrationSettingsIfNeeded()141 if (prefs.contains(key) || telephonyManager.getPhoneCount() != 1) { in migrateVoicemailRingtoneSettingsIfNeeded()
65 mIsRestricted = new boolean[TelephonyManager.getDefault().getPhoneCount()]; in handleMessage()
95 private UiccCard[] mUiccCards = new UiccCard[TelephonyManager.getDefault().getPhoneCount()];
174 if (phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount()) { in registerForAllDataDisconnected()182 if (phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount()) { in unregisterForAllDataDisconnected()190 if (phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount()) { in isDataDisconnected()
142 int numPhones = TelephonyManager.getDefault().getPhoneCount(); in makeDefaultPhone()272 && (phoneId < TelephonyManager.getDefault().getPhoneCount())) in getPhone()
106 int numPhones = TelephonyManager.from(context).getPhoneCount(); in CarrierServiceBindHelper()
1010 phoneId >= mTelephonyManager.getPhoneCount()) { in setDisplayNumber()1482 if (phoneId >= 0 && (phoneId < mTelephonyManager.getPhoneCount() in setDefaultFallbackSubId()
64 private static final int PROJECT_SIM_NUM = TelephonyManager.getDefault().getPhoneCount();
2376 for (int i = 0; i < TelephonyManager.getDefault().getPhoneCount(); i++) { in toString()
78 doReturn(PHONE_COUNT).when(mTelephonyManager).getPhoneCount(); in setUp()
74 when(TelephonyManager.getDefault().getPhoneCount()).thenReturn(CARD_COUNT); in setUp()
147 doReturn(SINGLE_SIM).when(mTelephonyManager).getPhoneCount(); in setUp()
116 doReturn(1).when(mTelephonyManager).getPhoneCount(); in setUp()
54 doReturn(2).when(mTelephonyManager).getPhoneCount(); in setUp()
222 int numPhones = TelephonyManager.getDefault().getPhoneCount();299 int numPhones = TelephonyManager.getDefault().getPhoneCount(); in TelephonyRegistry()1404 for (int i = 0; i < TelephonyManager.getDefault().getPhoneCount(); i++) { in dump()
1189 return phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount(); in isValidPhoneId()
234 public int getPhoneCount() { in getPhoneCount() method in TelephonyManager2038 for (int i = 0; i < getPhoneCount(); i++) { in getSimState()
4808 for (int i = 0; i < TelephonyManager.getDefault().getPhoneCount(); i++) { in isPhoneStateIdle()
39978 method public int getPhoneCount();
43450 method public int getPhoneCount();