HomeSort by relevance Sort by last modified time
    Searched refs:connection (Results 1 - 25 of 754) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/CodeGenCXX/
incomplete-member-function-pointer.cpp 4 struct connection { struct
7 void (connection::*a)(fake_tuple) = &connection::bar;
9 void (connection::*b)(fake_tuple) = &connection::bar;
  /external/skia/tools/skiaserve/
Response.h 17 int SendOK(MHD_Connection* connection);
19 int SendError(MHD_Connection* connection, const char* msg);
21 int SendData(MHD_Connection* connection, const SkData* data, const char* type,
24 int SendTemplate(MHD_Connection* connection, bool redirect = false,
Response.cpp 44 int SendOK(MHD_Connection* connection) {
50 int ret = MHD_queue_response(connection, 200, response);
55 int SendError(MHD_Connection* connection, const char* msg) {
59 int ret = MHD_queue_response(connection, 500, response);
64 int SendData(MHD_Connection* connection, const SkData* data, const char* type,
75 int ret = MHD_queue_response(connection, MHD_HTTP_OK, response);
80 int SendTemplate(MHD_Connection* connection, bool redirect, const char* redirectUrl) {
96 int ret = MHD_queue_response(connection, status, response);
  /external/skqp/tools/skiaserve/
Response.h 17 int SendOK(MHD_Connection* connection);
19 int SendError(MHD_Connection* connection, const char* msg);
21 int SendData(MHD_Connection* connection, const SkData* data, const char* type,
24 int SendTemplate(MHD_Connection* connection, bool redirect = false,
Response.cpp 44 int SendOK(MHD_Connection* connection) {
50 int ret = MHD_queue_response(connection, 200, response);
55 int SendError(MHD_Connection* connection, const char* msg) {
59 int ret = MHD_queue_response(connection, 500, response);
64 int SendData(MHD_Connection* connection, const SkData* data, const char* type,
75 int ret = MHD_queue_response(connection, MHD_HTTP_OK, response);
80 int SendTemplate(MHD_Connection* connection, bool redirect, const char* redirectUrl) {
96 int ret = MHD_queue_response(connection, status, response);
  /external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
HttpsServiceConnectionSE.java 16 * HttpsServiceConnectionSE is a service connection that uses a https url connection and requires
38 private HttpsURLConnection connection; field in class:HttpsServiceConnectionSE
47 * @param timeout the timeout for the connection in milliseconds
62 * @param timeout the timeout for the connection in milliseconds
68 connection = (HttpsURLConnection) new URL(HttpsTransportSE.PROTOCOL, host, port,
71 connection =
80 connection.setConnectTimeout(timeout);
81 connection.setReadTimeout(
83 connection.setUseCaches(false)
    [all...]
ServiceConnectionSE.java 19 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
35 * Connection for J2SE environments.
39 private HttpURLConnection connection; field in class:ServiceConnectionSE
44 * @param url the url to open the connection to.
57 * @param url the url to open the connection to.
58 * @param timeout the connection and read timeout for the http connection in milliseconds
66 connection = (proxy == null)
69 connection.setUseCaches(false);
70 connection.setDoOutput(true)
    [all...]
  /external/autotest/site_utils/stats/
mysql_stats_unittest.py 17 connection = mock.Mock()
18 connection.Fetchall.return_value = [(
22 mysql_stats.QueryAndEmit(collections.defaultdict(lambda: 0), connection)
  /external/cmockery/cmockery_0_1_2/src/example/
customer_database.c 31 DatabaseConnection * const connection,
38 number_of_results = connection->query_database(connection, query_string,
  /cts/tests/tests/telecom/src/android/telecom/cts/
ConnectionTest.java 26 import android.telecom.Connection;
45 Connection connection = createConnection(lock); local
48 assertEquals(Connection.STATE_NEW, connection.getState());
50 connection.setInitializing();
52 assertEquals(Connection.STATE_INITIALIZING, connection.getState());
54 connection.setInitialized();
56 assertEquals(Connection.STATE_NEW, connection.getState())
96 Connection connection = Connection.createFailedConnection( local
115 Connection connection = Connection.createCanceledConnection(); local
132 Connection connection = createConnection(lock); local
147 Connection connection = createConnection(lock); local
162 Connection connection = createConnection(lock); local
179 Connection connection = createConnection(lock); local
195 Connection connection = createConnection(lock); local
214 Connection connection = createConnection(lock); local
228 Connection connection = createConnection(lock); local
255 Connection connection = createConnection(lock); local
282 Connection connection = createConnection(lock); local
310 Connection connection = createConnection(lock); local
339 Connection connection = createConnection(lock); local
351 Connection connection = createConnection(lock); local
367 Connection connection = createConnection(lock); local
382 Connection connection = createConnection(lock); local
436 BasicConnection connection = new BasicConnection(); local
    [all...]
MockConnectionService.java 20 import android.telecom.Connection;
56 * the {@link MockVideoProvider} is not created immediately when the Connection is created.
68 public Connection onCreateOutgoingConnection(PhoneAccountHandle connectionManagerPhoneAccount,
70 final MockConnection connection = new MockConnection(); local
71 connection.setAddress(request.getAddress(), CONNECTION_PRESENTATION);
72 connection.setPhoneAccountHandle(connectionManagerPhoneAccount);
73 connection.setConnectionCapabilities(Connection.CAPABILITY_SUPPORT_HOLD |
74 Connection.CAPABILITY_HOLD
75 | Connection.CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONA
101 final MockConnection connection = new MockConnection(); local
    [all...]
WiredHeadsetTest.java 21 import android.telecom.Connection;
44 final MockConnection connection = verifyConnectionForIncomingCall(); local
48 assertConnectionState(connection, Connection.STATE_RINGING);
52 assertConnectionState(connection, Connection.STATE_ACTIVE);
61 final MockConnection connection = verifyConnectionForIncomingCall(); local
65 assertConnectionState(connection, Connection.STATE_RINGING);
69 assertConnectionState(connection, Connection.STATE_DISCONNECTED)
78 final MockConnection connection = verifyConnectionForOutgoingCall(); local
100 final MockConnection connection = verifyConnectionForOutgoingCall(); local
    [all...]
  /external/volley/src/main/java/com/android/volley/toolbox/
HurlStack.java 88 HttpURLConnection connection = openConnection(parsedUrl, request); local
92 connection.setRequestProperty(headerName, map.get(headerName));
94 setConnectionParametersForRequest(connection, request);
96 int responseCode = connection.getResponseCode();
99 // Signal to the caller that something was wrong with the connection.
104 return new HttpResponse(responseCode, convertHeaders(connection.getHeaderFields()));
107 // Need to keep the connection open until the stream is consumed by the caller. Wrap the
108 // stream such that close() will disconnect the connection.
112 convertHeaders(connection.getHeaderFields()),
113 connection.getContentLength()
189 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); local
207 HttpURLConnection connection = createConnection(url); 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/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
UsbDeviceTestActivity.java 160 UsbDeviceConnection connection = mUsbManager.openDevice(device);
162 makeThisDeviceAnAccessory(connection);
164 connection.close();
209 * @param connection The connection to the USB device
211 private void makeThisDeviceAnAccessory(@NonNull UsbDeviceConnection connection) {
212 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MANUFACTURER,
214 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MODEL,
216 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_DESCRIPTION,
218 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_VERSION, "2")
2078 UsbDeviceConnection connection = mUsbManager.openDevice(device); local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
util.h 29 #include "connection.h"
31 int pysqlite_step(sqlite3_stmt* statement, pysqlite_Connection* connection);
  /external/curl/docs/cmdline-opts/
ssl-reqd.d 6 Require SSL/TLS for the connection. Terminates the connection if the server
ssl.d 7 Try to use SSL/TLS for the connection. Reverts to a non-secure connection if
  /external/libxkbcommon/xkbcommon/xkbcommon/
xkbcommon-x11.h 20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
142 * @param connection
143 * An XCB connection to the X server.
168 xkb_x11_setup_xkb_extension(xcb_connection_t *connection,
180 * @param connection An XCB connection to the X server.
186 xkb_x11_get_core_keyboard_device_id(xcb_connection_t *connection);
197 * @param connection
198 * An XCB connection to the X server.
211 xcb_connection_t *connection,
    [all...]
  /external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
CacheAdapterTest.java 65 private HttpURLConnection connection; field in class:CacheAdapterTest
73 if (connection != null) {
74 connection.disconnect();
95 connection = new OkUrlFactory(client).open(serverUrl);
96 connection.setRequestProperty("key1", "value1");
98 executeGet(connection);
120 connection = new OkUrlFactory(client).open(serverUrl);
121 connection.setRequestProperty("key1", "value1");
123 executeGet(connection);
136 @Override public CacheRequest put(URI uri, URLConnection connection) throws IOException
    [all...]
  /external/autotest/frontend/afe/
readonly_connection.py 19 If disabled, connection() will return the global connection instead of the
20 readonly connection.
27 def connection(): function
28 """Return a readonly database connection."""
35 """Return a cursor on the readonly database connection."""
36 return connection().cursor()
  /external/skia/tools/skiaserve/urlhandlers/
RootHandler.cpp 21 int RootHandler::handle(Request* request, MHD_Connection* connection,
24 return SendTemplate(connection);
  /external/skqp/tools/skiaserve/urlhandlers/
RootHandler.cpp 21 int RootHandler::handle(Request* request, MHD_Connection* connection,
24 return SendTemplate(connection);
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DummyConnectionService.java 20 import android.telecom.Connection;
30 * A simple connection service that hangs up automatically for incoming and outgoing call.
38 public Connection onCreateOutgoingConnection(PhoneAccountHandle connectionManagerPhoneAccount,
40 final DummyConnection connection = new DummyConnection(); local
41 connection.setAddress(request.getAddress(), TelecomManager.PRESENTATION_ALLOWED);
42 connection.setVideoState(request.getVideoState());
43 hangUpAsync(connection);
44 return connection;
48 public Connection onCreateIncomingConnection(PhoneAccountHandle connectionManagerPhoneAccount,
50 final DummyConnection connection = new DummyConnection() local
    [all...]
  /cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/
AccessoryTestCompanion.java 120 UsbDeviceConnection connection = mUsbManager.openDevice(mDevice); local
125 testName = nextTest(connection, in, out, true);
133 int numTransferred = connection.bulkTransfer(in, buffer, 32, 0);
136 numTransferred = connection.bulkTransfer(out, buffer, 32, 0);
145 int numTransferred = connection.bulkTransfer(in, buffer, 32, 0);
147 numTransferred = connection.bulkTransfer(in, buffer, 16, 32, 0);
150 numTransferred = connection.bulkTransfer(out, buffer, 32, 0);
158 int numTransferred = connection.bulkTransfer(in, buffer, 32, 0);
161 numTransferred = connection.bulkTransfer(out, buffer, 16, 0);
163 numTransferred = connection.bulkTransfer(out, buffer, 16, 16, 0)
270 UsbDeviceConnection connection = mUsbManager.openDevice(device); local
    [all...]

Completed in 673 milliseconds

1 2 3 4 5 6 7 8 91011>>