HomeSort by relevance Sort by last modified time
    Searched defs:phoneId (Results 1 - 25 of 29) sorted by null

1 2

  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
UiccPhoneBookController.java 136 int phoneId = SubscriptionController.getInstance().getPhoneId(subId);
138 return mPhone[phoneId].getIccPhoneBookInterfaceManager();
PhoneSubInfoController.java 64 public String getDeviceIdForPhone(int phoneId, String callingPackage) {
68 if (!SubscriptionManager.isValidPhoneId(phoneId)) {
69 phoneId = 0;
71 final Phone phone = mPhone[phoneId];
75 loge("getDeviceIdForPhone phone " + phoneId + " is null");
270 int phoneId = SubscriptionManager.getPhoneId(subId);
271 if (!SubscriptionManager.isValidPhoneId(phoneId)) {
272 phoneId = 0;
274 return mPhone[phoneId];
CarrierServiceBindHelper.java 65 for (int phoneId = 0; phoneId < mBindings.length; phoneId++) {
66 mBindings[phoneId].rebind();
83 log("Rebinding if necessary for phoneId: " + binding.getPhoneId());
97 for (int phoneId = 0; phoneId < numPhones; phoneId++) {
98 mBindings[phoneId] = new AppBinding(phoneId);
    [all...]
DefaultPhoneNotifier.java 59 int phoneId = sender.getPhoneId();
66 mRegistry.notifyCallStateForPhoneId(phoneId, subId,
77 int phoneId = sender.getPhoneId();
81 + " sender=" + sender + " phondId=" + phoneId + " subId=" + subId);
88 mRegistry.notifyServiceStateForPhoneId(phoneId, subId, ss);
97 int phoneId = sender.getPhoneId();
106 mRegistry.notifySignalStrengthForPhoneId(phoneId, subId,
116 int phoneId = sender.getPhoneId();
121 mRegistry.notifyMessageWaitingChangedForPhoneId(phoneId, subId,
UiccSmsController.java 331 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();
PhoneSwitcher.java 318 for (int phoneId = 0; phoneId < mNumPhones; phoneId++) {
319 if (newActivePhones.contains(phoneId) == false) {
320 deactivate(phoneId);
325 for (int phoneId : newActivePhones) {
326 activate(phoneId);
336 private void deactivate(int phoneId) {
337 PhoneState state = mPhoneStates[phoneId];
340 log("deactivate " + phoneId);
    [all...]
ProxyController.java 172 int phoneId = SubscriptionController.getInstance().getPhoneId(subId);
174 if (phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount()) {
175 mPhones[phoneId].registerForAllDataDisconnected(h, what, obj);
180 int phoneId = SubscriptionController.getInstance().getPhoneId(subId);
182 if (phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount()) {
183 mPhones[phoneId].unregisterForAllDataDisconnected(h);
188 int phoneId = SubscriptionController.getInstance().getPhoneId(subId);
190 if (phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount())
    [all...]
WapPushOverSms.java 176 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;
SubscriptionController.java 61 * Any setters which take subId, slotId or phoneId as a parameter will throw an exception if the
317 final int phoneId = getPhoneId(subId);
318 if (phoneId < 0) {
321 return mTelephonyManager.getSimCountryIsoForPhone(phoneId);
741 // If sSlotIdxToSubId already has a valid subId for a slotId/phoneId,
742 // do not add another subId for same slotId/phoneId.
749 // FIXME: Currently we assume phoneId == slotId which in the future
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
InProgressCallSession.java 33 public final int phoneId;
56 * @param phoneId Phone id
58 public InProgressCallSession(int phoneId) {
59 this.phoneId = phoneId;
InProgressSmsSession.java 34 public final int phoneId;
75 * @param phoneId Phone id
77 public InProgressSmsSession(int phoneId) {
78 this.phoneId = phoneId;
TelephonyMetrics.java 609 * @param phoneId Phone id
612 private synchronized void annotateInProgressCallSession(long timestamp, int phoneId,
614 InProgressCallSession callSession = mInProgressCallSessions.get(phoneId);
624 * @param phoneId Phone id
627 private synchronized void annotateInProgressSmsSession(long timestamp, int phoneId,
629 InProgressSmsSession smsSession = mInProgressSmsSessions.get(phoneId);
638 * @param phoneId Phone id
641 private synchronized InProgressCallSession startNewCallSessionIfNeeded(int phoneId) {
642 InProgressCallSession callSession = mInProgressCallSessions.get(phoneId);
644 if (VDBG) Rlog.v(TAG, "Starting a new call session on phone " + phoneId);
    [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
TelephonyNetworkFactoryTest.java 111 private TelephonyNetworkFactory makeTnf(int phoneId, TestSetup ts) {
113 ts.subscriptionMonitorMock, ts.looper, ts.contextMock, phoneId, ts.dcTrackerMock);
142 final int phoneId = 0;
147 TelephonyNetworkFactory tnf = makeTnf(phoneId, ts);
150 ts.subscriptionControllerMock.setSlotSubId(phoneId, subId);
151 ts.subscriptionMonitorMock.notifySubscriptionChanged(phoneId);
152 ts.subscriptionMonitorMock.notifyDefaultSubscriptionChanged(phoneId);
160 ts.phoneSwitcherMock.setPhoneActive(phoneId, true);
172 ts.phoneSwitcherMock.setPhoneActive(phoneId, false);
184 ts.phoneSwitcherMock.setPhoneActive(phoneId, true)
    [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
TelephonyRegistryMock.java 53 int phoneId = SubscriptionManager.INVALID_PHONE_INDEX;
71 + " callerUserId=" + callerUserId + " subId=" + subId + " phoneId=" + phoneId
192 public void notifyCallStateForPhoneId(int phoneId, int subId, int state,
198 public void notifyServiceStateForPhoneId(int phoneId, int subId, ServiceState state) {
203 public void notifySignalStrengthForPhoneId(int phoneId, int subId,
209 public void notifyMessageWaitingChangedForPhoneId(int phoneId, int subId, boolean mwi) {
  /frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/
NotificationTests.java 270 int phoneId = mNotifications.size();
272 = FullScreenActivity.getPendingIntent(mContext, phoneId);
  /frameworks/base/telephony/java/android/telephony/
SubscriptionManager.java 901 if (VDBG) logd("[getPhoneId]- phoneId=" + result);
    [all...]
TelephonyManager.java 866 // FIXME this assumes phoneId == slotId
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
PhoneNumberListAdapter.java 350 * ContentUris.withAppendedId(Data.CONTENT_URI, phoneId), is invalid if
357 final long phoneId = cursor.getLong(PhoneQuery.PHONE_ID);
358 return ContentUris.withAppendedId(Data.CONTENT_URI, phoneId);
  /packages/services/Telephony/src/com/android/phone/
CarrierConfigLoader.java 89 // Carrier configs from default app, indexed by phoneID.
91 // Carrier configs from privileged carrier config app, indexed by phoneID.
139 // For each phoneId, the event sequence should be:
157 int phoneId = msg.arg1;
158 log("mHandler: " + msg.what + " phoneId: " + phoneId);
166 if (mConfigFromDefaultApp[phoneId] == null &&
167 mConfigFromCarrierApp[phoneId] == null)
169 mConfigFromDefaultApp[phoneId] = null;
170 mConfigFromCarrierApp[phoneId] = null
    [all...]
PhoneGlobals.java 625 private void initForNewRadioTechnology(int phoneId) {
628 final Phone phone = PhoneFactory.getPhone(phoneId);
724 int phoneId = SubscriptionManager.getPhoneId(subId);
732 Log.d(LOG_TAG, "- phoneId: " + phoneId);
734 Phone phone = SubscriptionManager.isValidPhoneId(phoneId) ?
735 PhoneFactory.getPhone(phoneId) : PhoneFactory.getDefaultPhone();
760 int phoneId = intent.getIntExtra(PhoneConstants.PHONE_KEY,
    [all...]
PhoneInterfaceManager.java     [all...]
  /packages/services/Telephony/src/com/android/services/telephony/
TelephonyConnectionService.java     [all...]
  /external/svox/pico/lib/
picocep.c 210 picoos_uint8 phoneId[PICOCEP_MAXWINLEN]; /* synchronised with indexReadPos */
    [all...]
  /frameworks/base/services/core/java/com/android/server/
TelephonyRegistry.java 72 * and 15973975 by saving the phoneId of the registrant and then using the
73 * phoneId when deciding to to make a callback. This is necessary because
101 int phoneId = SubscriptionManager.INVALID_PHONE_INDEX;
119 + " callerUserId=" + callerUserId + " subId=" + subId + " phoneId=" + phoneId
525 r.phoneId = SubscriptionManager.getPhoneId(r.subId);
527 int phoneId = r.phoneId;
530 log("listen: Register r=" + r + " r.subId=" + r.subId + " phoneId=" + phoneId);
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
RuimRecords.java 798 int phoneId = mParentApp.getUiccCard().getPhoneId();
799 int[] subIds = SubscriptionController.getInstance().getSubId(phoneId);
    [all...]

Completed in 906 milliseconds

1 2