Home
last modified time | relevance | path

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

/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.java138 int numPhones = TelephonyManager.getDefault().getPhoneCount(); in makeDefaultPhone()
258 && (phoneId < TelephonyManager.getDefault().getPhoneCount())) in getPhone()
DCarrierServiceBindHelper.java93 int numPhones = TelephonyManager.from(context).getPhoneCount(); in CarrierServiceBindHelper()
DSubscriptionInfoUpdater.java67 private static final int PROJECT_SIM_NUM = TelephonyManager.getDefault().getPhoneCount();
DSubscriptionController.java1017 phoneId >= mTelephonyManager.getPhoneCount()) { in setDisplayNumber()
1526 if (phoneId >= 0 && (phoneId < mTelephonyManager.getPhoneCount() in setDefaultFallbackSubId()
DCallManager.java2375 for (int i = 0; i < TelephonyManager.getDefault().getPhoneCount(); i++) { in toString()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccControllerTest.java77 doReturn(PHONE_COUNT).when(mTelephonyManager).getPhoneCount(); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccController.java94 private UiccCard[] mUiccCards = new UiccCard[TelephonyManager.getDefault().getPhoneCount()];
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionControllerTest.java147 doReturn(SINGLE_SIM).when(mTelephonyManager).getPhoneCount(); in setUp()
DSubscriptionInfoUpdaterTest.java123 .when(mTelephonyManager).getPhoneCount(); in setUp()
DPhoneSubInfoControllerTest.java54 doReturn(2).when(mTelephonyManager).getPhoneCount(); in setUp()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java217 int numPhones = TelephonyManager.getDefault().getPhoneCount();
295 int numPhones = TelephonyManager.getDefault().getPhoneCount(); in TelephonyRegistry()
1320 for (int i = 0; i < TelephonyManager.getDefault().getPhoneCount(); i++) { in dump()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java1211 return phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount(); in isValidPhoneId()
DTelephonyManager.java205 public int getPhoneCount() { in getPhoneCount() method in TelephonyManager
1810 for (int i = 0; i < getPhoneCount(); i++) { in getSimState()
/frameworks/base/api/
Dcurrent.txt37225 method public int getPhoneCount();
Dtest-current.txt37302 method public int getPhoneCount();
Dsystem-current.txt40179 method public int getPhoneCount();