/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
TestConnectionManager.java | 22 import android.telecom.Connection; 43 public final class TestManagedConnection extends Connection { 46 public void onStateChanged(RemoteConnection connection, int state) { 52 RemoteConnection connection, DisconnectCause disconnectCause) { 58 public void onRingbackRequested(RemoteConnection connection, boolean ringback) { 63 public void onConnectionCapabilitiesChanged(RemoteConnection connection, 69 public void onConnectionPropertiesChanged(RemoteConnection connection, 75 public void onPostDialWait(RemoteConnection connection, String remainingDigits) { 80 public void onVoipAudioChanged(RemoteConnection connection, boolean isVoip) { 85 public void onStatusHintsChanged(RemoteConnection connection, StatusHints statusHints) [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
TransportWrapper.java | 31 * This interface provides wrapper around JDWP transport connection. 32 * Particular implementation can interact directly with raw connection 40 * Starts listening for connection on given or default address. 48 * Stops listening for connection on current address. 53 * Accepts transport connection for currently listened address and performs handshaking 62 * Attaches transport connection to given address and performs handshaking 72 * Closes transport connection. 77 * Checks if transport connection is open. 79 * @return true if transport connection is open 84 * Reads packet from transport connection [all...] |
/external/curl/docs/cmdline-opts/ |
connect-timeout.d | 3 Help: Maximum time allowed for connection 6 Maximum time in seconds that you allow curl's connection to take. This only 7 limits the connection phase, so if curl connects within the given period it
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
SimulatorMissedCallCreator.java | 22 import android.telecom.Connection; 50 public void onNewOutgoingConnection(@NonNull SimulatorConnection connection) {} 53 public void onNewIncomingConnection(@NonNull SimulatorConnection connection) { 54 if (!isMissedCallConnection(connection)) { 59 connection.setDisconnected(new DisconnectCause(DisconnectCause.MISSED)); 60 addNextIncomingCall(getCallCount(connection)); 85 private static boolean isMissedCallConnection(@NonNull Connection connection) { 86 return connection.getExtras().getBoolean(EXTRA_IS_MISSED_CALL_CONNECTION); 89 private static int getCallCount(@NonNull Connection connection) [all...] |
SimulatorVideoCall.java | 23 import android.telecom.Connection; 67 Connection.CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL 68 | Connection.CAPABILITY_SUPPORTS_VT_REMOTE_BIDIRECTIONAL; 96 public void onNewOutgoingConnection(@NonNull SimulatorConnection connection) { 97 if (connection.getExtras().getBoolean(connectionTag)) { 98 LogUtil.i("SimulatorVideoCall.onNewOutgoingConnection", "connection created"); 99 handleNewConnection(connection); 100 // Telecom will force the connection to switch to Dialing when we return it. Wait until after 102 ThreadUtil.postOnUiThread(() -> connection.setActive()); 107 public void onNewIncomingConnection(@NonNull SimulatorConnection connection) { [all...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
ImsConference.java | 26 import android.telecom.Connection; 27 import android.telecom.Connection.VideoProvider; 56 * An IMS conference call consists of a conference host connection and potentially a list of 57 * conference participants. The conference host connection represents the radio connection to the 58 * IMS conference server. Since it is not a connection to any one individual, it is not represented 60 * connection via a conference event package. Conference participant connections do not represent 65 * connection and is responsible for managing the conference participant connections which represent 74 private final Connection.Listener mParticipantListener = new Connection.Listener() 690 ConferenceParticipantConnection connection = local 702 ConferenceParticipantConnection connection = local 752 ConferenceParticipantConnection connection = new ConferenceParticipantConnection( local [all...] |
TelephonyConnectionService.java | 27 import android.telecom.Connection; 82 public Collection<Connection> getAllConnections() { 94 public void removeConnection(Connection connection) { 95 TelephonyConnectionService.this.removeConnection(connection); 99 Connection connection) { 101 .addExistingConnection(phoneAccountHandle, connection); 105 Connection connection, Conference conference) 651 final TelephonyConnection connection = local 713 TelephonyConnection connection = local 815 com.android.internal.telephony.Connection connection = local 866 TelephonyConnection connection = local [all...] |
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
SipConnectionService.java | 30 import android.telecom.Connection; 66 public Connection onCreateOutgoingConnection( 74 return Connection.createFailedConnection(DisconnectCauseUtil.toTelecomDisconnectCause( 81 return Connection.createFailedConnection(DisconnectCauseUtil.toTelecomDisconnectCause( 82 DisconnectCause.OUTGOING_FAILURE, "Did not match service connection")); 85 final SipConnection connection = new SipConnection(); local 86 connection.setAddress(request.getAddress(), TelecomManager.PRESENTATION_ALLOWED); 87 connection.setInitializing(); 88 connection.onAddedToCallService(); 93 connection.setDisconnected(new android.telecom.DisconnectCause [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
URLConnectionTest.java | 110 private HttpURLConnection connection; field in class:URLConnectionTest 135 connection = client.open(server.getUrl("/")); 136 connection.addRequestProperty("D", "e"); 137 connection.addRequestProperty("D", "f"); 138 assertEquals("f", connection.getRequestProperty("D")); 139 assertEquals("f", connection.getRequestProperty("d")); 140 Map<String, List<String>> requestHeaders = connection.getRequestProperties(); 154 connection.setRequestProperty(null, "j"); 159 connection.addRequestProperty(null, "k"); 163 connection.setRequestProperty("NullValue", null) 403 HttpURLConnection connection = client.open(url); local 1120 URLConnection connection = client.open(server.getUrl("\/")); local 1134 URLConnection connection = client.open(server.getUrl("\/")); local 1149 HttpURLConnection connection = client.open(server.getUrl("\/")); local 1159 URLConnection connection = client.open(server.getUrl("\/")); local 1179 URLConnection connection = client.open(server.getUrl("\/")); local 1194 URLConnection connection = client.open(server.getUrl("\/")); local 1223 URLConnection connection = client.open(server.getUrl("\/")); local 1294 HttpURLConnection connection = client.open(server.getUrl("\/")); local [all...] |
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/util/ |
AsyncHttpURLConnection.java | 64 HttpURLConnection connection = local 70 connection.setRequestMethod(method); 71 connection.setUseCaches(false); 72 connection.setDoInput(true); 73 connection.setConnectTimeout(HTTP_TIMEOUT_MS); 74 connection.setReadTimeout(HTTP_TIMEOUT_MS); 76 connection.addRequestProperty("origin", HTTP_ORIGIN); 80 connection.setDoOutput(true); 81 connection.setFixedLengthStreamingMode(postData.length); 84 connection.setRequestProperty("Content-Type", "text/plain; charset=utf-8") [all...] |
/cts/tests/tests/telecom/src/android/telecom/cts/ |
BaseRemoteTelecomTest.java | 26 import android.telecom.Connection; 62 // Setup the primary connection service first 72 // Generate a vanilla mock connection service, if not provided. 99 //Telecom doesn't unbind the remote connection service at the end of all calls today. 105 // Assuming only 1 connection present 113 fail("No outgoing call connection requested by Telecom"); 119 assertThat("Telecom should create outgoing connection for remote outgoing call", 123 MockConnection connection = remoteConnectionService.outgoingConnections.get(connectionIndex); local 124 return connection; 128 // Assuming only 1 connection presen 146 MockConnection connection = remoteConnectionService.incomingConnections.get(connectionIndex); local 158 MockConnection connection = remoteConnectionService.outgoingConnections.get(connectionIndex); local [all...] |
/system/bt/stack/include/ |
bnep_api.h | 50 BNEP_CONN_DISCONNECTED, /* Connection terminated */ 54 BNEP_CONN_FAILED, /* Connection failed */ 55 BNEP_CONN_FAILED_CFG, /* Connection failed cos of config */ 56 BNEP_CONN_FAILED_SRC_UUID, /* Connection failed wrong source UUID */ 57 BNEP_CONN_FAILED_DST_UUID, /* Connection failed wrong destination UUID */ 58 BNEP_CONN_FAILED_UUID_SIZE, /* Connection failed wrong size UUID */ 62 BNEP_WRONG_HANDLE, /* Wrong handle for the connection */ 63 BNEP_WRONG_STATE, /* Connection is in wrong state */ 76 /* Connection state change callback prototype. Parameters are 77 * Connection handl [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
Connection.java | 36 public abstract class Connection { 37 private static final String TAG = "Connection"; 45 * Capabilities that will be mapped to telecom connection 73 * Indicates that the connection is an external connection (e.g. an instance of the class 79 * Indicates that this external connection can be pulled from the remote device to the 86 * Listener interface for events related to the connection which should be reported to the 87 * {@link android.telecom.Connection}. 94 android.telecom.Connection.VideoProvider videoProvider); 102 public void onCallPullFailed(Connection externalConnection) [all...] |
/development/samples/browseable/Timer/ |
_index.jd | 9 independently on the wearable with no phone connection.
|
/development/samples/training/network-usage/ |
README.txt | 11 when any network connection is available, or only when a Wi-Fi connection is available. 13 -- Detects when there is a change in the device's connection status and responds accordingly. For example, if 14 the device loses its network connection, the app will not attempt to download the feed.
|
/external/autotest/server/site_tests/network_WiFi_RetryConnectHidden/ |
control | 12 This test run is designed to check that the connection manager 13 re-scans a few times before quiescing after losing a connection. 16 a hidden AP since this requires the connection manager to do the 17 scans (since only the connection manager knows to scan for them,
|
/external/curl/tests/data/ |
test1516 | 13 # Close the connection after the first request but don't tell the client to do 14 # so! When starting the second request it'll detect a dead connection and must 29 Connection: close 45 caching of manual libcurl DNS entries after dead connection
|
/external/honggfuzz/examples/apache-httpd/corpus_http1/ |
04ee9d1b673a70f1a4ab861334384fb7.000000b2.honggfuzz.cov | 3 connection: Upgrade, HTTP2-Settingq
|
286a55579114368415c89ed5bce6193f.000000b2.honggfuzz.cov | 3 connection: Upgrade, HTTP2-Settingq
|
5676fd3d1e084a1bc28c168c4bc21ef9.00000e74.honggfuzz.cov | 5 Connection: Kee?-Alive
|
/external/honggfuzz/examples/apache-httpd/corpus_http2/ |
04ee9d1b673a70f1a4ab861334384fb7.000000b2.honggfuzz.cov | 3 connection: Upgrade, HTTP2-Settingq
|
286a55579114368415c89ed5bce6193f.000000b2.honggfuzz.cov | 3 connection: Upgrade, HTTP2-Settingq
|
385fcc133db69ac7f5a4225a3d3a5295.000000b2.honggfuzz.cov | 3 connection: Upgrade, HT?P2-Settinhs
|
5676fd3d1e084a1bc28c168c4bc21ef9.00000e74.honggfuzz.cov | 5 Connection: Kee?-Alive
|
643a5ba4da024bbe2b93af802e89e8fb.000000b2.honggfuzz.cov | 3 connection: Upgr?de, HT?P2-Settimhs
|