Home
last modified time | relevance | path

Searched refs:numPhones (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneFactory.java162 int numPhones = TelephonyManager.getDefault().getActiveModemCount(); in makeDefaultPhone() local
164 int[] networkModes = new int[numPhones]; in makeDefaultPhone()
165 sPhones = new Phone[numPhones]; in makeDefaultPhone()
166 sCommandsInterfaces = new RIL[numPhones]; in makeDefaultPhone()
167 sTelephonyNetworkFactories = new TelephonyNetworkFactory[numPhones]; in makeDefaultPhone()
169 for (int i = 0; i < numPhones; i++) { in makeDefaultPhone()
180 if (numPhones > 0) { in makeDefaultPhone()
210 for (int i = 0; i < numPhones; i++) { in makeDefaultPhone()
217 if (numPhones > 0) sPhone = sPhones[0]; in makeDefaultPhone()
248 for (int i = 0; i < numPhones; i++) { in makeDefaultPhone()
[all …]
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java536 int numPhones = getTelephonyManager().getActiveModemCount();
537 for (int phoneId = 0; phoneId < numPhones; phoneId++) {
747 int numPhones = getTelephonyManager().getActiveModemCount(); in TelephonyRegistry() local
748 if (DBG) log("TelephonyRegistry: ctor numPhones=" + numPhones); in TelephonyRegistry()
749 mNumPhones = numPhones; in TelephonyRegistry()
750 mCallState = new int[numPhones]; in TelephonyRegistry()
751 mDataActivity = new int[numPhones]; in TelephonyRegistry()
752 mDataConnectionState = new int[numPhones]; in TelephonyRegistry()
753 mDataConnectionNetworkType = new int[numPhones]; in TelephonyRegistry()
754 mCallIncomingNumber = new String[numPhones]; in TelephonyRegistry()
[all …]