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.java605 public void phoneStateChanged(int numActive, int numHeld, int callState, String number, in phoneStateChanged() argument
611 service.phoneStateChanged(numActive, numHeld, callState, number, type, name, false); in phoneStateChanged()
1486 private void phoneStateChanged(int numActive, int numHeld, int callState, String number, in phoneStateChanged() argument
1491 if ((numActive + numHeld) > 0 || callState != HeadsetHalConstants.CALL_STATE_IDLE) { in phoneStateChanged()
1503 if (callState == HeadsetHalConstants.CALL_STATE_DIALING) { in phoneStateChanged()
1510 } else if (callState == HeadsetHalConstants.CALL_STATE_ACTIVE in phoneStateChanged()
1511 || callState == HeadsetHalConstants.CALL_STATE_IDLE) { in phoneStateChanged()
1524 mSystemInterface.getHeadsetPhoneState().setCallState(callState); in phoneStateChanged()
1526 if (callState != HeadsetHalConstants.CALL_STATE_DISCONNECTED in phoneStateChanged()
1533 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.java205 public void setCallState(int callState) { in setCallState() argument
206 mCallState = callState; in setCallState()
DHeadsetStateMachine.java846 HeadsetCallState callState = (HeadsetCallState) message.obj; in processMessage() local
847 if (!mNativeInterface.phoneStateChange(mDevice, callState)) { in processMessage()
848 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, String 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.java87 int callState = TelephonyManager.CALL_STATE_IDLE; in updateStates() local
89 callState = TelephonyManager.CALL_STATE_RINGING; in updateStates()
92 callState = TelephonyManager.CALL_STATE_OFFHOOK; in updateStates()
94 sendPhoneStateChangedBroadcast(call, callState); in updateStates()
DCallState.java123 public static String toString(int callState) { in toString() argument
124 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.java107 void onSuccessfulOutgoingCall(Call call, int callState); in onSuccessfulOutgoingCall() argument
111 void onSuccessfulUnknownCall(Call call, int callState); in onSuccessfulUnknownCall() argument
150 public void onSuccessfulOutgoingCall(Call call, int callState) {} in onSuccessfulOutgoingCall() argument
158 public void onSuccessfulUnknownCall(Call call, int callState) {} in onSuccessfulUnknownCall() argument
DCallsManager.java566 public void onSuccessfulOutgoingCall(Call call, int callState) { in onSuccessfulOutgoingCall() argument
569 setCallState(call, callState, "successful outgoing call"); in onSuccessfulOutgoingCall()
735 public void onSuccessfulUnknownCall(Call call, int callState) { in onSuccessfulUnknownCall() argument
736 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()
703 int callState, @SessionModificationState int sessionModificationState) { in updateFullscreenAndGreenScreenMode() argument
707 callState == DialerCallState.DIALING in updateFullscreenAndGreenScreenMode()
708 || callState == DialerCallState.CONNECTING in updateFullscreenAndGreenScreenMode()
709 || callState == DialerCallState.INCOMING in updateFullscreenAndGreenScreenMode()
877 int callState, in showVideoUi() argument
884 boolean showIncomingVideo = showIncomingVideo(videoState, callState); in showVideoUi()
896 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.java176 private void setCallState(int callState) { in setCallState() argument
177 L.d(TAG, "Call State: %s", callState); in setCallState()
178 mCallState = callState; in setCallState()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/activecall/
DOnGoingCallControllerBarFragmentTest.java200 private void addFragment(int callState) { in addFragment() argument
205 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/apps/Settings/src/com/android/settings/
DRadioInfo.java195 private TextView callState; field in RadioInfo
449 callState = (TextView) findViewById(R.id.call); in onCreate()
733 callState.setText(""); in unregisterPhoneStateListener()
1048 callState.setText(display); in updatePhoneState()
/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.java184 private TextView callState; field in RadioInfo
417 callState = (TextView) findViewById(R.id.call); in onCreate()
950 callState.setText(display); in updatePhoneState()