/external/clang/test/CodeGenCXX/ |
incomplete-member-function-pointer.cpp | 4 struct connection { struct 7 void (connection::*a)(fake_tuple) = &connection::bar; 9 void (connection::*b)(fake_tuple) = &connection::bar;
|
/external/libmicrohttpd/src/microhttpd/ |
connection_https.c | 30 #include "connection.h" 40 * @param connection connection to handshake on 46 run_tls_handshake (struct MHD_Connection *connection) 49 connection->last_activity = MHD_monotonic_time(); 50 if (connection->state == MHD_TLS_CONNECTION_INIT) 52 ret = SSL_accept (connection->tls_session); 55 /* set connection state to enable HTTP processing */ 56 connection->state = MHD_CONNECTION_INIT; 59 int error = SSL_get_error (connection->tls_session, ret) [all...] |
connection.h | 21 * @file connection.h 34 * Set callbacks for this connection to those for HTTP. 36 * @param connection connection to initialize 39 MHD_set_http_callbacks_ (struct MHD_Connection *connection); 43 * This function handles a particular connection when it has been 48 * @param connection connection to handle 50 * connection) 53 MHD_connection_handle_read (struct MHD_Connection *connection); [all...] |
connection.c | 22 * @file connection.c 30 #include "connection.h" 119 * @param connection connection to get values from 128 MHD_get_connection_values (struct MHD_Connection *connection, 135 if (NULL == connection) 138 for (pos = connection->headers_received; NULL != pos; pos = pos->next) 153 * connection (so that the #MHD_get_connection_values function will 163 * until the connection is closed. (The easiest way to do this is by 166 * @param connection the connection for which [all...] |
connection_https.h | 33 * Set connection callback function to be used through out 34 * the processing of this secure connection. 36 * @param connection which callbacks should be modified 39 MHD_set_https_callbacks (struct MHD_Connection *connection);
|
/external/skia/tools/skiaserve/ |
Response.h | 17 int SendOK(MHD_Connection* connection); 19 int SendError(MHD_Connection* connection, const char* msg); 21 int SendData(MHD_Connection* connection, const SkData* data, const char* type, 24 int SendTemplate(MHD_Connection* connection, bool redirect = false,
|
/external/skqp/tools/skiaserve/ |
Response.h | 17 int SendOK(MHD_Connection* connection); 19 int SendError(MHD_Connection* connection, const char* msg); 21 int SendData(MHD_Connection* connection, const SkData* data, const char* type, 24 int SendTemplate(MHD_Connection* connection, bool redirect = false,
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
GsmCdmaConnectionTest.java | 36 private GsmCdmaConnection connection; field in class:GsmCdmaConnectionTest 53 connection = null; 59 connection = new GsmCdmaConnection(mPhone, String.format( 63 String formattedDialStr = connection.formatDialString( 69 formattedDialStr = connection.formatDialString("+1 (700).555-41NN,;1234"); 75 connection = new GsmCdmaConnection(mPhone, String.format( 79 assertEquals(GsmCdmaCall.State.IDLE, connection.getState()); 80 assertEquals(Connection.PostDialState.NOT_STARTED, connection.getPostDialState()); 82 assertEquals(0, connection.getDisconnectTime()) [all...] |
/packages/apps/TV/src/com/android/tv/util/ |
NetworkUtils.java | 32 /** Checks if the internet connection is available. */ 41 HttpURLConnection connection = null; local 43 connection = (HttpURLConnection) new URL(GENERATE_204).openConnection(); 44 connection.setInstanceFollowRedirects(false); 45 connection.setDefaultUseCaches(false); 46 connection.setUseCaches(false); 47 if (connection.getResponseCode() == HttpURLConnection.HTTP_NO_CONTENT) { 53 if (connection != null) { 54 connection.disconnect();
|
/frameworks/native/services/sensorservice/ |
SensorRecord.h | 28 SensorRecord(const sp<const SensorEventConnection>& connection); 29 bool addConnection(const sp<const SensorEventConnection>& connection); 30 bool removeConnection(const wp<const SensorEventConnection>& connection); 33 void addPendingFlushConnection(const sp<const SensorEventConnection>& connection);
|
SensorRecord.cpp | 24 const sp<const SensorEventConnection>& connection) 26 mConnections.add(connection); 30 const sp<const SensorEventConnection>& connection) 32 if (mConnections.indexOf(connection) < 0) { 33 mConnections.add(connection); 40 const wp<const SensorEventConnection>& connection) 42 ssize_t index = mConnections.indexOf(connection); 49 if (*it == connection) { 59 const sp<const SensorEventConnection>& connection) { 60 mPendingFlushConnections.add(connection); [all...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
TelephonyConference.java | 20 import android.telecom.Connection; 40 Connection.CAPABILITY_SUPPORT_HOLD | 41 Connection.CAPABILITY_HOLD | 42 Connection.CAPABILITY_MUTE | 43 Connection.CAPABILITY_MANAGE_CONFERENCE); 49 * Invoked when the Conference and all it's {@link Connection}s should be disconnected. 53 for (Connection connection : getConnections()) { 54 if (disconnectCall(connection)) { 61 * Disconnect the underlying Telephony Call for a connection 113 final TelephonyConnection connection = getFirstConnection(); local 124 final TelephonyConnection connection = getFirstConnection(); local 132 final TelephonyConnection connection = getFirstConnection(); local 140 final TelephonyConnection connection = getFirstConnection(); local [all...] |
ImsConferenceController.java | 21 import android.telecom.Connection; 57 * Ims conference controller connection listener. Used to respond to changes in state of the 60 private final Connection.Listener mConnectionListener = new Connection.Listener() { 62 public void onStateChanged(Connection c, int state) { 68 public void onDisconnected(Connection c, DisconnectCause disconnectCause) { 74 public void onDestroyed(Connection connection) { 75 remove(connection); 85 public void onConferenceSupportedChanged(Connection c, boolean isConferenceSupported) 325 TelephonyConnection connection = it.next(); local [all...] |
TelephonyConferenceController.java | 32 import android.telecom.Connection; 48 private final Connection.Listener mConnectionListener = new Connection.Listener() { 50 public void onStateChanged(Connection c, int state) { 51 Log.v(this, "onStateChange triggered in Conf Controller : connection = "+ c 58 public void onDisconnected(Connection c, DisconnectCause disconnectCause) { 63 public void onDestroyed(Connection connection) { 64 remove(connection); 77 /** The TelephonyConference connection object. * [all...] |
CdmaConferenceController.java | 22 import android.telecom.Connection; 38 * say that we are in a conference call with {@link Connection#PROPERTY_GENERIC_CONFERENCE}. 51 private final Connection.Listener mConnectionListener = new Connection.Listener() { 53 public void onStateChanged(Connection c, int state) { 58 public void onDisconnected(Connection c, DisconnectCause disconnectCause) { 63 public void onDestroyed(Connection c) { 89 /** The CDMA conference connection object. */ 92 void add(final CdmaConnection connection) { 93 if (mCdmaConnections.contains(connection)) { [all...] |
/external/autotest/site_utils/stats/ |
mysql_stats_unittest.py | 17 connection = mock.Mock() 18 connection.Fetchall.return_value = [( 22 mysql_stats.QueryAndEmit(collections.defaultdict(lambda: 0), connection)
|
/external/cmockery/cmockery_0_1_2/src/example/ |
customer_database.c | 31 DatabaseConnection * const connection, 38 number_of_results = connection->query_database(connection, query_string,
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
ConnectionTest.java | 26 import android.telecom.Connection; 45 Connection connection = createConnection(lock); local 48 assertEquals(Connection.STATE_NEW, connection.getState()); 50 connection.setInitializing(); 52 assertEquals(Connection.STATE_INITIALIZING, connection.getState()); 54 connection.setInitialized(); 56 assertEquals(Connection.STATE_NEW, connection.getState()) 96 Connection connection = Connection.createFailedConnection( local 115 Connection connection = Connection.createCanceledConnection(); local 132 Connection connection = createConnection(lock); local 147 Connection connection = createConnection(lock); local 162 Connection connection = createConnection(lock); local 179 Connection connection = createConnection(lock); local 195 Connection connection = createConnection(lock); local 214 Connection connection = createConnection(lock); local 228 Connection connection = createConnection(lock); local 255 Connection connection = createConnection(lock); local 282 Connection connection = createConnection(lock); local 310 Connection connection = createConnection(lock); local 339 Connection connection = createConnection(lock); local 351 Connection connection = createConnection(lock); local 367 Connection connection = createConnection(lock); local 382 Connection connection = createConnection(lock); local 436 BasicConnection connection = new BasicConnection(); local [all...] |
MockConnectionService.java | 20 import android.telecom.Connection; 56 * the {@link MockVideoProvider} is not created immediately when the Connection is created. 68 public Connection onCreateOutgoingConnection(PhoneAccountHandle connectionManagerPhoneAccount, 70 final MockConnection connection = new MockConnection(); local 71 connection.setAddress(request.getAddress(), CONNECTION_PRESENTATION); 72 connection.setPhoneAccountHandle(connectionManagerPhoneAccount); 73 connection.setConnectionCapabilities(Connection.CAPABILITY_SUPPORT_HOLD | 74 Connection.CAPABILITY_HOLD); 76 connection.createMockVideoProvider() 99 final MockConnection connection = new MockConnection(); local [all...] |
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/ |
HttpsServiceConnectionSE.java | 21 * HttpsServiceConnectionSE is a service connection that uses a https url connection and requires explicit setting of 41 private HttpsURLConnection connection; field in class:HttpsServiceConnectionSE 49 * @param timeout the timeout for the connection in milliseconds 54 connection = (HttpsURLConnection) new URL(HttpsTransportSE.PROTOCOL, host, port, file) 60 connection.setConnectTimeout(timeout); 61 connection.setReadTimeout(timeout); // even if we connect fine we want to time out if we cant read anything.. 62 connection.setUseCaches(false); 63 connection.setDoOutput(true); 64 connection.setDoInput(true) [all...] |
ServiceConnectionSE.java | 19 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 35 * Connection for J2SE environments. 39 private HttpURLConnection connection; field in class:ServiceConnectionSE 43 * @param url the url to open the connection to. 56 * @param url the url to open the connection to. 57 * @param timeout the connection and read timeout for the http connection in milliseconds 65 connection = (proxy == null) 68 connection.setUseCaches(false); 69 connection.setDoOutput(true) [all...] |
/tools/test/connectivity/acts/framework/tests/controllers/sl4a_lib/ |
rpc_connection_test.py | 49 """Sets up a faked socket file from the mock connection.""" 70 connection = self.mock_rpc_connection() 71 connection._initiate_handshake = pass_on_init 72 connection.open() 85 connection = self.mock_rpc_connection(uid=1) 86 connection._initiate_handshake = pass_on_continue 87 connection.open() 95 connection = self.mock_rpc_connection() 96 connection._initiate_handshake( 99 self.assertEqual(connection.uid, 1 [all...] |
/external/volley/src/main/java/com/android/volley/toolbox/ |
HurlStack.java | 93 HttpURLConnection connection = openConnection(parsedUrl, request); local 95 connection.addRequestProperty(headerName, map.get(headerName)); 97 setConnectionParametersForRequest(connection, request); 99 int responseCode = connection.getResponseCode(); 102 // Signal to the caller that something was wrong with the connection. 107 return new HttpResponse(responseCode, convertHeaders(connection.getHeaderFields())); 110 return new HttpResponse(responseCode, convertHeaders(connection.getHeaderFields()), 111 connection.getContentLength(), inputStreamFromConnection(connection)); 145 * @param connection 162 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); local 179 HttpURLConnection connection = createConnection(url); local [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/network/ |
HttpUrlConnectionBuilderTests.java | 66 HttpURLConnection connection = builder.build(); local 67 assertEquals(8765, connection.getConnectTimeout()); 84 HttpURLConnection connection = builder.build(); local 85 assertEquals(8765, connection.getReadTimeout()); 92 HttpURLConnection connection = builder.build(); local 93 assertEquals("some-random-value", connection.getRequestProperty("some-random-key")); 99 HttpURLConnection connection = builder.build(); local 100 assertFalse(connection.getUseCaches()); 106 HttpURLConnection connection = builder.build(); local 107 connection.setUseCaches(false) 114 HttpURLConnection connection = builder.build(); local 123 HttpURLConnection connection = builder.build(); local 132 HttpURLConnection connection = builder.build(); local 141 HttpURLConnection connection = builder.build(); local 150 HttpURLConnection connection = builder.build(); local [all...] |
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/util/ |
AsyncHttpURLConnection.java | 64 HttpURLConnection connection = local 70 connection.setRequestMethod(method); 71 connection.setUseCaches(false); 72 connection.setDoInput(true); 73 connection.setConnectTimeout(HTTP_TIMEOUT_MS); 74 connection.setReadTimeout(HTTP_TIMEOUT_MS); 76 connection.addRequestProperty("origin", HTTP_ORIGIN); 80 connection.setDoOutput(true); 81 connection.setFixedLengthStreamingMode(postData.length); 84 connection.setRequestProperty("Content-Type", "text/plain; charset=utf-8") [all...] |