/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
ImsExternalCallTracker.java | 24 import com.android.internal.telephony.Connection; 56 * Notifies that an unknown connection has been added. 57 * @param c The new unknown connection. 59 void notifyUnknownConnection(Connection c); 84 public void onPullExternalCall(ImsExternalConnection connection) { 85 Log.d(TAG, "onPullExternalCall: connection = " + connection); 90 mCallPuller.pullExternalCall(connection.getAddress(), connection.getVideoState(), 91 connection.getCallId()) 309 ImsExternalConnection connection = new ImsExternalConnection(mPhone, local 326 mExternalConnections.put(connection.getCallId(), connection); 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...] |
/cts/tests/tests/telecom3/src/android/telecom/cts/ |
SelfManagedAwareInCallServiceTest.java | 122 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); local 123 assertNotNull(connection); 131 connection.disconnectAndDestroy(); 146 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); local 147 assertNotNull(connection); 155 connection.disconnectAndDestroy(); 169 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); local 170 assertNotNull(connection); 184 // Set active from the connection side. 185 connection.setActive() [all...] |
/external/autotest/client/site_tests/platform_AddPrinter/ |
fake_printer.py | 29 (connection, client_address) = self.sock.accept() 34 data = connection.recv(_BUF_SIZE) 42 connection.close()
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/ |
ShutdownTest.java | 70 fail("Connection should be closed!"); 77 HttpURLConnection connection = (HttpURLConnection) new URL("http://localhost:8092/").openConnection(); local 79 connection.addRequestProperty("Connection", "keep-alive"); 80 InputStream in = connection.getInputStream();
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
HttpOverSpdyTest.java | 77 protected HttpURLConnection connection; field in class:HttpOverSpdyTest 100 connection = client.open(server.getUrl("/foo")); 101 assertContent("ABCDE", connection, Integer.MAX_VALUE); 102 assertEquals(200, connection.getResponseCode()); 103 assertEquals("Sweet", connection.getResponseMessage()); 114 connection = client.open(server.getUrl("/foo")); 115 assertEquals(-1, connection.getInputStream().read()); 123 connection = client.open(server.getUrl("/foo")); 124 connection.setDoOutput(true); 125 connection.setChunkedStreamingMode(0) [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...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
CdmaConference.java | 22 import android.telecom.Connection; 44 mProperties = Connection.PROPERTY_GENERIC_CONFERENCE; 51 capabilities |= Connection.CAPABILITY_MUTE; 56 * Invoked when the Conference and all it's {@link Connection}s should be disconnected. 72 public void onSeparate(Connection connection) { 93 mCapabilities &= ~Connection.CAPABILITY_MERGE_CONFERENCE; 96 mCapabilities |= Connection.CAPABILITY_SWAP_CONFERENCE; 104 final CdmaConnection connection = getFirstConnection(); local 105 if (connection != null) 114 final CdmaConnection connection = getFirstConnection(); 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...] |
/external/libmicrohttpd/src/examples/ |
digest_auth_example.c | 37 struct MHD_Connection *connection, 49 username = MHD_digest_auth_get_username(connection); 55 ret = MHD_queue_auth_fail_response(connection, realm, 62 ret = MHD_digest_auth_check(connection, realm, 75 ret = MHD_queue_auth_fail_response(connection, realm, 84 ret = MHD_queue_response(connection, MHD_HTTP_OK, response);
|
/external/libmicrohttpd/src/microhttpd/ |
test_postprocessor.c | 124 struct MHD_Connection connection; local 132 memset (&connection, 0, sizeof (struct MHD_Connection)); 134 connection.headers_received = &header; 138 pp = MHD_create_post_processor (&connection, 158 struct MHD_Connection connection; local 177 memset (&connection, 0, sizeof (struct MHD_Connection)); 179 connection.headers_received = &header; 184 pp = MHD_create_post_processor (&connection, 199 struct MHD_Connection connection; local 210 memset (&connection, 0, sizeof (struct MHD_Connection)) 232 struct MHD_Connection connection; local 267 struct MHD_Connection connection; local 302 struct MHD_Connection connection; local [all...] |
/frameworks/native/services/surfaceflinger/ |
EventThread.cpp | 92 return new Connection(const_cast<EventThread*>(this)); 96 const sp<EventThread::Connection>& connection) { 98 mDisplayEventConnections.add(connection); 103 void EventThread::removeDisplayEventConnectionLocked(const wp<EventThread::Connection>& connection) { 104 mDisplayEventConnections.remove(connection); 107 void EventThread::setVsyncRate(uint32_t count, const sp<EventThread::Connection>& connection) { 111 if (connection->count != new_count) 370 sp<Connection> connection = mDisplayEventConnections.itemAt(i).promote(); local [all...] |
/external/curl/docs/cmdline-opts/ |
connect-timeout.d | 3 Help: Maximum time allowed for connection 6 Maximum time in seconds that you allow curl's connection to take. This only 7 limits the connection phase, so if curl connects within the given period it
|
/external/libmicrohttpd/doc/examples/ |
simplepost.c | 46 send_page (struct MHD_Connection *connection, const char *page) 58 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); 95 request_completed (void *cls, struct MHD_Connection *connection, 116 answer_to_connection (void *cls, struct MHD_Connection *connection, 133 MHD_create_post_processor (connection, POSTBUFFERSIZE, 154 return send_page (connection, askpage); 170 return send_page (connection, con_info->answerstring); 173 return send_page (connection, errorpage);
|
/external/llvm/utils/bugpoint/ |
RemoteRunSafely.sh | 92 connection=$RUSER'@'$RHOST 96 $RCLIENT $connection $RPORT \
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
ThreadInterruptTest.java | 85 HttpURLConnection connection = new OkUrlFactory(client).open(server.getUrl("/")); local 86 connection.setDoOutput(true); 87 connection.setFixedLengthStreamingMode(requestBodySize); 88 OutputStream requestBody = connection.getOutputStream(); 99 connection.disconnect(); 112 HttpURLConnection connection = new OkUrlFactory(client).open(server.getUrl("/")); local 113 InputStream responseBody = connection.getInputStream(); 122 connection.disconnect();
|
/external/skia/tools/skiaserve/urlhandlers/ |
ClipAlphaHandler.cpp | 22 int ClipAlphaHandler::handle(Request* request, MHD_Connection* connection, 36 return SendOK(connection);
|
DataHandler.cpp | 22 int DataHandler::handle(Request* request, MHD_Connection* connection, 36 return SendData(connection, urlData->fData.get(), urlData->fContentType.c_str());
|
InfoHandler.cpp | 22 int InfoHandler::handle(Request* request, MHD_Connection* connection, 41 return SendData(connection, data.get(), "application/json");
|
OpBoundsHandler.cpp | 22 int OpBoundsHandler::handle(Request* request, MHD_Connection* connection, const char* url, 35 return SendOK(connection);
|
OpsHandler.cpp | 21 int OpsHandler::handle(Request* request, MHD_Connection* connection, const char* url, 35 return SendData(connection, data.get(), "application/json");
|
/external/skqp/tools/skiaserve/urlhandlers/ |
ClipAlphaHandler.cpp | 22 int ClipAlphaHandler::handle(Request* request, MHD_Connection* connection, 36 return SendOK(connection);
|
DataHandler.cpp | 22 int DataHandler::handle(Request* request, MHD_Connection* connection, 36 return SendData(connection, urlData->fData.get(), urlData->fContentType.c_str());
|
InfoHandler.cpp | 22 int InfoHandler::handle(Request* request, MHD_Connection* connection, 41 return SendData(connection, data.get(), "application/json");
|
OpBoundsHandler.cpp | 22 int OpBoundsHandler::handle(Request* request, MHD_Connection* connection, const char* url, 35 return SendOK(connection);
|