/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | ConnectionTest.java | 24 import android.telecom.Connection; 41 Connection connection = createConnection(lock); in testStateCallbacks() 44 assertEquals(Connection.STATE_NEW, connection.getState()); in testStateCallbacks() 48 assertEquals(Connection.STATE_INITIALIZING, connection.getState()); in testStateCallbacks() 52 assertEquals(Connection.STATE_NEW, connection.getState()); in testStateCallbacks() 56 assertEquals(Connection.STATE_RINGING, connection.getState()); in testStateCallbacks() 60 assertEquals(Connection.STATE_DIALING, connection.getState()); in testStateCallbacks() 64 assertEquals(Connection.STATE_ACTIVE, connection.getState()); in testStateCallbacks() 68 assertEquals(Connection.STATE_HOLDING, connection.getState()); in testStateCallbacks() 73 assertEquals(Connection.STATE_DISCONNECTED, connection.getState()); in testStateCallbacks() [all …]
|
D | RemoteConferenceTest.java | 25 import android.telecom.Connection; 51 public static final int CONF_CAPABILITIES = Connection.CAPABILITY_SEPARATE_FROM_CONFERENCE | 52 Connection.CAPABILITY_DISCONNECT_FROM_CONFERENCE | Connection.CAPABILITY_HOLD | 53 Connection.CAPABILITY_MERGE_CONFERENCE | Connection.CAPABILITY_SWAP_CONFERENCE; 84 assertConnectionState(mConnection1, Connection.STATE_ACTIVE); in testRemoteConferenceCreate() 85 assertConnectionState(mConnection2, Connection.STATE_ACTIVE); in testRemoteConferenceCreate() 86 assertConnectionState(mRemoteConnection1, Connection.STATE_ACTIVE); in testRemoteConferenceCreate() 87 assertConnectionState(mRemoteConnection2, Connection.STATE_ACTIVE); in testRemoteConferenceCreate() 88 assertConferenceState(mConference, Connection.STATE_ACTIVE); in testRemoteConferenceCreate() 89 assertConferenceState(mRemoteConference, Connection.STATE_ACTIVE); in testRemoteConferenceCreate() [all …]
|
D | MockConference.java | 20 import android.telecom.Connection; 52 for (Connection c : getConnections()) { in onDisconnect() 63 public void onSeparate(Connection connection) { in onSeparate() 77 for (Connection c : getConnections()) { in onMerge() 90 for (Connection c : getConnections()) { in onSwap() 102 for (Connection c : getConnections()) { in onHold() 114 for (Connection c : getConnections()) { in onUnhold()
|
D | WiredHeadsetTest.java | 21 import android.telecom.Connection; 48 assertConnectionState(connection, Connection.STATE_RINGING); in testIncomingCallShortPress_acceptsCall() 52 assertConnectionState(connection, Connection.STATE_ACTIVE); in testIncomingCallShortPress_acceptsCall() 65 assertConnectionState(connection, Connection.STATE_RINGING); in testIncomingCallLongPress_rejectsCall() 69 assertConnectionState(connection, Connection.STATE_DISCONNECTED); in testIncomingCallLongPress_rejectsCall() 110 assertConnectionState(connection, Connection.STATE_DISCONNECTED); in testInCallLongPress_hangupCall()
|
D | CtsConnectionService.java | 23 import android.telecom.Connection; 92 public Connection onCreateOutgoingConnection(PhoneAccountHandle connectionManagerPhoneAccount, in onCreateOutgoingConnection() 106 public Connection onCreateIncomingConnection(PhoneAccountHandle connectionManagerPhoneAccount, in onCreateIncomingConnection() 120 public void onConference(Connection connection1, Connection connection2) { in onConference() 148 PhoneAccountHandle phoneAccountHandle, Connection connection) { in addExistingConnectionToTelecom() 154 public static Collection<Connection> getAllConnectionsFromTelecom() { in getAllConnectionsFromTelecom()
|
D | MockConnectionService.java | 19 import android.telecom.Connection; 54 public Connection onCreateOutgoingConnection(PhoneAccountHandle connectionManagerPhoneAccount, in onCreateOutgoingConnection() 72 public Connection onCreateIncomingConnection(PhoneAccountHandle connectionManagerPhoneAccount, in onCreateIncomingConnection() 77 ((Connection) connection).setVideoState(request.getVideoState()); in onCreateIncomingConnection() 85 public void onConference(Connection connection1, Connection connection2) { in onConference()
|
D | ConnectionServiceTest.java | 22 import android.telecom.Connection; 68 final Connection connection1 = verifyConnectionForOutgoingCall(); in testGetAllConnections() 70 Collection<Connection> connections = CtsConnectionService.getAllConnectionsFromTelecom(); in testGetAllConnections() 79 final Connection connection2 = new MockConnection(); in testGetAllConnections() 89 final Connection connection3 = verifyConnectionForIncomingCall(); in testGetAllConnections()
|
D | CtsRemoteConnectionService.java | 23 import android.telecom.Connection; 91 public Connection onCreateOutgoingConnection(PhoneAccountHandle connectionManagerPhoneAccount, in onCreateOutgoingConnection() 105 public Connection onCreateIncomingConnection(PhoneAccountHandle connectionManagerPhoneAccount, in onCreateIncomingConnection() 119 public void onConference(Connection connection1, Connection connection2) { in onConference()
|
D | ConferenceTest.java | 24 import android.telecom.Connection; 41 public static final int CONF_CAPABILITIES = Connection.CAPABILITY_SEPARATE_FROM_CONFERENCE | 42 Connection.CAPABILITY_DISCONNECT_FROM_CONFERENCE | Connection.CAPABILITY_HOLD | 43 Connection.CAPABILITY_MERGE_CONFERENCE | Connection.CAPABILITY_SWAP_CONFERENCE; 77 assertConnectionState(mConferenceObject.getConnections().get(0), Connection.STATE_ACTIVE); in testConferenceCreate() 78 assertConnectionState(mConferenceObject.getConnections().get(1), Connection.STATE_ACTIVE); in testConferenceCreate() 79 assertConferenceState(mConferenceObject, Connection.STATE_ACTIVE); in testConferenceCreate() 156 ArrayList<Connection> connectionList = new ArrayList<>(); in testConferenceSetters() 163 Connection.CAPABILITY_MUTE; in testConferenceSetters() 227 ArrayList<Connection> connectionList = new ArrayList<>(); in testConferenceAddAndRemoveConnection() [all …]
|
D | RemoteConnectionTest.java | 28 import android.telecom.Connection; 71 assertConnectionState(mConnection, Connection.STATE_ACTIVE); in testRemoteConnectionOutgoingCall() 72 assertRemoteConnectionState(mRemoteConnectionObject, Connection.STATE_ACTIVE); in testRemoteConnectionOutgoingCall() 73 assertConnectionState(mRemoteConnection, Connection.STATE_ACTIVE); in testRemoteConnectionOutgoingCall() 77 assertConnectionState(mConnection, Connection.STATE_HOLDING); in testRemoteConnectionOutgoingCall() 78 assertRemoteConnectionState(mRemoteConnectionObject, Connection.STATE_HOLDING); in testRemoteConnectionOutgoingCall() 79 assertConnectionState(mRemoteConnection, Connection.STATE_HOLDING); in testRemoteConnectionOutgoingCall() 83 assertConnectionState(mConnection, Connection.STATE_ACTIVE); in testRemoteConnectionOutgoingCall() 84 assertRemoteConnectionState(mRemoteConnectionObject, Connection.STATE_ACTIVE); in testRemoteConnectionOutgoingCall() 85 assertConnectionState(mRemoteConnection, Connection.STATE_ACTIVE); in testRemoteConnectionOutgoingCall() [all …]
|
D | ExtendedInCallServiceTest.java | 24 import android.telecom.Connection; 179 assertEquals(Connection.STATE_HOLDING, connection.getState()); in testHoldAndUnholdCall() 183 assertEquals(Connection.STATE_ACTIVE, connection.getState()); in testHoldAndUnholdCall() 199 assertConnectionState(connection, Connection.STATE_RINGING); in testAnswerIncomingCallAudioOnly() 204 assertConnectionState(connection, Connection.STATE_ACTIVE); in testAnswerIncomingCallAudioOnly() 220 assertConnectionState(connection, Connection.STATE_RINGING); in testAnswerIncomingCallAsVideo_SendsCorrectVideoState() 225 assertConnectionState(connection, Connection.STATE_ACTIVE); in testAnswerIncomingCallAsVideo_SendsCorrectVideoState() 243 assertConnectionState(connection, Connection.STATE_RINGING); in testRejectIncomingCall() 248 assertConnectionState(connection, Connection.STATE_DISCONNECTED); in testRejectIncomingCall() 371 ((Connection) connection).setPostDialWait(postDialString); in testOnPostDialWaitAndContinue()
|
D | NumberDialingTest.java | 22 import android.telecom.Connection; 48 public Connection onCreateOutgoingConnection( in testEndInPound()
|
D | MockVideoProvider.java | 20 import android.telecom.Connection; 24 import android.telecom.Connection.VideoProvider; 90 super.receiveSessionModifyResponse(Connection.VideoProvider.SESSION_MODIFY_REQUEST_SUCCESS, in onSendSessionModifyRequest()
|
D | CallDetailsTest.java | 28 import android.telecom.Connection; 46 Connection.CAPABILITY_HOLD | Connection.CAPABILITY_MUTE | 72 public Connection onCreateOutgoingConnection( in setUp() 75 Connection connection = super.onCreateOutgoingConnection( in setUp()
|
D | BaseRemoteTelecomTest.java | 26 import android.telecom.Connection; 159 List<Connection> confConnections = in setAndVerifyConferenceablesForOutgoingConnectionOnRemoteCS() 161 for (Connection c : remoteConnectionService.outgoingConnections) { in setAndVerifyConferenceablesForOutgoingConnectionOnRemoteCS()
|
D | BaseTelecomTestWithMockServices.java | 35 import android.telecom.Connection; 357 assertConnectionState(connection, Connection.STATE_RINGING); in setAndVerifyConnectionForIncomingCall() 364 List<Connection> confConnections = in setAndVerifyConferenceablesForOutgoingConnection() 366 for (Connection c : connectionService.outgoingConnections) { in setAndVerifyConferenceablesForOutgoingConnection() 443 assertConferenceState(conference, Connection.STATE_ACTIVE); in setAndVerifyConferenceForOutgoingCall() 603 final CallAudioState state = ((Connection) connection).getCallAudioState(); in assertAudioRoute() 612 void assertConnectionState(final Connection connection, final int state) { in assertConnectionState() 718 void assertConnectionCallDisplayName(final Connection connection, final String name) { in assertConnectionCallDisplayName()
|
D | MockConnection.java | 21 import android.telecom.Connection; 33 public class MockConnection extends Connection {
|
D | VideoCallTest.java | 21 import android.telecom.Connection; 335 Connection.VideoProvider.SESSION_EVENT_CAMERA_READY, in testReceiveCallSessionEvent() 340 Connection.VideoProvider.SESSION_EVENT_CAMERA_READY); in testReceiveCallSessionEvent()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CrossProfileWidgetPrimaryUserTest.java | 58 private Connection mConnection; 67 mConnection = new Connection(); in setUp() 142 private class Connection implements ServiceConnection { class in CrossProfileWidgetPrimaryUserTest
|
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/ |
D | LauncherAppsTests.java | 74 private Connection mConnection; 93 mConnection = new Connection(); in setUp() 195 private class Connection implements ServiceConnection { class in LauncherAppsTests
|
/cts/tools/dex-tools/dex/ |
D | classes0.out.dex | 873 public abstract interface class java.sql.Connection extends java.lang.Object 1002 public class SQLite.JDBC2y.JDBCConnection extends java.lang.Object implements java.sql.Connection, … 1306 public abstract java.sql.Connection getConnection() 1749 public java.sql.Connection getConnection() 2183 public abstract java.sql.Connection getConnection() 2305 public java.sql.Connection getConnection() 4115 public abstract java.sql.Connection connect( 4142 protected java.sql.Connection conn 4152 public java.sql.Connection connect( 37543 public static java.sql.Connection getConnection( [all …]
|