Lines Matching refs:CallStatusCode

24 import com.android.phone.Constants.CallStatusCode;
237 CallStatusCode status = placeCallInternal(intent); in placeCall()
280 private CallStatusCode placeCallInternal(Intent intent) { in placeCallInternal()
293 CallStatusCode okToCallStatus = checkIfOkToInitiateOutgoingCall( in placeCallInternal()
330 if (okToCallStatus != CallStatusCode.SUCCESS) { in placeCallInternal()
335 return CallStatusCode.VOICEMAIL_NUMBER_MISSING; in placeCallInternal()
340 return CallStatusCode.NO_PHONE_NUMBER_SUPPLIED; in placeCallInternal()
358 return CallStatusCode.CALL_FAILED; in placeCallInternal()
363 return CallStatusCode.CALL_FAILED; in placeCallInternal()
375 && ((okToCallStatus == CallStatusCode.EMERGENCY_ONLY) in placeCallInternal()
376 || (okToCallStatus == CallStatusCode.OUT_OF_SERVICE))) { in placeCallInternal()
378 okToCallStatus = CallStatusCode.SUCCESS; in placeCallInternal()
382 if (okToCallStatus != CallStatusCode.SUCCESS) { in placeCallInternal()
385 if (isEmergencyNumber && (okToCallStatus == CallStatusCode.POWER_OFF)) { in placeCallInternal()
405 return CallStatusCode.SUCCESS; in placeCallInternal()
496 return CallStatusCode.EXITED_ECM; in placeCallInternal()
498 return CallStatusCode.SUCCESS; in placeCallInternal()
512 return CallStatusCode.DIALED_MMI; in placeCallInternal()
524 return CallStatusCode.CALL_FAILED; in placeCallInternal()
529 return CallStatusCode.SUCCESS; // Try to continue anyway... in placeCallInternal()
542 private CallStatusCode checkIfOkToInitiateOutgoingCall(int state) { in checkIfOkToInitiateOutgoingCall()
548 return CallStatusCode.SUCCESS; in checkIfOkToInitiateOutgoingCall()
552 return CallStatusCode.POWER_OFF; in checkIfOkToInitiateOutgoingCall()
563 return CallStatusCode.EMERGENCY_ONLY; in checkIfOkToInitiateOutgoingCall()
567 return CallStatusCode.OUT_OF_SERVICE; in checkIfOkToInitiateOutgoingCall()
585 private void handleOutgoingCallError(CallStatusCode status) { in handleOutgoingCallError()