Home
last modified time | relevance | path

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

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DIncomingCallNotifierTest.java55 @Mock private Call mRingingCall; field in IncomingCallNotifierTest
77 when(mRingingCall.isSelfManaged()).thenReturn(true); in setUp()
78 when(mRingingCall.isIncoming()).thenReturn(true); in setUp()
79 when(mRingingCall.getState()).thenReturn(CallState.RINGING); in setUp()
80 when(mRingingCall.getVideoState()).thenReturn(VideoProfile.STATE_AUDIO_ONLY); in setUp()
81 when(mRingingCall.getTargetPhoneAccountLabel()).thenReturn("Foo"); in setUp()
82 when(mRingingCall.getHandoverState()).thenReturn(HandoverState.HANDOVER_NONE); in setUp()
109 mIncomingCallNotifier.onCallAdded(mRingingCall); in testIncomingDuringOngoingCall()
125 mIncomingCallNotifier.onCallAdded(mRingingCall); in testIncomingDuringOngoingCall2()
141 mIncomingCallNotifier.onCallAdded(mRingingCall); in testCallRemoved()
[all …]
/packages/services/Telephony/tests/src/com/android/phone/
DNumberVerificationManagerTest.java51 @Mock private Call mRingingCall; field in NumberVerificationManagerTest
63 when(mPhone1.getRingingCall()).thenReturn(mRingingCall); in setUp()
67 when(mPhone2.getRingingCall()).thenReturn(mRingingCall); in setUp()
71 when(mRingingCall.getState()).thenReturn(Call.State.IDLE); in setUp()
125 when(mRingingCall.getState()).thenReturn(Call.State.ALERTING); in testAllLinesFullFailure()
/packages/services/Telecomm/src/com/android/server/telecom/
DRinger.java163 private Call mRingingCall; field in Ringer
272 mRingingCall = foregroundCall; in startRinging()
438 if (mRingingCall != null) { in stopRinging()
439 Log.addEvent(mRingingCall, LogUtils.Events.STOP_RINGER); in stopRinging()
440 mRingingCall = null; in stopRinging()