/cts/tests/tests/telecom/src/android/telecom/cts/ |
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...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/ |
HfpClientConference.java | 21 import android.telecom.Connection; 38 Connection.CAPABILITY_SUPPORT_HOLD | Connection.CAPABILITY_HOLD | (manage 39 ? Connection.CAPABILITY_MANAGE_CONFERENCE : 0)); 50 public void onMerge(Connection connection) { 51 Log.d(TAG, "onMerge " + connection); 52 addConnection(connection); 56 public void onSeparate(Connection connection) { [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/ |
UsbDeviceTestActivity.java | 148 UsbDeviceConnection connection = mUsbManager.openDevice(device); 150 makeThisDeviceAnAccessory(connection); 152 connection.close(); 197 * @param connection The connection to the USB device 199 private void makeThisDeviceAnAccessory(@NonNull UsbDeviceConnection connection) { 200 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MANUFACTURER, 202 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MODEL, 204 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_DESCRIPTION, 206 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_VERSION, "2") 2061 UsbDeviceConnection connection = mUsbManager.openDevice(device); local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/ |
util.h | 29 #include "connection.h"
31 int pysqlite_step(sqlite3_stmt* statement, pysqlite_Connection* connection);
|
/external/curl/docs/cmdline-opts/ |
ssl-reqd.d | 6 Require SSL/TLS for the connection. Terminates the connection if the server
|
ssl.d | 7 Try to use SSL/TLS for the connection. Reverts to a non-secure connection if
|
/external/libxkbcommon/xkbcommon/xkbcommon/ |
xkbcommon-x11.h | 20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 142 * @param connection 143 * An XCB connection to the X server. 168 xkb_x11_setup_xkb_extension(xcb_connection_t *connection, 180 * @param connection An XCB connection to the X server. 186 xkb_x11_get_core_keyboard_device_id(xcb_connection_t *connection); 197 * @param connection 198 * An XCB connection to the X server. 211 xcb_connection_t *connection, [all...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
TelephonyConnectionServiceProxy.java | 20 import android.telecom.Connection; 30 Collection<Connection> getAllConnections(); 33 void removeConnection(Connection connection); 35 Connection connection); 37 Connection connection, Conference conference); 38 void addConnectionToConferenceController(TelephonyConnection connection);
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
NetworkUriImageRequest.java | 49 // that connection open. There is no good way to perform this method. 57 HttpURLConnection connection = null; local 60 connection = (HttpURLConnection) url.openConnection(); 61 connection.connect(); 62 if (connection.getResponseCode() == HttpURLConnection.HTTP_OK) { 63 return ContentType.IMAGE_GIF.equalsIgnoreCase(connection.getContentType()); 74 if (connection != null) { 75 connection.disconnect(); 88 HttpURLConnection connection = null; local 91 connection = (HttpURLConnection) url.openConnection() [all...] |
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
CacheAdapterTest.java | 65 private HttpURLConnection connection; field in class:CacheAdapterTest 73 if (connection != null) { 74 connection.disconnect(); 95 connection = new OkUrlFactory(client).open(serverUrl); 96 connection.setRequestProperty("key1", "value1"); 98 executeGet(connection); 120 connection = new OkUrlFactory(client).open(serverUrl); 121 connection.setRequestProperty("key1", "value1"); 123 executeGet(connection); 136 @Override public CacheRequest put(URI uri, URLConnection connection) throws IOException [all...] |
/external/libmicrohttpd/src/examples/ |
mhd2spdy_spdy.c | 21 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 146 struct SPDY_Connection *connection; local 148 connection = (struct SPDY_Connection*)user_data; 149 connection->want_io = IO_NONE; 164 if(connection->is_tls) 167 rv = SSL_write(connection->ssl, data, length); 169 int err = SSL_get_error(connection->ssl, rv); 171 connection->want_io |= (err == SSL_ERROR_WANT_READ ? 181 rv = write(connection->fd, 193 connection->want_io |= WANT_WRITE 228 struct SPDY_Connection *connection; local 730 struct SPDY_Connection * connection = NULL; local 848 struct SPDY_Connection *connection; local 990 struct SPDY_Connection *connection; local [all...] |
mhd2spdy_http.h | 32 struct MHD_Connection *connection, 50 struct MHD_Connection *connection,
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
SimulatorConnectionService.java | 22 import android.telecom.Connection; 39 /** Simple connection provider to create phone calls. This is useful for emulators. */ 73 public Connection onCreateOutgoingConnection( 86 SimulatorConnection connection = new SimulatorConnection(this, request); local 88 simulatorConnectionsBank.add(connection); 89 connection.setAddress( 94 connection.setDialing(); 101 listener.onNewOutgoingConnection(connection); 104 connection.setAddress(request.getAddress(), 1); 105 Bundle extras = connection.getExtras() 129 SimulatorConnection connection = new SimulatorConnection(this, request); local [all...] |
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...] |
NonSimulatorConnectionListener.java | 20 import android.telecom.Connection.RttModifyStatus; 31 public void onEvent(@NonNull SimulatorConnection connection, @NonNull Event event) { 39 connection.setDisconnected(new DisconnectCause(DisconnectCause.REJECTED)); 42 connection.setOnHold(); 46 connection.setActive(); 49 connection.setDisconnected(new DisconnectCause(DisconnectCause.LOCAL)); 52 ThreadUtil.postDelayedOnUiThread(() -> connection.handleSessionModifyRequest(event), 2000); 57 connection.sendRttInitiationSuccess(); 59 connection.sendRttInitiationFailure(RttModifyStatus.SESSION_MODIFY_REQUEST_FAIL);
|
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...] |
SimulatorVideoCall.java | 23 import android.telecom.Connection; 67 Connection.CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL 68 | Connection.CAPABILITY_SUPPORTS_VT_REMOTE_BIDIRECTIONAL; 96 public void onNewOutgoingConnection(@NonNull SimulatorConnection connection) { 97 if (connection.getExtras().getBoolean(connectionTag)) { 98 LogUtil.i("SimulatorVideoCall.onNewOutgoingConnection", "connection created"); 99 handleNewConnection(connection); 100 // Telecom will force the connection to switch to Dialing when we return it. Wait until after 102 ThreadUtil.postOnUiThread(() -> connection.setActive()); 107 public void onNewIncomingConnection(@NonNull SimulatorConnection connection) { [all...] |
/external/autotest/frontend/afe/ |
readonly_connection.py | 19 If disabled, connection() will return the global connection instead of the 20 readonly connection. 27 def connection(): function 28 """Return a readonly database connection.""" 35 """Return a cursor on the readonly database connection.""" 36 return connection().cursor()
|
/external/libmicrohttpd/src/microhttpd/ |
basicauth.c | 39 * @param connection The MHD connection structure 46 MHD_basic_auth_get_username_password (struct MHD_Connection *connection, 54 if ( (NULL == (header = MHD_lookup_connection_value (connection, 63 MHD_DLOG (connection->daemon, 72 MHD_DLOG(connection->daemon, 90 MHD_DLOG(connection->daemon, 109 * @param connection The MHD connection structure 116 MHD_queue_basic_auth_fail_response (struct MHD_Connection *connection, [all...] |
/external/skia/tools/skiaserve/ |
Response.cpp | 44 int SendOK(MHD_Connection* connection) { 50 int ret = MHD_queue_response(connection, 200, response); 55 int SendError(MHD_Connection* connection, const char* msg) { 59 int ret = MHD_queue_response(connection, 500, response); 64 int SendData(MHD_Connection* connection, const SkData* data, const char* type, 75 int ret = MHD_queue_response(connection, MHD_HTTP_OK, response); 80 int SendTemplate(MHD_Connection* connection, bool redirect, const char* redirectUrl) { 96 int ret = MHD_queue_response(connection, status, response);
|
/external/skia/tools/skiaserve/urlhandlers/ |
RootHandler.cpp | 21 int RootHandler::handle(Request* request, MHD_Connection* connection, 24 return SendTemplate(connection);
|
/external/skqp/tools/skiaserve/ |
Response.cpp | 44 int SendOK(MHD_Connection* connection) { 50 int ret = MHD_queue_response(connection, 200, response); 55 int SendError(MHD_Connection* connection, const char* msg) { 59 int ret = MHD_queue_response(connection, 500, response); 64 int SendData(MHD_Connection* connection, const SkData* data, const char* type, 75 int ret = MHD_queue_response(connection, MHD_HTTP_OK, response); 80 int SendTemplate(MHD_Connection* connection, bool redirect, const char* redirectUrl) { 96 int ret = MHD_queue_response(connection, status, response);
|
/external/skqp/tools/skiaserve/urlhandlers/ |
RootHandler.cpp | 21 int RootHandler::handle(Request* request, MHD_Connection* connection, 24 return SendTemplate(connection);
|
/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. 38 public Connection onCreateOutgoingConnection(PhoneAccountHandle connectionManagerPhoneAccount, 40 final DummyConnection connection = new DummyConnection(); local 41 connection.setAddress(request.getAddress(), TelecomManager.PRESENTATION_ALLOWED); 42 connection.setVideoState(request.getVideoState()); 43 hangUpAsync(connection); 44 return connection; 48 public Connection onCreateIncomingConnection(PhoneAccountHandle connectionManagerPhoneAccount, 50 final DummyConnection connection = new DummyConnection() local [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...] |