/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | AdhocConferenceTest.java | 83 Conference conference = verifyAdhocConferenceCall().first; in testStartConferenceFailed() local 84 assertEquals(DisconnectCause.CANCELED, conference.getDisconnectCause().getCode()); in testStartConferenceFailed() 103 MockConference conference = (MockConference) resultPair.first; in testAddNewIncomingConference_onAnswer() local 106 conference.acquireLock(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testAddNewIncomingConference_onAnswer() 107 assertEquals(VideoProfile.STATE_RX_ENABLED, conference.getVideoState()); in testAddNewIncomingConference_onAnswer() 126 MockConference conference = (MockConference) resultPair.first; in testAddNewIncomingConference_onReject() local 129 conference.acquireLock(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testAddNewIncomingConference_onReject() 130 for (Connection conn : conference.getConnections()) { in testAddNewIncomingConference_onReject() 143 Conference conference = verifyAdhocConferenceCall().first; in testAddNewIncomingConferenceFailed() local 144 assertEquals(DisconnectCause.CANCELED, conference.getDisconnectCause().getCode()); in testAddNewIncomingConferenceFailed() [all …]
|
D | MockConnectionService.java | 169 MockConference conference = new MockConference( in onConference() local 171 CtsConnectionService.addConferenceToTelecom(conference); in onConference() 172 conferences.add(conference); in onConference() 189 final MockConference conference = new MockConference(connectionManagerPhoneAccount); in onCreateOutgoingConference() local 190 conference.addConnection(connection); in onCreateOutgoingConference() 191 conferences.add(conference); in onCreateOutgoingConference() 194 return conference; in onCreateOutgoingConference() 200 final MockConference conference = new MockConference(connectionManagerPhoneAccount); in onCreateOutgoingConferenceFailed() local 201 conference.setDisconnected(new DisconnectCause(DisconnectCause.CANCELED)); in onCreateOutgoingConferenceFailed() 202 conferences.add(conference); in onCreateOutgoingConferenceFailed() [all …]
|
D | RemoteConferenceTest.java | 230 public void onStateChanged(RemoteConference conference, int oldState, int newState) { in testRemoteConferenceCallbacks_StateChange() 231 super.onStateChanged(conference, oldState, newState); in testRemoteConferenceCallbacks_StateChange() 232 callbackInvoker.invoke(conference, oldState, newState); in testRemoteConferenceCallbacks_StateChange() 260 public void onDisconnected(RemoteConference conference, in testRemoteConferenceCallbacks_Disconnect() 262 super.onDisconnected(conference, disconnectCause); in testRemoteConferenceCallbacks_Disconnect() 263 callbackInvoker.invoke(conference, disconnectCause); in testRemoteConferenceCallbacks_Disconnect() 291 public void onConnectionAdded(RemoteConference conference, in testRemoteConferenceCallbacks_ConnectionAdd() 293 super.onConnectionAdded(conference, connection); in testRemoteConferenceCallbacks_ConnectionAdd() 294 callbackInvoker.invoke(conference, connection); in testRemoteConferenceCallbacks_ConnectionAdd() 326 public void onConnectionRemoved(RemoteConference conference, in testRemoteConferenceCallbacks_ConnectionRemove() [all …]
|
D | BaseRemoteTelecomTest.java | 180 MockConference conference = remoteConnectionService.conferences.get(0); in verifyConferenceForOutgoingCallOnRemoteCS() local 181 setAndVerifyConferenceForOutgoingCall(conference); in verifyConferenceForOutgoingCallOnRemoteCS() 182 return conference; in verifyConferenceForOutgoingCallOnRemoteCS() 215 void assertRemoteConferenceState(final RemoteConference conference, final int state) { in assertRemoteConferenceState() argument 225 return conference.getState(); in assertRemoteConferenceState()
|
D | CtsConnectionService.java | 210 public static void addConferenceToTelecom(Conference conference) { in addConferenceToTelecom() argument 213 sTelecomConnectionService.addConference(conference); in addConferenceToTelecom() 304 public void onRemoteConferenceAdded(RemoteConference conference) { in onRemoteConferenceAdded() argument 307 sConnectionService.onRemoteConferenceAdded(conference); in onRemoteConferenceAdded()
|
D | CtsRemoteConnectionService.java | 158 public static void addConferenceToTelecom(Conference conference) { in addConferenceToTelecom() argument 160 sTelecomConnectionService.addConference(conference); in addConferenceToTelecom()
|
D | RemoteConnectionTest.java | 151 MockConference conference = (MockConference) super.onCreateIncomingConference( in testRemoteIncomingConference() 160 conference.setRemoteConference(remoteConference); in testRemoteIncomingConference() 161 return conference; in testRemoteIncomingConference() 172 MockConference conference = verifyConference(2); in testRemoteIncomingConference() local 174 RemoteConferenceTest.verifyRemoteConferenceObject(conference.getRemoteConference(), in testRemoteIncomingConference() 175 remoteConference, conference); in testRemoteIncomingConference() local 176 conference.onDisconnect(); in testRemoteIncomingConference() 195 MockConference conference = (MockConference) super.onCreateIncomingConference( in testRemoteOutgoingConference() 204 conference.setRemoteConference(remoteConference); in testRemoteOutgoingConference() 205 return conference; in testRemoteOutgoingConference() [all …]
|
D | BaseTelecomTestWithMockServices.java | 933 call1.conference(call2); in addConferenceCall() 979 MockConference conference = connectionService.conferences.get(0); in verifyConferenceForOutgoingCall() local 980 setAndVerifyConferenceForOutgoingCall(conference); in verifyConferenceForOutgoingCall() 981 return conference; in verifyConferenceForOutgoingCall() 997 void setAndVerifyConferenceForOutgoingCall(MockConference conference) { in setAndVerifyConferenceForOutgoingCall() argument 998 conference.setActive(); in setAndVerifyConferenceForOutgoingCall() 999 assertConferenceState(conference, Connection.STATE_ACTIVE); in setAndVerifyConferenceForOutgoingCall() 1464 void assertDtmfString(final MockConference conference, final String dtmfString) { in assertDtmfString() argument 1473 return conference.getDtmfString(); in assertDtmfString() 1571 void assertConferenceState(final Conference conference, final int state) { in assertConferenceState() argument [all …]
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | TestConnectionService.java | 68 public void onRemoteConferenceAdded(RemoteConference conference) { in onRemoteConferenceAdded() argument
|