/cts/tests/tests/telecom/src/android/telecom/cts/ |
RttOperationsTest.java | 21 import android.telecom.Connection; 63 final MockConnection connection = verifyConnectionForOutgoingCall(); local 67 verifyRttEnabled(call, connection); 77 final MockConnection connection = verifyConnectionForIncomingCall(); local 81 verifyRttEnabled(call, connection); 90 final MockConnection connection = verifyConnectionForOutgoingCall(); local 96 connection.getInvokeCounter(MockConnection.ON_START_RTT); 100 connection.setRttTextStream((Connection.RttTextStream) startRttCounter.getArgs(0)[0]); 101 connection.setConnectionProperties 114 final MockConnection connection = verifyConnectionForOutgoingCall(); local 138 final MockConnection connection = verifyConnectionForOutgoingCall(); local 161 final MockConnection connection = verifyConnectionForOutgoingCall(); local 185 final MockConnection connection = verifyConnectionForOutgoingCall(); local 206 final MockConnection connection = verifyConnectionForOutgoingCall(); local [all...] |
CtsSelfManagedConnectionService.java | 21 import android.telecom.Connection; 59 void onDestroyed(SelfManagedConnection connection) { 60 mConnections.remove(connection); 93 public Connection onCreateOutgoingConnection(PhoneAccountHandle connectionManagerAccount, 100 public Connection onCreateIncomingConnection(PhoneAccountHandle connectionManagerPhoneAccount, 119 public Connection onCreateIncomingHandoverConnection(PhoneAccountHandle fromPhoneAccountHandle, 126 public Connection onCreateOutgoingHandoverConnection(PhoneAccountHandle fromPhoneAccountHandle, 152 mConnections.forEach(connection -> { 153 connection.setDisconnected(new DisconnectCause(DisconnectCause.LOCAL)); 154 connection.destroy() 164 SelfManagedConnection connection = new SelfManagedConnection(isIncoming, local [all...] |
ExtendedInCallServiceTest.java | 30 import android.telecom.Connection; 73 final MockConnection connection = verifyConnectionForOutgoingCall(); local 81 assertMuteState(connection, false); 86 assertMuteState(connection, true); 90 assertMuteState(connection, false); 100 final MockConnection connection = verifyConnectionForOutgoingCall(); local 131 assertAudioRoute(connection, CallAudioState.ROUTE_SPEAKER); 137 assertAudioRoute(connection, secondRoute); 160 final MockConnection connection = verifyConnectionForOutgoingCall(); local 167 assertDtmfString(connection, ""); 193 final MockConnection connection = verifyConnectionForOutgoingCall(); local 220 final MockConnection connection = verifyConnectionForIncomingCall(); local 241 MockConnection connection = verifyConnectionForIncomingCall(0); local 263 MockConnection connection = verifyConnectionForIncomingCall(0); local 285 MockConnection connection = verifyConnectionForIncomingCall(0); local 392 final MockConnection connection = verifyConnectionForIncomingCall(); local 416 final MockConnection connection = verifyConnectionForIncomingCall(); local 439 final MockConnection connection = verifyConnectionForIncomingCall(); local 461 final MockConnection connection = verifyConnectionForIncomingCall(); local 500 final MockConnection connection = verifyConnectionForOutgoingCall(); local 587 final MockConnection connection = verifyConnectionForIncomingCall(); local 606 final MockConnection connection = verifyConnectionForOutgoingCall(); local [all...] |
ExternalCallTest.java | 20 import android.telecom.Connection; 28 * Tests which verify functionality related to {@link android.telecom.Connection}s and 30 * {@link android.telecom.Connection#PROPERTY_IS_EXTERNAL_CALL} and 34 public static final int CONNECTION_PROPERTIES = Connection.PROPERTY_IS_EXTERNAL_CALL; 35 public static final int CONNECTION_CAPABILITIES = Connection.CAPABILITY_CAN_PULL_CALL; 48 public Connection onCreateOutgoingConnection( 51 Connection connection = super.onCreateOutgoingConnection( 54 mConnection = (MockConnection) connection; 55 // Modify the connection object created with local values [all...] |
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/output/ |
TcpServerOutput.java | 33 private TcpConnection connection; field in class:TcpServerOutput 59 connection = new TcpConnection( 62 connection.init(); 63 connection.run(); 82 if (connection != null) { 83 connection.close(); 90 if (connection != null) { 91 connection.writeExecutionData(reset);
|
TcpClientOutput.java | 33 private TcpConnection connection; field in class:TcpClientOutput 50 connection = new TcpConnection(socket, data); 51 connection.init(); 55 connection.run(); 67 connection.close(); 72 connection.writeExecutionData(reset);
|
/external/skia/tools/skiaserve/urlhandlers/ |
DownloadHandler.cpp | 21 int DownloadHandler::handle(Request* request, MHD_Connection* connection, 31 return SendData(connection, data.get(), "application/octet-stream", true,
|
PostHandler.cpp | 35 int PostHandler::handle(Request* request, MHD_Connection* connection, 40 // New connection 44 uc->connection = connection; 45 uc->fPostProcessor = MHD_create_post_processor(connection, kBufferSize, 75 return SendTemplate(connection, true, "/");
|
/external/skqp/tools/skiaserve/urlhandlers/ |
DownloadHandler.cpp | 21 int DownloadHandler::handle(Request* request, MHD_Connection* connection, 31 return SendData(connection, data.get(), "application/octet-stream", true,
|
PostHandler.cpp | 35 int PostHandler::handle(Request* request, MHD_Connection* connection, 40 // New connection 44 uc->connection = connection; 45 uc->fPostProcessor = MHD_create_post_processor(connection, kBufferSize, 75 return SendTemplate(connection, true, "/");
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
Spdy3ConnectionTest.java | 77 FramedConnection connection = connection(peer, SPDY3); local 78 FramedStream stream = connection.newStream(headerEntries("b", "banana"), true, true); 84 assertEquals(0, connection.openStreamCount()); 106 FramedConnection connection = connection(peer, SPDY3); local 107 FramedStream stream = connection.newStream(headerEntries("a", "android"), false, false); 108 assertEquals(1, connection.openStreamCount()); 110 connection.ping().roundTripTime(); // Ensure that inFinished has been received. 111 assertEquals(0, connection.openStreamCount()) 123 FramedConnection connection = connection(peer, SPDY3); local 209 connection(peer, SPDY3); method 226 FramedConnection connection = connection(peer, SPDY3); local [all...] |
Http2ConnectionTest.java | 67 connection(peer, HTTP_2); method 87 FramedConnection connection = connection(peer, HTTP_2); local 88 Ping ping = connection.ping(); 96 assertEquals(0x4f4b6f6b, pingFrame.payload2); // connection.ping() sets this. 115 FramedConnection connection = connection(peer, HTTP_2); 118 assertEquals(65535, connection.peerSettings.getInitialWindowSize(-1)); 130 // This stream was created *after* the connection settings were adjusted. 131 FramedStream stream = connection.newStream(headerEntries("a", "android"), false, true) [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/autotest/frontend/ |
setup_test_environment.py | 21 connection = connections['default'] variable 41 """Close all connection to the test database. 43 connection.close() 49 # the real connection ourselves. 52 for con in [connection, connection_global, connection_readonly, 54 real_connection = con.connection 57 con.connection = None 80 for query in connection.queries:
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
FramedStream.java | 50 * available bytes in {@code connection.bytesLeftInWriteWindow}. 56 private final FramedConnection connection; field in class:FramedStream 76 FramedStream(int id, FramedConnection connection, boolean outFinished, boolean inFinished, 78 if (connection == null) throw new NullPointerException("connection == null"); 81 this.connection = connection; 83 connection.peerSettings.getInitialWindowSize(DEFAULT_INITIAL_WINDOW_SIZE); 85 connection.okHttpSettings.getInitialWindowSize(DEFAULT_INITIAL_WINDOW_SIZE)); 121 return connection.client == streamIsClient [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
CtsSelfManagedConnectionService.java | 4 import android.telecom.Connection; 21 void onDestroyed(CtsConnection connection) { 23 mConnections.remove(connection); 80 public Connection onCreateIncomingConnection(PhoneAccountHandle connectionManagerPhoneAccount, 86 public Connection onCreateOutgoingConnection(PhoneAccountHandle connectionManagerAccount, 91 private Connection createConnection(ConnectionRequest request, boolean isIncoming) { 94 CtsConnection connection = new CtsConnection(getApplicationContext(), isIncoming, local 96 connection.setConnectionCapabilities(Connection.CAPABILITY_SUPPORT_HOLD | 97 Connection.CAPABILITY_HOLD) [all...] |
/external/Reactive-Extensions/RxCpp/Rx/v2/test/operators/ |
publish.cpp | 187 rx::composite_subscription connection; variable 190 [connection, &ys](const rxsc::schedulable&){ 191 ys.connect(connection); 194 [connection](const rxsc::schedulable&){ 195 connection.unsubscribe(); 200 rx::composite_subscription connection; variable 203 [connection, &ys](const rxsc::schedulable&){ 204 ys.connect(connection); 207 [connection](const rxsc::schedulable&){ 208 connection.unsubscribe() 213 rx::composite_subscription connection; variable 301 rx::composite_subscription connection; variable 314 rx::composite_subscription connection; variable 400 rx::composite_subscription connection; variable 413 rx::composite_subscription connection; variable 426 rx::composite_subscription connection; variable [all...] |
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/ |
HttpTransportSE.java | 19 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 72 * timeout for connection and Read Timeouts (milliseconds) 88 * timeout for connection and Read Timeouts (milliseconds) 156 ServiceConnection connection = getServiceConnection(); local 158 connection.setRequestProperty("User-Agent", USER_AGENT); 163 connection.setRequestProperty("SOAPAction", soapAction); 167 connection.setRequestProperty("Content-Type", CONTENT_TYPE_SOAP_XML_CHARSET_UTF_8); 169 connection.setRequestProperty("Content-Type", CONTENT_TYPE_XML_CHARSET_UTF_8); 173 //connection.setRequestProperty("Connection", "close") [all...] |
HttpsTransportSE.java | 20 //connection instance, used for setting the SSLSocketFactory 21 private HttpsServiceConnectionSE connection; field in class:HttpsTransportSE 54 if (connection != null) { 55 return connection; 57 connection = new HttpsServiceConnectionSE(proxy, host, port, file, timeout); 58 return connection;
|
/external/oauth/core/src/main/java/net/oauth/client/ |
URLConnectionResponse.java | 44 byte[] requestExcerpt, URLConnection connection) throws IOException { 49 this.connection = connection; 56 private final URLConnection connection; field in class:URLConnectionResponse 60 if (connection instanceof HttpURLConnection) { 61 return ((HttpURLConnection) connection).getResponseCode(); 69 return connection.getInputStream(); 79 for (int i = 0; (value = connection.getHeaderField(i)) != null; ++i) { 80 String name = connection.getHeaderFieldKey(i); 89 headers.add(new OAuth.Parameter(CONTENT_TYPE, connection [all...] |
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
BaseInputConnectionTest.java | 61 final BaseInputConnection connection = createBaseInputConnection(); local 63 assertFalse(connection.beginBatchEdit()); 64 assertFalse(connection.endBatchEdit()); 69 assertFalse(connection.commitCompletion(new CompletionInfo(completionId, 72 assertNull(connection.getExtractedText(new ExtractedTextRequest(), 0)); 78 assertTrue(connection.performEditorAction(actionCode)); 79 assertFalse(connection.performContextMenuAction(actionId)); 80 assertFalse(connection.performPrivateCommand(action, new Bundle())); 113 final BaseInputConnection connection = createBaseInputConnection(); local 116 final Editable text = connection.getEditable() 158 final BaseInputConnection connection = createBaseInputConnection(); local 179 final BaseInputConnection connection = createBaseInputConnection(); local [all...] |
/external/apache-http/src/org/apache/http/impl/conn/ |
AbstractPoolEntry.java | 47 * A pool entry for use by connection manager implementations. 50 * The adapter is handed out to applications that obtain a connection. 51 * The pool entry stores the underlying connection and tracks the 58 * underlying connection and the established route. 76 /** The connection operator. */ 79 /** The underlying connection being pooled or used. */ 80 protected final OperatedClientConnection connection; field in class:AbstractPoolEntry 83 //@@@ currently accessed from connection manager(s) as attribute 88 /** Connection state object */ 98 * @param connOperator the Connection Operator for this entr [all...] |
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
OkUrlFactoryTest.java | 68 HttpURLConnection connection = factory.open(server.getUrl("/")); local 69 assertResponseHeader(connection, "NETWORK 200"); 70 assertResponseBody(connection, "Isla Sorna"); 76 HttpURLConnection connection = factory.open(server.getUrl("/")); local 77 assertResponseHeader(connection, "NETWORK 404"); 78 connection.getErrorStream().close(); 148 HttpURLConnection connection = factory.open(server.getUrl("/a")); local 149 connection.setInstanceFollowRedirects(false); 150 assertResponseBody(connection, "A"); 151 assertResponseCode(connection, 302) 168 HttpURLConnection connection = factory.open(server.url("\/a").url()); local 174 HttpURLConnection connection = factory.open(server.url("\/b").url()); local [all...] |
/external/wayland/src/ |
connection.c | 23 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 164 struct wl_connection *connection; local 166 connection = zalloc(sizeof *connection); 167 if (connection == NULL) 170 connection->fd = fd; 172 return connection; 195 wl_connection_destroy(struct wl_connection *connection) 197 int fd = connection->fd; 199 close_fds(&connection->fds_out, -1) [all...] |
/cts/tests/tests/telecom3/src/android/telecom/cts/ |
SelfManagedAwareInCallServiceTest.java | 122 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); local 123 assertNotNull(connection); 131 connection.disconnectAndDestroy(); 146 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); local 147 assertNotNull(connection); 155 connection.disconnectAndDestroy(); 169 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); local 170 assertNotNull(connection); 184 // Set active from the connection side. 185 connection.setActive() [all...] |