Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/incallui/ringtone/
DDialerRingtoneManager.java64 public boolean shouldPlayRingtone(int callState, @Nullable Uri ringtoneUri) { in shouldPlayRingtone() argument
66 && translateCallStateForCallWaiting(callState) == DialerCallState.INCOMING in shouldPlayRingtone()
85 private int translateCallStateForCallWaiting(int callState) { in translateCallStateForCallWaiting() argument
86 if (callState != DialerCallState.INCOMING) { in translateCallStateForCallWaiting()
87 return callState; in translateCallStateForCallWaiting()
107 public boolean shouldPlayCallWaitingTone(int callState) { in shouldPlayCallWaitingTone() argument
109 && translateCallStateForCallWaiting(callState) == DialerCallState.CALL_WAITING in shouldPlayCallWaitingTone()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetNativeInterface.java351 int callState, int signal, int roam, int batteryCharge) { in cindResponse() argument
352 return cindResponseNative(service, numActive, numHeld, callState, signal, roam, in cindResponse()
420 public boolean phoneStateChange(BluetoothDevice device, HeadsetCallState callState) { in phoneStateChange() argument
421 return phoneStateChangeNative(callState.mNumActive, callState.mNumHeld, in phoneStateChange()
422 callState.mCallState, callState.mNumber, callState.mType, callState.mName, in phoneStateChange()
485 int callState, int signal, int roam, int batteryCharge, byte[] address); in cindResponseNative() argument
495 private native boolean phoneStateChangeNative(int numActive, int numHeld, int callState, in phoneStateChangeNative() argument
DHeadsetService.java636 public void phoneStateChanged(int numActive, int numHeld, int callState, String number, in phoneStateChanged() argument
642 service.phoneStateChanged(numActive, numHeld, callState, number, type, name, false); in phoneStateChanged()
1543 private void phoneStateChanged(int numActive, int numHeld, int callState, String number, in phoneStateChanged() argument
1548 if ((numActive + numHeld) > 0 || callState != HeadsetHalConstants.CALL_STATE_IDLE) { in phoneStateChanged()
1560 if (callState == HeadsetHalConstants.CALL_STATE_DIALING) { in phoneStateChanged()
1567 } else if (callState == HeadsetHalConstants.CALL_STATE_ACTIVE in phoneStateChanged()
1568 || callState == HeadsetHalConstants.CALL_STATE_IDLE) { in phoneStateChanged()
1581 mSystemInterface.getHeadsetPhoneState().setCallState(callState); in phoneStateChanged()
1583 if (callState != HeadsetHalConstants.CALL_STATE_DISCONNECTED in phoneStateChanged()
1590 new HeadsetCallState(numActive, numHeld, callState, number, type, name))); in phoneStateChanged()
[all …]
DHeadsetCallState.java50 HeadsetCallState(int numActive, int numHeld, int callState, String number, int type, in HeadsetCallState() argument
54 mCallState = callState; in HeadsetCallState()
DHeadsetPhoneState.java191 public void setCallState(int callState) { in setCallState() argument
192 mCallState = callState; in setCallState()
DHeadsetStateMachine.java850 HeadsetCallState callState = (HeadsetCallState) message.obj; in processMessage() local
851 if (!mNativeInterface.phoneStateChange(mDevice, callState)) { in processMessage()
852 stateLogW("processCallState: failed to update call state " + callState); in processMessage()
/packages/apps/Car/Cluster/src/android/car/cluster/
DSelfRefreshDescriptionLiveData.java70 Integer callState = mStateLiveData.getValue(); in updateDescription() local
72 if (callState != null) { in updateDescription()
73 String newDescription = getCallInfoText(mContext, callState, number, in updateDescription()
91 private String getCallInfoText(Context context, Integer callState, PhoneNumberInfo number, in getCallInfoText() argument
95 if (callState == TelephonyManager.CALL_STATE_OFFHOOK) { in getCallInfoText()
108 String state = callStateToUiString(context, callState); in getCallInfoText()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneStateBroadcaster.java83 int callState = TelephonyManager.CALL_STATE_IDLE; in updateStates() local
85 callState = TelephonyManager.CALL_STATE_RINGING; in updateStates()
88 callState = TelephonyManager.CALL_STATE_OFFHOOK; in updateStates()
90 sendPhoneStateChangedBroadcast(call, callState); in updateStates()
DCallState.java135 public static String toString(int callState) { in toString() argument
136 switch (callState) { in toString()
DBluetoothHeadsetProxy.java45 public void phoneStateChanged(int numActive, int numHeld, int callState, String number, in phoneStateChanged() argument
48 mBluetoothHeadset.phoneStateChanged(numActive, numHeld, callState, number, type, in phoneStateChanged()
DCall.java112 void onSuccessfulOutgoingCall(Call call, int callState); in onSuccessfulOutgoingCall() argument
116 void onSuccessfulUnknownCall(Call call, int callState); in onSuccessfulUnknownCall() argument
158 public void onSuccessfulOutgoingCall(Call call, int callState) {} in onSuccessfulOutgoingCall() argument
166 public void onSuccessfulUnknownCall(Call call, int callState) {} in onSuccessfulUnknownCall() argument
DCallsManager.java620 public void onSuccessfulOutgoingCall(Call call, int callState) { in onSuccessfulOutgoingCall() argument
624 setCallState(call, callState, "successful outgoing call"); in onSuccessfulOutgoingCall()
838 public void onSuccessfulUnknownCall(Call call, int callState) { in onSuccessfulUnknownCall() argument
839 setCallState(call, callState, "successful unknown call"); in onSuccessfulUnknownCall()
/packages/apps/Dialer/java/com/android/incallui/
DVideoCallPresenter.java166 static boolean showIncomingVideo(int videoState, int callState) { in showIncomingVideo() argument
169 boolean isCallActive = callState == DialerCallState.ACTIVE; in showIncomingVideo()
172 DialerCallState.isDialing(callState) || callState == DialerCallState.CONNECTING; in showIncomingVideo()
719 int callState, @SessionModificationState int sessionModificationState) { in updateFullscreenAndGreenScreenMode() argument
723 callState == DialerCallState.DIALING in updateFullscreenAndGreenScreenMode()
724 || callState == DialerCallState.CONNECTING in updateFullscreenAndGreenScreenMode()
725 || callState == DialerCallState.INCOMING in updateFullscreenAndGreenScreenMode()
893 int callState, in showVideoUi() argument
900 boolean showIncomingVideo = showIncomingVideo(videoState, callState); in showVideoUi()
912 updateFullscreenAndGreenScreenMode(callState, sessionModificationState); in showVideoUi()
DStatusBarNotifier.java124 private int callState = DialerCallState.INVALID; field in StatusBarNotifier
278 final int callState = call.getState(); in buildAndSendNotification() local
293 if (callState == DialerCallState.INCOMING in buildAndSendNotification()
294 || callState == DialerCallState.CALL_WAITING in buildAndSendNotification()
320 callState, in buildAndSendNotification()
342 setNotificationWhen(call, callState, publicBuilder); in buildAndSendNotification()
401 createIncomingCallNotification(call, callState, callAudioState, builder); in buildAndSendNotification()
410 if (dialerRingtoneManager.shouldPlayRingtone(callState, contactInfo.contactRingtoneUri)) { in buildAndSendNotification()
421 if (dialerRingtoneManager.shouldPlayCallWaitingTone(callState)) { in buildAndSendNotification()
508 || (callState != state) in checkForChangeAndSaveData()
[all …]
DCallCardPresenter.java341 int callState = DialerCallState.IDLE; in onStateChange() local
343 callState = this.primary.getState(); in onStateChange()
354 shouldShowEndCallButton(this.primary, callState), in onStateChange()
355 callState != DialerCallState.INCOMING /* animate */); in onStateChange()
1042 private boolean shouldShowEndCallButton(DialerCall primary, int callState) { in shouldShowEndCallButton() argument
1046 if ((!DialerCallState.isConnectingOrConnected(callState) in shouldShowEndCallButton()
1047 && callState != DialerCallState.DISCONNECTING in shouldShowEndCallButton()
1048 && callState != DialerCallState.DISCONNECTED) in shouldShowEndCallButton()
1049 || callState == DialerCallState.INCOMING) { in shouldShowEndCallButton()
DConferenceParticipantListAdapter.java286 int callState) { in setCallerInfoForRow() argument
295 if (callState == DialerCallState.ONHOLD) { in setCallerInfoForRow()
/packages/apps/Dialer/java/com/android/incallui/videotech/duo/
DDuoVideoTech.java45 private int callState = Call.STATE_NEW; field in DuoVideoTech
70 if (callState != Call.STATE_ACTIVE) { in isAvailable()
126 callState = newState; in onCallStateChanged()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/
DOnGoingCallControllerBarFragment.java239 private void setCallState(int callState) { in setCallState() argument
240 L.d(TAG, "Call State: %s", callState); in setCallState()
241 mPrimaryCallState = callState; in setCallState()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/activecall/
DOnGoingCallControllerBarFragmentTest.java232 private void addFragment(int callState) { in addFragment() argument
237 mCallStateLiveData.setValue(callState); in addFragment()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java1004 int callState = mTelephonyManager.getCallState(); in getSuggestedAudioUsage() local
1005 if (callState == TelephonyManager.CALL_STATE_RINGING) { in getSuggestedAudioUsage()
1007 } else if (callState == TelephonyManager.CALL_STATE_OFFHOOK) { in getSuggestedAudioUsage()
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/
DCallListAdapter.java97 TextView state = convertView.findViewById(R.id.callState); in getView()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DCallListAdapter.java97 TextView state = convertView.findViewById(R.id.callState); in getView()
DSelfManagedCallListAdapter.java223 TextView statusTextView = (TextView) view.findViewById(R.id.callState); in setInfoForRow()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DRadioInfo.java185 private TextView callState; field in RadioInfo
419 callState = (TextView) findViewById(R.id.call); in onCreate()
953 callState.setText(display); in updatePhoneState()