HomeSort by relevance Sort by last modified time
    Searched refs:phoneId (Results 1 - 25 of 60) 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) {
  /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...]
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...]
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...]
RadioCapability.java 117 * @param phoneId the phone ID
127 public RadioCapability(int phoneId, int session, int phase,
129 mPhoneId = phoneId;
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,
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];
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/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);
  /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...]
INetworkQueryService.aidl 35 void startNetworkQuery(in INetworkQueryServiceCallback cb, in int phoneId);
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
TelephonyNetworkFactoryTest.java 110 private TelephonyNetworkFactory makeTnf(int phoneId, TestSetup ts) {
112 ts.subscriptionMonitorMock, ts.looper, ts.contextMock, phoneId, ts.dcTrackerMock);
140 final int phoneId = 0;
145 TelephonyNetworkFactory tnf = makeTnf(phoneId, ts);
148 ts.subscriptionControllerMock.setSlotSubId(phoneId, subId);
149 ts.subscriptionMonitorMock.notifySubscriptionChanged(phoneId);
150 ts.subscriptionMonitorMock.notifyDefaultSubscriptionChanged(phoneId);
158 ts.phoneSwitcherMock.setPhoneActive(phoneId, true);
170 ts.phoneSwitcherMock.setPhoneActive(phoneId, false);
182 ts.phoneSwitcherMock.setPhoneActive(phoneId, true)
    [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/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...]
  /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/base/telephony/java/android/telephony/
TelephonyManager.java 866 // FIXME this assumes phoneId == slotId
    [all...]
SubscriptionManager.java 901 if (VDBG) logd("[getPhoneId]- phoneId=" + result);
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
UiccController.java 151 public UiccCard getUiccCard(int phoneId) {
153 if (isValidCardIndex(phoneId)) {
154 return mUiccCards[phoneId];
169 public IccRecords getIccRecords(int phoneId, int family) {
171 UiccCardApplication app = getUiccCardApplication(phoneId, family);
180 public IccFileHandler getIccFileHandler(int phoneId, int family) {
182 UiccCardApplication app = getUiccCardApplication(phoneId, family);
269 public UiccCardApplication getUiccCardApplication(int phoneId, int family) {
271 if (isValidCardIndex(phoneId)) {
272 UiccCard c = mUiccCards[phoneId];
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
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)

Completed in 3008 milliseconds

1 2 3