/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
H A D | InProgressCallSession.java | 33 public final int phoneId; field in class:InProgressCallSession 56 * @param phoneId Phone id 58 public InProgressCallSession(int phoneId) { argument 59 this.phoneId = phoneId;
|
H A D | InProgressSmsSession.java | 34 public final int phoneId; field in class:InProgressSmsSession 75 * @param phoneId Phone id 77 public InProgressSmsSession(int phoneId) { argument 78 this.phoneId = phoneId;
|
H A D | TelephonyEventBuilder.java | 38 public TelephonyEventBuilder(int phoneId) { argument 39 this(SystemClock.elapsedRealtime(), phoneId); 42 public TelephonyEventBuilder(long timestamp, int phoneId) { argument 44 mEvent.setPhoneId(phoneId);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
H A D | PhoneSwitcherMock.java | 47 public void resendDataAllowed(int phoneId) { argument 52 public boolean isPhoneActive(int phoneId) { argument 53 return mIsActive[phoneId].get(); 57 public void registerForActivePhoneSwitch(int phoneId, Handler h, int what, Object o) { argument 58 validatePhoneId(phoneId); 60 mActivePhoneRegistrants[phoneId].add(r); 65 public void unregisterForActivePhoneSwitch(int phoneId, Handler h) { argument 66 validatePhoneId(phoneId); 67 mActivePhoneRegistrants[phoneId].remove(h); 70 private void validatePhoneId(int phoneId) { argument 77 setPhoneActive(int phoneId, boolean active) argument [all...] |
H A D | SubscriptionMonitorMock.java | 44 public void registerForSubscriptionChanged(int phoneId, Handler h, int what, Object o) { argument 45 validatePhoneId(phoneId); 47 mSubscriptionsChangedRegistrants[phoneId].add(r); 52 public void unregisterForSubscriptionChanged(int phoneId, Handler h) { argument 53 validatePhoneId(phoneId); 54 mSubscriptionsChangedRegistrants[phoneId].remove(h); 58 public void registerForDefaultDataSubscriptionChanged(int phoneId, Handler h, int what, argument 60 validatePhoneId(phoneId); 62 mDefaultSubscriptionRegistrants[phoneId].add(r); 67 public void unregisterForDefaultDataSubscriptionChanged(int phoneId, Handle argument 73 notifySubscriptionChanged(int phoneId) argument 79 notifyDefaultSubscriptionChanged(int phoneId) argument 84 validatePhoneId(int phoneId) argument [all...] |
H A D | SubscriptionControllerMock.java | 97 public int getSubIdUsingPhoneId(int phoneId) { argument 98 int[] subIds = getSubId(phoneId);
|
H A D | TelephonyRegistryMock.java | 53 int phoneId = SubscriptionManager.INVALID_PHONE_INDEX; field in class:TelephonyRegistryMock.Record 71 + " callerUserId=" + callerUserId + " subId=" + subId + " phoneId=" + phoneId 192 public void notifyCallStateForPhoneId(int phoneId, int subId, int state, argument 198 public void notifyServiceStateForPhoneId(int phoneId, int subId, ServiceState state) { argument 203 public void notifySignalStrengthForPhoneId(int phoneId, int subId, argument 209 public void notifyMessageWaitingChangedForPhoneId(int phoneId, int subId, boolean mwi) { argument
|
/frameworks/base/telephony/java/com/android/ims/internal/uce/uceservice/ |
H A D | ImsUceManager.java | 55 * phoneId 91 public static ImsUceManager getInstance(Context context, int phoneId) { argument 94 if (sUceManagerInstances.containsKey(phoneId)) { 95 return sUceManagerInstances.get(phoneId); 97 ImsUceManager uceMgr = new ImsUceManager(context, phoneId); 98 sUceManagerInstances.put(phoneId, uceMgr); 108 private ImsUceManager(Context context, int phoneId) { argument 111 mPhoneId = phoneId; 132 private String getUceServiceName(int phoneId) { argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
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 | SubscriptionMonitor.java | 88 for (int phoneId = 0; phoneId < numPhones; phoneId++) { 89 mSubscriptionsChangedRegistrants[phoneId] = new RegistrantList(); 90 mDefaultDataSubChangedRegistrants[phoneId] = new RegistrantList(); 91 mPhoneSubId[phoneId] = mSubscriptionController.getSubIdUsingPhoneId(phoneId); 113 for (int phoneId = 0; phoneId < mPhoneSubId.length; phoneId 191 registerForSubscriptionChanged(int phoneId, Handler h, int what, Object o) argument 200 unregisterForSubscriptionChanged(int phoneId, Handler h) argument 207 registerForDefaultDataSubscriptionChanged(int phoneId, Handler h, int what, Object o) argument 217 unregisterForDefaultDataSubscriptionChanged(int phoneId, Handler h) argument 224 invalidPhoneId(int phoneId) argument [all...] |
H A D | 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); 108 updateForPhoneId(int phoneId, String simState) argument 124 private int phoneId; field in class:CarrierServiceBindHelper.AppBinding 133 AppBinding(int phoneId) argument [all...] |
H A D | PhoneFactory.java | 244 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 D | PhoneSubInfoController.java | 64 public String getDeviceIdForPhone(int phoneId, String callingPackage) { argument 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];
|
H A D | TelephonyComponentFactory.java | 79 public IccCardProxy makeIccCardProxy(Context context, CommandsInterface ci, int phoneId) { argument 80 return new IccCardProxy(context, ci, phoneId);
|
H A D | 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; field in class:WapPushOverSms.DecodedResult
|
H A D | 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) { argument 337 PhoneState state = mPhoneStates[phoneId]; 340 log("deactivate " + phoneId); 346 activate(int phoneId) argument 358 resendDataAllowed(int phoneId) argument 391 isPhoneActive(int phoneId) argument 396 registerForActivePhoneSwitch(int phoneId, Handler h, int what, Object o) argument 403 unregisterForActivePhoneSwitch(int phoneId, Handler h) argument 408 validatePhoneId(int phoneId) argument [all...] |
H A D | 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 > 204 getRadioAccessFamily(int phoneId) argument 599 sendRadioCapabilityRequest(int phoneId, int sessionId, int rcPhase, int radioFamily, String logicalModemId, int status, int eventId) argument [all...] |
H A D | 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 1009 int phoneId = getPhoneId(subId); 1011 if (number == null || phoneId < 0 || 1012 phoneId > 1558 getSubIdUsingPhoneId(int phoneId) argument [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
H A D | TelephonyNetworkFactoryTest.java | 111 private TelephonyNetworkFactory makeTnf(int phoneId, TestSetup ts) { argument 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, tru [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | RadioAccessFamily.java | 75 * @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 D | SubscriptionManager.java | 901 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...] |
/frameworks/opt/net/ims/src/java/com/android/ims/ |
H A D | ImsServiceBase.java | 44 public int open(int phoneId, int serviceClass, PendingIntent incomingCallIntent, argument 46 return onOpen(phoneId, serviceClass, incomingCallIntent, listener); 97 public IImsConfig getConfigInterface(int phoneId) { argument 98 return onGetConfigInterface(phoneId); 102 public void turnOnIms(int phoneId) { argument 103 onTurnOnIms(phoneId); 107 public void turnOffIms(int phoneId) { argument 108 onTurnOffIms(phoneId); 137 protected int onOpen(int phoneId, int serviceClass, PendingIntent incomingCallIntent, argument 193 protected IImsConfig onGetConfigInterface(int phoneId) { argument 199 onTurnOnIms(int phoneId) argument 203 onTurnOffIms(int phoneId) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | TelephonyNetworkFactory.java | 72 Looper looper, Context context, int phoneId, DcTracker dcTracker) { 73 super(looper, context, "TelephonyNetworkFactory[" + phoneId + "]", null); 76 setCapabilityFilter(makeNetworkFilter(subscriptionController, phoneId)); 82 mPhoneId = phoneId; 83 LOG_TAG = "TelephonyNetworkFactory[" + phoneId + "]"; 102 int phoneId) { 103 final int subscriptionId = subscriptionController.getSubIdUsingPhoneId(phoneId); 201 // phoneId->subId map change or direct change of default subId) 70 TelephonyNetworkFactory(PhoneSwitcher phoneSwitcher, SubscriptionController subscriptionController, SubscriptionMonitor subscriptionMonitor, Looper looper, Context context, int phoneId, DcTracker dcTracker) argument 101 makeNetworkFilter(SubscriptionController subscriptionController, int phoneId) argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | UiccController.java | 151 public UiccCard getUiccCard(int phoneId) { argument 153 if (isValidCardIndex(phoneId)) { 154 return mUiccCards[phoneId]; 169 public IccRecords getIccRecords(int phoneId, int family) { argument 171 UiccCardApplication app = getUiccCardApplication(phoneId, family); 180 public IccFileHandler getIccFileHandler(int phoneId, int family) { argument 182 UiccCardApplication app = getUiccCardApplication(phoneId, family); 269 public UiccCardApplication getUiccCardApplication(int phoneId, int family) { argument 271 if (isValidCardIndex(phoneId)) { 272 UiccCard c = mUiccCards[phoneId]; [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | 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; field in class:TelephonyRegistry.Record 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); 672 getCallIncomingNumber(Record record, int phoneId) argument 725 notifyCallStateForPhoneId(int phoneId, int subId, int state, String incomingNumber) argument 756 notifyServiceStateForPhoneId(int phoneId, int subId, ServiceState state) argument 798 notifySignalStrengthForPhoneId(int phoneId, int subId, SignalStrength signalStrength) argument 916 notifyMessageWaitingChangedForPhoneId(int phoneId, int subId, boolean mwi) argument 1350 broadcastServiceStateChanged(ServiceState state, int phoneId, int subId) argument 1370 broadcastSignalStrengthChanged(SignalStrength signalStrength, int phoneId, int subId) argument 1397 broadcastCallStateChanged(int state, String incomingNumber, int phoneId, int subId) argument 1617 validatePhoneId(int phoneId) argument 1634 set(Time t, String s, int subId, int phoneId, ServiceState state) argument 1648 logServiceStateChanged(String s, int subId, int phoneId, ServiceState state) argument 1684 idMatch(int rSubId, int subId, int phoneId) argument 1697 checkPossibleMissNotify(Record r, int phoneId) argument [all...] |