Home
last modified time | relevance | path

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

/packages/services/Telephony/src/com/android/services/telephony/
DEmergencyCallHelper.java180 private boolean isOkToCall(int serviceState, PhoneConstants.State phoneState) { in isOkToCall() argument
184 || (serviceState == ServiceState.STATE_IN_SERVICE) in isOkToCall()
185 || (serviceState == ServiceState.STATE_EMERGENCY_ONLY)) || in isOkToCall()
189 serviceState == ServiceState.STATE_OUT_OF_SERVICE); in isOkToCall()
197 int serviceState = mPhone.getServiceState().getState(); in onRetryTimeout() local
199 phoneState, serviceState, mNumRetriesSoFar); in onRetryTimeout()
207 if (isOkToCall(serviceState, phoneState)) { in onRetryTimeout()
DTelecomAccountRegistry.java203 public void onServiceStateChanged(ServiceState serviceState) {
204 int newState = serviceState.getState();
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStatus.java183 ServiceState serviceState = status.mPhoneStateReceiver.getServiceState(); in handleMessage() local
184 status.updateServiceState(serviceState); in handleMessage()
503 private void updateServiceState(ServiceState serviceState) { in updateServiceState() argument
504 int state = serviceState.getState(); in updateServiceState()
522 if (serviceState.getRoaming()) { in updateServiceState()
527 setSummaryText(KEY_OPERATOR_NAME, serviceState.getOperatorAlphaLong()); in updateServiceState()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetPhoneState.java182 public void onServiceStateChanged(ServiceState serviceState) {
183 mServiceState = serviceState;
184 mService = (serviceState.getState() == ServiceState.STATE_IN_SERVICE) ?
187 setRoam(serviceState.getRoaming() ? HeadsetHalConstants.SERVICE_TYPE_ROAMING
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastReceiver.java58 ServiceState serviceState = ServiceState.newFromBundle(intent.getExtras()); in onReceiveWithPrivilege() local
59 int newState = serviceState.getState(); in onReceiveWithPrivilege()
61 Log.d(TAG, "Service state changed! " + newState + " Full: " + serviceState + in onReceiveWithPrivilege()
/packages/services/Telephony/src/com/android/phone/
DEmergencyCallHelper.java269 int serviceState = mCM.getDefaultPhone().getServiceState().getState(); in onRetryTimeout() local
271 + ", service state " + serviceState in onRetryTimeout()
288 if (serviceState != ServiceState.STATE_POWER_OFF) { in onRetryTimeout()
DNotificationMgr.java495 void updateNetworkSelection(int serviceState) { in updateNetworkSelection() argument
510 serviceState + " new network " + networkSelection); in updateNetworkSelection()
512 if (serviceState == ServiceState.STATE_OUT_OF_SERVICE in updateNetworkSelection()
/packages/apps/Settings/src/com/android/settings/
DRadioInfo.java570 ServiceState serviceState = mPhoneStateReceiver.getServiceState(); in updateServiceState() local
571 int state = serviceState.getState(); in updateServiceState()
590 if (serviceState.getRoaming()) { in updateServiceState()
596 operatorName.setText(serviceState.getOperatorAlphaLong()); in updateServiceState()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java548 Integer serviceState = mProfileServicesState.get(serviceName); in setProfileServiceState() local
549 if(serviceState != null && serviceState != expectedCurrentState) { in setProfileServiceState()
553 + ". Invalid state: " + serviceState); in setProfileServiceState()
/packages/apps/Mms/src/com/android/mms/transaction/
DSmsReceiverService.java227 ServiceState serviceState = ServiceState.newFromBundle(intent.getExtras()); in handleServiceStateChanged() local
228 if (serviceState.getState() == ServiceState.STATE_IN_SERVICE) { in handleServiceStateChanged()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContentObserver.java1962 public void onServiceStateChanged(ServiceState serviceState) {
1963 Log.d(TAG, "Phone service state change: " + serviceState.getState());
1964 if (serviceState.getState() == ServiceState.STATE_IN_SERVICE) {