/packages/services/Telephony/tests/src/com/android/phone/ |
D | NumberVerificationManagerTest.java | 61 when(mPhone1.getServiceState()).thenReturn(ss); in setUp() 65 when(mPhone2.getServiceState()).thenReturn(ss); in setUp() 111 when(mPhone1.getServiceState()).thenReturn(ss); in testNoPhoneInServiceFailure() 112 when(mPhone2.getServiceState()).thenReturn(ss); in testNoPhoneInServiceFailure() 142 when(mPhone1.getServiceState()).thenReturn(ss); in testVerificationWorksWithOnePhoneInService()
|
/packages/services/Mms/tests/unittests/src/com/android/mms/service/metrics/ |
D | MmsStatsTest.java | 74 doReturn(null).when(mTelephonyManager).getServiceState(); in addAtomToStorage_incomingMms_default() 102 doReturn(null).when(mTelephonyManager).getServiceState(); in addAtomToStorage_outgoingMms_default() 132 doReturn(serviceState).when(mTelephonyManager).getServiceState(); in getDataRoamingType_serviceState_notNull() 165 doReturn(serviceState).when(mTelephonyManager).getServiceState(); in testIsNtn_serviceState_notNull() 197 doReturn(null).when(mTelephonyManager).getServiceState(); in testIsNtn_serviceState_Null()
|
/packages/services/Mms/tests/robotests/src/com/android/mms/service/ |
D | MmsRequestRoboTest.java | 118 doReturn(ss).when(mTelephonyManager).getServiceState(); in sendRequest_connectedToSatellite_smallPdu_sendSuccessful() 137 doReturn(ss).when(mTelephonyManager).getServiceState(); in sendRequest_connectedToSatellite_largePdu_sendSFails()
|
/packages/services/Mms/src/com/android/mms/service/metrics/ |
D | MmsStats.java | 188 ServiceState serviceState = mTelephonyManager.getServiceState(); in getDataRoamingType() 243 ServiceState ss = mTelephonyManager.getServiceState(); in isUsingNonTerrestrialNetwork()
|
/packages/services/Telephony/src/com/android/phone/vvm/ |
D | VvmSimStateTracker.java | 166 if (telephonyManager.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) { in onBootCompleted() 234 if (telephonyManager.getServiceState().getState() in onCarrierConfigChanged()
|
/packages/services/Telephony/src/com/android/phone/ |
D | ServiceStateProvider.java | 318 public ServiceState getServiceState(int subId) { in getServiceState() method in ServiceStateProvider 360 ServiceState ss = getServiceState(subId); in insert() 408 ServiceState unredactedServiceState = getServiceState(subId); in query()
|
D | NumberVerificationManager.java | 138 if (phone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE) { in checkNumberVerificationFeasibility()
|
D | PhoneGlobals.java | 1052 ServiceState serviceState = phone.getServiceState(); in updateDataRoamingStatus() 1274 ? roamingOperatorNumeric : phone.getServiceState().getOperatorNumeric())) { in updateDataRoamingStatusForFeatureDisabled() 1311 return getPhone(subId).getServiceState().getDataRoaming(); in dataIsNowRoaming() 1407 notificationMgr.updateNetworkSelection(phone.getServiceState().getState(), subId); in onNetworkSelectionChanged()
|
D | NotificationMgr.java | 162 if (telephonyManager.getServiceState() != null) { 163 shouldShowNotification(telephonyManager.getServiceState().getState(), 1093 final ServiceState serviceState = telephonyManager.getServiceState(); in isTdscdmaSupported()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | ProviderModelSliceHelper.java | 112 final ServiceState serviceState = mTelephonyManager.getServiceState(); in isDataStateInService() 124 final ServiceState serviceState = mTelephonyManager.getServiceState(); in isVoiceStateInService()
|
D | SubscriptionsPreferenceController.java | 283 final ServiceState serviceState = tmForSubId.getServiceState(); in getMobilePreferenceSummary() 329 final ServiceState serviceState = tmForSubId.getServiceState(); in getIcon()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | TelephonyConnectionServiceTest.java | 2718 when(testPhone.getServiceState()).thenReturn(ss); in testDomainSelectionNormalRoutingEmergencyNumber_exitingApm_InService() 2719 when(mSST.getServiceState()).thenReturn(ss); in testDomainSelectionNormalRoutingEmergencyNumber_exitingApm_InService() 2730 when(otherPhone.getServiceState()).thenReturn(ss); in testDomainSelectionNormalRoutingEmergencyNumber_exitingApm_InService() 2757 when(testPhone.getServiceState()).thenReturn(ss); in testDomainSelectionNormalRoutingEmergencyNumber_exitingApm_Timeout() 2758 when(mSST.getServiceState()).thenReturn(ss); in testDomainSelectionNormalRoutingEmergencyNumber_exitingApm_Timeout() 2782 when(testPhone.getServiceState()).thenReturn(ss); in testDomainSelectionNormalRoutingEmergencyNumber_exitingApm_CombinedAttach() 2783 when(mSST.getServiceState()).thenReturn(ss); in testDomainSelectionNormalRoutingEmergencyNumber_exitingApm_CombinedAttach() 2818 when(testPhone.getServiceState()).thenReturn(ss); in testDomainSelectionNormalRoutingEmergencyNumber_exitingApm_PsOnly() 2819 when(mSST.getServiceState()).thenReturn(ss); in testDomainSelectionNormalRoutingEmergencyNumber_exitingApm_PsOnly() 2855 when(testPhone.getServiceState()).thenReturn(ss); in testDomainSelectionNormalRoutingEmergencyNumber_exitingApm_PsOnly_ImsRegistered() [all …]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | StatusCheckTask.java | 70 if (telephonyManager.getServiceState().getState() != ServiceState.STATE_IN_SERVICE) { in onExecuteInBackgroundThread()
|
D | ActivationTask.java | 298 return telephonyManager.getServiceState().getState() == ServiceState.STATE_IN_SERVICE; in hasSignal()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastAlertServiceTest.java | 238 doReturn(mockSS).when(mMockedTelephonyManager).getServiceState(); in testHandleCellBroadcastIntentDomesticRoaming() 266 doReturn(mockSS).when(mMockedTelephonyManager).getServiceState(); in testHandleCellBroadcastIntentInternationalRoaming() 294 doReturn(mockSS).when(mMockedTelephonyManager).getServiceState(); in testHandleCellBroadcastIntentNonRoaming() 321 doReturn(mockSS).when(mMockedTelephonyManager).getServiceState(); in testHandleCellBroadcastIntentNonMatchedScope()
|
/packages/services/Telephony/src/com/android/phone/otasp/ |
D | OtaspActivationService.java | 150 if (mPhone.getServiceState().getState() != ServiceState.STATE_IN_SERVICE) { in onStartOtaspCall()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | SubscriptionsPreferenceControllerTest.java | 140 when(mTelephonyManager.getServiceState()).thenReturn(mServiceState); in setUp() 533 doReturn(ss).when(mTelephonyManagerForSub).getServiceState(); in getIcon_voiceInServiceAndMobileDataOff_iconIsSignalIcon() 601 doReturn(ss).when(mTelephonyManagerForSub).getServiceState(); in setupGetIconConditions()
|
D | ProviderModelSliceHelperTest.java | 114 when(mTelephonyManager.getServiceState()).thenReturn(mServiceState); in setUp()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/ |
D | PreferredNetworkModePreferenceControllerTest.java | 84 doReturn(mServiceState).when(mTelephonyManager).getServiceState(); in setUp()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/ |
D | HeadsetPhoneState.java | 231 ServiceState getServiceState() { in getServiceState() method in HeadsetPhoneState
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnectionService.java | 1144 if (phone == null || phone.getServiceState().getState() in onCreateOutgoingConnection() 1592 int state = phone.getServiceState().getState(); in getTelephonyConnection() 1594 int dataNetType = phone.getServiceState().getDataNetworkType(); in getTelephonyConnection() 1598 state = phone.getServiceState().getDataRegistrationState(); in getTelephonyConnection() 2090 if (phone == null || TextUtils.isEmpty(number) || !phone.getServiceState().getRoaming()) { in blockCallForwardingNumberWhileRoaming() 2123 && (imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE); in useImsForAudioOnlyCall() 3017 ServiceState ss = phone.getServiceStateTracker().getServiceState(); in isVoiceInService() 3686 boolean isRoaming = phone.getServiceState().getVoiceRoaming(); in possiblyOverrideDefaultDataForEmergencyCall() 3694 phone.getServiceState().getOperatorNumeric())) { in possiblyOverrideDefaultDataForEmergencyCall() 4106 if (ServiceState.STATE_IN_SERVICE == phone.getServiceState().getState()) { in isAvailableForEmergencyCalls() [all …]
|
/packages/services/Telephony/src/com/android/services/telephony/domainselection/ |
D | CrossSimRedialingController.java | 293 ServiceState ss = tm.getServiceState(); in isNetworkRegistered()
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/ |
D | VoicemailStatus.java | 144 int state = telephonyManager.getServiceState().getState(); in getNotificationChannelStateFormTelephony()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastReceiver.java | 306 && getServiceState(context) == ServiceState.STATE_POWER_OFF) in onServiceStateChanged() 492 private static int getServiceState(Context context) { in getServiceState() method in CellBroadcastReceiver
|
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | GsmCellBroadcastHandlerTest.java | 317 doReturn(ss).when(mMockedTelephonyManager).getServiceState(); in testSmsCbLocation() 457 doReturn(ss).when(mMockedTelephonyManager).getServiceState(); in testGeofencingDontSendWithMockCalculator()
|