HomeSort by relevance Sort by last modified time
    Searched refs:connection (Results 101 - 125 of 1578) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/libmicrohttpd/src/examples/
digest_auth_example.c 37 struct MHD_Connection *connection,
49 username = MHD_digest_auth_get_username(connection);
55 ret = MHD_queue_auth_fail_response(connection, realm,
62 ret = MHD_digest_auth_check(connection, realm,
75 ret = MHD_queue_auth_fail_response(connection, realm,
84 ret = MHD_queue_response(connection, MHD_HTTP_OK, response);
authorization_example.c 43 struct MHD_Connection *connection,
69 user = MHD_basic_auth_get_username_password (connection, &pass);
76 ret = MHD_queue_basic_auth_fail_response (connection,"TestRealm",response);
83 ret = MHD_queue_response (connection, MHD_HTTP_OK, response);
  /external/libmicrohttpd/src/microhttpd/
test_postprocessor.c 124 struct MHD_Connection connection; local
132 memset (&connection, 0, sizeof (struct MHD_Connection));
134 connection.headers_received = &header;
138 pp = MHD_create_post_processor (&connection,
158 struct MHD_Connection connection; local
177 memset (&connection, 0, sizeof (struct MHD_Connection));
179 connection.headers_received = &header;
184 pp = MHD_create_post_processor (&connection,
199 struct MHD_Connection connection; local
210 memset (&connection, 0, sizeof (struct MHD_Connection))
232 struct MHD_Connection connection; local
267 struct MHD_Connection connection; local
302 struct MHD_Connection connection; local
    [all...]
  /frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
TestUtils.java 39 fail("Expected connection to " + host + ":" + port + " to fail.");
53 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); local
54 connection.setSSLSocketFactory(context.getSocketFactory());
56 connection.getInputStream();
57 fail("Connection to " + host + ":" + port + " expected to fail");
66 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); local
67 connection.setSSLSocketFactory(context.getSocketFactory());
68 connection.getInputStream();
  /frameworks/native/services/surfaceflinger/
EventThread.cpp 97 sp<EventThread::Connection> EventThread::createEventConnection() const {
98 return new Connection(const_cast<EventThread*>(this));
102 const sp<EventThread::Connection>& connection) {
104 mDisplayEventConnections.add(connection);
110 const wp<EventThread::Connection>& connection) {
112 mDisplayEventConnections.remove(connection);
116 const sp<EventThread::Connection>& connection) {
380 sp<Connection> connection = local
    [all...]
  /external/libmicrohttpd/doc/examples/
simplepost.c 46 send_page (struct MHD_Connection *connection, const char *page)
58 ret = MHD_queue_response (connection, MHD_HTTP_OK, response);
95 request_completed (void *cls, struct MHD_Connection *connection,
116 answer_to_connection (void *cls, struct MHD_Connection *connection,
133 MHD_create_post_processor (connection, POSTBUFFERSIZE,
154 return send_page (connection, askpage);
170 return send_page (connection, con_info->answerstring);
173 return send_page (connection, errorpage);
  /external/llvm/utils/bugpoint/
RemoteRunSafely.sh 92 connection=$RUSER'@'$RHOST
96 $RCLIENT $connection $RPORT \
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
ThreadInterruptTest.java 85 HttpURLConnection connection = new OkUrlFactory(client).open(server.getUrl("/")); local
86 connection.setDoOutput(true);
87 connection.setFixedLengthStreamingMode(requestBodySize);
88 OutputStream requestBody = connection.getOutputStream();
99 connection.disconnect();
112 HttpURLConnection connection = new OkUrlFactory(client).open(server.getUrl("/")); local
113 InputStream responseBody = connection.getInputStream();
122 connection.disconnect();
  /external/skia/tools/skiaserve/urlhandlers/
ClipAlphaHandler.cpp 22 int ClipAlphaHandler::handle(Request* request, MHD_Connection* connection,
36 return SendOK(connection);
DataHandler.cpp 22 int DataHandler::handle(Request* request, MHD_Connection* connection,
36 return SendData(connection, urlData->fData.get(), urlData->fContentType.c_str());
InfoHandler.cpp 22 int InfoHandler::handle(Request* request, MHD_Connection* connection,
41 return SendData(connection, data.get(), "application/json");
OpBoundsHandler.cpp 22 int OpBoundsHandler::handle(Request* request, MHD_Connection* connection, const char* url,
35 return SendOK(connection);
OpsHandler.cpp 21 int OpsHandler::handle(Request* request, MHD_Connection* connection, const char* url,
35 return SendData(connection, data.get(), "application/json");
  /external/swiftshader/third_party/LLVM/utils/bugpoint/
RemoteRunSafely.sh 92 connection=$RUSER'@'$RHOST
96 $RCLIENT $connection $RPORT \
  /external/valgrind/gdbserver_tests/
mcclean_after_fork.stderrB.exp 4 Remote connection closed
  /frameworks/base/core/java/android/service/wallpaper/
IWallpaperService.aidl 26 void attach(IWallpaperConnection connection,
  /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...]
SelfManagedCallList.java 73 public void onConnectionStateChanged(SelfManagedConnection connection) {
78 public void onConnectionRemoved(SelfManagedConnection connection) {
79 removeConnection(connection);
131 public void addConnection(SelfManagedConnection connection) {
132 Log.i(this, "addConnection %s", connection);
133 mConnections.add(connection);
135 Log.i(this, "addConnection calling onConnectionListChanged %s", connection);
140 public void removeConnection(SelfManagedConnection connection) {
141 Log.i(this, "removeConnection %s", connection);
142 mConnections.remove(connection);
    [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...]
ExtendedInCallServiceTest.java 29 import android.telecom.Connection;
71 final MockConnection connection = verifyConnectionForOutgoingCall(); local
79 assertMuteState(connection, false);
84 assertMuteState(connection, true);
88 assertMuteState(connection, false);
98 final MockConnection connection = verifyConnectionForOutgoingCall(); local
129 assertAudioRoute(connection, CallAudioState.ROUTE_SPEAKER);
135 assertAudioRoute(connection, secondRoute);
152 final MockConnection connection = verifyConnectionForOutgoingCall(); local
159 assertDtmfString(connection, "");
185 final MockConnection connection = verifyConnectionForOutgoingCall(); local
212 final MockConnection connection = verifyConnectionForIncomingCall(); local
233 MockConnection connection = verifyConnectionForIncomingCall(0); local
335 final MockConnection connection = verifyConnectionForIncomingCall(); local
359 final MockConnection connection = verifyConnectionForIncomingCall(); local
382 final MockConnection connection = verifyConnectionForIncomingCall(); local
404 final MockConnection connection = verifyConnectionForIncomingCall(); local
443 final MockConnection connection = verifyConnectionForOutgoingCall(); local
531 final MockConnection connection = verifyConnectionForIncomingCall(); local
546 final MockConnection connection = verifyConnectionForOutgoingCall(); local
    [all...]
MissedCallTest.java 21 import android.telecom.Connection;
62 final MockConnection connection = verifyConnectionForIncomingCall(); local
69 assertConnectionState(connection, Connection.STATE_RINGING);
71 connection.setDisconnected(new DisconnectCause(DisconnectCause.MISSED));
72 connection.destroy();
  /frameworks/base/media/java/android/service/media/
MediaBrowserService.java 111 * All the info about a connection.
206 final ConnectionRecord connection = new ConnectionRecord();
207 connection.pkg = pkg;
208 connection.rootHints = rootHints;
209 connection.callbacks = callbacks;
211 connection.root = MediaBrowserService.this.onGetRoot(pkg, uid, rootHints);
214 if (connection.root == null) {
225 mConnections.put(b, connection);
227 callbacks.onConnect(connection.root.getRootId(),
228 mSession, connection.root.getExtras())
    [all...]
  /external/webrtc/webrtc/p2p/base/
p2ptransportchannel.cc 43 int CompareConnectionCandidates(cricket::Connection* a,
44 cricket::Connection* b) {
45 // Compare connection priority. Lower values get sorted last.
58 int CompareConnectionStates(cricket::Connection* a, cricket::Connection* b) {
65 // We prefer a receiving connection to a non-receiving, higher-priority
66 // connection when sorting connections and choosing which connection to
74 // When a TCP connection fails because of a TCP socket disconnecting, the
75 // active side of the connection will attempt to reconnect for 5 seconds whil
611 Connection* connection = port->CreateConnection( local
770 Connection* connection = port->GetConnection(remote_candidate.address()); local
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
HttpURLConnectionTest.java 101 // this connection was closed, create new one:
129 * Selector will return the proxy, only if the connection
184 * method will be used for connection to the server
193 HttpURLConnection connection = (HttpURLConnection) url local
197 connection.setConnectTimeout(2000);
198 connection.setReadTimeout(2000);
209 connection.connect();
215 assertTrue("Connection does not use proxy", connection.usingProxy());
224 * will be used for connection to the serve
240 HttpURLConnection connection = local
286 HttpURLConnection connection = local
    [all...]
  /external/autotest/frontend/
setup_django_environment.py 8 """Enable autocommit for the connection with matching name.
10 @param name: Name of the connection.
13 # ensure a connection is open
15 connections[name].connection.autocommit(True)
19 """Enable autocommit for default and global connection.

Completed in 405 milliseconds

1 2 3 45 6 7 8 91011>>