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

<<11121314151617181920>>

  /cts/tests/tests/telecom/src/android/telecom/cts/
BaseTelecomTestWithMockServices.java 36 import android.telecom.Connection;
181 // Generate a vanilla mock connection service, if not provided.
437 // MockConnectionService#onCreateOutgoingConnection, however the connection will not
441 // We will wait here until the list of connections includes one more connection to ensure
452 // Assuming only 1 connection present
460 fail("No outgoing call connection requested by Telecom");
466 assertThat("Telecom should create outgoing connection for outgoing call",
468 MockConnection connection = connectionService.outgoingConnections.get(connectionIndex); local
469 return connection;
473 // Assuming only 1 connection presen
489 MockConnection connection = connectionService.incomingConnections.get(connectionIndex); local
502 MockConnection connection = connectionService.outgoingConnections.get(connectionIndex); local
    [all...]
  /frameworks/base/core/java/android/database/sqlite/
SQLiteConnectionPool.java 47 * At any given time, a connection is either owned by the pool, or it has been
49 * finished with the connection it is using, it must return the connection
55 * that the connection pool can detect when connections have been improperly
58 * The connection pool is thread-safe (but the connections themselves are not).
84 // and logging a message about the connection pool being busy.
109 // Describes what should happen to an acquired connection when it is returned to the pool.
111 // The connection should be returned to the pool as usual.
114 // The connection must be reconfigured before being returned.
117 // The connection must be closed and discarded
598 SQLiteConnection connection = local
639 final SQLiteConnection connection = mAvailableNonPrimaryConnections.get(i); local
691 SQLiteConnection connection = null; local
763 final SQLiteConnection connection = waiter.mAssignedConnection; local
880 SQLiteConnection connection = null; local
931 SQLiteConnection connection = mAvailablePrimaryConnection; local
958 SQLiteConnection connection; local
1155 final SQLiteConnection connection = entry.getKey(); local
    [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...]
  /packages/apps/Email/provider_src/com/android/email/mail/store/
ImapFolder.java 106 // Make sure the connection is valid.
118 // Return the connection to the pool, if exists.
142 // Don't cache this connection, so we're forced to try connecting/login again
186 * so we must get the connection ourselves if it's not there. We are specifically
189 ImapConnection connection = null; local
192 connection = mStore.getConnection();
194 connection = mConnection;
198 connection.executeSimpleCommand(String.format(Locale.US,
212 throw ioExceptionHandler(connection, ioe);
215 connection.destroyResponses()
235 ImapConnection connection = null; local
    [all...]
  /packages/services/Telecomm/src/com/android/server/telecom/
CallsManager.java 44 import android.telecom.Connection;
515 if (incomingCall.hasProperty(Connection.PROPERTY_EMERGENCY_CALLBACK_MODE)) {
534 // that the connection service disconnected the call before it was even added to Telecom, in
583 * (connection service) from the existing ringing call when reaching maximum ringing calls.
730 * Handles changes to the {@link Connection.VideoProvider} for a call. Adds the
    [all...]
  /device/generic/goldfish-opengl/tests/gles_android_wrapper/
egl.cpp 177 // initialize a connection to the server, and the GLESv1/v2 encoders;
178 ServerConnection * connection = ServerConnection::s_getServerConnection(); local
179 if (connection == NULL) {
180 ALOGE("couldn't create server connection\n");
498 // NOTE - we do get a pointer to the server connection, (rather then using ti->serverConn)
  /external/apache-http/android/src/android/net/http/
Request.java 52 private Connection mConnection;
71 // This will be used to set the Range field if we retry a connection. This
151 * @param connection Request served by this connection
153 void setConnection(Connection connection) {
154 mConnection = connection;
358 * call. Does not close connection--use close() below for that.
507 HttpsConnection connection = (HttpsConnection)(mConnection); local
508 if (connection != null)
    [all...]
RequestQueue.java 57 /* default simultaneous connection count */
61 * This class maintains active connection threads
144 Connection connection = mThreads[i].mConnection; local
145 if (connection != null) connection.setCanPersist(false);
157 Connection connection = ct.mConnection; local
158 if (connection != null && connection.mHost.equals(host))
    [all...]
  /external/emma/core/java12/com/vladium/emma/data/
DataFactory.java 143 final URLConnection connection = url.openConnection (); local
144 connection.setDoOutput (true);
149 out = connection.getOutputStream ();
  /external/libmicrohttpd/src/testspdy/
test_new_connection.c 21 * @brief tests new connection callback. spdycli.c
107 struct Connection {
110 /* WANT_READ if SSL connection needs more input; or WANT_WRITE if it
115 SSL connection. */
228 struct Connection *connection; local
230 connection = (struct Connection*)user_data;
231 connection->want_io = IO_NONE;
233 rv = SSL_write(connection->ssl, data, length)
260 struct Connection *connection; local
660 struct Connection connection; local
    [all...]
test_notls.c 86 struct Connection {
88 /* WANT_READ if SSL connection needs more input; or WANT_WRITE if it
93 SSL connection. */
207 struct Connection *connection; local
209 connection = (struct Connection*)user_data;
210 connection->want_io = IO_NONE;
212 rv = write(connection->fd,
224 connection->want_io = WANT_WRITE
248 struct Connection *connection; local
610 struct Connection connection; local
    [all...]
test_request_response.c 89 struct Connection {
92 /* WANT_READ if SSL connection needs more input; or WANT_WRITE if it
97 SSL connection. */
210 struct Connection *connection; local
212 connection = (struct Connection*)user_data;
213 connection->want_io = IO_NONE;
215 rv = SSL_write(connection->ssl, data, length);
217 int err = SSL_get_error(connection->ssl, rv)
242 struct Connection *connection; local
648 struct Connection connection; local
    [all...]
  /external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
HttpURLConnectionImpl.java 20 import com.squareup.okhttp.Connection;
78 * currently connected. Instead, it indicates whether a connection has ever been
79 * attempted. Once a connection has been attempted, certain properties (request
107 * connected yet, or if the most recent connection was HTTP (and not HTTPS).
132 // Calling disconnect() before a connection exists should have no effect.
139 // connection will close its streams directly. If it doesn't, the worst
233 "Cannot access request header fields after connection is set");
462 Connection connection = httpEngine.getConnection(); local
463 if (connection != null)
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowSQLiteConnection.java 363 final SQLiteConnection connection = connectionsMap.get(connectionPtr); local
364 if (connection == null) {
365 throw new IllegalStateException("Illegal connection pointer " + connectionPtr
368 return connection;
374 // ensure connection is ok
390 final SQLiteConnection dbConnection = execute("open SQLite connection", new Callable<SQLiteConnection>() {
393 SQLiteConnection connection = useInMemoryDatabase.get() || IN_MEMORY_PATH.equals(path)
397 connection.open();
398 return connection;
415 final SQLiteConnection connection = getConnection(connectionPtr) local
431 final SQLiteConnection connection = getConnection(connectionPtr); 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...]
  /external/webrtc/webrtc/p2p/base/
turnport_unittest.cc 36 using cricket::Connection;
106 TestConnectionWrapper(Connection* conn) : connection_(conn) {
111 Connection* connection() { return connection_; } function in class:TestConnectionWrapper
114 void OnConnectionDestroyed(Connection* conn) {
119 Connection* connection_;
186 void OnTurnReadPacket(Connection* conn, const char* data, size_t size,
193 void OnUdpReadPacket(Connection* conn, const char* data, size_t size,
197 void OnConnectionDestroyed(Connection* conn) { connection_destroyed_ = true; }
284 void ConnectConnectionDestroyedSignal(Connection* conn)
    [all...]
  /frameworks/base/cmds/am/src/com/android/commands/am/
Instrument.java 449 UiAutomationConnection connection = null; local
452 connection = new UiAutomationConnection();
484 if (!mAm.startInstrumentation(cn, profileFile, flags, args, watcher, connection, userId,
  /frameworks/base/core/java/android/hardware/usb/
UsbManager.java 186 * made available on the USB connection. This variable will only be set when the user
410 UsbDeviceConnection connection = new UsbDeviceConnection(device); local
411 boolean result = connection.open(deviceName, pfd, mContext);
414 return connection;
838 * Sets the component that will handle USB device connection.
    [all...]
  /frameworks/base/core/java/android/speech/tts/
TextToSpeech.java 671 private Connection mConnectingServiceConnection;
672 private Connection mServiceConnection;
814 Connection connection = new Connection(); local
    [all...]
  /frameworks/base/core/java/android/view/accessibility/
AccessibilityInteractionClient.java 140 * Gets a cached accessibility service connection.
142 * @param connectionId The connection id.
143 * @return The cached connection if such.
152 * Adds a cached accessibility service connection.
154 * @param connectionId The connection id.
155 * @param connection The connection.
157 public static void addConnection(int connectionId, IAccessibilityServiceConnection connection) {
159 sConnectionCache.put(connectionId, connection);
164 * Removes a cached accessibility service connection
223 IAccessibilityServiceConnection connection = getConnection(connectionId); local
265 IAccessibilityServiceConnection connection = getConnection(connectionId); local
322 IAccessibilityServiceConnection connection = getConnection(connectionId); local
397 IAccessibilityServiceConnection connection = getConnection(connectionId); local
451 IAccessibilityServiceConnection connection = getConnection(connectionId); local
504 IAccessibilityServiceConnection connection = getConnection(connectionId); local
553 IAccessibilityServiceConnection connection = getConnection(connectionId); local
601 IAccessibilityServiceConnection connection = getConnection(connectionId); local
    [all...]
  /frameworks/base/core/jni/
android_database_SQLiteConnection.cpp 48 * If another connection (possibly in another process) has the database locked for
53 * have a single open connection at a time unless they are using WAL. When using
54 * WAL, a timeout could occur if one connection is busy performing an auto-checkpoint
95 SQLiteConnection* connection = static_cast<SQLiteConnection*>(data); local
97 connection->label.string(), sql);
102 SQLiteConnection* connection = static_cast<SQLiteConnection*>(data); local
104 connection->label.string(), sql, tm * 0.000001f);
109 SQLiteConnection* connection = static_cast<SQLiteConnection*>(data); local
110 return connection->canceled;
175 SQLiteConnection* connection = new SQLiteConnection(db, openFlags, path, label) local
190 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); local
261 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); local
285 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); local
298 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); local
329 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); local
377 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); local
388 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); local
399 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); local
410 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); local
425 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); local
439 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); local
464 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); local
472 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); local
481 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); local
499 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); local
511 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); local
561 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); local
679 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); local
781 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); local
790 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); local
796 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); local
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/
RemoteViewsAdapterTest.java 278 ServiceConnection connection = conn.get(); local
279 handler.get().post(() -> connection.onServiceConnected(null, factory.asBinder()));
  /frameworks/base/media/java/android/service/media/
MediaBrowserService.java 113 * All the info about a connection.
221 final ConnectionRecord connection = new ConnectionRecord();
222 connection.pkg = pkg;
223 connection.pid = pid;
224 connection.uid = uid;
225 connection.rootHints = rootHints;
226 connection.callbacks = callbacks;
228 mCurConnection = connection;
229 connection.root = MediaBrowserService.this.onGetRoot(pkg, uid, rootHints);
233 if (connection.root == null)
    [all...]
  /frameworks/base/services/core/java/com/android/server/media/
RemoteDisplayProviderProxy.java 39 * Maintains a connection to a particular remote display provider service.
52 // Connection state
55 private Connection mActiveConnection;
230 Connection connection = new Connection(provider); local
231 if (connection.register()) {
232 mActiveConnection = connection;
252 private void onConnectionReady(Connection connection) {
437 Connection connection = mConnectionRef.get(); local
    [all...]
  /frameworks/base/services/core/java/com/android/server/wallpaper/
WallpaperManagerService.java 867 WallpaperConnection connection; field in class:WallpaperManagerService.WallpaperData
    [all...]

Completed in 3252 milliseconds

<<11121314151617181920>>