/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/simstatus/ |
D | SimStatusDialogController.java | 168 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/ |
D | SimStatusDialogController.java | 237 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/ |
D | ConnectivityUtil.java | 45 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/ |
D | RadioOnStateListener.java | 45 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()
|
D | RadioOnHelper.java | 144 public boolean isOkToCall(Phone phone, int serviceState) { in isOkToCall() argument 145 return (mCallback == null) ? false : mCallback.isOkToCall(phone, serviceState); in isOkToCall()
|
D | TelecomAccountRegistry.java | 1045 public void onServiceStateChanged(ServiceState serviceState) { 1046 int newState = serviceState.getState();
|
D | TelephonyConnectionService.java | 811 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/ |
D | HeadsetPhoneState.java | 277 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()
|
D | HeadsetStateMachine.java | 1710 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/ |
D | NotificationMgr.java | 794 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/ |
D | VvmPhoneStateListener.java | 47 public void onServiceStateChanged(ServiceState serviceState) { in onServiceStateChanged() argument 57 int state = serviceState.getState(); in onServiceStateChanged()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | RadioInfo.java | 362 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/ |
D | RenameMobileNetworkDialogFragment.java | 123 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/ |
D | RadioInfo.java | 309 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/ |
D | VvmSimStateTracker.java | 100 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/ |
D | RenameMobileNetworkDialogFragment.java | 165 final ServiceState serviceState = mTelephonyManager.getServiceState(); in populateView() local 166 operatorName.setText(serviceState.getOperatorAlphaLong()); in populateView()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ProcessPendingMessagesAction.java | 117 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/ |
D | AccessibilitySettings.java | 381 final String serviceState = serviceEnabled in getServiceSummary() local 387 serviceState, serviceSummary); in getServiceSummary() 390 ? serviceState in getServiceSummary()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AccessibilitySettings.java | 388 final String serviceState = serviceEnabled in getServiceSummary() local 394 serviceState, serviceSummary); in getServiceSummary() 397 ? serviceState in getServiceSummary()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | MobileNetworkPreferenceController.java | 105 public void onServiceStateChanged(ServiceState serviceState) { in onStart()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/ |
D | MobileNetworkPreferenceController.java | 111 public void onServiceStateChanged(ServiceState serviceState) { in onStart()
|
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/ |
D | VoicemailErrorManager.java | 187 public void onServiceStateChanged(ServiceState serviceState) { in onServiceStateChanged() argument
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | TelephonyConnectionServiceTest.java | 1265 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/ |
D | BluetoothMapContentObserver.java | 3671 public void onServiceStateChanged(ServiceState serviceState) { 3672 Log.d(TAG, "Phone service state change: " + serviceState.getState()); 3673 if (serviceState.getState() == ServiceState.STATE_IN_SERVICE) {
|