Home
last modified time | relevance | path

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

/cts/tests/tests/telecom/src/android/telecom/cts/
DRemoteConnectionTest.java169 final InvokeCounter callbackInvoker = in testRemoteConnectionCallbacks_StateChange() local
177 callbackInvoker.invoke(connection, state); in testRemoteConnectionCallbacks_StateChange()
182 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_StateChange()
183 assertEquals(mRemoteConnectionObject, callbackInvoker.getArgs(0)[0]); in testRemoteConnectionCallbacks_StateChange()
184 assertEquals(Connection.STATE_ACTIVE, callbackInvoker.getArgs(0)[1]); in testRemoteConnectionCallbacks_StateChange()
195 final InvokeCounter callbackInvoker = in testRemoteConnectionCallbacks_RingbackRequest() local
203 callbackInvoker.invoke(connection, ringback); in testRemoteConnectionCallbacks_RingbackRequest()
208 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_RingbackRequest()
209 assertEquals(mRemoteConnectionObject, callbackInvoker.getArgs(0)[0]); in testRemoteConnectionCallbacks_RingbackRequest()
210 assertTrue((boolean) callbackInvoker.getArgs(0)[1]); in testRemoteConnectionCallbacks_RingbackRequest()
[all …]
DRemoteConferenceTest.java208 final InvokeCounter callbackInvoker = in testRemoteConferenceCallbacks_StateChange() local
216 callbackInvoker.invoke(conference, oldState, newState); in testRemoteConferenceCallbacks_StateChange()
221 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_StateChange()
222 assertEquals(mRemoteConferenceObject, callbackInvoker.getArgs(0)[0]); in testRemoteConferenceCallbacks_StateChange()
223 assertEquals(Connection.STATE_ACTIVE, callbackInvoker.getArgs(0)[1]); in testRemoteConferenceCallbacks_StateChange()
224 assertEquals(Connection.STATE_HOLDING, callbackInvoker.getArgs(0)[2]); in testRemoteConferenceCallbacks_StateChange()
234 final InvokeCounter callbackInvoker = in testRemoteConferenceCallbacks_Disconnect() local
243 callbackInvoker.invoke(conference, disconnectCause); in testRemoteConferenceCallbacks_Disconnect()
249 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_Disconnect()
250 assertEquals(mRemoteConferenceObject, callbackInvoker.getArgs(0)[0]); in testRemoteConferenceCallbacks_Disconnect()
[all …]