HomeSort by relevance Sort by last modified time
    Searched full:connection (Results 376 - 400 of 24174) sorted by null

<<11121314151617181920>>

  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
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...]
  /hardware/intel/common/libmix/mix_audio/src/
amhelper.c 4 static DBusGConnection *connection; variable
30 connection = dbus_g_bus_get(DBUS_BUS_SESSION, &error);
32 if (connection == NULL) {
33 mix_log(MIX_AUDIO_COMP, MIX_LOG_LEVEL_WARNING, "Failed to open connection to bus: %s\n",
38 mix_log(MIX_AUDIO_COMP, MIX_LOG_LEVEL_VERBOSE, "Successfully get a dbus connection\n");
40 proxy_lpe = dbus_g_proxy_new_for_name(connection, name,
  /hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
SocketComm.h 42 * Creates a connection to the other side.
44 * @return int Returns fd or socket number if connection is successful.
45 * Otherwise, returns -1 if no connection is availble.
57 * Blocking call to read data from the connection.
60 * an empty vector if the connection was closed or some other error occurred.
65 * Closes a connection if it is open.
  /hardware/interfaces/graphics/composer/2.1/utils/vts/
GraphicsComposerCallback.cpp 51 Return<void> GraphicsComposerCallback::onHotplug(Display display, Connection connection) {
54 if (connection == Connection::CONNECTED) {
58 } else if (connection == Connection::DISCONNECTED) {
  /packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
HandoverActivity.java 45 final SelfManagedConnection connection = SelfManagedCallList.getInstance() local
49 if (connection != null) {
50 connection.setConnectionActive();
61 if (connection != null) {
62 connection.setConnectionDisconnected(DisconnectCause.INCOMING_REJECTED);
63 connection.destroy();
  /tools/test/connectivity/acts/tests/google/net/
LegacyVpnTest.py 45 """ Setup wi-fi connection and unpack params
123 connected_vpn_info which specifies the VPN connection status
135 """ Test logic for each legacy VPN connection
139 2. Establish connection to the server
140 3. Verify that connection is established using LegacyVpnInfo
141 4. Verify the connection by pinging the IP behind VPN
142 5. Stop the VPN connection
143 6. Check the connection status
159 "Unable to establish VPN connection for %s"
173 "Unable to terminate VPN connection for %s
    [all...]
  /frameworks/base/services/core/java/com/android/server/tv/
TvInputHardwareManager.java 79 * This class does a basic connection management and forwarding calls to TvInputHal which eventually
90 private final SparseArray<Connection> mConnections = new SparseArray<>();
157 Connection connection = new Connection(info); local
158 connection.updateConfigsLocked(configs);
159 mConnections.put(info.getDeviceId(), connection); local
179 Connection connection = mConnections.get(deviceId); local
180 if (connection == null)
207 Connection connection = mConnections.get(deviceId); local
235 Connection connection = mConnections.get(deviceId); local
303 Connection connection = mConnections.get(deviceId); local
374 Connection connection = mConnections.get(deviceId); local
400 Connection connection = mConnections.get(deviceId); local
425 Connection connection = mConnections.get(i); local
445 Connection connection = mConnections.get(deviceId); local
466 Connection connection = mConnections.get(deviceId); local
    [all...]
  /external/libmicrohttpd/doc/chapters/
basicauthentication.inc 15 In the rare situation where the client is customized enough and the connection occurs
32 is called for a given connection. This is becoming more important now because the client and
35 But how can we tell whether the callback has been called before for the particular connection?
37 also be "remembered" on the next call (for the same connection).
41 @code{connection} structure will be pointing to a legal address, so we take this.
47 answer_to_connection (void *cls, struct MHD_Connection *connection,
53 if (NULL == *con_cls) {*con_cls = connection; return MHD_YES;}
62 Note how we lop off the connection on the first condition (no "GET" request), but return asking for more on
82 answer_to_connection (void *cls, struct MHD_Connection *connection,
96 *con_cls = connection;
    [all...]
  /frameworks/base/core/java/android/bluetooth/
BluetoothServerSocket.java 32 * socket. When a connection is accepted by the {@link BluetoothServerSocket},
33 * it will return a new {@link BluetoothSocket} to manage the connection.
35 * an outgoing connection and to manage the connection.
38 * supported by the Android APIs. RFCOMM is a connection-oriented, streaming
45 * {@link #accept()} to listen for incoming connection requests. This call
46 * will block until a connection is established, at which point, it will return
47 * a {@link BluetoothSocket} to manage the connection. Once the {@link
82 * @param encrypt require the connection to be encrypted
101 * @param encrypt require the connection to be encrypte
    [all...]
  /system/bt/bta/include/
bta_hf_client_api.h 98 #define BTA_HF_CLIENT_OPEN_EVT 2 /* HF Client connection open */
99 #define BTA_HF_CLIENT_CLOSE_EVT 3 /* HF Client connection closed */
100 #define BTA_HF_CLIENT_CONN_EVT 4 /* Service level connection opened */
101 #define BTA_HF_CLIENT_AUDIO_OPEN_EVT 5 /* Audio connection open */
103 6 /* Audio connection with mSBC codec open */
104 #define BTA_HF_CLIENT_AUDIO_CLOSE_EVT 7 /* Audio connection closed */
127 #define BTA_HF_CLIENT_SUCCESS 0 /* Connection successfully opened */
295 * Description Opens a connection to an audio gateway.
296 * When connection is open callback function is called
297 * with a BTA_HF_CLIENT_OPEN_EVT. Only the data connection i
    [all...]
  /tools/test/connectivity/acts/tests/google/coex/slave_role/performance_tests/
WlanWithHFPPerformanceSlaveTest.py 55 self.log.info("Connection failed")
85 """Starts TCP-uplink traffic with hfp connection.
88 android device and test the performance hfp connection
105 """Starts TCP-downlink traffic with hfp connection.
108 android device and test the performance hfp connection
125 """Starts UDP-uplink traffic with hfp connection.
128 android device and test the performance hfp connection
145 """Starts UDP-downlink traffic with hfp connection.
148 android device and test the performance hfp connection
165 """Starts TCP-uplink traffic with hfp connection and check volume
    [all...]
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
JDWPUnitDebuggeeWrapper.java 47 * Wrapper around JDWP transport connection.
57 * Is this a "listen" JDWP connection? (If false, it is a an "attach" connection.)
75 * Set up server side JDWP connection before launching the debuggee.
97 * establishes JDWP connection.
116 logWriter.println("Established transport connection");
142 * Opens connection with debuggee.
147 logWriter.println("Accepting JDWP connection");
151 logWriter.println("Attaching for JDWP connection");
162 * Disposes JDWP connection stored in VmMirror
    [all...]
  /external/apache-http/src/org/apache/http/
HttpConnection.java 37 * A generic HTTP connection, useful on client and server side.
53 * Closes this connection gracefully.
57 * shutdown of the connection. Use {@link #shutdown shutdown} instead.
62 * Checks if this connection is open.
68 * Checks whether this connection has gone down.
71 * connection it will throw an IOException.
73 * find out if a connection is still usable. Implementations may do
78 * @return <code>true</code> if attempts to use this connection are
80 * to fail and this connection should be closed
101 * Force-closes this connection
    [all...]
  /external/wayland/src/
wayland-private.h 24 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
115 wl_connection_destroy(struct wl_connection *connection);
118 wl_connection_copy(struct wl_connection *connection, void *data, size_t size);
121 wl_connection_consume(struct wl_connection *connection, size_t size);
124 wl_connection_flush(struct wl_connection *connection);
127 wl_connection_pending_input(struct wl_connection *connection);
130 wl_connection_read(struct wl_connection *connection);
133 wl_connection_write(struct wl_connection *connection,
137 wl_connection_queue(struct wl_connection *connection,
141 wl_connection_get_fd(struct wl_connection *connection);
    [all...]
  /frameworks/base/obex/javax/obex/
SessionNotifier.java 38 * The <code>SessionNotifier</code> interface defines a connection notifier for
41 * to create a connection at the transport layer. When the transport layer
42 * connection is received, the <code>acceptAndOpen()</code> method will return a
43 * <code>javax.microedition.io.Connection</code> that is the connection to the
52 * Waits for a transport layer connection to be established and specifies
54 * associated with this connection, therefore, it is implementation
63 * connection attempts by clients.
83 * @return the connection to the client
90 * Waits for a transport layer connection to be established and specifie
    [all...]
  /frameworks/base/services/print/java/com/android/server/print/
RemotePrintServiceRecommendationService.java 44 * Connection to a remote print service recommendation service.
52 /** Context used for the connection */
55 /** The connection to the service (if {@link #mIsBound bound}) */
57 private @NonNull final Connection mConnection;
125 * Open a new connection to a {@link IRecommendationService remote print service
128 * @param context The context establishing the connection
129 * @param userHandle The user the connection is for
136 mConnection = new Connection(callbacks);
155 * Terminate the connection to the {@link IRecommendationService remote print
188 * Connection to the service
    [all...]
  /frameworks/base/telecomm/java/android/telecom/
ParcelableConnection.java 30 * Information about a connection that is used between Telecom and the ConnectionService.
31 * This is used to send initial Connection information to Telecom when the connection is
139 * Returns the current connection capabilities bit-mask. Connection capabilities are defined as
140 * {@code CAPABILITY_*} constants in {@link Connection}.
142 * @return Bit-mask containing capabilities of the connection.
149 * Returns the current connection properties bit-mask. Connection properties are defined as
150 * {@code PROPERTY_*} constants in {@link Connection}
    [all...]
  /frameworks/base/telephony/java/android/telephony/
PreciseDataConnectionState.java 25 * Contains precise data connection state.
27 * The following data connection information is included in returned PreciseDataConnectionState:
30 * <li>Data connection state.
31 * <li>Network type of the connection.
34 * <li>Data connection change reason.
36 * <li>Data connection fail cause.
90 * Get data connection state
103 * Get data connection network type
127 * Get data connection APN type
134 * Get data connection APN
    [all...]
  /frameworks/native/services/surfaceflinger/
EventThread.h 83 class Connection : public BnDisplayEventConnection {
85 explicit Connection(EventThread* eventThread);
86 virtual ~Connection();
113 status_t registerDisplayEventConnection(const sp<Connection>& connection);
115 void setVsyncRate(uint32_t count, const sp<Connection>& connection);
116 void requestNextVsync(const sp<Connection>& connection);
135 Vector<sp<EventThread::Connection>> waitForEventLocked(std::unique_lock<std::mutex>* lock
    [all...]
  /packages/apps/Test/connectivity/PMC/src/com/android/pmc/
WifiDownloadReceiver.java 104 HttpURLConnection connection = null; local
107 connection = (HttpURLConnection) url.openConnection();
108 connection.connect();
111 if (connection.getResponseCode() != HttpURLConnection.HTTP_OK) {
112 return "Server returned HTTP " + connection.getResponseCode()
113 + " " + connection.getResponseMessage();
117 int fileLength = connection.getContentLength();
118 int bytesRead = downloadFile(connection);
132 if (connection != null) {
133 connection.disconnect()
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
HttpUrlConnectionBuilder.java 203 final HttpURLConnection connection = (HttpURLConnection) mUrl.openConnection(); local
204 connection.setConnectTimeout(mConnectTimeoutMillis);
205 connection.setReadTimeout(mReadTimeoutMillis);
206 connection.setUseCaches(mUseCache);
209 connection.setDoInput(true);
210 connection.setDoOutput(false);
213 connection.setDoInput(false);
214 connection.setDoOutput(true);
217 connection.setDoInput(true);
218 connection.setDoOutput(true)
    [all...]
  /test/suite_harness/common/util/src/com/android/compatibility/common/util/
MultipartForm.java 93 HttpURLConnection connection = null; local
96 connection = (HttpURLConnection) url.openConnection();
97 connection.setInstanceFollowRedirects(false);
98 connection.setRequestMethod("POST");
99 connection.setDoOutput(true);
100 connection.setRequestProperty("Content-Type",
104 connection.setRequestProperty("Content-Length", Integer.toString(body.length));
106 OutputStream output = connection.getOutputStream();
114 InputStream input = connection.getInputStream();
117 int response = connection.getResponseCode()
    [all...]
  /external/apache-http/android/src/android/net/http/
HttpsConnection.java 50 * A Connection connecting to a secure http server or tunneling through
53 public class HttpsConnection extends Connection {
116 * Object to wait on when suspending the SSL connection
121 * True if the connection is suspended pending the result of asking the
127 * True if the connection attempt should be aborted due to an ssl
136 * Contructor for a https connection.
146 * connection.
154 * Opens the connection to a http server or proxy.
156 * @return the opened low level connection
157 * @throws IOException if the connection fails for any reason
    [all...]
  /tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/
rpc_client.py 95 on_error_callback: A callback for when a connection error is raised.
132 for connection in connections:
134 'Closing connection over ports %s' % connection.ports)
135 connection.close()
141 """Returns a free connection to be used for an RPC call.
149 # Check if another thread grabbed the remaining connection.
169 def _release_working_connection(self, connection):
173 connection: The client to mark as free.
175 A ValueError if the client is not a known working connection
    [all...]
  /tools/test/connectivity/acts/tests/google/ble/gatt/
GattConnectTest.py 17 This test script exercises different GATT connection tests.
150 """Test GATT connection over LE.
152 Test establishing a gatt connection between a GATT server and GATT
160 5. Create a GATT connection between the scanner and advertiser.
161 6. Disconnect the GATT connection.
164 Verify that a connection was established and then disconnected
192 """Test GATT connection over LE then stop advertising
194 A test case that verifies the GATT connection doesn't
202 5. Create a GATT connection between the scanner and advertiser.
204 7. Verify no connection state changed happened
    [all...]

Completed in 4095 milliseconds

<<11121314151617181920>>