/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
SimulatorConnectionsBankImpl.java | 22 import android.telecom.Connection; 34 /** Wraps a list of connection tags and common methods around the connection tags list. */ 48 public void add(Connection connection) { 49 connectionTags.add(SimulatorSimCallManager.getConnectionTag(connection)); 53 public void remove(Connection connection) { 54 connectionTags.remove(SimulatorSimCallManager.getConnectionTag(connection)); 69 Collection<Connection> connections 91 SimulatorConnection connection = SimulatorSimCallManager.findConnectionByTag(connectionTag); local 102 SimulatorConnection connection = SimulatorSimCallManager.findConnectionByTag(connectionTag); local [all...] |
SimulatorRttCall.java | 22 import android.telecom.Connection; 78 public void onNewOutgoingConnection(@NonNull SimulatorConnection connection) { 79 if (isMyConnection(connection)) { 80 LogUtil.i("SimulatorRttCall.onNewOutgoingConnection", "connection created"); 81 handleNewConnection(connection); 83 // Telecom will force the connection to switch to Dialing when we return it. Wait until after 85 ThreadUtil.postOnUiThread(connection::setActive); 90 public void onNewIncomingConnection(@NonNull SimulatorConnection connection) { 91 if (isMyConnection(connection)) { 92 LogUtil.i("SimulatorRttCall.onNewIncomingConnection", "connection created") [all...] |
/external/libmicrohttpd/src/microhttpd/ |
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.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...] |
/external/clang/test/CodeGen/ |
2002-03-12-StructInitialize.c | 8 } Connection; 10 Connection link[3]
|
/development/samples/browseable/BasicNetworking/ |
_index.jd | 9 a network connection, and if so, what type of connection it is. 11 on the active connection, and then the connection type is printed to an on-screen console.
|
/external/honggfuzz/examples/apache-httpd/corpus_http2/ |
59c75dc2bfd08ce806040f9f669bfcd8.0000004b.honggfuzz.cov | 3 Connection: keep-alive
|
c702a9bab5acf6af589c4b5ad368d871.00000061.honggfuzz.cov | 3 Connection: k?.? DDDDDD-1??????????????
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
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...] |
WiredHeadsetTest.java | 21 import android.telecom.Connection; 44 final MockConnection connection = verifyConnectionForIncomingCall(); local 48 assertConnectionState(connection, Connection.STATE_RINGING); 52 assertConnectionState(connection, Connection.STATE_ACTIVE); 61 final MockConnection connection = verifyConnectionForIncomingCall(); local 65 assertConnectionState(connection, Connection.STATE_RINGING); 69 assertConnectionState(connection, Connection.STATE_DISCONNECTED) 78 final MockConnection connection = verifyConnectionForOutgoingCall(); local 100 final MockConnection connection = verifyConnectionForOutgoingCall(); local [all...] |
ExternalCallTest.java | 20 import android.telecom.Connection; 28 * Tests which verify functionality related to {@link android.telecom.Connection}s and 30 * {@link android.telecom.Connection#PROPERTY_IS_EXTERNAL_CALL} and 34 public static final int CONNECTION_PROPERTIES = Connection.PROPERTY_IS_EXTERNAL_CALL; 35 public static final int CONNECTION_CAPABILITIES = Connection.CAPABILITY_CAN_PULL_CALL; 48 public Connection onCreateOutgoingConnection( 51 Connection connection = super.onCreateOutgoingConnection( 54 mConnection = (MockConnection) connection; 55 // Modify the connection object created with local values [all...] |
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
SelfManagedConnectionService.java | 21 import android.telecom.Connection; 44 public Connection onCreateOutgoingConnection( 52 public Connection onCreateIncomingConnection(PhoneAccountHandle connectionManagerPhoneAccount, 80 private Connection createSelfManagedConnection(ConnectionRequest request, boolean isIncoming) { 81 SelfManagedConnection connection = new SelfManagedConnection(mCallList, local 83 connection.setListener(mCallList.getConnectionListener()); 84 connection.setConnectionProperties(Connection.PROPERTY_SELF_MANAGED); 85 connection.setAddress(request.getAddress(), TelecomManager.PRESENTATION_ALLOWED); 86 connection.setAudioModeIsVoip(true) [all...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
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/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/ |
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...] |
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...] |
/system/bt/vendor_libs/test_vendor_lib/src/ |
connection.cc | 17 #define LOG_TAG "connection" 19 #include "connection.h" 30 void Connection::AddAction(const TaskCallback& task) { actions_.push(task); } 32 // Model the quality of the downstream connection 33 void Connection::SendToDevice() { 42 void Connection::AddMessage(const vector<uint8_t>& data) { 46 // Model the quality of the upstream connection 47 bool Connection::ReceiveFromDevice(vector<uint8_t>& data) { 57 const std::string Connection::ToString() { 58 return "connection " + std::to_string(handle_) + " to " + dev_->ToString() [all...] |
/external/libbrillo/brillo/http/ |
http_connection_fake.cc | 18 Connection::Connection(const std::string& url, 21 : http::Connection(transport), request_(url, method) { 22 VLOG(1) << "fake::Connection created: " << method; 25 Connection::~Connection() { 26 VLOG(1) << "fake::Connection destroyed"; 29 bool Connection::SendHeaders(const HeaderList& headers, 35 bool Connection::SetRequestData(StreamPtr stream, 41 bool Connection::FinishRequest(brillo::ErrorPtr* /* error */) 65 auto connection = std::static_pointer_cast<Connection>(shared_from_this()); local [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/python/cpython2/Doc/includes/sqlite3/ |
countcursors.py | 3 class CountCursorsConnection(sqlite3.Connection): 5 sqlite3.Connection.__init__(self, *args, **kwargs) 10 return sqlite3.Connection.cursor(self, *args, **kwargs)
|
/external/python/cpython3/Doc/includes/sqlite3/ |
countcursors.py | 3 class CountCursorsConnection(sqlite3.Connection): 5 sqlite3.Connection.__init__(self, *args, **kwargs) 10 return sqlite3.Connection.cursor(self, *args, **kwargs)
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
CtsSelfManagedConnectionService.java | 4 import android.telecom.Connection; 21 void onDestroyed(CtsConnection connection) { 23 mConnections.remove(connection); 80 public Connection onCreateIncomingConnection(PhoneAccountHandle connectionManagerPhoneAccount, 86 public Connection onCreateOutgoingConnection(PhoneAccountHandle connectionManagerAccount, 91 private Connection createConnection(ConnectionRequest request, boolean isIncoming) { 94 CtsConnection connection = new CtsConnection(getApplicationContext(), isIncoming, local 96 connection.setConnectionCapabilities(Connection.CAPABILITY_SUPPORT_HOLD | 97 Connection.CAPABILITY_HOLD) [all...] |
/external/honggfuzz/examples/apache-httpd/corpus_http1/ |
c702a9bab5acf6af589c4b5ad368d871.00000061.honggfuzz.cov | 3 Connection: k?.? DDDDDD-1??????????????
|
/external/iptables/extensions/ |
libxt_CONNSECMARK.man | 12 If the packet has a security marking, copy it to the connection 13 if the connection is not marked. 16 If the packet does not have a security marking, and the connection 17 does, copy the security marking from the connection to the packet.
|
/external/python/cpython3/Lib/asyncio/ |
constants.py | 3 # After the connection is lost, log warnings after this many write()s.
|
/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,
|