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

1 2 3 4 5 6 7 8 91011>>

  /packages/apps/KeyChain/src/com/android/keychain/
KeyChainActivity.java 152 try (KeyChain.KeyChainConnection connection =
154 return connection.getService().isUserSelectable(alias);
508 KeyChain.KeyChainConnection connection = KeyChain.bind(KeyChainActivity.this); local
515 if (!mFromPolicy && (!connection.getService().isUserSelectable(mAlias))) {
520 connection.getService().setGrant(mSenderUid, mAlias, true);
522 connection.close();
  /packages/services/Car/car-usb-handler/src/android/car/usb/handler/
UsbDeviceHandlerResolver.java 73 public final UsbDeviceConnection connection; field in class:UsbDeviceHandlerResolver.DeviceContext
101 connection = UsbUtil.openConnection(mUsbManager, usbDevice);
487 if (AoapInterface.isSupported(deviceContext.connection)) {
518 UsbDeviceConnection connection = UsbUtil.openConnection(mUsbManager, device); local
521 connection,
531 connection.close();
659 Log.i(TAG, "Service connection timeout");
  /bionic/libc/kernel/uapi/linux/
ncp_fs.h 36 int connection; member in struct:ncp_fs_info
44 unsigned int connection; member in struct:ncp_fs_info_v2
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
cursor.c 81 pysqlite_Connection* connection; local
83 if (!PyArg_ParseTuple(args, "O!", &pysqlite_ConnectionType, &connection))
88 Py_INCREF(connection);
89 self->connection = connection;
114 if (!pysqlite_check_thread(self->connection)) {
118 if (!pysqlite_connection_register_cursor(connection, (PyObject*)self)) {
137 Py_XDECREF(self->connection);
179 if (!self->connection->detect_types) {
189 if (self->connection->detect_types & PARSE_COLNAMES) {
    [all...]
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
PacketDispatcher.java 40 * events through established JDWP connection and supports timeout for these
143 // if eventQueue is empty and connection is already closed
163 // if eventQueue is empty and connection is already
176 * This method is called when connection is closed. It notifies all the
188 * through connection and returns replies.
273 // if connection is already closed reraise the exception
302 // write this package to connection
303 connection.writePacket(command.toBytesArray());
306 // if connection is already closed reraise the exception
324 // if connection is already closed reraise the exceptio
448 private TransportWrapper connection; field in class:PacketDispatcher
    [all...]
  /external/dhcpcd-6.8.2/dbus/
rpc-dbus.c 53 static DBusConnection *connection; variable
359 success = dbus_connection_send(connection, msg, NULL);
435 success = dbus_connection_send(connection, msg, NULL);
558 if (connection != NULL) {
559 dbus_connection_ref(connection);
560 while (dbus_connection_dispatch(connection) ==
563 dbus_connection_unref(connection);
658 connection = dbus_bus_get(DBUS_BUS_SYSTEM, &err);
659 if (connection == NULL) {
663 syslog(LOG_ERR, "failed to get a dbus connection");
    [all...]
  /external/kernel-headers/original/uapi/linux/
ncp_fs.h 34 int connection; /* Connection number the server assigned us */ member in struct:ncp_fs_info
45 unsigned int connection; member in struct:ncp_fs_info_v2
  /external/libevent/
evrpc.c 503 static int evrpc_schedule_request(struct evhttp_connection *connection,
539 struct evhttp_connection *connection; local
555 while ((connection = TAILQ_FIRST(&pool->connections)) != NULL) {
556 TAILQ_REMOVE(&pool->connections, connection, next);
557 evhttp_connection_free(connection);
574 * Add a connection to the RPC pool. A request scheduled on the pool
575 * may use any available connection.
580 struct evhttp_connection *connection)
582 EVUTIL_ASSERT(connection->http_server == NULL);
583 TAILQ_INSERT_TAIL(&pool->connections, connection, next)
639 struct evhttp_connection *connection; local
720 struct evhttp_connection *connection = ctx->evcon; local
    [all...]
  /external/libmicrohttpd/src/examples/
demo.c 412 * Handle to connection that we're processing the upload for.
414 struct MHD_Connection *connection; member in struct:UploadContext
596 * @param connection connection handle
604 struct MHD_Connection *connection,
637 * @param connection connection to return the directory for
641 return_directory_response (struct MHD_Connection *connection)
647 ret = MHD_queue_response (connection,
651 ret = MHD_queue_response (connection,
    [all...]
demo_https.c 413 * Handle to connection that we're processing the upload for.
415 struct MHD_Connection *connection; member in struct:UploadContext
597 * @param connection connection handle
605 struct MHD_Connection *connection,
638 * @param connection connection to return the directory for
642 return_directory_response (struct MHD_Connection *connection)
648 ret = MHD_queue_response (connection,
652 ret = MHD_queue_response (connection,
    [all...]
  /external/libmicrohttpd/src/microhttpd/
postprocessor.c 121 * The connection for which we are doing
124 struct MHD_Connection *connection; member in struct:MHD_PostProcessor
138 * connection.
256 * @param connection the connection on which the POST is
272 MHD_create_post_processor (struct MHD_Connection *connection,
281 if ((buffer_size < 256) || (connection == NULL) || (iter == NULL))
283 encoding = MHD_lookup_connection_value (connection,
320 ret->connection = connection;
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Call.java 58 * {@link Response#body} method. To facilitate connection recycling, callers
219 @Override public Connection connection() { method in class:Call.ApplicationInterceptorChain
  /external/python/cpython2/Modules/_sqlite/
cursor.c 73 pysqlite_Connection* connection; local
75 if (!PyArg_ParseTuple(args, "O!", &pysqlite_ConnectionType, &connection))
80 Py_INCREF(connection);
81 self->connection = connection;
106 if (!pysqlite_check_thread(self->connection)) {
110 if (!pysqlite_connection_register_cursor(connection, (PyObject*)self)) {
127 Py_XDECREF(self->connection);
169 if (!self->connection->detect_types) {
178 if (self->connection->detect_types & PARSE_COLNAMES)
    [all...]
  /external/python/cpython3/Modules/_sqlite/
cursor.c 34 pysqlite_Connection* connection; local
36 if (!PyArg_ParseTuple(args, "O!", &pysqlite_ConnectionType, &connection))
41 Py_INCREF(connection);
42 self->connection = connection;
67 if (!pysqlite_check_thread(self->connection)) {
71 if (!pysqlite_connection_register_cursor(connection, (PyObject*)self)) {
88 Py_XDECREF(self->connection);
131 if (!self->connection->detect_types) {
140 if (self->connection->detect_types & PARSE_COLNAMES)
    [all...]
  /frameworks/base/media/java/android/mtp/
MtpDevice.java 38 * device and objects stored on it, as well as open the connection and transfer data.
54 /** Current connection to the {@link #mDevice}, or null if device is not connected */
73 * The connection will be closed when you call {@link #close()}
74 * The connection will also be closed if this method fails.
76 * @param connection an open {@link android.hardware.usb.UsbDeviceConnection} for the device
79 public boolean open(@NonNull UsbDeviceConnection connection) {
82 Context context = connection.getContext();
90 result = native_open(mDevice.getDeviceName(), connection.getFileDescriptor());
95 connection.close();
97 mConnection = connection;
    [all...]
  /frameworks/base/services/core/java/com/android/server/pm/
InstantAppResolver.java 121 InstantAppResolverConnection connection, InstantAppRequest requestObj) {
134 connection.getInstantAppResolveInfoList(sanitizedIntent,
161 Log.d(TAG, "[" + token + "] Phase1; service connection error");
175 InstantAppResolverConnection connection, InstantAppRequest requestObj,
226 connection.getInstantAppIntentFilterList(sanitizedIntent,
240 Log.d(TAG, "[" + token + "] Phase2; service connection error");
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
CarrierServiceBindHelper.java 138 private CarrierServiceConnection connection; field in class:CarrierServiceBindHelper.AppBinding
212 } else if (connection != null) {
213 // Component is unchanged and connection is up - do nothing, but cancel any
228 connection = new CarrierServiceConnection();
232 if (mContext.bindServiceAsUser(carrierService, connection,
257 if (connection == null) {
262 // Only let the binding linger if a delayed unbind is requested *and* the connection is
263 // currently active. If the connection is down, unbind immediately as the app is likely
266 if (immediate || !connection.connected) {
290 mContext.unbindService(connection);
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
ContextMap.java 45 * Connection class helps map connection IDs to device addresses.
47 class Connection {
53 Connection(int connId, String address, int appId) {
158 Set<Connection> mConnections = new HashSet<Connection>();
233 * Add a new connection for a given application ID.
239 mConnections.add(new Connection(connId, address, id));
245 * Remove a connection with the given ID.
249 Iterator<Connection> i = mConnections.iterator()
251 Connection connection = i.next(); local
266 Connection connection = i.next(); local
366 Connection connection = i.next(); local
378 Connection connection = ii.next(); local
397 Connection connection = i.next(); local
411 Connection connection = i.next(); local
423 Connection connection = i.next(); local
    [all...]
  /packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DrawableLoader.java 273 URLConnection connection = url.openConnection(); local
274 connection.setConnectTimeout(SOCKET_TIMEOUT);
275 connection.setReadTimeout(READ_TIMEOUT);
276 InputStream in = connection.getInputStream();
  /packages/apps/Nfc/nci/jni/
PeerToPeer.cpp 118 ** Description: Find a PeerToPeer object by connection handle.
141 ** Description: Find a PeerToPeer object by connection handle.
185 ** Description: Let a server start listening for peer's connection request.
186 ** jniHandle: Connection handle.
247 ** jniHandle: Connection handle.
421 ** connJniHandle: Connection handle.
504 ** Description: Create a P2pClient object for a new out-bound connection.
505 ** jniHandle: Connection handle.
565 ** Description: Free resources related to a connection.
566 ** jniHandle: Connection handle
1665 sp<NfaConn> connection = allocateConnection(connJniHandle); local
    [all...]
  /packages/services/Car/service/src/com/android/car/
VmsPublisherService.java 143 for (PublisherConnection connection : mPublisherConnectionMap.values()) {
144 mContext.unbindService(connection);
249 PublisherConnection connection = new PublisherConnection(name); local
250 if (mContext.bindServiceAsUser(intent, connection,
252 mPublisherConnectionMap.put(publisherName, connection);
259 * Removes the publisher and associated connection.
271 PublisherConnection connection = mPublisherConnectionMap.get(publisherName); local
272 mContext.unbindService(connection);
  /packages/services/Telecomm/src/com/android/server/telecom/
ServiceBinder.java 85 ServiceConnection connection = new ServiceBinderConnection(call); local
91 isBound = mContext.bindServiceAsUser(serviceIntent, connection, bindingFlags,
94 isBound = mContext.bindService(serviceIntent, connection, bindingFlags);
  /packages/services/Telephony/src/com/android/services/telephony/
CdmaConnection.java 28 import com.android.internal.telephony.Connection;
65 * {@code True} if the CDMA connection should allow mute.
77 Connection connection,
82 super(connection, telecomCallId, isOutgoing);
85 mIsCallWaiting = connection != null && connection.getState() == Call.State.WAITING;
115 Connection connection = getOriginalConnection(); local
116 if (connection != null)
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
ncp_fs.h 33 int connection; /* Connection number the server assigned us */ member in struct:ncp_fs_info
44 unsigned int connection; member in struct:ncp_fs_info_v2
  /tools/tradefederation/core/src/com/android/tradefed/util/net/
HttpHelper.java 161 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); local
162 connection.setRequestMethod(method);
164 connection.setRequestProperty("Content-Type", contentType);
166 connection.setDoInput(true);
167 connection.setDoOutput(true);
168 connection.setConnectTimeout(getOpTimeout()); // timeout for establishing the connection
169 connection.setReadTimeout(getOpTimeout()); // timeout for receiving a read() response
170 connection.setRequestProperty("User-Agent",
172 return connection;
    [all...]

Completed in 808 milliseconds

1 2 3 4 5 6 7 8 91011>>