Lines Matching refs:reason
308 public void connectionUnavailable(int reason) { in connectionUnavailable() argument
309 logd(mLogPrefix + "connectionUnavailable reason=" + connectorReasonToString(reason)); in connectionUnavailable()
311 reason = convertReasonType(reason); in connectionUnavailable()
312 if (mReason == reason) return; in connectionUnavailable()
314 connectionUnavailableInternal(reason); in connectionUnavailable()
317 private void connectionUnavailableInternal(int reason) { in connectionUnavailableInternal() argument
319 mReason = reason; in connectionUnavailableInternal()
323 if (!mHasConfig && reason != REASON_NO_IMS_SERVICE_CONFIGURED) return; in connectionUnavailableInternal()
456 public void connectionUnavailable(int reason) { in connectionUnavailable() argument
457 logd(mLogPrefix + "connectionUnavailable reason=" + connectorReasonToString(reason)); in connectionUnavailable()
459 reason = convertReasonType(reason); in connectionUnavailable()
460 if (mReason == reason) return; in connectionUnavailable()
462 connectionUnavailableInternal(reason); in connectionUnavailable()
465 private void connectionUnavailableInternal(int reason) { in connectionUnavailableInternal() argument
467 mReason = reason; in connectionUnavailableInternal()
471 if (!mHasConfig && reason != REASON_NO_IMS_SERVICE_CONFIGURED) return; in connectionUnavailableInternal()
473 if (mExternalState == null && reason != REASON_NO_IMS_SERVICE_CONFIGURED) { in connectionUnavailableInternal()
625 boolean notifyState(int subId, int feature, int state, int reason) { in notifyState() argument
630 + ", reason=" + imsStateReasonToString(reason)); in notifyState()
637 mCallback.onUnavailable(reason); in notifyState()
639 mLastReason = reason; in notifyState()
672 ExternalRcsFeatureState(int slotId, int state, int reason) { in ExternalRcsFeatureState() argument
675 mReason = reason; in ExternalRcsFeatureState()
803 private void onFeatureStateChange(int subId, int feature, int state, int reason) { in onFeatureStateChange() argument
808 + ", reason=" + imsStateReasonToString(reason)); in onFeatureStateChange()
815 && !wrapper.notifyState(subId, feature, state, reason)) { in onFeatureStateChange()
917 int reason = REASON_IMS_SERVICE_DISCONNECTED; in notifyExternalRcsStateChanged() local
922 reason = AVAILABLE; in notifyExternalRcsStateChanged()
925 reason = REASON_NO_IMS_SERVICE_CONFIGURED; in notifyExternalRcsStateChanged()
939 ExternalRcsFeatureState fs = new ExternalRcsFeatureState(slotId, state, reason); in notifyExternalRcsStateChanged()
1009 private static int convertReasonType(int reason) { in convertReasonType() argument
1010 switch(reason) { in convertReasonType()
1044 private static String connectorReasonToString(int reason) { in connectorReasonToString() argument
1045 switch(reason) { in connectorReasonToString()
1060 private static String imsStateReasonToString(int reason) { in imsStateReasonToString() argument
1061 switch(reason) { in imsStateReasonToString()