HomeSort by relevance Sort by last modified time
    Searched refs:callState (Results 1 - 25 of 31) sorted by null

1 2

  /packages/services/Telecomm/src/com/android/server/telecom/
CallState.java 25 public final class CallState {
27 private CallState() {}
115 public static String toString(int callState) {
116 switch (callState) {
BluetoothHeadsetProxy.java 45 public void phoneStateChanged(int numActive, int numHeld, int callState, String number,
48 mBluetoothHeadset.phoneStateChanged(numActive, numHeld, callState, number, type);
PhoneStateBroadcaster.java 86 int callState = TelephonyManager.CALL_STATE_IDLE;
88 callState = TelephonyManager.CALL_STATE_RINGING;
89 } else if (mCallsManager.getFirstCallWithState(CallState.DIALING, CallState.PULLING,
90 CallState.ACTIVE, CallState.ON_HOLD) != null) {
91 callState = TelephonyManager.CALL_STATE_OFFHOOK;
93 sendPhoneStateChangedBroadcast(call, callState);
BluetoothPhoneServiceImpl.java 336 if (oldState == CallState.ACTIVE && newState == CallState.ON_HOLD) {
338 if (otherCall.getState() == CallState.CONNECTING) {
348 && oldState == CallState.CONNECTING &&
349 (newState == CallState.DIALING || newState == CallState.PULLING)) {
751 "callState %s, " +
770 "callState %s, " +
    [all...]
Call.java 84 void onSuccessfulOutgoingCall(Call call, int callState);
88 void onSuccessfulUnknownCall(Call call, int callState);
119 public void onSuccessfulOutgoingCall(Call call, int callState) {}
127 public void onSuccessfulUnknownCall(Call call, int callState) {}
420 mState = isConference ? CallState.ACTIVE : CallState.NEW;
531 CallState.toString(mState),
626 * (see {@link CallState}), in practice those expectations break down when cellular systems
634 if (newState == CallState.DISCONNECTED && shouldContinueProcessingAfterDisconnect()) {
643 if (mState == CallState.ACTIVE || mState == CallState.ON_HOLD)
    [all...]
TelecomServiceImpl.java 656 final int callState = mCallsManager.getCallState();
657 return callState == TelephonyManager.CALL_STATE_OFFHOOK
658 || callState == TelephonyManager.CALL_STATE_RINGING;
    [all...]
  /packages/apps/Dialer/InCallUI/src/com/android/incallui/ringtone/
DialerRingtoneManager.java 64 * @param callState the call state for the call being checked.
68 public boolean shouldPlayRingtone(int callState, @Nullable Uri ringtoneUri) {
70 && translateCallStateForCallWaiting(callState) == State.INCOMING
86 * The incoming callState is never set as {@link State#CALL_WAITING} because
89 private int translateCallStateForCallWaiting(int callState) {
90 if (callState != State.INCOMING) {
91 return callState;
107 * @param callState the call state for the call being checked.
110 public boolean shouldPlayCallWaitingTone(int callState) {
112 && translateCallStateForCallWaiting(callState) == State.CALL_WAITIN
    [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
TelephonyStateListeners.java 77 public void onPreciseCallStateChanged(PreciseCallState callState) {
78 int foregroundState = callState.getForegroundCallState();
79 int ringingState = callState.getRingingCallState();
80 int backgroundState = callState.getBackgroundCallState();
85 callState);
91 callState);
97 callState);
102 int newState, String which, PreciseCallState callState) {
105 newState, which, callState, subscriptionId));
TelephonyEvents.java 53 JSONObject callState = new JSONObject();
55 callState.put(
58 callState.put(
61 callState.put(TelephonyConstants.CallStateContainer.CALL_STATE,
64 return callState;
TelephonyUtils.java 123 public static String getTelephonyCallStateString(int callState) {
124 switch (callState) {
132 Log.d("getTelephonyCallStateString error. int: " + callState);
  /frameworks/base/telephony/java/com/android/ims/
ImsExternalCallState.java 56 public ImsExternalCallState(int callId, Uri address, boolean isPullable, int callState,
61 mCallState = callState;
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
ImsExternalCallTracker.java 270 for (ImsExternalCallState callState : externalCallStates) {
271 if (!mExternalConnections.containsKey(callState.getCallId())) {
272 Log.d(TAG, "refreshExternalCallState: got = " + callState);
275 if (callState.getCallState() != ImsExternalCallState.CALL_STATE_CONFIRMED) {
278 createExternalConnection(callState);
280 updateExistingConnection(mExternalConnections.get(callState.getCallId()),
281 callState);
  /frameworks/base/core/java/android/bluetooth/
IBluetoothHeadset.aidl 57 void phoneStateChanged(int numActive, int numHeld, int callState, String number, int type);
BluetoothHeadset.java     [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/
IPhoneStateListener.aidl 42 void onPreciseCallStateChanged(in PreciseCallState callState);
  /packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
HeadsetPhoneState.java 159 void setCallState(int callState) {
160 mCallState = callState;
374 public HeadsetCallState(int numActive, int numHeld, int callState, String number, int type) {
377 mCallState = callState;
HeadsetStateMachine.java     [all...]
HeadsetService.java 275 public void phoneStateChanged(int numActive, int numHeld, int callState,
279 service.phoneStateChanged(numActive, numHeld, callState, number, type);
522 private void phoneStateChanged(int numActive, int numHeld, int callState,
526 msg.obj = new HeadsetCallState(numActive, numHeld, callState, number, type);
  /frameworks/base/telephony/java/android/telephony/
PhoneStateListener.java 475 public void onPreciseCallStateChanged(PreciseCallState callState) {
604 public void onPreciseCallStateChanged(PreciseCallState callState) {
605 send(LISTEN_PRECISE_CALL_STATE, 0, 0, callState);
  /packages/apps/Dialer/InCallUI/src/com/android/incallui/
CallCardPresenter.java 313 int callState = Call.State.IDLE;
315 callState = mPrimary.getState();
319 callState,
335 getUi().setEndCallButtonEnabled(shouldShowEndCallButton(mPrimary, callState),
336 callState != Call.State.INCOMING /* animate */);
472 * @param callState The call state.
475 private void maybeShowProgressSpinner(int callState, int sessionModificationState) {
478 && callState == Call.State.ACTIVE;
    [all...]
StatusBarNotifier.java 241 final int callState = call.getState();
253 if (callState == Call.State.INCOMING || callState == Call.State.CALL_WAITING
260 if (!checkForChangeAndSaveData(iconResId, content, largeIcon, contentTitle, callState,
279 setNotificationWhen(call, callState, publicBuilder);
312 createIncomingCallNotification(call, callState, builder);
322 if (mDialerRingtoneManager.shouldPlayRingtone(callState, contactInfo.contactRingtoneUri)) {
333 if (mDialerRingtoneManager.shouldPlayCallWaitingTone(callState)) {
    [all...]
VideoCallPresenter.java 756 * @param callState The call state.
758 private void showVideoUi(int videoState, int callState) {
764 boolean showIncomingVideo = showIncomingVideo(videoState, callState);
784 * callState. The video surface is shown when incoming video is not paused, the call is active,
788 * @param callState The current call state.
791 public static boolean showIncomingVideo(int videoState, int callState) {
797 boolean isCallActive = callState == Call.State.ACTIVE;
    [all...]
  /packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
CallListAdapter.java 95 TextView state = (TextView) convertView.findViewById(R.id.callState);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
TelephonyEventLog.java 472 * @param callState
474 public void writeImsCallState(ImsCallSession session, ImsPhoneCall.State callState) {
476 switch (callState) {
  /packages/apps/Settings/src/com/android/settings/
RadioInfo.java 169 private TextView callState;
361 callState = (TextView) findViewById(R.id.call);
    [all...]

Completed in 1120 milliseconds

1 2