Home
last modified time | relevance | path

Searched refs:callStateListener (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/telephony/
DCallStateRepositoryTest.kt42 private var callStateListener: TelephonyCallback.CallStateListener? = null variable in com.android.settings.network.telephony.CallStateRepositoryTest
47 callStateListener = it.arguments[1] as TelephonyCallback.CallStateListener in <lambda>()
48 callStateListener?.onCallStateChanged(TelephonyManager.CALL_STATE_IDLE) in <lambda>()
83 callStateListener?.onCallStateChanged(TelephonyManager.CALL_STATE_RINGING) in <lambda>()
115 callStateListener?.onCallStateChanged(TelephonyManager.CALL_STATE_RINGING) in <lambda>()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioServiceUnitTest.java6135 TelephonyCallback.CallStateListener callStateListener = getCallStateListener(); in onCallStateChanged_withOffHookStateAndVolumeBelowMinActivationVolume() local
6146 callStateListener.onCallStateChanged(TelephonyManager.CALL_STATE_OFFHOOK); in onCallStateChanged_withOffHookStateAndVolumeBelowMinActivationVolume()
6171 TelephonyCallback.CallStateListener callStateListener = getCallStateListener(); in onCallStateChanged_withRingingStateAndVolumeBelowMinActivationVolume() local
6182 callStateListener.onCallStateChanged(TelephonyManager.CALL_STATE_RINGING); in onCallStateChanged_withRingingStateAndVolumeBelowMinActivationVolume()
6207 TelephonyCallback.CallStateListener callStateListener = getCallStateListener(); in onCallStateChanged_withRingingStateAndWithinActivationVolumeRange() local
6218 callStateListener.onCallStateChanged(TelephonyManager.CALL_STATE_RINGING); in onCallStateChanged_withRingingStateAndWithinActivationVolumeRange()