/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | ICarrierConfigLoader.aidl | 30 void updateConfigForPhoneId(int phoneId, String simState);
|
H A D | ITelephonyRegistry.aidl | 42 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 D | IPhoneSubInfo.aidl | 39 String getDeviceIdForPhone(int phoneId);
|
H A D | ITelephony.aidl | 787 * and have carrier privileges for the given phoneId. 790 * @param phoneId The phoneId on which the carrier app has carrier privileges. 791 * @return list of carrier app package names that can handle the intent on phoneId. 795 List<String> getCarrierPackageNamesForIntentAndPhone(in Intent intent, int phoneId); 906 * @param phoneId which phone you want to get 910 int getRadioAccessFamily(in int phoneId, String callingPackage);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | CarrierServiceBindHelper.java | 72 log("Binding to phoneId: " + binding.getPhoneId()); 77 log("Bind timeout for phoneId: " + binding.getPhoneId()); 82 log("Unbinding for phoneId: " + binding.getPhoneId()); 104 for (int phoneId = 0; phoneId < numPhones; phoneId++) { 105 mBindings[phoneId] = new AppBinding(phoneId); 118 public void updateForPhoneId(int phoneId, String simState) { argument 119 log("update binding for phoneId 138 private int phoneId; field in class:CarrierServiceBindHelper.AppBinding 146 AppBinding(int phoneId) argument [all...] |
H A D | ProxyController.java | 178 int phoneId = SubscriptionController.getInstance().getPhoneId(subId); 180 if (phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount()) { 181 mProxyPhones[phoneId].registerForAllDataDisconnected(h, what, obj); 186 int phoneId = SubscriptionController.getInstance().getPhoneId(subId); 188 if (phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount()) { 189 mProxyPhones[phoneId].unregisterForAllDataDisconnected(h); 194 int phoneId = SubscriptionController.getInstance().getPhoneId(subId); 196 if (phoneId > 211 getRadioAccessFamily(int phoneId) argument 606 sendRadioCapabilityRequest(int phoneId, int sessionId, int rcPhase, int radioFamily, String logicalModemId, int status, int eventId) argument [all...] |
H A D | RadioCapability.java | 117 * @param phoneId the phone ID 127 public RadioCapability(int phoneId, int session, int phase, argument 129 mPhoneId = phoneId;
|
H A D | PhoneFactory.java | 202 public static Phone getCdmaPhone(int phoneId) { argument 205 phone = new CDMALTEPhone(sContext, sCommandsInterfaces[phoneId], 206 sPhoneNotifier, phoneId); 211 public static Phone getGsmPhone(int phoneId) { argument 213 Phone phone = new GSMPhone(sContext, sCommandsInterfaces[phoneId], 214 sPhoneNotifier, phoneId); 228 public static Phone getPhone(int phoneId) { argument 236 } else if (phoneId == SubscriptionManager.DEFAULT_PHONE_INDEX) { 237 if (DBG) dbgInfo = "phoneId == DEFAULT_PHONE_ID return sProxyPhone"; 240 if (DBG) dbgInfo = "phoneId ! [all...] |
H A D | PhoneSubInfoController.java | 44 public String getDeviceIdForPhone(int phoneId) { argument 45 Phone phone = getPhone(phoneId); 49 Rlog.e(TAG,"getDeviceIdForPhone phone " + phoneId + " is null"); 218 int phoneId = SubscriptionManager.getPhoneId(subId); 221 return getPhone(phoneId).getPhoneSubInfoProxy(); 229 private PhoneProxy getPhone(int phoneId) { argument 230 if (phoneId < 0 || phoneId >= TelephonyManager.getDefault().getPhoneCount()) { 231 phoneId = 0; 233 return (PhoneProxy) mPhone[phoneId]; [all...] |
H A D | SubscriptionController.java | 62 * Any setters which take subId, slotId or phoneId as a parameter will throw an exception if the 312 final int phoneId = getPhoneId(subId); 313 if (phoneId < 0) { 316 return mTelephonyManager.getSimCountryIsoForPhone(phoneId); 735 // If sSlotIdxToSubId already has a valid subId for a slotId/phoneId, 736 // do not add another subId for same slotId/phoneId. 743 // FIXME: Currently we assume phoneId == slotId which in the future 1003 int phoneId = getPhoneId(subId); 1005 if (number == null || phoneId < 0 || 1006 phoneId > 1556 getSubIdUsingPhoneId(int phoneId) argument [all...] |
H A D | UiccPhoneBookController.java | 139 int phoneId = SubscriptionController.getInstance().getPhoneId(subId); 141 return ((PhoneProxy)mPhone[(int)phoneId]).getIccPhoneBookInterfaceManagerProxy();
|
H A D | DefaultPhoneNotifier.java | 78 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 D | UiccSmsController.java | 331 int phoneId = SubscriptionController.getInstance().getPhoneId(subId) ; 333 if (!SubscriptionManager.isValidPhoneId(phoneId) 334 || phoneId == SubscriptionManager.DEFAULT_PHONE_INDEX) { 335 phoneId = 0; 340 ((PhoneProxy)mPhone[(int)phoneId]).getIccSmsInterfaceManager();
|
H A D | PhoneSubInfoProxy.java | 155 public String getDeviceIdForPhone(int phoneId) throws RemoteException { argument
|
/frameworks/base/telephony/java/com/android/ims/internal/ |
H A D | IImsService.aidl | 35 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/base/services/core/java/com/android/server/ |
H A D | TelephonyRegistry.java | 73 * and 15973975 by saving the phoneId of the registrant and then using the 74 * phoneId when deciding to to make a callback. This is necessary because 102 int phoneId = SubscriptionManager.INVALID_PHONE_INDEX; field in class:TelephonyRegistry.Record 120 + " callerUserId=" + callerUserId + " subId=" + subId + " phoneId=" + phoneId 527 r.phoneId = SubscriptionManager.getPhoneId(r.subId); 529 int phoneId = r.phoneId; 532 log("listen: Register r=" + r + " r.subId=" + r.subId + " phoneId=" + phoneId); 681 getCallIncomingNumber(Record record, int phoneId) argument 761 notifyServiceStateForPhoneId(int phoneId, int subId, ServiceState state) argument 950 notifyMessageWaitingChangedForPhoneId(int phoneId, int subId, boolean mwi) argument 1644 validatePhoneId(int phoneId) argument 1661 set(Time t, String s, int subId, int phoneId, ServiceState state) argument 1675 logServiceStateChanged(String s, int subId, int phoneId, ServiceState state) argument 1711 idMatch(int rSubId, int subId, int phoneId) argument 1724 checkPossibleMissNotify(Record r, int phoneId) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DctController.java | 231 int phoneId = i; 233 "DcSwitchStateMachine-" + phoneId, phoneId); 235 mDcSwitchAsyncChannel[i] = new DcSwitchAsyncChannel(mDcSwitchStateMachine[i], phoneId); 310 private int requestNetwork(NetworkRequest request, int priority, LocalLog l, int phoneId) { argument 315 RequestInfo requestInfo = new RequestInfo(request, priority, l, phoneId); 343 void executeAllRequests(int phoneId) { argument 344 logd("executeAllRequests, phone:" + phoneId); 345 sendMessage(obtainMessage(EVENT_EXECUTE_ALL_REQUESTS, phoneId,0)); 353 void releaseAllRequests(int phoneId) { argument 358 retryAttach(int phoneId) argument 411 onExecuteAllRequests(int phoneId) argument 437 onReleaseAllRequests(int phoneId) argument 448 onRetryAttach(int phoneId) argument [all...] |
H A D | DcSwitchAsyncChannel.java | 70 final int phoneId; field in class:DcSwitchAsyncChannel.RequestInfo 73 public RequestInfo(NetworkRequest request, int priority, LocalLog l, int phoneId) { argument 78 this.phoneId = phoneId; 92 ", priority=" + priority + ", phoneId=" + phoneId + "]";
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | TelephonyManager.java | 724 // FIXME this assumes phoneId == slotId 966 int phoneId; 970 phoneId = 0; 972 phoneId = SubscriptionManager.getPhoneId(subId); 980 return getPhoneTypeFromProperty(phoneId); 985 return getPhoneTypeFromProperty(phoneId); 989 return getPhoneTypeFromProperty(phoneId); 1014 private int getPhoneTypeFromProperty(int phoneId) { argument 1015 String type = getTelephonyProperty(phoneId, 1018 return getPhoneTypeFromNetworkType(phoneId); 1028 getPhoneTypeFromNetworkType(int phoneId) argument 1227 getNetworkOperatorForPhone(int phoneId) argument 1295 getNetworkCountryIsoForPhone(int phoneId) argument 1808 getSimOperatorNumericForPhone(int phoneId) argument 1844 getSimOperatorNameForPhone(int phoneId) argument 1884 getSimCountryIsoForPhone(int phoneId) argument 3193 setTelephonyProperty(int phoneId, String property, String value) argument 3332 getTelephonyProperty(int phoneId, String property, String defaultVal) argument 3819 getCarrierPackageNamesForIntentAndPhone(Intent intent, int phoneId) argument 4398 setSimOperatorNumericForPhone(int phoneId, String numeric) argument 4418 setSimOperatorNameForPhone(int phoneId, String name) argument 4438 setSimCountryIsoForPhone(int phoneId, String iso) argument 4458 setSimStateForPhone(int phoneId, String state) argument 4481 setBasebandVersionForPhone(int phoneId, String version) argument 4509 setPhoneType(int phoneId, int type) argument 4538 getOtaSpNumberSchemaForPhone(int phoneId, String defaultValue) argument 4569 getSmsReceiveCapableForPhone(int phoneId, boolean defaultValue) argument 4600 getSmsSendCapableForPhone(int phoneId, boolean defaultValue) argument 4625 setNetworkOperatorNameForPhone(int phoneId, String name) argument 4647 setNetworkOperatorNumericForPhone(int phoneId, String numeric) argument 4667 setNetworkRoamingForPhone(int phoneId, boolean isRoaming) argument 4692 setNetworkCountryIsoForPhone(int phoneId, String iso) argument 4715 setDataNetworkTypeForPhone(int phoneId, int type) argument [all...] |
H A D | SubscriptionManager.java | 891 if (VDBG) logd("[getPhoneId]- phoneId=" + result); 1116 public static boolean isValidPhoneId(int phoneId) { argument 1117 return phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount(); 1121 public static void putPhoneIdAndSubIdExtra(Intent intent, int phoneId) { argument 1122 int[] subIds = SubscriptionManager.getSubId(phoneId); 1124 putPhoneIdAndSubIdExtra(intent, phoneId, subIds[0]); 1131 public static void putPhoneIdAndSubIdExtra(Intent intent, int phoneId, int subId) { argument 1132 if (VDBG) logd("putPhoneIdAndSubIdExtra: phoneId=" + phoneId [all...] |
H A D | RadioAccessFamily.java | 67 * @param phoneId the phone ID 72 public RadioAccessFamily(int phoneId, int radioAccessFamily) { argument 73 mPhoneId = phoneId; 133 int phoneId = in.readInt(); 136 return new RadioAccessFamily(phoneId, radioAccessFamily);
|
H A D | CarrierConfigManager.java | 533 * Request the carrier config loader to update the cofig for phoneId. 542 public void updateConfigForPhoneId(int phoneId, String simState) { argument 544 getICarrierConfigLoader().updateConfigForPhoneId(phoneId, simState); 546 Rlog.e(TAG, "Error updating config for phoneId=" + phoneId + ": " + ex.toString()); 548 Rlog.e(TAG, "Error updating config for phoneId=" + phoneId + ": " + ex.toString());
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | UiccController.java | 145 public UiccCard getUiccCard(int phoneId) { argument 147 if (isValidCardIndex(phoneId)) { 148 return mUiccCards[phoneId]; 163 public IccRecords getIccRecords(int phoneId, int family) { argument 165 UiccCardApplication app = getUiccCardApplication(phoneId, family); 174 public IccFileHandler getIccFileHandler(int phoneId, int family) { argument 176 UiccCardApplication app = getUiccCardApplication(phoneId, family); 263 public UiccCardApplication getUiccCardApplication(int phoneId, int family) { argument 265 if (isValidCardIndex(phoneId)) { 266 UiccCard c = mUiccCards[phoneId]; [all...] |
/frameworks/opt/net/ims/src/java/com/android/ims/ |
H A D | ImsManager.java | 165 * @param phoneId the phone ID for the IMS Service 166 * @return the manager instance corresponding to the phoneId 168 public static ImsManager getInstance(Context context, int phoneId) { argument 170 if (sImsManagerInstances.containsKey(phoneId)) 171 return sImsManagerInstances.get(phoneId); 173 ImsManager mgr = new ImsManager(context, phoneId); 174 sImsManagerInstances.put(phoneId, mgr); 430 private ImsManager(Context context, int phoneId) { argument 432 mPhoneId = phoneId; 840 private static String getImsServiceName(int phoneId) { argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CDMALTEPhone.java | 82 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
|