Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/telephony/data/repository/
DTelephonyRepositoryImplTest.kt71 fun callState() = in callState() method
73 val callState by collectLastValue(underTest.callState) in callState() constant
81 assertThat(callState).isEqualTo(0) in callState()
84 assertThat(callState).isEqualTo(1) in callState()
87 assertThat(callState).isEqualTo(2) in callState()
/frameworks/base/telephony/java/android/telephony/ims/
DImsExternalCallState.java91 @ExternalCallState int callState, int callType, boolean isCallheld) { in ImsExternalCallState() argument
95 mCallState = callState; in ImsExternalCallState()
103 boolean isPullable, @ExternalCallState int callState, int callType, in ImsExternalCallState() argument
109 mCallState = callState; in ImsExternalCallState()
128 @Nullable Uri localAddress, boolean isPullable, @ExternalCallState int callState, in ImsExternalCallState() argument
134 mCallState = callState; in ImsExternalCallState()
DSrvccCall.java59 public SrvccCall(@NonNull String callId, @PreciseCallStates int callState, in SrvccCall() argument
65 mCallState = callState; in SrvccCall()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsExternalCallTracker.java277 for (ImsExternalCallState callState : externalCallStates) { in refreshExternalCallState()
278 if (!mExternalConnections.containsKey(callState.getCallId())) { in refreshExternalCallState()
279 Log.d(TAG, "refreshExternalCallState: got = " + callState); in refreshExternalCallState()
282 if (callState.getCallState() != ImsExternalCallState.CALL_STATE_CONFIRMED) { in refreshExternalCallState()
285 createExternalConnection(callState); in refreshExternalCallState()
287 updateExistingConnection(mExternalConnections.get(callState.getCallId()), in refreshExternalCallState()
288 callState); in refreshExternalCallState() local
DImsPhoneCallTracker.java3259 public int getDisconnectCauseFromReasonInfo(ImsReasonInfo reasonInfo, Call.State callState) { in getDisconnectCauseFromReasonInfo() argument
3333 if (callState == Call.State.DIALING) { in getDisconnectCauseFromReasonInfo()
3422 if (callState == Call.State.DIALING || callState == Call.State.ALERTING) { in getDisconnectCauseFromReasonInfo()
3655 Call.State callState;
3657 callState = conn.getState();
3662 callState = Call.State.ACTIVE;
3664 int cause = getDisconnectCauseFromReasonInfo(reasonInfo, callState);
4692 Call.State callState; in sendCallStartFailedDisconnect() local
4694 callState = conn.getState(); in sendCallStartFailedDisconnect()
4700 callState = Call.State.DIALING; in sendCallStartFailedDisconnect()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/telephony/data/repository/
DTelephonyRepository.kt46 @Annotation.CallState val callState: Flow<Int> constant
77 override val callState: Flow<Int> = conflatedCallbackFlow { in <lambda>() constant in com.android.systemui.telephony.data.repository.TelephonyRepositoryImpl
90 callState.map { withContext(backgroundDispatcher) { telecomManager.isInCall } } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/telephony/domain/interactor/
DTelephonyInteractor.kt34 @Annotation.CallState val callState: Flow<Int> = repository.callState constant
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DPhoneCallStateHandler.java168 private static boolean isCallOngoingFromState(@Annotation.CallState int callState) {
169 return switch (callState) {
173 "Received unexpected call state from Telephony Manager: " + callState);
/frameworks/base/core/java/com/android/internal/accessibility/util/
DAccessibilityUtils.java229 @Annotation.CallState final int callState = in interceptHeadsetHookForActiveCall() local
232 if (callState == TelephonyManager.CALL_STATE_RINGING) { in interceptHeadsetHookForActiveCall()
235 } else if (callState == TelephonyManager.CALL_STATE_OFFHOOK) { in interceptHeadsetHookForActiveCall()
/frameworks/base/telephony/java/android/telephony/
DCallState.java114 private CallState(@PreciseCallStates int callState, @NetworkType int networkType, in CallState() argument
117 this.mPreciseCallState = callState; in CallState()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/telephony/data/repository/
DFakeTelephonyRepository.kt33 override val callState: Flow<Int> = _callState.asStateFlow() constant in com.android.systemui.telephony.data.repository.FakeTelephonyRepository
/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/contextsync/
DCrossDeviceCall.java180 public static int convertStateToStatus(int callState) { in convertStateToStatus() argument
181 switch (callState) { in convertStateToStatus()
197 Slog.e(TAG, "Couldn't resolve state to status: " + callState); in convertStateToStatus()
/frameworks/base/core/java/com/android/internal/telephony/
DIPhoneStateListener.aidl53 void onPreciseCallStateChanged(in PreciseCallState callState); in onPreciseCallStateChanged() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DCallSessionEventBuilder.java68 mEvent.callState = state; in setCallState()
DTelephonyMetrics.java2068 ImsPhoneCall.State callState) { in writeImsCallState() argument
2070 switch (callState) { in writeImsCallState()
/frameworks/base/core/java/android/telephony/
DPhoneStateListener.java841 public void onPreciseCallStateChanged(@NonNull PreciseCallState callState) { in onPreciseCallStateChanged() argument
1430 public void onPreciseCallStateChanged(PreciseCallState callState) { in onPreciseCallStateChanged() argument
1435 () -> mExecutor.execute(() -> psl.onPreciseCallStateChanged(callState))); in onPreciseCallStateChanged()
DTelephonyCallback.java962 void onPreciseCallStateChanged(@NonNull PreciseCallState callState); in onPreciseCallStateChanged() argument
1835 public void onPreciseCallStateChanged(PreciseCallState callState) { in onPreciseCallStateChanged() argument
1841 () -> mExecutor.execute(() -> listener.onPreciseCallStateChanged(callState))); in onPreciseCallStateChanged()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java1464 CallState callState = null; in listen() local
1467 callState = cs; in listen()
1471 if (callState != null) { in listen()
1472 String callId = callState.getImsCallSessionId(); in listen()
3399 CallState callState = null; in notifyMediaQualityStatusChanged() local
3402 callState = cs; in notifyMediaQualityStatusChanged()
3406 if (callState != null) { in notifyMediaQualityStatusChanged()
3407 String callSessionId = callState.getImsCallSessionId(); in notifyMediaQualityStatusChanged()
3887 private static String callStateToString(int callState) { in callStateToString() argument
3888 switch (callState) { in callStateToString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/
DUserSwitcherInteractor.kt324 telephonyInteractor.callState in <lambda>()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java404 assertEquals(CallState.CALL_ACTIVE, log.callSessions[0].events[1].callState); in testWriteImsCallState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRILUtils.java5557 srvccCalls[i].callState = convertCallState(srvccConnections[i].getState()); in convertToHalSrvccCall()
5758 halInfos[index].callState = convertToHalImsCallState(info.getCallState()); in convertImsCallInfo()