Home
last modified time | relevance | path

Searched refs:getPhoneId (Results 1 – 25 of 86) sorted by relevance

1234

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java151 mMetrics.writeDataStallEvent(mPhone.getPhoneId(), i); in testEventDropped()
165 mMetrics.writeDataStallEvent(mPhone.getPhoneId(), 3); in testWriteDataStallEvent()
171 assertEquals(mPhone.getPhoneId(), log.events[0].phoneId); in testWriteDataStallEvent()
179 mMetrics.writeModemRestartEvent(mPhone.getPhoneId(), "Test"); in testModemRestartEvent()
186 assertEquals(mPhone.getPhoneId(), log.events[0].phoneId); in testModemRestartEvent()
206 mMetrics.writeCarrierIdMatchingEvent(mPhone.getPhoneId(), 1, in testWriteCarrierIdMatchingEventWithInvalidMatchingScore()
217 assertEquals(mPhone.getPhoneId(), log.events[0].phoneId); in testWriteCarrierIdMatchingEventWithInvalidMatchingScore()
247 mMetrics.writeCarrierIdMatchingEvent(mPhone.getPhoneId(), 1, 1, in testWriteCarrierIdMatchingEvent()
255 assertEquals(mPhone.getPhoneId(), log.events[0].phoneId); in testWriteCarrierIdMatchingEvent()
283 mMetrics.writeEmergencyNumberUpdateEvent(mPhone.getPhoneId(), number); in testWriteEmergencyNumberUpdateEvent()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDefaultPhoneNotifier.java61 int phoneId = sender.getPhoneId(); in notifyPhoneState()
80 int phoneId = sender.getPhoneId(); in notifyServiceState()
100 int phoneId = sender.getPhoneId(); in notifySignalStrength()
119 int phoneId = sender.getPhoneId(); in notifyMessageWaitingChanged()
170 int phoneId = sender.getPhoneId(); in doNotifyDataConnection()
210 mRegistry.notifyDataConnectionFailedForSubscriber(sender.getPhoneId(), in notifyDataConnectionFailed()
275 mRegistry.notifyPreciseCallState(sender.getPhoneId(), sender.getSubId(), in notifyPreciseCallState()
287 mRegistry.notifyDisconnectCause(sender.getPhoneId(), sender.getSubId(), cause, in notifyDisconnectCause()
306 mRegistry.notifyPreciseDataConnectionFailed(sender.getPhoneId(), sender.getSubId(), in notifyPreciseDataConnectionFailed()
325 mRegistry.notifySimActivationStateChangedForPhoneId(sender.getPhoneId(), in notifyDataActivationStateChanged()
[all …]
DNetworkRegistrationManager.java78 && mPhone.getPhoneId() == intent.getIntExtra(
96 tagSuffix += "-" + mPhone.getPhoneId(); in NetworkRegistrationManager()
157 mINetworkService.requestNetworkRegistrationInfo(mPhone.getPhoneId(), domain, callback); in requestNetworkRegistrationInfo()
192 mINetworkService.createNetworkServiceProvider(mPhone.getPhoneId()); in onServiceConnected()
193 mINetworkService.registerForNetworkRegistrationInfoChanged(mPhone.getPhoneId(), in onServiceConnected()
253 mINetworkService.removeNetworkServiceProvider(mPhone.getPhoneId()); in bindService()
DCellBroadcastHandler.java97 metrics.writeNewCBSms(mPhone.getPhoneId(), message.getMessageFormat(), in handleBroadcastSms()
115 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, mPhone.getPhoneId()); in handleBroadcastSms()
152 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, mPhone.getPhoneId()); in handleBroadcastSms()
DProxyController.java161 int phoneId = SubscriptionController.getInstance().getPhoneId(subId); in registerForAllDataDisconnected()
169 int phoneId = SubscriptionController.getInstance().getPhoneId(subId); in unregisterForAllDataDisconnected()
178 int phoneId = SubscriptionController.getInstance().getPhoneId(subId); in areAllDataDisconnected()
270 int phoneId = rafs[i].getPhoneId(); in doSetRadioCapabilities()
359 int id = rc.getPhoneId(); in onStartRadioCapabilityResponse()
419 int id = rc.getPhoneId(); in onApplyRadioCapabilityResponse()
449 int id = rc.getPhoneId(); in onNotificationRadioCapabilityChanged()
DSmsBroadcastUndelivered.java208 int phoneId = getPhoneId(gsmInboundSmsHandler, cdmaInboundSmsHandler); in scanRawTable()
242 private static int getPhoneId(GsmInboundSmsHandler gsmInboundSmsHandler, in getPhoneId() method in SmsBroadcastUndelivered
246 phoneId = gsmInboundSmsHandler.getPhone().getPhoneId(); in getPhoneId()
248 phoneId = cdmaInboundSmsHandler.getPhone().getPhoneId(); in getPhoneId()
DImsSmsDispatcher.java120 mMetrics.writeOnImsServiceSmsSolicitedResponse(mPhone.getPhoneId(), status, reason);
214 mImsManagerConnector = new ImsManager.Connector(mContext, mPhone.getPhoneId(), in ImsSmsDispatcher()
376 mMetrics.writeImsServiceSendSms(mPhone.getPhoneId(), format, in sendSms()
381 mMetrics.writeImsServiceSendSms(mPhone.getPhoneId(), format, in sendSms()
387 return ImsManager.getInstance(mContext, mPhone.getPhoneId()); in getImsManager()
DSimActivationTracker.java156 Rlog.d(LOG_TAG, "[" + mPhone.getPhoneId() + "]" + s); in log()
160 Rlog.e(LOG_TAG, "[" + mPhone.getPhoneId() + "]" + s); in loge()
DCarrierKeyDownloadManager.java125 filter.addAction(INTENT_KEY_RENEWAL_ALARM_PREFIX + mPhone.getPhoneId()); in CarrierKeyDownloadManager()
135 int slotId = mPhone.getPhoneId();
209 int slotId = mPhone.getPhoneId(); in cleanupRenewalAlarms()
265 int slotId = mPhone.getPhoneId(); in resetRenewalAlarm()
282 int slotId = mPhone.getPhoneId(); in getMccMncSetFromPref()
558 int slotId = mPhone.getPhoneId(); in downloadKey()
DCarrierActionAgent.java299 Rlog.d(LOG_TAG, "[" + mPhone.getPhoneId() + "]" + s); in log()
303 Rlog.e(LOG_TAG, "[" + mPhone.getPhoneId() + "]" + s); in loge()
307 Rlog.v(LOG_TAG, "[" + mPhone.getPhoneId() + "]" + s); in logv()
DGsmCdmaCallTracker.java333 mMetrics.writeRilDial(mPhone.getPhoneId(), mPendingMO, clirMode, uusInfo); in dialGsm()
417 String operatorIsoContry = tm.getNetworkCountryIsoForPhone(mPhone.getPhoneId()); in dialCdma()
418 String simIsoContry = tm.getSimCountryIsoForPhone(mPhone.getPhoneId()); in dialCdma()
788 mMetrics.writePhoneState(mPhone.getPhoneId(), mState); in updatePhoneState()
1096 mMetrics.writeRilCallList(mPhone.getPhoneId(), locallyDisconnectedConnections, in handlePollCalls()
1168 mMetrics.writeRilCallList(mPhone.getPhoneId(), activeConnections, getNetworkCountryIso()); in updateMetrics()
1241 mMetrics.writeRilHangup(mPhone.getPhoneId(), conn, conn.getGsmCdmaIndex(), in hangup()
1337 mMetrics.writeRilHangup(mPhone.getPhoneId(), cn, call_index, getNetworkCountryIso()); in logHangupEvent()
1359 mMetrics.writeRilHangup(mPhone.getPhoneId(), cn, cn.getGsmCdmaIndex(), in hangupConnectionByIndex()
1375 mMetrics.writeRilHangup(mPhone.getPhoneId(), cn, cn.getGsmCdmaIndex(), in hangupAllConnections()
[all …]
DRadioCapability.java147 public int getPhoneId() { in getPhoneId() method in RadioCapability
DLocaleTracker.java126 if (phoneId == mPhone.getPhoneId()) {
405 TelephonyManager.setTelephonyProperty(mPhone.getPhoneId(), in updateLocale()
424 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, mPhone.getPhoneId()); in updateLocale()
DCarrierSignalAgent.java360 Rlog.d(LOG_TAG, "[" + mPhone.getPhoneId() + "]" + s); in log()
365 Rlog.e(LOG_TAG, "[" + mPhone.getPhoneId() + "]" + s); in loge()
369 Rlog.v(LOG_TAG, "[" + mPhone.getPhoneId() + "]" + s); in logv()
DSubscriptionMonitor.java86 mDefaultDataPhoneId = mSubscriptionController.getPhoneId(mDefaultDataSubId); in SubscriptionMonitor()
156 mSubscriptionController.getPhoneId(INVALID_SUBSCRIPTION_ID);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DDefaultPhoneNotifierTest.java116 doReturn(2).when(mPhone).getPhoneId(); in testNotifySignalStrength()
139 doReturn(1).when(mPhone).getPhoneId(); in testNotifyMessageWaiting()
143 doReturn(2).when(mPhone).getPhoneId(); in testNotifyMessageWaiting()
158 doReturn(1).when(mPhone).getPhoneId(); in testNotifyDisconnectCause()
209 mPhone.getPhoneId(), in testNotifyPreciseCallState()
218 mPhone.getPhoneId(), in testNotifyPreciseCallState()
227 mPhone.getPhoneId(), in testNotifyPreciseCallState()
236 mPhone.getPhoneId(), in testNotifyPreciseCallState()
DMultiSimSettingControllerTest.java113 doReturn(0).when(mSubControllerMock).getPhoneId(1); in setUp()
114 doReturn(1).when(mSubControllerMock).getPhoneId(2); in setUp()
174 doReturn(SubscriptionManager.INVALID_PHONE_INDEX).when(mSubControllerMock).getPhoneId(2); in testTestSubInfoChangeBeforeAllSubReady()
209 doReturn(SubscriptionManager.INVALID_PHONE_INDEX).when(mSubControllerMock).getPhoneId(2); in testSingleActiveDsds()
221 doReturn(0).when(mSubControllerMock).getPhoneId(2); in testSingleActiveDsds()
222 doReturn(SubscriptionManager.INVALID_PHONE_INDEX).when(mSubControllerMock).getPhoneId(1); in testSingleActiveDsds()
243 doReturn(SubscriptionManager.INVALID_PHONE_INDEX).when(mSubControllerMock).getPhoneId(2); in testActivatingSecondSub()
261 doReturn(1).when(mSubControllerMock).getPhoneId(2); in testActivatingSecondSub()
280 doReturn(SubscriptionManager.INVALID_PHONE_INDEX).when(mSubControllerMock).getPhoneId(2); in testActivatingSecondSub()
281 doReturn(1).when(mSubControllerMock).getPhoneId(3); in testActivatingSecondSub()
DCarrierResolverTest.java131 int phoneId = mPhone.getPhoneId(); in testCarrierMatch()
149 int phoneId = mPhone.getPhoneId(); in testMnoCarrierId()
173 int phoneId = mPhone.getPhoneId(); in testPreciseCarrierId()
214 int phoneId = mPhone.getPhoneId(); in testCarrierMatchSimAbsent()
233 int phoneId = mPhone.getPhoneId(); in testCarrierNoMatch()
267 int phoneId = mPhone.getPhoneId(); in testCarrierMatchPreferApnChange()
DSubscriptionInfoUpdaterTest.java412 doReturn(FAKE_SUB_ID_1).when(mSubscriptionController).getPhoneId(eq(FAKE_SUB_ID_1)); in testDualSimLoaded()
413 doReturn(FAKE_SUB_ID_2).when(mSubscriptionController).getPhoneId(eq(FAKE_SUB_ID_2)); in testDualSimLoaded()
640 final int phoneId = mPhone.getPhoneId(); in testUpdateFromCarrierConfigOpportunisticUnchanged()
651 mUpdater.updateSubscriptionByCarrierConfig(mPhone.getPhoneId(), in testUpdateFromCarrierConfigOpportunisticUnchanged()
662 final int phoneId = mPhone.getPhoneId(); in testUpdateFromCarrierConfigOpportunisticSetOpportunistic()
676 mUpdater.updateSubscriptionByCarrierConfig(mPhone.getPhoneId(), in testUpdateFromCarrierConfigOpportunisticSetOpportunistic()
693 final int phoneId = mPhone.getPhoneId(); in testUpdateFromCarrierConfigOpportunisticAddToGroup()
708 mUpdater.updateSubscriptionByCarrierConfig(mPhone.getPhoneId(), in testUpdateFromCarrierConfigOpportunisticAddToGroup()
727 final int phoneId = mPhone.getPhoneId(); in testUpdateFromCarrierConfigOpportunisticRemoveFromGroup()
744 mUpdater.updateSubscriptionByCarrierConfig(mPhone.getPhoneId(), in testUpdateFromCarrierConfigOpportunisticRemoveFromGroup()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataServiceManager.java102 && mPhone.getPhoneId() == intent.getIntExtra(
172 mIDataService.createDataServiceProvider(mPhone.getPhoneId()); in onServiceConnected()
173 mIDataService.registerForDataCallListChanged(mPhone.getPhoneId(), in onServiceConnected()
305 mIDataService.removeDataServiceProvider(mPhone.getPhoneId()); in bindDataService()
441 mIDataService.setupDataCall(mPhone.getPhoneId(), accessNetworkType, dataProfile, in setupDataCall()
476 mIDataService.deactivateDataCall(mPhone.getPhoneId(), cid, reason, callback); in deactivateDataCall()
506 mIDataService.setInitialAttachApn(mPhone.getPhoneId(), dataProfile, isRoaming, in setInitialAttachApn()
539 mIDataService.setDataProfile(mPhone.getPhoneId(), dps, isRoaming, callback); in setDataProfile()
566 mIDataService.requestDataCallList(mPhone.getPhoneId(), callback); in requestDataCallList()
DTelephonyNetworkFactory.java91 super(looper, phone.getContext(), "TelephonyNetworkFactory[" + phone.getPhoneId() in TelephonyNetworkFactory()
99 setCapabilityFilter(makeNetworkFilter(mSubscriptionController, mPhone.getPhoneId())); in TelephonyNetworkFactory()
104 LOG_TAG = "TelephonyNetworkFactory[" + mPhone.getPhoneId() + "]"; in TelephonyNetworkFactory()
112 mSubscriptionMonitor.registerForSubscriptionChanged(mPhone.getPhoneId(), mInternalHandler, in TelephonyNetworkFactory()
236 networkRequest, mPhone.getPhoneId()); in onActivePhoneSwitch()
261 mPhone.getPhoneId()); in onSubIdChange()
279 networkRequest, mPhone.getPhoneId()); in onNeedNetworkFor()
DAccessNetworksManager.java97 && mPhone.getPhoneId() == intent.getIntExtra(
153 mIQualifiedNetworksService.createNetworkAvailabilityProvider(mPhone.getPhoneId(), in onServiceConnected()
258 mIQualifiedNetworksService.removeNetworkAvailabilityProvider(mPhone.getPhoneId()); in bindQualifiedNetworksService()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmInboundSmsHandler.java51 mDataDownloadHandler = new UsimDataDownloadHandler(phone.mCi, phone.getPhoneId()); in GsmInboundSmsHandler()
193 mMetrics.writeIncomingSmsTypeZero(mPhone.getPhoneId(), in addSmsTypeZeroToMetrics()
201 mMetrics.writeIncomingVoiceMailSms(mPhone.getPhoneId(), in addVoicemailSmsToMetrics()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java213 TelephonyMetrics.getInstance().writeOnImsCallReceive(mPhone.getPhoneId(), in onIncomingCall()
564 mImsManagerConnector = new ImsManager.Connector(phone.getContext(), phone.getPhoneId(), in ImsPhoneCallTracker()
683 intent.putExtra(ImsManager.EXTRA_PHONE_ID, mPhone.getPhoneId()); in sendImsServiceStateIntent()
739 return sp.getInt(Phone.CLIR_KEY + mPhone.getDefaultPhone().getPhoneId(), in getClirMode()
1103 mMetrics.writeOnImsCallStart(mPhone.getPhoneId(), in dialInternal()
1166 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in acceptCall()
1224 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), callToHold.getSession(), in holdActiveCallForPendingMo()
1253 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), callToHold.getSession(), in holdActiveCall()
1275 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), callToHold.getSession(), in holdActiveCallForWaitingCall()
1301 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in unholdHeldCall()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DCallQualityMetrics.java230 Rlog.e(TAG, "getLteSnr: unable to get SST for phone " + mPhone.getPhoneId()); in getLteSnr()
236 Rlog.e(TAG, "getLteSnr: unable to get SignalStrength for phone " + mPhone.getPhoneId()); in getLteSnr()
338 sb.append(mPhone.getPhoneId()); in toString()

1234