Searched refs:phoneId (Results 26 - 44 of 44) sorted by relevance

12

/frameworks/base/telephony/java/android/telephony/
H A DSubscriptionManager.java901 if (VDBG) logd("[getPhoneId]- phoneId=" + result);
1163 public static boolean isValidPhoneId(int phoneId) { argument
1164 return phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount();
1168 public static void putPhoneIdAndSubIdExtra(Intent intent, int phoneId) { argument
1169 int[] subIds = SubscriptionManager.getSubId(phoneId);
1171 putPhoneIdAndSubIdExtra(intent, phoneId, subIds[0]);
1178 public static void putPhoneIdAndSubIdExtra(Intent intent, int phoneId, int subId) { argument
1179 if (VDBG) logd("putPhoneIdAndSubIdExtra: phoneId=" + phoneId
[all...]
H A DRadioAccessFamily.java75 * @param phoneId the phone ID
80 public RadioAccessFamily(int phoneId, int radioAccessFamily) { argument
81 mPhoneId = phoneId;
141 int phoneId = in.readInt();
144 return new RadioAccessFamily(phoneId, radioAccessFamily);
H A DCarrierConfigManager.java1241 * Request the carrier config loader to update the cofig for phoneId.
1250 public void updateConfigForPhoneId(int phoneId, String simState) { argument
1254 Rlog.w(TAG, "Error updating config for phoneId=" + phoneId
1258 loader.updateConfigForPhoneId(phoneId, simState);
1260 Rlog.e(TAG, "Error updating config for phoneId=" + phoneId + ": " + ex.toString());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneFactory.java244 public static Phone getPhone(int phoneId) { argument
252 } else if (phoneId == SubscriptionManager.DEFAULT_PHONE_INDEX) {
253 if (DBG) dbgInfo = "phoneId == DEFAULT_PHONE_ID return sPhone";
256 if (DBG) dbgInfo = "phoneId != DEFAULT_PHONE_ID return sPhones[phoneId]";
257 phone = (((phoneId >= 0)
258 && (phoneId < TelephonyManager.getDefault().getPhoneCount()))
259 ? sPhones[phoneId] : null);
262 Rlog.d(LOG_TAG, "getPhone:- " + dbgInfo + " phoneId=" + phoneId
[all...]
H A DTelephonyComponentFactory.java79 public IccCardProxy makeIccCardProxy(Context context, CommandsInterface ci, int phoneId) { argument
80 return new IccCardProxy(context, ci, phoneId);
H A DUiccPhoneBookController.java136 int phoneId = SubscriptionController.getInstance().getPhoneId(subId);
138 return mPhone[phoneId].getIccPhoneBookInterfaceManager();
H A DUiccSmsController.java331 int phoneId = SubscriptionController.getInstance().getPhoneId(subId) ;
333 if (!SubscriptionManager.isValidPhoneId(phoneId)
334 || phoneId == SubscriptionManager.DEFAULT_PHONE_INDEX) {
335 phoneId = 0;
340 ((Phone)mPhone[(int)phoneId]).getIccSmsInterfaceManager();
H A DWapPushOverSms.java176 int phoneId = handler.getPhone().getPhoneId();
257 int[] subIds = SubscriptionManager.getSubId(phoneId);
300 result.phoneId = phoneId;
362 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, result.phoneId);
393 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, result.phoneId);
627 int phoneId; field in class:WapPushOverSms.DecodedResult
H A DGsmCdmaPhone.java191 public GsmCdmaPhone(Context context, CommandsInterface ci, PhoneNotifier notifier, int phoneId, argument
193 this(context, ci, notifier, false, phoneId, precisePhoneType, telephonyComponentFactory);
197 boolean unitTestMode, int phoneId, int precisePhoneType,
200 notifier, context, ci, unitTestMode, phoneId, telephonyComponentFactory);
196 GsmCdmaPhone(Context context, CommandsInterface ci, PhoneNotifier notifier, boolean unitTestMode, int phoneId, int precisePhoneType, TelephonyComponentFactory telephonyComponentFactory) argument
H A DPhone.java425 * @param phoneId the phone-id of this phone.
428 boolean unitTestMode, int phoneId,
430 mPhoneId = phoneId;
427 Phone(String name, PhoneNotifier notifier, Context context, CommandsInterface ci, boolean unitTestMode, int phoneId, TelephonyComponentFactory telephonyComponentFactory) argument
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DIPhoneSubInfo.aidl39 String getDeviceIdForPhone(int phoneId, String callingPackage);
H A DITelephony.aidl819 * and have carrier privileges for the given phoneId.
822 * @param phoneId The phoneId on which the carrier app has carrier privileges.
823 * @return list of carrier app package names that can handle the intent on phoneId.
827 List<String> getCarrierPackageNamesForIntentAndPhone(in Intent intent, int phoneId);
940 * @param phoneId which phone you want to get
944 int getRadioAccessFamily(in int phoneId, String callingPackage);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DSubscriptionControllerMock.java97 public int getSubIdUsingPhoneId(int phoneId) { argument
98 int[] subIds = getSubId(phoneId);
H A DPhoneMock.java75 boolean unitTestMode, int phoneId,
77 super(name, notifier, context, ci, unitTestMode, phoneId, telephonyComponentFactory);
74 PhoneMock(String name, PhoneNotifier notifier, Context context, CommandsInterface ci, boolean unitTestMode, int phoneId, TelephonyComponentFactory telephonyComponentFactory) argument
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsManager.java198 * @param phoneId the phone ID for the IMS Service
199 * @return the manager instance corresponding to the phoneId
201 public static ImsManager getInstance(Context context, int phoneId) { argument
203 if (sImsManagerInstances.containsKey(phoneId))
204 return sImsManagerInstances.get(phoneId);
206 ImsManager mgr = new ImsManager(context, phoneId);
207 sImsManagerInstances.put(phoneId, mgr);
715 * @param phoneId phone id
718 public static void updateImsServiceConfig(Context context, int phoneId, boolean force) { argument
727 final ImsManager imsManager = ImsManager.getInstance(context, phoneId);
853 ImsManager(Context context, int phoneId) argument
1316 getImsServiceName(int phoneId) argument
[all...]
/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/
H A DNotificationTests.java270 int phoneId = mNotifications.size();
272 = FullScreenActivity.getPendingIntent(mContext, phoneId);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
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;
H A DRuimRecords.java798 int phoneId = mParentApp.getUiccCard().getPhoneId();
799 int[] subIds = SubscriptionController.getInstance().getSubId(phoneId);
H A DUiccCard.java111 public UiccCard(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId) { argument
113 mPhoneId = phoneId;

Completed in 4177 milliseconds

12