Home
last modified time | relevance | path

Searched refs:getPhoneCount (Results 1 – 20 of 20) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DVoicemailNotificationSettingsUtil.java102 if (prefs.contains(key) || telephonyManager.getPhoneCount() != 1) { in migrateVoicemailVibrationSettingsIfNeeded()
141 if (prefs.contains(key) || telephonyManager.getPhoneCount() != 1) { in migrateVoicemailRingtoneSettingsIfNeeded()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccStateChangedLauncher.java65 mIsRestricted = new boolean[TelephonyManager.getDefault().getPhoneCount()]; in handleMessage()
DUiccController.java95 private UiccCard[] mUiccCards = new UiccCard[TelephonyManager.getDefault().getPhoneCount()];
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DProxyController.java174 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()
DPhoneFactory.java142 int numPhones = TelephonyManager.getDefault().getPhoneCount(); in makeDefaultPhone()
272 && (phoneId < TelephonyManager.getDefault().getPhoneCount())) in getPhone()
DCarrierServiceBindHelper.java106 int numPhones = TelephonyManager.from(context).getPhoneCount(); in CarrierServiceBindHelper()
DSubscriptionController.java1010 phoneId >= mTelephonyManager.getPhoneCount()) { in setDisplayNumber()
1482 if (phoneId >= 0 && (phoneId < mTelephonyManager.getPhoneCount() in setDefaultFallbackSubId()
DSubscriptionInfoUpdater.java64 private static final int PROJECT_SIM_NUM = TelephonyManager.getDefault().getPhoneCount();
DCallManager.java2376 for (int i = 0; i < TelephonyManager.getDefault().getPhoneCount(); i++) { in toString()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccControllerTest.java78 doReturn(PHONE_COUNT).when(mTelephonyManager).getPhoneCount(); in setUp()
DUiccStateChangedLauncherTest.java74 when(TelephonyManager.getDefault().getPhoneCount()).thenReturn(CARD_COUNT); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionControllerTest.java147 doReturn(SINGLE_SIM).when(mTelephonyManager).getPhoneCount(); in setUp()
DSubscriptionInfoUpdaterTest.java116 doReturn(1).when(mTelephonyManager).getPhoneCount(); in setUp()
DPhoneSubInfoControllerTest.java54 doReturn(2).when(mTelephonyManager).getPhoneCount(); in setUp()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java222 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()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java1189 return phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount(); in isValidPhoneId()
DTelephonyManager.java234 public int getPhoneCount() { in getPhoneCount() method in TelephonyManager
2038 for (int i = 0; i < getPhoneCount(); i++) { in getSimState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java4808 for (int i = 0; i < TelephonyManager.getDefault().getPhoneCount(); i++) { in isPhoneStateIdle()
/frameworks/base/api/
Dcurrent.txt39978 method public int getPhoneCount();
Dsystem-current.txt43450 method public int getPhoneCount();