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.java43 private RemoteConnection mRemoteConnection = null; field in MockConnection
57 if (mRemoteConnection != null) { in onAnswer()
58 mRemoteConnection.answer(); in onAnswer()
66 if (mRemoteConnection != null) { in onReject()
67 mRemoteConnection.reject(); in onReject()
76 if (mRemoteConnection != null) { in onHold()
77 mRemoteConnection.hold(); in onHold()
85 if (mRemoteConnection != null) { in onUnhold()
86 mRemoteConnection.unhold(); in onUnhold()
94 if (mRemoteConnection != null) { in onDisconnect()
[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 …]