Home
last modified time | relevance | path

Searched refs:serviceState (Results 1 – 24 of 24) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/simstatus/
DSimStatusDialogController.java168 final ServiceState serviceState = getCurrentServiceState(); in initialize() local
169 updateNetworkProvider(serviceState); in initialize()
172 updateServiceState(serviceState); in initialize()
175 updateRoamingStatus(serviceState); in initialize()
218 private void updateNetworkProvider(ServiceState serviceState) { in updateNetworkProvider() argument
219 mDialog.setText(NETWORK_PROVIDER_VALUE_ID, serviceState.getOperatorAlphaLong()); in updateNetworkProvider()
264 private void updateServiceState(ServiceState serviceState) { in updateServiceState() argument
265 final int state = Utils.getCombinedServiceState(serviceState); in updateServiceState()
266 if (!Utils.isInService(serviceState)) { in updateServiceState()
309 ServiceState serviceState = getCurrentServiceState(); in updateSignalStrength() local
[all …]
/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/
DSimStatusDialogController.java237 final ServiceState serviceState = mTelephonyManager.getServiceState(); in updateSubscriptionStatus() local
241 updateServiceState(serviceState); in updateSubscriptionStatus()
244 updateRoamingStatus(serviceState); in updateSubscriptionStatus()
388 private void updateServiceState(ServiceState serviceState) { in updateServiceState() argument
389 final int state = Utils.getCombinedServiceState(serviceState); in updateServiceState()
390 if (!Utils.isInService(serviceState)) { in updateServiceState()
438 ServiceState serviceState = mTelephonyManager.getServiceState(); in updateSignalStrength() local
439 if (serviceState == null || !Utils.isInService(serviceState)) { in updateSignalStrength()
514 private void updateRoamingStatus(ServiceState serviceState) { in updateRoamingStatus() argument
515 if (serviceState.getRoaming()) { in updateRoamingStatus()
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/
DConnectivityUtil.java45 public void onPhoneStateChanged(int serviceState); in onPhoneStateChanged() argument
65 public void onServiceStateChanged(final ServiceState serviceState) {
66 if (mCurrentServiceState != serviceState.getState()) {
67 mCurrentServiceState = serviceState.getState();
79 private void onPhoneStateChanged(final int serviceState) { in onPhoneStateChanged() argument
82 listener.onPhoneStateChanged(serviceState); in onPhoneStateChanged()
/packages/services/Telephony/src/com/android/services/telephony/
DRadioOnStateListener.java45 boolean isOkToCall(Phone phone, int serviceState); in isOkToCall() argument
213 private boolean isOkToCall(int serviceState) { in isOkToCall() argument
214 return (mCallback == null) ? false : mCallback.isOkToCall(mPhone, serviceState); in isOkToCall()
222 int serviceState = mPhone.getServiceState().getState(); in onRetryTimeout() local
224 mPhone.getState(), serviceState, mNumRetriesSoFar); in onRetryTimeout()
232 if (isOkToCall(serviceState)) { in onRetryTimeout()
DRadioOnHelper.java144 public boolean isOkToCall(Phone phone, int serviceState) { in isOkToCall() argument
145 return (mCallback == null) ? false : mCallback.isOkToCall(phone, serviceState); in isOkToCall()
DTelecomAccountRegistry.java1045 public void onServiceStateChanged(ServiceState serviceState) {
1046 int newState = serviceState.getState();
DTelephonyConnectionService.java811 public boolean isOkToCall(Phone phone, int serviceState) { in onCreateOutgoingConnection()
833 || serviceState == ServiceState.STATE_IN_SERVICE; in onCreateOutgoingConnection()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetPhoneState.java277 public synchronized void onServiceStateChanged(ServiceState serviceState) { in onServiceStateChanged() argument
278 mServiceState = serviceState; in onServiceStateChanged()
279 int cindService = (serviceState.getState() == ServiceState.STATE_IN_SERVICE) in onServiceStateChanged()
282 int newRoam = serviceState.getRoaming() ? HeadsetHalConstants.SERVICE_TYPE_ROAMING in onServiceStateChanged()
DHeadsetStateMachine.java1710 ServiceState serviceState = mSystemInterface.getHeadsetPhoneState().getServiceState(); in processAtCops() local
1711 if (serviceState != null) { in processAtCops()
1712 operatorName = serviceState.getOperatorAlpha(); in processAtCops()
/packages/services/Telephony/src/com/android/phone/
DNotificationMgr.java794 void updateNetworkSelection(int serviceState, int subId) { in updateNetworkSelection() argument
822 log("updateNetworkSelection()..." + "state = " + serviceState + " new network " in updateNetworkSelection()
828 shouldShowNotification(serviceState, subId); in updateNetworkSelection()
835 serviceState + " not updating network due to invalid subId " + subId); in updateNetworkSelection()
883 private void shouldShowNotification(int serviceState, int subId) { in shouldShowNotification() argument
884 if (serviceState == ServiceState.STATE_OUT_OF_SERVICE) { in shouldShowNotification()
901 mPreviousServiceState.put(subId, serviceState); in shouldShowNotification()
904 + " serviceState = " + serviceState in shouldShowNotification()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DVvmPhoneStateListener.java47 public void onServiceStateChanged(ServiceState serviceState) { in onServiceStateChanged() argument
57 int state = serviceState.getState(); in onServiceStateChanged()
/packages/services/Telephony/src/com/android/phone/settings/
DRadioInfo.java362 public void onServiceStateChanged(ServiceState serviceState) { in onServiceStateChanged() argument
363 log("onServiceStateChanged: ServiceState=" + serviceState); in onServiceStateChanged()
364 updateServiceState(serviceState); in onServiceStateChanged()
368 updateNrStats(serviceState); in onServiceStateChanged()
1083 private void updateServiceState(ServiceState serviceState) { in updateServiceState() argument
1084 int state = serviceState.getState(); in updateServiceState()
1103 if (serviceState.getRoaming()) { in updateServiceState()
1109 mOperatorName.setText(serviceState.getOperatorAlphaLong()); in updateServiceState()
1164 private void updateNrStats(ServiceState serviceState) { in updateNrStats() argument
1170 ServiceState ss = serviceState; in updateNrStats()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DRenameMobileNetworkDialogFragment.java123 final ServiceState serviceState = mTelephonyManager.getServiceStateForSubscriber(mSubId); in populateView() local
124 operatorName.setText(serviceState.getOperatorAlphaLong()); in populateView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DRadioInfo.java309 public void onServiceStateChanged(ServiceState serviceState) {
310 log("onServiceStateChanged: ServiceState=" + serviceState);
311 updateServiceState(serviceState);
907 updateServiceState(ServiceState serviceState) { in updateServiceState() argument
908 int state = serviceState.getState(); in updateServiceState()
927 if (serviceState.getRoaming()) { in updateServiceState()
933 operatorName.setText(serviceState.getOperatorAlphaLong()); in updateServiceState()
/packages/services/Telephony/src/com/android/phone/vvm/
DVvmSimStateTracker.java100 public void onServiceStateChanged(ServiceState serviceState) { in onServiceStateChanged() argument
101 if (serviceState.getState() == ServiceState.STATE_IN_SERVICE) { in onServiceStateChanged()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DRenameMobileNetworkDialogFragment.java165 final ServiceState serviceState = mTelephonyManager.getServiceState(); in populateView() local
166 operatorName.setText(serviceState.getOperatorAlphaLong()); in populateView()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DProcessPendingMessagesAction.java117 public void onPhoneStateChanged(final int serviceState) { in scheduleProcessPendingMessagesAction()
118 if (serviceState == ServiceState.STATE_IN_SERVICE) { in scheduleProcessPendingMessagesAction()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DAccessibilitySettings.java381 final String serviceState = serviceEnabled in getServiceSummary() local
387 serviceState, serviceSummary); in getServiceSummary()
390 ? serviceState in getServiceSummary()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilitySettings.java388 final String serviceState = serviceEnabled in getServiceSummary() local
394 serviceState, serviceSummary); in getServiceSummary()
397 ? serviceState in getServiceSummary()
/packages/apps/Settings/src/com/android/settings/network/
DMobileNetworkPreferenceController.java105 public void onServiceStateChanged(ServiceState serviceState) { in onStart()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DMobileNetworkPreferenceController.java111 public void onServiceStateChanged(ServiceState serviceState) { in onStart()
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailErrorManager.java187 public void onServiceStateChanged(ServiceState serviceState) { in onServiceStateChanged() argument
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyConnectionServiceTest.java1265 private Phone makeTestPhone(int phoneId, int serviceState, boolean isEmergencyOnly) { in makeTestPhone() argument
1268 testServiceState.setState(serviceState); in makeTestPhone()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContentObserver.java3671 public void onServiceStateChanged(ServiceState serviceState) {
3672 Log.d(TAG, "Phone service state change: " + serviceState.getState());
3673 if (serviceState.getState() == ServiceState.STATE_IN_SERVICE) {