Home
last modified time | relevance | path

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

/cts/tests/tests/telecom/src/android/telecom/cts/
DMockConnection.java48 private RemoteConnection mRemoteConnection = null; field in MockConnection
62 if (mRemoteConnection != null) { in onAnswer()
63 mRemoteConnection.answer(); in onAnswer()
71 if (mRemoteConnection != null) { in onReject()
72 mRemoteConnection.reject(); in onReject()
81 if (mRemoteConnection != null) { in onReject()
82 mRemoteConnection.reject(); in onReject()
91 if (mRemoteConnection != null) { in onHold()
92 mRemoteConnection.hold(); in onHold()
100 if (mRemoteConnection != null) { in onUnhold()
[all …]
DRemoteConnectionTest.java53 MockConnection mRemoteConnection; field in RemoteConnectionTest
64 verifyRemoteConnectionObject(mRemoteConnectionObject, mRemoteConnection); in testRemoteConnectionOutgoingCall()
67 mRemoteConnection.setActive(); in testRemoteConnectionOutgoingCall()
72 assertConnectionState(mRemoteConnection, Connection.STATE_ACTIVE); in testRemoteConnectionOutgoingCall()
78 assertConnectionState(mRemoteConnection, Connection.STATE_HOLDING); in testRemoteConnectionOutgoingCall()
84 assertConnectionState(mRemoteConnection, Connection.STATE_ACTIVE); in testRemoteConnectionOutgoingCall()
90 assertConnectionState(mRemoteConnection, Connection.STATE_DISCONNECTED); in testRemoteConnectionOutgoingCall()
101 verifyRemoteConnectionObject(mRemoteConnectionObject, mRemoteConnection); in testRemoteConnectionIncomingCallAccept()
105 assertConnectionState(mRemoteConnection, Connection.STATE_RINGING); in testRemoteConnectionIncomingCallAccept()
111 assertConnectionState(mRemoteConnection, Connection.STATE_ACTIVE); in testRemoteConnectionIncomingCallAccept()
[all …]