/frameworks/base/telephony/java/android/telephony/ |
D | TelephonyManager.java | 856 int phoneId = SubscriptionManager.getPhoneId(subId); in getCurrentPhoneType() local 863 return getPhoneTypeFromProperty(phoneId); in getCurrentPhoneType() 868 return getPhoneTypeFromProperty(phoneId); in getCurrentPhoneType() 872 return getPhoneTypeFromProperty(phoneId); in getCurrentPhoneType() 897 private int getPhoneTypeFromProperty(int phoneId) { in getPhoneTypeFromProperty() argument 898 String type = getTelephonyProperty(phoneId, in getPhoneTypeFromProperty() 901 return getPhoneTypeFromNetworkType(phoneId); in getPhoneTypeFromProperty() 911 private int getPhoneTypeFromNetworkType(int phoneId) { in getPhoneTypeFromNetworkType() argument 915 String mode = getTelephonyProperty(phoneId, "ro.telephony.default_network", null); in getPhoneTypeFromNetworkType() 1068 int phoneId = SubscriptionManager.getPhoneId(subId); in getNetworkOperatorName() local [all …]
|
D | SubscriptionManager.java | 1040 public static boolean isValidPhoneId(int phoneId) { in isValidPhoneId() argument 1041 return phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount(); in isValidPhoneId() 1045 public static void putPhoneIdAndSubIdExtra(Intent intent, int phoneId) { in putPhoneIdAndSubIdExtra() argument 1046 int[] subIds = SubscriptionManager.getSubId(phoneId); in putPhoneIdAndSubIdExtra() 1048 putPhoneIdAndSubIdExtra(intent, phoneId, subIds[0]); in putPhoneIdAndSubIdExtra() 1055 public static void putPhoneIdAndSubIdExtra(Intent intent, int phoneId, int subId) { in putPhoneIdAndSubIdExtra() argument 1056 if (VDBG) logd("putPhoneIdAndSubIdExtra: phoneId=" + phoneId + " subId=" + subId); in putPhoneIdAndSubIdExtra() 1058 intent.putExtra(PhoneConstants.PHONE_KEY, phoneId); in putPhoneIdAndSubIdExtra() 1061 intent.putExtra(PhoneConstants.SLOT_KEY, phoneId); in putPhoneIdAndSubIdExtra() 1099 final int phoneId = getPhoneId(subId); in isNetworkRoaming() local [all …]
|
D | RadioAccessFamily.java | 65 public RadioAccessFamily(int phoneId, int radioAccessFamily) { in RadioAccessFamily() argument 66 mPhoneId = phoneId; in RadioAccessFamily() 126 int phoneId = in.readInt(); 129 return new RadioAccessFamily(phoneId, radioAccessFamily);
|
/frameworks/base/services/core/java/com/android/server/ |
D | TelephonyRegistry.java | 100 int phoneId = SubscriptionManager.INVALID_PHONE_INDEX; field in TelephonyRegistry.Record 115 + " callerUid=" + callerUid + " subId=" + subId + " phoneId=" + phoneId in toString() 488 r.phoneId = SubscriptionManager.getPhoneId(r.subId); in listen() 490 int phoneId = r.phoneId; in listen() local 493 log("listen: Register r=" + r + " r.subId=" + r.subId + " phoneId=" + phoneId); in listen() 496 if (notifyNow && validatePhoneId(phoneId)) { in listen() 499 if (VDBG) log("listen: call onSSC state=" + mServiceState[phoneId]); in listen() 501 new ServiceState(mServiceState[phoneId])); in listen() 508 int gsmSignalStrength = mSignalStrength[phoneId] in listen() 519 mMessageWaiting[phoneId]); in listen() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ProxyController.java | 181 int phoneId = SubscriptionController.getInstance().getPhoneId(subId); in registerForAllDataDisconnected() local 183 if (phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount()) { in registerForAllDataDisconnected() 184 mProxyPhones[phoneId].registerForAllDataDisconnected(h, what, obj); in registerForAllDataDisconnected() 189 int phoneId = SubscriptionController.getInstance().getPhoneId(subId); in unregisterForAllDataDisconnected() local 191 if (phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount()) { in unregisterForAllDataDisconnected() 192 mProxyPhones[phoneId].unregisterForAllDataDisconnected(h); in unregisterForAllDataDisconnected() 197 int phoneId = SubscriptionController.getInstance().getPhoneId(subId); in isDataDisconnected() local 199 if (phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount()) { in isDataDisconnected() 200 Phone activePhone = mProxyPhones[phoneId].getActivePhone(); in isDataDisconnected() 213 public int getRadioAccessFamily(int phoneId) { in getRadioAccessFamily() argument [all …]
|
D | PhoneFactory.java | 194 public static Phone getCdmaPhone(int phoneId) { in getCdmaPhone() argument 197 phone = new CDMALTEPhone(sContext, sCommandsInterfaces[phoneId], in getCdmaPhone() 198 sPhoneNotifier, phoneId); in getCdmaPhone() 203 public static Phone getGsmPhone(int phoneId) { in getGsmPhone() argument 205 Phone phone = new GSMPhone(sContext, sCommandsInterfaces[phoneId], in getGsmPhone() 206 sPhoneNotifier, phoneId); in getGsmPhone() 220 public static Phone getPhone(int phoneId) { in getPhone() argument 228 } else if (phoneId == SubscriptionManager.DEFAULT_PHONE_INDEX) { in getPhone() 233 phone = (((phoneId >= 0) in getPhone() 234 && (phoneId < TelephonyManager.getDefault().getPhoneCount())) in getPhone() [all …]
|
D | PhoneSubInfoController.java | 50 public String getDeviceIdForPhone(int phoneId) { in getDeviceIdForPhone() argument 51 Phone phone = getPhone(phoneId); in getDeviceIdForPhone() 55 Rlog.e(TAG,"getDeviceIdForPhone phone " + phoneId + " is null"); in getDeviceIdForPhone() 224 int phoneId = SubscriptionManager.getPhoneId(subId); in getPhoneSubInfoProxy() local 227 return getPhone(phoneId).getPhoneSubInfoProxy(); in getPhoneSubInfoProxy() 235 private PhoneProxy getPhone(int phoneId) { in getPhone() argument 236 if (phoneId < 0 || phoneId >= TelephonyManager.getDefault().getPhoneCount()) { in getPhone() 237 phoneId = 0; in getPhone() 239 return (PhoneProxy) mPhone[phoneId]; in getPhone()
|
D | SubscriptionController.java | 299 final int phoneId = getPhoneId(subId); in getSubscriptionCountryIso() local 300 if (phoneId < 0) { in getSubscriptionCountryIso() 303 return mTelephonyManager.getSimCountryIsoForPhone(phoneId); in getSubscriptionCountryIso() 869 int phoneId = getPhoneId(subId); in setDisplayNumber() local 871 if (number == null || phoneId < 0 || in setDisplayNumber() 872 phoneId >= mTelephonyManager.getPhoneCount()) { in setDisplayNumber() 1045 int phoneId; in getPhoneId() local 1062 phoneId = mDefaultPhoneId; in getPhoneId() 1063 if (DBG) logdl("[getPhoneId]- no sims, returning default phoneId=" + phoneId); in getPhoneId() 1064 return phoneId; in getPhoneId() [all …]
|
D | RadioCapability.java | 127 public RadioCapability(int phoneId, int session, int phase, in RadioCapability() argument 129 mPhoneId = phoneId; in RadioCapability()
|
D | DefaultPhoneNotifier.java | 78 int phoneId = sender.getPhoneId(); in notifyServiceState() local 82 + " sender=" + sender + " phondId=" + phoneId + " subId=" + subId); in notifyServiceState() 89 mRegistry.notifyServiceStateForPhoneId(phoneId, subId, ss); in notifyServiceState() 112 int phoneId = sender.getPhoneId(); in notifyMessageWaitingChanged() local 117 mRegistry.notifyMessageWaitingChangedForPhoneId(phoneId, subId, in notifyMessageWaitingChanged()
|
D | UiccSmsController.java | 332 int phoneId = SubscriptionController.getInstance().getPhoneId(subId) ; in getIccSmsInterfaceManager() local 334 if (!SubscriptionManager.isValidPhoneId(phoneId) in getIccSmsInterfaceManager() 335 || phoneId == SubscriptionManager.DEFAULT_PHONE_INDEX) { in getIccSmsInterfaceManager() 336 phoneId = 0; in getIccSmsInterfaceManager() 341 ((PhoneProxy)mPhone[(int)phoneId]).getIccSmsInterfaceManager(); in getIccSmsInterfaceManager()
|
D | UiccPhoneBookController.java | 139 int phoneId = SubscriptionController.getInstance().getPhoneId(subId); in getIccPhoneBookInterfaceManagerProxy() local 141 return ((PhoneProxy)mPhone[(int)phoneId]).getIccPhoneBookInterfaceManagerProxy(); in getIccPhoneBookInterfaceManagerProxy()
|
D | WapPushOverSms.java | 122 int phoneId = handler.getPhone().getPhoneId(); in dispatchWapPdu() local 200 int [] subIds = SubscriptionManager.getSubId(phoneId); in dispatchWapPdu() 240 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, phoneId); in dispatchWapPdu() 281 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, phoneId); in dispatchWapPdu()
|
D | PhoneSubInfoProxy.java | 155 public String getDeviceIdForPhone(int phoneId) throws RemoteException { in getDeviceIdForPhone() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DctController.java | 214 int phoneId = i; in DctController() local 216 "DcSwitchStateMachine-" + phoneId, phoneId); in DctController() 218 mDcSwitchAsyncChannel[i] = new DcSwitchAsyncChannel(mDcSwitchStateMachine[i], phoneId); in DctController() 315 void executeAllRequests(int phoneId) { in executeAllRequests() argument 316 logd("executeAllRequests, phone:" + phoneId); in executeAllRequests() 317 sendMessage(obtainMessage(EVENT_EXECUTE_ALL_REQUESTS, phoneId,0)); in executeAllRequests() 325 void releaseAllRequests(int phoneId) { in releaseAllRequests() argument 326 logd("releaseAllRequests, phone:" + phoneId); in releaseAllRequests() 327 sendMessage(obtainMessage(EVENT_RELEASE_ALL_REQUESTS, phoneId, 0)); in releaseAllRequests() 339 int phoneId = getTopPriorityRequestPhoneId(); in onProcessRequest() local [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccController.java | 139 public UiccCard getUiccCard(int phoneId) { in getUiccCard() argument 141 if (isValidCardIndex(phoneId)) { in getUiccCard() 142 return mUiccCards[phoneId]; in getUiccCard() 157 public IccRecords getIccRecords(int phoneId, int family) { in getIccRecords() argument 159 UiccCardApplication app = getUiccCardApplication(phoneId, family); in getIccRecords() 168 public IccFileHandler getIccFileHandler(int phoneId, int family) { in getIccFileHandler() argument 170 UiccCardApplication app = getUiccCardApplication(phoneId, family); in getIccFileHandler() 257 public UiccCardApplication getUiccCardApplication(int phoneId, int family) { in getUiccCardApplication() argument 259 if (isValidCardIndex(phoneId)) { in getUiccCardApplication() 260 UiccCard c = mUiccCards[phoneId]; in getUiccCardApplication() [all …]
|
D | IccCardProxy.java | 119 public IccCardProxy(Context context, CommandsInterface ci, int phoneId) { in IccCardProxy() argument 120 if (DBG) log("ctor: ci=" + ci + " phoneId=" + phoneId); in IccCardProxy() 123 mPhoneId = phoneId; in IccCardProxy()
|
D | UiccCard.java | 105 public UiccCard(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId) { in UiccCard() argument 107 mPhoneId = phoneId; in UiccCard()
|
D | RuimRecords.java | 842 int phoneId = mParentApp.getUiccCard().getPhoneId(); in onAllRecordsLoaded() local 843 int[] subIds = SubscriptionController.getInstance().getSubId(phoneId); in onAllRecordsLoaded()
|
/frameworks/base/telephony/java/com/android/ims/internal/ |
D | IImsService.aidl | 35 int open(int phoneId, int serviceClass, in PendingIntent incomingCallIntent, in open() argument 56 IImsConfig getConfigInterface(int phoneId); in getConfigInterface() argument 61 void turnOnIms(int phoneId); in turnOnIms() argument 67 void turnOffIms(int phoneId); in turnOffIms() argument
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsManager.java | 155 public static ImsManager getInstance(Context context, int phoneId) { in getInstance() argument 157 if (sImsManagerInstances.containsKey(phoneId)) in getInstance() 158 return sImsManagerInstances.get(phoneId); in getInstance() 160 ImsManager mgr = new ImsManager(context, phoneId); in getInstance() 161 sImsManagerInstances.put(phoneId, mgr); in getInstance() 277 private ImsManager(Context context, int phoneId) { in ImsManager() argument 279 mPhoneId = phoneId; in ImsManager() 649 private static String getImsServiceName(int phoneId) { in getImsServiceName() argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ITelephonyRegistry.aidl | 42 void notifyServiceStateForPhoneId(in int phoneId, in int subId, in ServiceState state); in notifyServiceStateForPhoneId() argument 45 void notifyMessageWaitingChangedForPhoneId(in int phoneId, in int subId, in boolean mwi); in notifyMessageWaitingChangedForPhoneId() argument
|
D | IPhoneSubInfo.aidl | 39 String getDeviceIdForPhone(int phoneId); in getDeviceIdForPhone() argument
|
D | ITelephony.aidl | 853 int getRadioAccessFamily(in int phoneId); in getRadioAccessFamily() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CDMALTEPhone.java | 82 int phoneId) { in CDMALTEPhone() argument 83 this(context, ci, notifier, false, phoneId); in CDMALTEPhone() 87 boolean unitTestMode, int phoneId) { in CDMALTEPhone() argument 88 super(context, ci, notifier, phoneId); in CDMALTEPhone()
|