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.java54 MockConnection mRemoteConnection; field in RemoteConnectionTest
65 verifyRemoteConnectionObject(mRemoteConnectionObject, mRemoteConnection); in testRemoteConnectionOutgoingCall()
68 mRemoteConnection.setActive(); in testRemoteConnectionOutgoingCall()
73 assertConnectionState(mRemoteConnection, Connection.STATE_ACTIVE); in testRemoteConnectionOutgoingCall()
79 assertConnectionState(mRemoteConnection, Connection.STATE_HOLDING); in testRemoteConnectionOutgoingCall()
85 assertConnectionState(mRemoteConnection, Connection.STATE_ACTIVE); in testRemoteConnectionOutgoingCall()
91 assertConnectionState(mRemoteConnection, Connection.STATE_DISCONNECTED); in testRemoteConnectionOutgoingCall()
102 verifyRemoteConnectionObject(mRemoteConnectionObject, mRemoteConnection); in testRemoteConnectionIncomingCallAccept()
106 assertConnectionState(mRemoteConnection, Connection.STATE_RINGING); in testRemoteConnectionIncomingCallAccept()
112 assertConnectionState(mRemoteConnection, Connection.STATE_ACTIVE); in testRemoteConnectionIncomingCallAccept()
[all …]