/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
HttpsURLConnectionTest.java | 73 // read/connection timeout value 121 * Checks if HTTPS connection performs initial SSL handshake with the server 123 * HTTP response. After HTTPS session if finished test checks connection 140 // create url connection to be tested 142 HttpsURLConnection connection = (HttpsURLConnection) url local 146 SSLSocket peerSocket = (SSLSocket) doInteraction(connection, ss); 148 // check the connection state 149 checkConnectionStateParameters(connection, peerSocket); 152 connection.connect(); 160 * Checks if HTTPS connection performs initial SSL handshake with the serve 182 HttpsURLConnection connection = (HttpsURLConnection) url local 220 HttpsURLConnection connection = (HttpsURLConnection) url local 265 HttpsURLConnection connection = (HttpsURLConnection) url local 306 HttpsURLConnection connection = (HttpsURLConnection) url local 344 HttpsURLConnection connection = (HttpsURLConnection) url local 394 HttpsURLConnection connection = (HttpsURLConnection) url local 436 HttpsURLConnection connection = (HttpsURLConnection) url local 472 HttpsURLConnection connection = (HttpsURLConnection) url local 507 HttpsURLConnection connection = (HttpsURLConnection) url local 544 HttpsURLConnection connection = (HttpsURLConnection) url local 589 HttpsURLConnection connection = (HttpsURLConnection) url local 626 HttpsURLConnection connection = (HttpsURLConnection) url local 678 HttpsURLConnection connection = (HttpsURLConnection) url local 714 HttpURLConnection connection = (HttpURLConnection) url local 754 HttpURLConnection connection = (HttpURLConnection) url local 1394 private HttpURLConnection connection; field in class:HttpsURLConnectionTest.ClientConnectionWork [all...] |
/external/bluetooth/bluez/gdbus/ |
watch.c | 40 static DBusHandlerResult message_filter(DBusConnection *connection, 66 DBusConnection *connection; member in struct:filter_data 81 static struct filter_data *filter_data_find(DBusConnection *connection, 95 if (connection != data->connection) 162 dbus_bus_add_match(data->connection, rule, &err); 185 dbus_bus_remove_match(data->connection, rule, &err); 196 static struct filter_data *filter_data_get(DBusConnection *connection, 207 if (filter_data_find(connection, NULL, NULL, NULL, NULL, NULL, NULL) == NULL) { 208 if (!dbus_connection_add_filter(connection, 352 DBusConnection *connection; local [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
Call.java | 67 public abstract List<Connection> getConnections(); 76 * @param c a Connection object 77 * @return true if the call contains the connection object passed in 79 public boolean hasConnection(Connection c) { 116 * Returns the Connection associated with this Call that was created 119 public Connection 123 Connection c; 124 Connection earliest = null; 133 c = (Connection) l.get(i); 159 Connection c = (Connection) l.get(i) [all...] |
/external/dbus/bus/ |
driver.c | 27 #include "connection.h" 40 static dbus_bool_t bus_driver_send_welcome_message (DBusConnection *connection, 98 bus_driver_send_service_lost (DBusConnection *connection, 117 if (!dbus_message_set_destination (message, bus_connection_get_name (connection)) || 127 if (!bus_transaction_send_from_driver (transaction, connection, message)) 141 bus_driver_send_service_acquired (DBusConnection *connection, 160 if (!dbus_message_set_destination (message, bus_connection_get_name (connection)) || 170 if (!bus_transaction_send_from_driver (transaction, connection, message)) 244 bus_driver_handle_hello (DBusConnection *connection, 257 if (bus_connection_is_active (connection)) [all...] |
/external/apache-http/src/org/apache/http/ |
ConnectionReuseStrategy.java | 37 * Interface for deciding whether a connection should be kept alive. 50 * Decides whether a connection can be kept open after a request. 52 * close the connection to correctly implement the HTTP protocol. 54 * keep the connection open for reuse with another request. 58 * connection, the original HTTP request, target host if known, 59 * number of times the connection has been reused already and so on. 61 * If the connection is already closed, <code>false</code> is returned. 62 * The stale connection check MUST NOT be triggered by a 63 * connection reuse strategy. 66 * The last response received over that connection [all...] |
/external/iptables/extensions/ |
libxt_ipvs.man | 1 Match IPVS connection properties. 4 packet belongs to an IPVS connection 24 VIP port of the controlling connection to match, e.g. 21 for FTP
|
/external/oauth/core/src/main/java/net/oauth/client/ |
URLConnectionClient.java | 36 * they do things like connection pooling. They also support reading the body 50 final URLConnection connection = url.openConnection(); local 51 connection.setDoInput(true); 52 if (connection instanceof HttpURLConnection) { 53 HttpURLConnection http = (HttpURLConnection) connection; 65 for (Map.Entry<String, List<String>> header : connection 77 && connection instanceof HttpURLConnection) { 80 connection.setRequestProperty(key, header.getValue()); 89 ((HttpURLConnection) connection) 92 connection.setDoOutput(true) [all...] |
/packages/apps/Settings/assets/html/en_us/ |
tethering_bluetooth_help.html | 21 <span class="style1">You can tether your Android device to your computer via a Bluetooth connection, to share your device's Internet connection with your computer</span> 23 <li>Bluetooth tethering works with any computer or other device that can obtain an Internet connection via Bluetooth</li><br>
|
/packages/apps/Phone/src/com/android/phone/ |
ManageConferenceUtils.java | 33 import com.android.internal.telephony.Connection; 142 public void updateManageConferencePanel(List<Connection> connections) { 156 Connection connection = (Connection) connections.get(i); local 157 updateManageConferenceRow(i, connection, canSeparate); 170 * @param connection the Connection corresponding to this caller. 177 final Connection connection, [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
EditingUtils.java | 43 * Append newText to the text field represented by connection. 46 public static void appendText(InputConnection connection, String newText) { 47 if (connection == null) { 52 connection.finishComposingText(); 56 CharSequence charBeforeCursor = connection.getTextBeforeCursor(1, 0); 63 connection.setComposingText(text, 1); 66 private static int getCursorPosition(InputConnection connection) { 67 if (null == connection) return INVALID_CURSOR_POSITION; 68 ExtractedText extracted = connection.getExtractedText( 77 * @param connection connection to the current text field [all...] |
/external/bluetooth/bluez/input/ |
main.c | 55 static DBusConnection *connection; variable 61 connection = dbus_bus_get(DBUS_BUS_SYSTEM, NULL); 62 if (connection == NULL) 67 if (input_manager_init(connection, config) < 0) { 68 dbus_connection_unref(connection); 82 dbus_connection_unref(connection);
|
/frameworks/base/telephony/java/com/android/internal/telephony/sip/ |
SipCallBase.java | 21 import com.android.internal.telephony.Connection; 30 protected List<Connection> connections = new ArrayList<Connection>(); 34 public List<Connection> getConnections() { 48 for (Iterator<Connection> it = connections.iterator(); it.hasNext(); ) { 49 Connection c = it.next();
|
/libcore/luni/src/main/java/javax/sql/ |
ConnectionPoolDataSource.java | 33 * Creates a connection to a database which can then be used as a pooled 34 * connection. 36 * @return a {@code PooledConnection} which represents the connection to the 44 * Creates a connection to a database, using the supplied user name and 45 * password, which can then be used as a pooled connection. 52 * @return a {@code PooledConnection} object which represents the connection
|
/external/webkit/LayoutTests/storage/indexeddb/ |
set_version_blocked-expected.txt | 1 An open connection blocks a separate connection's setVersion call
|
/external/apache-http/src/org/apache/http/conn/ |
ClientConnectionOperator.java | 47 * open or update the connection with the new socket. 52 * sockets. Creating a tunnelled connection through a proxy, however, 67 * Creates a new connection that can be operated. 69 * @return a new, unopened connection for use with this operator 76 * Opens a connection to the given target host. 78 * @param conn the connection to open 82 * @param context the context for the connection 83 * @param params the parameters for the connection 97 * Updates a connection with a layered secure connection [all...] |
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
p2ptransportchannel.h | 28 // P2PTransportChannel wraps up the state management of the connection between 32 // Bob are used to make a connection, repeat to make many connections). 65 // P2PTransportChannel manages the candidates and connection process to keep 91 // These are used by the connection monitor. 93 const std::vector<Connection *>& connections() const { return connections_; } 94 Connection* best_connection() const { return best_connection_; } 107 void SwitchBestConnectionTo(Connection* conn); 112 Connection* GetBestConnectionOnNetwork(talk_base::Network* network); 125 void OnConnectionStateChange(Connection *connection); [all...] |
port.h | 52 class Connection; 96 // In order to establish a connection to this Port (so that real data can be 140 typedef std::map<talk_base::SocketAddress, Connection*> AddressMap; 143 // Returns the connection to the given address or NULL if none exists. 144 Connection* GetConnection(const talk_base::SocketAddress& remote_addr); 146 // Creates a new connection to the given address. 148 virtual Connection* CreateConnection(const Candidate& remote_candidate, 151 // Called each time a connection is created. 152 sigslot::signal2<Port*, Connection*> SignalConnectionCreated; 155 // that of a connection or an address that has sent to us already [all...] |
/external/qemu/android/ |
adb-server.h | 30 * connection - An opaque pointer defining the connection between the host and 32 * host <-> guest connection. 34 typedef void (*adbguest_connect)(void* opaque, void* connection); 41 * connection - An opaque pointer defining the connection between the host and 43 * host <-> guest connection. 47 void* connection, 56 * connection - An opaque pointer defining the connection between the host an [all...] |
adb-qemud.c | 36 /* Waiting on a connection from ADB host. */ 41 /* Connection between ADB host and ADB guest is fully established. */ 56 /* Connection state. */ 67 * connection - An opaque pointer that identifies connection with the ADB host. 70 _adb_on_host_connected(void* opaque, void* connection) 76 adb_client, adb_client->opaque, connection); 87 D("Unexpected ADB host connection while state is %d", adb_client->state); 94 * connection - An opaque pointer that identifies connection with the ADB host [all...] |
/external/dbus/dbus/ |
dbus-bus.c | 32 #include "dbus-connection-internal.h" 41 * process to share the same connection to the bus daemon by storing 42 * the connection globally. 78 DBusConnection *connection; /**< Connection we're associated with */ member in struct:__anon5440 79 char *unique_name; /**< Unique name of this connection */ 104 * Global lock covering all BusData on any connection. The bet is 106 * for a per-connection lock, but it's tough to imagine it mattering 342 if (bus_connections[i] == bd->connection) 357 ensure_bus_data (DBusConnection *connection) 430 DBusConnection *connection; local [all...] |
/external/bluetooth/glib/gio/win32/ |
gwinhttpfileinputstream.c | 42 HINTERNET connection; member in struct:_GWinHttpFileInputStream 73 if (winhttp_stream->connection != NULL) 74 G_WINHTTP_VFS_GET_CLASS (winhttp_stream->file->vfs)->funcs->pWinHttpCloseHandle (winhttp_stream->connection); 102 * @connection: handle to the HTTP connection, as from WinHttpConnect() 109 HINTERNET connection, 118 stream->connection = connection; 175 if (winhttp_stream->connection != NULL) 176 G_WINHTTP_VFS_GET_CLASS (winhttp_stream->file->vfs)->funcs->pWinHttpCloseHandle (winhttp_stream->connection); [all...] |
/frameworks/base/core/java/android/view/accessibility/ |
AccessibilityInteractionClient.java | 94 // The connection cache is shared between all interrogating threads. 126 * @param connectionId The id of a connection for interacting with the system. 134 IAccessibilityServiceConnection connection = getConnection(connectionId); local 135 if (connection != null) { 137 final float windowScale = connection.findAccessibilityNodeInfoByAccessibilityId( 149 Log.w(LOG_TAG, "No connection for connection id: " + connectionId); 165 * @param connectionId The id of a connection for interacting with the system. 172 IAccessibilityServiceConnection connection = getConnection(connectionId); local 173 if (connection != null) 211 IAccessibilityServiceConnection connection = getConnection(connectionId); local 254 IAccessibilityServiceConnection connection = getConnection(connectionId); local 293 IAccessibilityServiceConnection connection = getConnection(connectionId); local [all...] |
/external/webkit/Source/WebKit2/PluginProcess/ |
WebProcessConnection.cpp | 38 PassRefPtr<WebProcessConnection> WebProcessConnection::create(CoreIPC::Connection::Identifier connectionIdentifier) 50 WebProcessConnection::WebProcessConnection(CoreIPC::Connection::Identifier connectionIdentifier) 52 m_connection = CoreIPC::Connection::createServerConnection(connectionIdentifier, this, RunLoop::main()); 92 // The last plug-in went away, close this connection. 100 void WebProcessConnection::didReceiveMessage(CoreIPC::Connection* connection, CoreIPC::MessageID messageID, CoreIPC::ArgumentDecoder* arguments) 113 pluginControllerProxy->didReceivePluginControllerProxyMessage(connection, messageID, arguments); 116 CoreIPC::SyncReplyMode WebProcessConnection::didReceiveSyncMessage(CoreIPC::Connection* connection, CoreIPC::MessageID messageID, CoreIPC::ArgumentDecoder* arguments, CoreIPC::ArgumentEncoder* reply) 121 return didReceiveSyncWebProcessConnectionMessage(connection, messageID, arguments, reply) [all...] |
/external/webkit/Source/WebKit2/UIProcess/ |
WebProcessProxy.h | 29 #include "Connection.h" 55 class WebProcessProxy : public RefCounted<WebProcessProxy>, CoreIPC::Connection::Client, ResponsivenessTimer::Client, ProcessLauncher::Client, ThreadLauncher::Client { 68 CoreIPC::Connection* connection() const function in class:WebKit::WebProcessProxy 128 // CoreIPC::Connection::Client 129 virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*); 130 virtual CoreIPC::SyncReplyMode didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, CoreIPC::ArgumentEncoder*); 131 virtual void didClose(CoreIPC::Connection*); 132 virtual void didReceiveInvalidMessage(CoreIPC::Connection*, CoreIPC::MessageID); 133 virtual void syncMessageSendTimedOut(CoreIPC::Connection*); [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/ |
HttpURLConnectionTest.java | 103 // this connection was closed, create new one: 131 * Selector will return the proxy, only if the connection 186 * method will be used for connection to the server 195 HttpURLConnection connection = (HttpURLConnection) url local 199 connection.setConnectTimeout(2000); 200 connection.setReadTimeout(2000); 211 connection.connect(); 217 assertTrue("Connection does not use proxy", connection.usingProxy()); 226 * will be used for connection to the serve 242 HttpURLConnection connection = local 284 HttpURLConnection connection = local [all...] |