/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,
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
HttpsURLConnectionTest.java | 43 HttpsURLConnection connection = local 46 assertSame(originalHostnameVerifier, connection.getHostnameVerifier()); 48 connection.disconnect(); 54 connection = (HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).openConnection(); 56 assertSame(anotherVerifier, connection.getHostnameVerifier()); 58 connection.disconnect(); 62 connection = (HttpsURLConnection) new URL(UNRESOLVABLE_HTTPS_URL).openConnection(); 64 assertSame(originalHostnameVerifier, connection.getHostnameVerifier()); 66 connection.disconnect(); 79 HttpsURLConnection connection local [all...] |
/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 | 36 * Checks if the internet connection is available. 46 HttpURLConnection connection = null; local 48 connection = (HttpURLConnection) new URL(GENERATE_204).openConnection(); 49 connection.setInstanceFollowRedirects(false); 50 connection.setDefaultUseCaches(false); 51 connection.setUseCaches(false); 52 if (connection.getResponseCode() == HttpURLConnection.HTTP_NO_CONTENT) { 58 if (connection != null) { 59 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; 38 Connection.CAPABILITY_SUPPORT_HOLD | 39 Connection.CAPABILITY_HOLD | 40 Connection.CAPABILITY_MUTE | 41 Connection.CAPABILITY_MANAGE_CONFERENCE); 46 * Invoked when the Conference and all it's {@link Connection}s should be disconnected. 50 for (Connection connection : getConnections()) { 51 if (disconnectCall(connection)) { 58 * Disconnect the underlying Telephony Call for a connection 110 final TelephonyConnection connection = getFirstConnection(); local 121 final TelephonyConnection connection = getFirstConnection(); local 129 final TelephonyConnection connection = getFirstConnection(); local 137 final TelephonyConnection connection = getFirstConnection(); local [all...] |
ImsConferenceController.java | 25 import android.telecom.Connection; 58 * Ims conference controller connection listener. Used to respond to changes in state of the 61 private final Connection.Listener mConnectionListener = new Connection.Listener() { 63 public void onStateChanged(Connection c, int state) { 69 public void onDisconnected(Connection c, DisconnectCause disconnectCause) { 75 public void onDestroyed(Connection connection) { 76 remove(connection); 86 public void onConferenceSupportedChanged(Connection c, boolean isConferenceSupported) 326 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/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 | 19 import android.telecom.Connection; 42 * the {@link MockVideoProvider} is not created immediately when the Connection is created. 54 public Connection onCreateOutgoingConnection(PhoneAccountHandle connectionManagerPhoneAccount, 56 final MockConnection connection = new MockConnection(); local 57 connection.setAddress(request.getAddress(), CONNECTION_PRESENTATION); 58 connection.setPhoneAccountHandle(connectionManagerPhoneAccount); 59 connection.setConnectionCapabilities(Connection.CAPABILITY_SUPPORT_HOLD | 60 Connection.CAPABILITY_HOLD); 62 connection.createMockVideoProvider() 77 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...] |
/external/volley/src/main/java/com/android/volley/toolbox/ |
HurlStack.java | 103 HttpURLConnection connection = openConnection(parsedUrl, request); local 105 connection.addRequestProperty(headerName, map.get(headerName)); 107 setConnectionParametersForRequest(connection, request); 110 int responseCode = connection.getResponseCode(); 113 // Signal to the caller that something was wrong with the connection. 117 connection.getResponseCode(), connection.getResponseMessage()); 120 response.setEntity(entityFromConnection(connection)); 122 for (Entry<String, List<String>> header : connection.getHeaderFields().entrySet()) { 147 * @param connection 169 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); local 186 HttpURLConnection connection = createConnection(url); local [all...] |
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
SelfManagedConnectionService.java | 20 import android.telecom.Connection; 42 public Connection onCreateOutgoingConnection( 50 public Connection onCreateIncomingConnection(PhoneAccountHandle connectionManagerPhoneAccount, 67 private Connection createSelfManagedConnection(ConnectionRequest request, boolean isIncoming) { 68 SelfManagedConnection connection = new SelfManagedConnection(mCallList, local 70 connection.setListener(mCallList.getConnectionListener()); 71 connection.setConnectionProperties(Connection.PROPERTY_SELF_MANAGED); 72 connection.setAddress(request.getAddress(), TelecomManager.PRESENTATION_ALLOWED); 73 connection.setAudioModeIsVoip(true) [all...] |
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
DummyConnectionService.java | 20 import android.telecom.Connection; 30 * A simple connection service that hangs up automatically for incoming and outgoing call. 35 public Connection onCreateOutgoingConnection(PhoneAccountHandle connectionManagerPhoneAccount, 37 final DummyConnection connection = new DummyConnection(); local 38 connection.setAddress(request.getAddress(), TelecomManager.PRESENTATION_ALLOWED); 39 connection.setVideoState(request.getVideoState()); 40 hangUpAsync(connection); 41 return connection; 45 public Connection onCreateIncomingConnection(PhoneAccountHandle connectionManagerPhoneAccount, 47 final DummyConnection connection = new DummyConnection() 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...] |