Home
last modified time | relevance | path

Searched refs:mCurrentCallEndpoint (Results 1 – 3 of 3) sorted by relevance

/core/core-telecom/src/main/java/androidx/core/telecom/internal/
DCallSessionLegacy.kt82 private var mCurrentCallEndpoint: CallEndpointCompat? = null variable in androidx.core.telecom.internal.CallSessionLegacy
105 return mCurrentCallEndpoint in getCurrentCallEndpointForSession()
184 mPreviousCallEndpoint = mCurrentCallEndpoint in setCurrentCallEndpoint()
185 mCurrentCallEndpoint = in setCurrentCallEndpoint()
187 callChannels.currentEndpointChannel.trySend(mCurrentCallEndpoint!!).getOrThrow() in setCurrentCallEndpoint()
216 if (mCurrentCallEndpoint != null) { in onCallAudioStateChanged()
218 mCurrentCallEndpoint!!, in onCallAudioStateChanged()
228 if (mLastClientRequestedEndpoint?.type == mCurrentCallEndpoint?.type) { in onCallAudioStateChanged()
248 maybeSwitchToSpeakerOnCallStart(mCurrentCallEndpoint!!, endpoints) in switchStartingCallEndpointOnCallStart()
303 return mCurrentCallEndpoint != null && in isBluetoothConnected()
[all …]
DCallSession.kt67 private var mCurrentCallEndpoint: CallEndpointCompat? = null variable in androidx.core.telecom.internal.CallSession
109 mCurrentCallEndpoint = endpoint in setCurrentCallEndpoint()
144 val previousCallEndpoint = mCurrentCallEndpoint in onCallEndpointChanged()
147 mCurrentCallEndpoint = toRemappedCallEndpointCompat(endpoint) in onCallEndpointChanged()
149 callChannels.currentEndpointChannel.trySend(mCurrentCallEndpoint!!).getOrThrow() in onCallEndpointChanged()
156 maybeSwitchToSpeakerOnHeadsetDisconnect(mCurrentCallEndpoint!!, previousCallEndpoint) in onCallEndpointChanged()
218 if (isEarpieceEndpoint(mCurrentCallEndpoint) && speakerCompat != null) { in maybeSwitchToSpeakerOnCallStart()
258 return mCurrentCallEndpoint != null && in isBluetoothConnected()
259 mCurrentCallEndpoint!!.type == CallEndpoint.TYPE_BLUETOOTH in isBluetoothConnected()
/core/core-telecom/integration-tests/testicsapp/src/main/java/androidx/core/telecom/test/services/
DCallAudioRouteResolver.kt76 private val mCurrentCallEndpoint: MutableStateFlow<CallEndpoint?> = MutableStateFlow(null) in <lambda>() constant
110 .combine(mCurrentCallEndpoint) { available, current -> in <lambda>()
130 mCurrentCallEndpoint.value = callEndpoint in <lambda>()