HomeSort by relevance Sort by last modified time
    Searched defs:connection (Results 276 - 300 of 897) sorted by null

<<11121314151617181920>>

  /frameworks/base/services/core/jni/
com_android_server_tv_TvInputHal.cpp 268 // Connection between a surface and a stream.
269 class Connection {
271 Connection() {}
307 KeyedVector<int, KeyedVector<int, Connection> > mConnections;
341 KeyedVector<int, Connection>& connections = mConnections.editValueFor(deviceId);
343 connections.add(streamId, Connection());
345 Connection& connection = connections.editValueFor(streamId); local
346 if (connection.mSurface == surface) {
350 // Clear the surface in the connection
415 Connection& connection = connections.editValueFor(streamId); local
536 Connection& connection = connections.editValueFor(streamId); local
    [all...]
  /frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
UsbDeviceStateController.java 144 UsbDeviceConnection connection = openConnection(device); local
145 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MANUFACTURER,
147 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MODEL,
149 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_DESCRIPTION,
151 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_VERSION,
153 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_URI, request.uri);
154 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_SERIAL, request.serial);
155 AoapInterface.sendAoapStart(connection);
  /frameworks/native/libs/gui/
SurfaceComposerClient.cpp 594 sp<IBinder> SurfaceComposerClient::connection() const { function in class:android::SurfaceComposerClient
  /hardware/google/av/codec2/vndk/bufferpool/
BufferPoolClient.cpp 23 #include "Connection.h"
103 sp<Connection> mLocalConnection;
265 (ResultStatus status, sp<IConnection> connection,
268 outConnection = connection;
566 sp<IConnection> connection; local
568 connection = mLocalConnection;
570 connection = mRemoteConnection;
573 Return<void> transResult = connection->fetch(
  /hardware/intel/img/psb_video/src/x11/
psb_xrandr.h 21 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
128 Connection connection; member in struct:_psb_xrandr_output_s
  /packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
AppScanStats.java 446 List<ContextMap.Connection> connections = mContextMap.getConnectionByApp(appEntry.id);
450 Iterator<ContextMap.Connection> ii = connections.iterator();
452 ContextMap.Connection connection = ii.next(); local
453 long connectionTime = elapsedRt - connection.startTime;
454 Date timestamp = new Date(currentTime - elapsedRt + connection.startTime);
457 sb.append(": " + connection.address + " (" + connection.connId + ")\n");
  /packages/apps/KeyChain/tests/src/com/android/keychain/tests/
KeyChainTestActivity.java 210 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); local
211 connection.setSSLSocketFactory(clientContext.getSocketFactory());
212 if (connection.getResponseCode() != 200) {
  /cts/tests/tests/net/src/android/net/cts/
ConnectivityManagerTest.java 108 "Connection: keep-alive\r\n\r\n";
233 assertNotNull("You must have an active network connection to complete CTS", ni);
240 assertNotNull("You must have an active network connection to complete CTS", network);
295 + "and a cellular connection");
339 throw new IllegalStateException("Cell connection not attempted");
350 HttpURLConnection connection = (HttpURLConnection) network.openConnection(httpUrl); local
352 InputStream inputStream = connection.getInputStream();
355 connection.disconnect();
449 * WiFi. We could add a version that uses the telephony data connection but it's not clear
737 // Assert that we can establish a TCP connection on wifi
    [all...]
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
VmMirror.java 61 private TransportWrapper connection; field in class:VmMirror
81 connection = null;
537 * Disposes connection to debuggee VM.
    [all...]
  /external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
ResponseCacheTest.java 199 HttpURLConnection connection = openConnection(url); local
200 assertEquals(responseCode, connection.getResponseCode());
203 readAscii(connection);
270 // OpenJDK 6 fails on this line, complaining that the connection isn't open yet
302 HttpURLConnection connection = openConnection(server.getUrl("/")); local
303 assertEquals("ABC", readAscii(connection));
305 connection = openConnection(server.getUrl("/")); // cached!
306 assertEquals("ABC", readAscii(connection));
329 // an unrelated request should reuse the pooled connection
488 URLConnection connection = openConnection(server.getUrl("/")) local
513 URLConnection connection = openConnection(server.getUrl("\/")); local
539 URLConnection connection = openConnection(url); local
567 URLConnection connection = openConnection(server.getUrl("\/")); local
987 URLConnection connection = openConnection(server.getUrl("\/")); local
1002 URLConnection connection = openConnection(server.getUrl("\/")); local
1017 URLConnection connection = openConnection(server.getUrl("\/")); local
1053 URLConnection connection = openConnection(server.getUrl("\/")); local
1061 HttpURLConnection connection = openConnection(server.getUrl("\/")); local
1073 URLConnection connection = openConnection(server.getUrl("\/")); local
1085 HttpURLConnection connection = openConnection(server.getUrl("\/")); local
1095 HttpURLConnection connection = openConnection(server.getUrl("\/")); local
1110 URLConnection connection = openConnection(url); local
1125 URLConnection connection = openConnection(url); local
1161 HttpURLConnection connection = openConnection(url); local
1207 HttpURLConnection connection = openConnection(server.getUrl("\/")); local
1222 URLConnection connection = openConnection(url); local
1631 URLConnection connection = openConnection(server.getUrl("\/")); local
1647 HttpURLConnection connection = openConnection(server.getUrl("\/")); local
1660 HttpURLConnection connection = openConnection(server.getUrl("\/")); local
1668 URLConnection connection = openConnection(server.getUrl("\/")); local
1680 HttpURLConnection connection = openConnection(server.getUrl("\/")); local
    [all...]
  /frameworks/base/core/java/android/database/sqlite/
SQLiteConnection.java 42 * Represents a SQLite database connection.
43 * Each connection wraps an instance of a native <code>sqlite3</code> object.
45 * When database connection pooling is enabled, there can be multiple active
47 * connection per database.
56 * Connection objects are not thread-safe. They are acquired as needed to
58 * given time, a connection is either owned and used by a {@link SQLiteSession}
61 * use of a connection.
69 * The connection object object owns *all* of the SQLite related native
70 * objects that are associated with the connection. What's more, there are
72 * those native objects. Consequently, when the connection is closed, we d
192 SQLiteConnection connection = new SQLiteConnection(pool, configuration, local
    [all...]
  /frameworks/base/services/midi/java/com/android/server/midi/
MidiService.java 168 DeviceConnection connection = new DeviceConnection(device, this, callback); local
169 mDeviceConnections.put(connection.getToken(), connection); local
170 device.addDeviceConnection(connection);
175 DeviceConnection connection = mDeviceConnections.remove(token); local
176 if (connection != null) {
177 connection.getDevice().removeDeviceConnection(connection);
185 public void removeDeviceConnection(DeviceConnection connection) {
186 mDeviceConnections.remove(connection.getToken())
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/
NetworkScoreServiceTest.java 880 NetworkScoreService.ScoringServiceConnection connection = new NetworkScoreService local
894 NetworkScoreService.ScoringServiceConnection connection = new NetworkScoreService local
918 NetworkScoreService.ScoringServiceConnection connection = new NetworkScoreService local
935 NetworkScoreService.ScoringServiceConnection connection = new NetworkScoreService local
945 NetworkScoreService.ScoringServiceConnection connection = new NetworkScoreService local
963 NetworkScoreService.ScoringServiceConnection connection = new NetworkScoreService local
    [all...]
  /frameworks/base/telecomm/java/android/telecom/
RemoteConnection.java 42 * A connection provided to a {@link ConnectionService} by another {@code ConnectionService}
58 * @param connection The {@code RemoteConnection} invoking this method.
61 public void onStateChanged(RemoteConnection connection, int state) {}
66 * @param connection The {@code RemoteConnection} invoking this method.
68 * connection.
71 RemoteConnection connection,
78 * @param connection The {@code RemoteConnection} invoking this method.
81 public void onRingbackRequested(RemoteConnection connection, boolean ringback) {}
87 * @param connection The {@code RemoteConnection} invoking this method.
91 RemoteConnection connection,
1184 final RemoteConnection connection = this; local
1205 final RemoteConnection connection = this; local
1224 final RemoteConnection connection = this; local
1242 final RemoteConnection connection = this; local
1259 final RemoteConnection connection = this; local
1282 final RemoteConnection connection = this; local
1302 final RemoteConnection connection = this; local
1318 final RemoteConnection connection = this; local
1335 final RemoteConnection connection = this; local
1352 final RemoteConnection connection = this; local
1367 final RemoteConnection connection = this; local
1382 final RemoteConnection connection = this; local
1398 final RemoteConnection connection = this; local
1414 final RemoteConnection connection = this; local
1431 final RemoteConnection connection = this; local
1448 final RemoteConnection connection = this; local
1491 final RemoteConnection connection = this; local
1505 final RemoteConnection connection = this; local
1519 final RemoteConnection connection = this; local
1529 final RemoteConnection connection = this; local
1539 final RemoteConnection connection = this; local
1549 final RemoteConnection connection = this; local
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
GsmCdmaCallTracker.java 69 private static final int MAX_CONNECTIONS_PER_CALL_CDMA = 1; //only 1 connection allowed per call
122 List<Connection> toNotify = new ArrayList<Connection>();
131 for (Connection connection : toNotify) {
132 if (connection != null) {
133 connection.onExitedEcmMode();
252 List<Connection> connCopy;
256 connCopy = (List<Connection>) mForegroundCall.mConnections.clone();
269 public synchronized Connection dial(String dialString, int clirMode, UUSInfo uusInfo
1399 Connection connection = mForegroundCall.getLatestConnection(); local
    [all...]
  /frameworks/support/media/src/main/java/androidx/media/
MediaBrowserServiceCompat.java 217 ConnectionRecord connection = iter.next();
219 connection.callbacks.onConnect(connection.root.getRootId(), token,
220 connection.root.getExtras());
222 Log.w(TAG, "Connection for " + connection.pkg + " is no longer valid.");
236 ConnectionRecord connection = mConnections.get(binder);
238 connection.subscriptions.get(parentId);
243 performLoadChildren(parentId, connection, callback.second,
275 ConnectionRecord connection = mConnections.get(binder) local
399 ConnectionRecord connection = mConnections.get(binder); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
AbstractCookiesTest.java 418 HttpURLConnection connection = (HttpURLConnection) server.getUrl("/").openConnection(); local
420 connection.getRequestProperties());
422 connection.setRequestProperty("Foo", "foo");
423 connection.setDoOutput(true);
424 connection.getOutputStream().write(5);
425 connection.getOutputStream().close();
426 connection.getInputStream().close();
432 "Content-Type", "User-Agent", "Connection", "Host");
441 assertContainsAll(connection.getRequestProperties().keySet(), "Foo");
442 assertContainsAll(connection.getRequestProperties().keySet()
760 URLConnection connection = server.getUrl(path).openConnection(); local
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/contactphoto/
ContactPhotoManagerImpl.java 1236 final HttpURLConnection connection = local
    [all...]
  /bionic/libc/kernel/uapi/drm/
exynos_drm.h 40 __u32 connection; member in struct:drm_exynos_vidi_connection
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
KeyChainTest.java 293 log("Connection failed");
333 * Open a new connection to the server.
345 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); local
346 connection.setSSLSocketFactory(clientContext.getSocketFactory());
347 if (connection.getResponseCode() != 200) {
348 log("Connection failed. Response code: " + connection.getResponseCode());
351 log("Connection succeeded.");
  /cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
ClientTest.java 462 final TestServiceConnection connection = new TestServiceConnection(); local
465 startNormalIntent, connection, Context.BIND_AUTO_CREATE /*flags*/),
468 InstrumentationRegistry.getContext().unbindService(connection);
477 final TestServiceConnection connection = new TestServiceConnection(); local
480 startNormalIntent, connection, Context.BIND_AUTO_CREATE /*flags*/),
483 InstrumentationRegistry.getContext().unbindService(connection);
643 final TestServiceConnection connection = new TestServiceConnection(); local
646 startExposedIntent, connection, Context.BIND_AUTO_CREATE /*flags*/),
662 InstrumentationRegistry.getContext().unbindService(connection);
672 final TestServiceConnection connection = new TestServiceConnection() local
954 final TestServiceConnection connection = new TestServiceConnection(); local
981 final TestServiceConnection connection = new TestServiceConnection(); local
    [all...]
  /external/kernel-headers/original/uapi/drm/
exynos_drm.h 69 * A structure for user connection request of virtual display.
71 * @connection: indicate whether doing connetion or not by user.
77 __u32 connection; member in struct:drm_exynos_vidi_connection
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
HttpEngine.java 22 import com.squareup.okhttp.Connection;
193 * @throws RouteException if the was a problem during connection via a specific route. Sometimes
336 public Connection getConnection() {
337 return streamAllocation.connection();
356 // For failure recovery, use the same route selector with a new connection.
378 // For failure recovery, use the same route selector with a new connection.
408 * Configure the socket connection to be either pooled or closed when it is
417 * Immediately closes the socket connection if it's currently held by this engine. Use this to
422 * transport layer connection has been established (such as a HTTP/2 stream) that is terminated.
423 * Otherwise if a socket connection is being established, that is terminated
662 @Override public Connection connection() { method in class:HttpEngine.NetworkInterceptorChain
889 Connection connection = streamAllocation.connection(); local
    [all...]
  /external/wayland/src/
wayland-client.c 23 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
83 struct wl_connection *connection; member in struct:wl_display
579 * wl_argument array to the wire format and writes it to the connection
614 * wire format and write it to the connection buffer. This version takes an
658 if (wl_closure_send(closure, proxy->display->connection))
708 * arguments to the wire format and writes it to the connection buffer. The
748 * wire format and write it to the connection buffer.
908 * \param fd The fd to use for the connection
972 display->connection = wl_connection_create(display->fd);
973 if (display->connection == NULL
1002 char *connection, *end; local
    [all...]
  /external/webrtc/webrtc/base/
httpcommon.cc 100 "Connection",
117 "Proxy-Connection",
201 std::string connection; local
202 if ((data.hasHeader(HH_PROXY_CONNECTION, &connection)
203 || data.hasHeader(HH_CONNECTION, &connection))) {
204 return (_stricmp(connection.c_str(), "Keep-Alive") == 0);

Completed in 2704 milliseconds

<<11121314151617181920>>