Searched refs:phoneId (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/base/telephony/java/com/android/ims/internal/
H A DIImsService.aidl35 int open(int phoneId, int serviceClass, in PendingIntent incomingCallIntent,
56 IImsConfig getConfigInterface(int phoneId);
61 void turnOnIms(int phoneId);
67 void turnOffIms(int phoneId);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DProxyController.java142 // TODO Get logical modem ids assume its just the phoneId as a string for now
181 int phoneId = SubscriptionController.getInstance().getPhoneId(subId);
183 if (phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount()) {
184 mProxyPhones[phoneId].registerForAllDataDisconnected(h, what, obj);
189 int phoneId = SubscriptionController.getInstance().getPhoneId(subId);
191 if (phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount()) {
192 mProxyPhones[phoneId].unregisterForAllDataDisconnected(h);
197 int phoneId
213 getRadioAccessFamily(int phoneId) argument
550 sendRadioCapabilityRequest(int phoneId, int sessionId, int rcPhase, int radioFamily, String logicalModemId, int status, int eventId) argument
[all...]
H A DRadioCapability.java117 * @param phoneId the phone ID
127 public RadioCapability(int phoneId, int session, int phase, argument
129 mPhoneId = phoneId;
H A DPhoneFactory.java194 public static Phone getCdmaPhone(int phoneId) { argument
197 phone = new CDMALTEPhone(sContext, sCommandsInterfaces[phoneId],
198 sPhoneNotifier, phoneId);
203 public static Phone getGsmPhone(int phoneId) { argument
205 Phone phone = new GSMPhone(sContext, sCommandsInterfaces[phoneId],
206 sPhoneNotifier, phoneId);
220 public static Phone getPhone(int phoneId) { argument
228 } else if (phoneId == SubscriptionManager.DEFAULT_PHONE_INDEX) {
229 dbgInfo = "phoneId == DEFAULT_PHONE_ID return sProxyPhone";
232 dbgInfo = "phoneId !
[all...]
H A DPhoneSubInfoController.java50 public String getDeviceIdForPhone(int phoneId) { argument
51 Phone phone = getPhone(phoneId);
55 Rlog.e(TAG,"getDeviceIdForPhone phone " + phoneId + " is null");
224 int phoneId = SubscriptionManager.getPhoneId(subId);
227 return getPhone(phoneId).getPhoneSubInfoProxy();
235 private PhoneProxy getPhone(int phoneId) { argument
236 if (phoneId < 0 || phoneId >= TelephonyManager.getDefault().getPhoneCount()) {
237 phoneId = 0;
239 return (PhoneProxy) mPhone[phoneId];
[all...]
H A DSubscriptionController.java60 * Any setters which take subId, slotId or phoneId as a parameter will throw an exception if the
299 final int phoneId = getPhoneId(subId);
300 if (phoneId < 0) {
303 return mTelephonyManager.getSimCountryIsoForPhone(phoneId);
658 // If mSlotIdToSubIdMap already has a valid subId for a slotId/phoneId,
659 // do not add another subId for same slotId/phoneId.
666 // FIXME: Currently we assume phoneId == slotId which in the future
864 int phoneId = getPhoneId(subId);
866 if (number == null || phoneId < 0 ||
867 phoneId >
1381 getSubIdUsingPhoneId(int phoneId) argument
[all...]
H A DUiccPhoneBookController.java139 int phoneId = SubscriptionController.getInstance().getPhoneId(subId);
141 return ((PhoneProxy)mPhone[(int)phoneId]).getIccPhoneBookInterfaceManagerProxy();
H A DDefaultPhoneNotifier.java78 int phoneId = sender.getPhoneId();
82 + " sender=" + sender + " phondId=" + phoneId + " subId=" + subId);
89 mRegistry.notifyServiceStateForPhoneId(phoneId, subId, ss);
112 int phoneId = sender.getPhoneId();
117 mRegistry.notifyMessageWaitingChangedForPhoneId(phoneId, subId,
H A DUiccSmsController.java332 int phoneId = SubscriptionController.getInstance().getPhoneId(subId) ;
334 if (!SubscriptionManager.isValidPhoneId(phoneId)
335 || phoneId == SubscriptionManager.DEFAULT_PHONE_INDEX) {
336 phoneId = 0;
341 ((PhoneProxy)mPhone[(int)phoneId]).getIccSmsInterfaceManager();
H A DPhoneSubInfoProxy.java155 public String getDeviceIdForPhone(int phoneId) throws RemoteException { argument
H A DWapPushOverSms.java122 int phoneId = handler.getPhone().getPhoneId();
200 int [] subIds = SubscriptionManager.getSubId(phoneId);
240 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, phoneId);
281 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, phoneId);
/frameworks/base/telephony/java/android/telephony/
H A DTelephonyManager.java643 // FIXME this assumes phoneId == slotId
856 int phoneId = SubscriptionManager.getPhoneId(subId);
863 return getPhoneTypeFromProperty(phoneId);
868 return getPhoneTypeFromProperty(phoneId);
872 return getPhoneTypeFromProperty(phoneId);
897 private int getPhoneTypeFromProperty(int phoneId) { argument
898 String type = getTelephonyProperty(phoneId,
901 return getPhoneTypeFromNetworkType(phoneId);
911 private int getPhoneTypeFromNetworkType(int phoneId) { argument
915 String mode = getTelephonyProperty(phoneId, "r
1110 getNetworkOperatorForPhone(int phoneId) argument
1178 getNetworkCountryIsoForPhone(int phoneId) argument
1636 getSimOperatorNumericForPhone(int phoneId) argument
1672 getSimOperatorNameForPhone(int phoneId) argument
1712 getSimCountryIsoForPhone(int phoneId) argument
2878 setTelephonyProperty(int phoneId, String property, String value) argument
3017 getTelephonyProperty(int phoneId, String property, String defaultVal) argument
3799 setSimOperatorNumericForPhone(int phoneId, String numeric) argument
3819 setSimOperatorNameForPhone(int phoneId, String name) argument
3839 setSimCountryIsoForPhone(int phoneId, String iso) argument
3859 setSimStateForPhone(int phoneId, String state) argument
3882 setBasebandVersionForPhone(int phoneId, String version) argument
3910 setPhoneType(int phoneId, int type) argument
3939 getOtaSpNumberSchemaForPhone(int phoneId, String defaultValue) argument
3970 getSmsReceiveCapableForPhone(int phoneId, boolean defaultValue) argument
4001 getSmsSendCapableForPhone(int phoneId, boolean defaultValue) argument
4026 setNetworkOperatorNameForPhone(int phoneId, String name) argument
4048 setNetworkOperatorNumericForPhone(int phoneId, String numeric) argument
4068 setNetworkRoamingForPhone(int phoneId, boolean isRoaming) argument
4093 setNetworkCountryIsoForPhone(int phoneId, String iso) argument
4116 setDataNetworkTypeForPhone(int phoneId, int type) argument
[all...]
H A DRadioAccessFamily.java60 * @param phoneId the phone ID
65 public RadioAccessFamily(int phoneId, int radioAccessFamily) { argument
66 mPhoneId = phoneId;
126 int phoneId = in.readInt();
129 return new RadioAccessFamily(phoneId, radioAccessFamily);
H A DSubscriptionManager.java815 if (VDBG) logd("[getPhoneId]- phoneId=" + result);
1040 public static boolean isValidPhoneId(int phoneId) { argument
1041 return phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount();
1045 public static void putPhoneIdAndSubIdExtra(Intent intent, int phoneId) { argument
1046 int[] subIds = SubscriptionManager.getSubId(phoneId);
1048 putPhoneIdAndSubIdExtra(intent, phoneId, subIds[0]);
1055 public static void putPhoneIdAndSubIdExtra(Intent intent, int phoneId, int subId) { argument
1056 if (VDBG) logd("putPhoneIdAndSubIdExtra: phoneId=" + phoneId
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DTelephonyRegistry.java71 * and 15973975 by saving the phoneId of the registrant and then using the
72 * phoneId when deciding to to make a callback. This is necessary because
100 int phoneId = SubscriptionManager.INVALID_PHONE_INDEX; field in class:TelephonyRegistry.Record
115 + " callerUid=" + callerUid + " subId=" + subId + " phoneId=" + phoneId
488 r.phoneId = SubscriptionManager.getPhoneId(r.subId);
490 int phoneId = r.phoneId;
493 log("listen: Register r=" + r + " r.subId=" + r.subId + " phoneId=" + phoneId);
691 notifyServiceStateForPhoneId(int phoneId, int subId, ServiceState state) argument
856 notifyMessageWaitingChangedForPhoneId(int phoneId, int subId, boolean mwi) argument
1497 validatePhoneId(int phoneId) argument
1514 set(Time t, String s, int subId, int phoneId, ServiceState state) argument
1528 logServiceStateChanged(String s, int subId, int phoneId, ServiceState state) argument
1564 idMatch(int rSubId, int subId, int phoneId) argument
1577 checkPossibleMissNotify(Record r, int phoneId) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDctController.java214 int phoneId = i;
216 "DcSwitchStateMachine-" + phoneId, phoneId);
218 mDcSwitchAsyncChannel[i] = new DcSwitchAsyncChannel(mDcSwitchStateMachine[i], phoneId);
315 void executeAllRequests(int phoneId) { argument
316 logd("executeAllRequests, phone:" + phoneId);
317 sendMessage(obtainMessage(EVENT_EXECUTE_ALL_REQUESTS, phoneId,0));
325 void releaseAllRequests(int phoneId) { argument
326 logd("releaseAllRequests, phone:" + phoneId);
327 sendMessage(obtainMessage(EVENT_RELEASE_ALL_REQUESTS, phoneId,
377 onExecuteAllRequests(int phoneId) argument
400 onReleaseAllRequests(int phoneId) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccController.java139 public UiccCard getUiccCard(int phoneId) { argument
141 if (isValidCardIndex(phoneId)) {
142 return mUiccCards[phoneId];
157 public IccRecords getIccRecords(int phoneId, int family) { argument
159 UiccCardApplication app = getUiccCardApplication(phoneId, family);
168 public IccFileHandler getIccFileHandler(int phoneId, int family) { argument
170 UiccCardApplication app = getUiccCardApplication(phoneId, family);
257 public UiccCardApplication getUiccCardApplication(int phoneId, int family) { argument
259 if (isValidCardIndex(phoneId)) {
260 UiccCard c = mUiccCards[phoneId];
[all...]
H A DUiccCard.java105 public UiccCard(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId) { argument
107 mPhoneId = phoneId;
H A DIccCardProxy.java119 public IccCardProxy(Context context, CommandsInterface ci, int phoneId) { argument
120 if (DBG) log("ctor: ci=" + ci + " phoneId=" + phoneId);
123 mPhoneId = phoneId;
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DIPhoneSubInfo.aidl39 String getDeviceIdForPhone(int phoneId);
H A DITelephonyRegistry.aidl42 void notifyServiceStateForPhoneId(in int phoneId, in int subId, in ServiceState state);
45 void notifyMessageWaitingChangedForPhoneId(in int phoneId, in int subId, in boolean mwi);
H A DITelephony.aidl850 * @param phoneId which phone you want to get
853 int getRadioAccessFamily(in int phoneId);
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsManager.java152 * @param phoneId the phone ID for the IMS Service
153 * @return the manager instance corresponding to the phoneId
155 public static ImsManager getInstance(Context context, int phoneId) { argument
157 if (sImsManagerInstances.containsKey(phoneId))
158 return sImsManagerInstances.get(phoneId);
160 ImsManager mgr = new ImsManager(context, phoneId);
161 sImsManagerInstances.put(phoneId, mgr);
277 private ImsManager(Context context, int phoneId) { argument
279 mPhoneId = phoneId;
665 private static String getImsServiceName(int phoneId) { argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCDMALTEPhone.java82 int phoneId) {
83 this(context, ci, notifier, false, phoneId);
87 boolean unitTestMode, int phoneId) {
88 super(context, ci, notifier, phoneId);
81 CDMALTEPhone(Context context, CommandsInterface ci, PhoneNotifier notifier, int phoneId) argument
86 CDMALTEPhone(Context context, CommandsInterface ci, PhoneNotifier notifier, boolean unitTestMode, int phoneId) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGSMPhone.java177 GSMPhone(Context context, CommandsInterface ci, PhoneNotifier notifier, int phoneId) { argument
178 this(context, ci, notifier, false, phoneId);
183 PhoneNotifier notifier, boolean unitTestMode, int phoneId) {
184 super("GSM", notifier, context, ci, unitTestMode, phoneId);
182 GSMPhone(Context context, CommandsInterface ci, PhoneNotifier notifier, boolean unitTestMode, int phoneId) argument

Completed in 468 milliseconds

12