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.java155 int numPhones = TelephonyManager.getDefault().getActiveModemCount(); in makeDefaultPhone() local
157 int[] networkModes = new int[numPhones]; in makeDefaultPhone()
158 sPhones = new Phone[numPhones]; in makeDefaultPhone()
159 sCommandsInterfaces = new RIL[numPhones]; in makeDefaultPhone()
160 sTelephonyNetworkFactories = new TelephonyNetworkFactory[numPhones]; in makeDefaultPhone()
162 for (int i = 0; i < numPhones; i++) { in makeDefaultPhone()
189 for (int i = 0; i < numPhones; i++) { in makeDefaultPhone()
196 if (numPhones > 0) sPhone = sPhones[0]; in makeDefaultPhone()
227 for (int i = 0; i < numPhones; i++) { in makeDefaultPhone()
251 for (int i = 0; i < numPhones; i++) { in makeDefaultPhone()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java353 int numPhones = getTelephonyManager().getPhoneCount();
354 for (int sub = 0; sub < numPhones; sub++) {
549 int numPhones = getTelephonyManager().getActiveModemCount(); in TelephonyRegistry() local
550 if (DBG) log("TelephonyRegistry: ctor numPhones=" + numPhones); in TelephonyRegistry()
551 mNumPhones = numPhones; in TelephonyRegistry()
552 mCallState = new int[numPhones]; in TelephonyRegistry()
553 mDataActivity = new int[numPhones]; in TelephonyRegistry()
554 mDataConnectionState = new int[numPhones]; in TelephonyRegistry()
555 mDataConnectionNetworkType = new int[numPhones]; in TelephonyRegistry()
556 mCallIncomingNumber = new String[numPhones]; in TelephonyRegistry()
[all …]