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

1 2 3

  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
SubscriptionMonitorMock.java 44 public void registerForSubscriptionChanged(int phoneId, Handler h, int what, Object o) {
45 validatePhoneId(phoneId);
47 mSubscriptionsChangedRegistrants[phoneId].add(r);
52 public void unregisterForSubscriptionChanged(int phoneId, Handler h) {
53 validatePhoneId(phoneId);
54 mSubscriptionsChangedRegistrants[phoneId].remove(h);
58 public void registerForDefaultDataSubscriptionChanged(int phoneId, Handler h, int what,
60 validatePhoneId(phoneId);
62 mDefaultSubscriptionRegistrants[phoneId].add(r);
67 public void unregisterForDefaultDataSubscriptionChanged(int phoneId, Handler h)
    [all...]
PhoneSwitcherMock.java 47 public void resendDataAllowed(int phoneId) {
52 public boolean isPhoneActive(int phoneId) {
53 return mIsActive[phoneId].get();
57 public void registerForActivePhoneSwitch(int phoneId, Handler h, int what, Object o) {
58 validatePhoneId(phoneId);
60 mActivePhoneRegistrants[phoneId].add(r);
65 public void unregisterForActivePhoneSwitch(int phoneId, Handler h) {
66 validatePhoneId(phoneId);
67 mActivePhoneRegistrants[phoneId].remove(h);
70 private void validatePhoneId(int phoneId) {
    [all...]
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) {
316 public void notifySimActivationStateChangedForPhoneId(int phoneId, int subId,
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
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++)
    [all...]
PhoneSwitcher.java 315 for (int phoneId = 0; phoneId < mNumPhones; phoneId++) {
316 if (newActivePhones.contains(phoneId) == false) {
317 deactivate(phoneId);
322 for (int phoneId : newActivePhones) {
323 activate(phoneId);
333 private void deactivate(int phoneId) {
334 PhoneState state = mPhoneStates[phoneId];
337 log("deactivate " + phoneId);
    [all...]
CarrierServiceBindHelper.java 73 for (int phoneId = 0; phoneId < mBindings.length; phoneId++) {
74 mBindings[phoneId].rebind();
92 log("Rebinding if necessary for phoneId: " + binding.getPhoneId());
110 for (int phoneId = 0; phoneId < numPhones; phoneId++) {
111 mBindings[phoneId] = new AppBinding(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...]
RadioCapability.java 117 * @param phoneId the phone ID
127 public RadioCapability(int phoneId, int session, int phase,
129 mPhoneId = phoneId;
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();
402 int phoneId = SubscriptionController.getInstance().getPhoneId(subId);
404 if (!SubscriptionManager.isValidPhoneId(phoneId)
405 || phoneId == SubscriptionManager.DEFAULT_PHONE_INDEX) {
406 phoneId = 0;
408 if (phoneId < 0 || phoneId >= mPhone.length || mPhone[phoneId] == null)
    [all...]
  /frameworks/base/telephony/java/com/android/ims/internal/uce/uceservice/
ImsUceManager.java 55 * phoneId
91 public static ImsUceManager getInstance(Context context, int phoneId) {
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) {
111 mPhoneId = phoneId;
132 private String getUceServiceName(int phoneId) {
  /frameworks/base/telephony/java/com/android/internal/telephony/
ICarrierConfigLoader.aidl 30 void updateConfigForPhoneId(int phoneId, String simState);
ITelephonyRegistry.aidl 40 void notifyCallStateForPhoneId(in int phoneId, in int subId, int state, String incomingNumber);
41 void notifyServiceStateForPhoneId(in int phoneId, in int subId, in ServiceState state);
42 void notifySignalStrengthForPhoneId(in int phoneId, in int subId,
44 void notifyMessageWaitingChangedForPhoneId(in int phoneId, in int subId, in boolean mwi);
68 void notifySimActivationStateChangedForPhoneId(in int phoneId, in int subId,
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
TelephonyNetworkFactoryTest.java 107 private TelephonyNetworkFactory makeTnf(int phoneId, TestSetup ts) {
109 ts.subscriptionMonitorMock, ts.looper, ts.contextMock, phoneId, ts.dcTrackerMock);
138 final int phoneId = 0;
143 makeTnf(phoneId, ts);
146 ts.subscriptionControllerMock.setSlotSubId(phoneId, subId);
147 ts.subscriptionMonitorMock.notifySubscriptionChanged(phoneId);
148 ts.subscriptionMonitorMock.notifyDefaultSubscriptionChanged(phoneId);
157 log("setPhoneActive true: phoneId = " + phoneId);
158 ts.phoneSwitcherMock.setPhoneActive(phoneId, true)
    [all...]
  /packages/services/Telephony/src/com/android/phone/
CarrierConfigLoader.java 94 // Carrier configs from default app, indexed by phoneID.
96 // Carrier configs from privileged carrier config app, indexed by phoneID.
144 // For each phoneId, the event sequence should be:
162 int phoneId = msg.arg1;
163 log("mHandler: " + msg.what + " phoneId: " + phoneId);
171 if (mConfigFromDefaultApp[phoneId] == null &&
172 mConfigFromCarrierApp[phoneId] == null)
174 mConfigFromDefaultApp[phoneId] = null;
175 mConfigFromCarrierApp[phoneId] = null
    [all...]
INetworkQueryService.aidl 35 void startNetworkQuery(in INetworkQueryServiceCallback cb, in int phoneId);
  /frameworks/base/services/core/java/com/android/server/
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;
120 + " callerUserId=" + callerUserId + " subId=" + subId + " phoneId=" + phoneId
532 r.phoneId = SubscriptionManager.getPhoneId(r.subId);
534 int phoneId = r.phoneId;
537 log("listen: Register r=" + r + " r.subId=" + r.subId + " phoneId=" + phoneId);
    [all...]
  /frameworks/opt/net/ims/src/java/com/android/ims/
ImsServiceBase.java 44 public int open(int phoneId, int serviceClass, PendingIntent incomingCallIntent,
46 return onOpen(phoneId, serviceClass, incomingCallIntent, listener);
97 public IImsConfig getConfigInterface(int phoneId) {
98 return onGetConfigInterface(phoneId);
102 public void turnOnIms(int phoneId) {
103 onTurnOnIms(phoneId);
107 public void turnOffIms(int phoneId) {
108 onTurnOffIms(phoneId);
137 protected int onOpen(int phoneId, int serviceClass, PendingIntent incomingCallIntent,
193 protected IImsConfig onGetConfigInterface(int phoneId) {
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
TelephonyMetrics.java 339 pw.print(event.phoneId);
626 * @param phoneId Phone id
629 private synchronized void annotateInProgressCallSession(long timestamp, int phoneId,
631 InProgressCallSession callSession = mInProgressCallSessions.get(phoneId);
641 * @param phoneId Phone id
644 private synchronized void annotateInProgressSmsSession(long timestamp, int phoneId,
646 InProgressSmsSession smsSession = mInProgressSmsSessions.get(phoneId);
655 * @param phoneId Phone id
658 private synchronized InProgressCallSession startNewCallSessionIfNeeded(int phoneId) {
659 InProgressCallSession callSession = mInProgressCallSessions.get(phoneId);
    [all...]
InProgressCallSession.java 33 public final int phoneId;
59 * @param phoneId Phone id
61 public InProgressCallSession(int phoneId) {
62 this.phoneId = phoneId;
InProgressSmsSession.java 34 public final int phoneId;
75 * @param phoneId Phone id
77 public InProgressSmsSession(int phoneId) {
78 this.phoneId = phoneId;
TelephonyEventBuilder.java 39 public TelephonyEventBuilder(int phoneId) {
40 this(SystemClock.elapsedRealtime(), phoneId);
43 public TelephonyEventBuilder(long timestamp, int phoneId) {
45 mEvent.phoneId = phoneId;
  /device/google/marlin/telephony/ims/src/org/codeaurora/ims/internal/
IQtiImsExt.aidl 103 * @param phoneId indicates the phone instance which triggered the request
108 void sendCallDeflectRequest(int phoneId, String deflectNumber,
115 * @param phoneId indicates the phone instance which triggered the request
122 void sendCallTransferRequest(int phoneId, int type, String number,
  /frameworks/base/telephony/java/com/android/ims/internal/
IImsService.aidl 36 int open(int phoneId, int serviceClass, in PendingIntent incomingCallIntent,
51 void addRegistrationListener(int phoneId, int serviceClass,
68 IImsConfig getConfigInterface(int phoneId);
73 void turnOnIms(int phoneId);
79 void turnOffIms(int phoneId);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
UiccController.java 155 public UiccCard getUiccCard(int phoneId) {
157 if (isValidCardIndex(phoneId)) {
158 return mUiccCards[phoneId];
173 public IccRecords getIccRecords(int phoneId, int family) {
175 UiccCardApplication app = getUiccCardApplication(phoneId, family);
184 public IccFileHandler getIccFileHandler(int phoneId, int family) {
186 UiccCardApplication app = getUiccCardApplication(phoneId, family);
273 public UiccCardApplication getUiccCardApplication(int phoneId, int family) {
275 if (isValidCardIndex(phoneId)) {
276 UiccCard c = mUiccCards[phoneId];
    [all...]
  /frameworks/base/telephony/java/android/telephony/
TelephonyManager.java     [all...]

Completed in 462 milliseconds

1 2 3