HomeSort by relevance Sort by last modified time
    Searched defs:connection (Results 176 - 200 of 897) sorted by null

1 2 3 4 5 6 78 91011>>

  /frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/
RegisteredMediaRouteProvider.java 73 * Maintains a connection to a particular media route provider service.
86 private Connection mActiveConnection;
135 Connection connection = new Connection(messenger); local
136 if (connection.register()) {
137 mActiveConnection = connection;
159 return "Service connection " + mComponentName.flattenToShortString();
274 void onConnectionReady(Connection connection) {
676 Connection connection = mConnectionRef.get(); local
    [all...]
  /packages/apps/Dialer/java/com/android/voicemail/impl/imap/
ImapHelper.java 388 ImapConnection connection = imapStore.getConnection(); local
392 connection.sendCommand(String.format(Locale.US, command, newPin, oldPin), true);
393 return getChangePinResultFromImapResponse(connection.readResponse());
398 connection.destroyResponses();
403 ImapConnection connection = imapStore.getConnection(); local
407 connection.sendCommand(String.format(Locale.US, command, languageCode), true);
411 connection.destroyResponses();
416 ImapConnection connection = imapStore.getConnection(); local
419 connection.executeSimpleCommand(command, false);
423 connection.destroyResponses()
    [all...]
  /packages/services/Telephony/src/com/android/services/telephony/
ImsConference.java 26 import android.telecom.Connection;
27 import android.telecom.Connection.VideoProvider;
56 * An IMS conference call consists of a conference host connection and potentially a list of
57 * conference participants. The conference host connection represents the radio connection to the
58 * IMS conference server. Since it is not a connection to any one individual, it is not represented
60 * connection via a conference event package. Conference participant connections do not represent
65 * connection and is responsible for managing the conference participant connections which represent
74 private final Connection.Listener mParticipantListener = new Connection.Listener()
690 ConferenceParticipantConnection connection = local
702 ConferenceParticipantConnection connection = local
752 ConferenceParticipantConnection connection = new ConferenceParticipantConnection( local
    [all...]
  /cts/tests/tests/telecom/src/android/telecom/cts/
ExtendedInCallServiceTest.java 29 import android.telecom.Connection;
72 final MockConnection connection = verifyConnectionForOutgoingCall(); local
80 assertMuteState(connection, false);
85 assertMuteState(connection, true);
89 assertMuteState(connection, false);
99 final MockConnection connection = verifyConnectionForOutgoingCall(); local
130 assertAudioRoute(connection, CallAudioState.ROUTE_SPEAKER);
136 assertAudioRoute(connection, secondRoute);
159 final MockConnection connection = verifyConnectionForOutgoingCall(); local
166 assertDtmfString(connection, "");
192 final MockConnection connection = verifyConnectionForOutgoingCall(); local
219 final MockConnection connection = verifyConnectionForIncomingCall(); local
240 MockConnection connection = verifyConnectionForIncomingCall(0); local
262 MockConnection connection = verifyConnectionForIncomingCall(0); local
284 MockConnection connection = verifyConnectionForIncomingCall(0); local
391 final MockConnection connection = verifyConnectionForIncomingCall(); local
415 final MockConnection connection = verifyConnectionForIncomingCall(); local
438 final MockConnection connection = verifyConnectionForIncomingCall(); local
460 final MockConnection connection = verifyConnectionForIncomingCall(); local
499 final MockConnection connection = verifyConnectionForOutgoingCall(); local
587 final MockConnection connection = verifyConnectionForIncomingCall(); local
602 final MockConnection connection = verifyConnectionForOutgoingCall(); local
    [all...]
  /development/samples/RSSReader/src/com/example/android/rssreader/
RssReader.java 66 * <li>The worker thread opens a network connection for the rss data
307 // Standard code to make an HTTP connection.
309 URLConnection connection = url.openConnection(); local
310 connection.setConnectTimeout(10000);
312 connection.connect();
313 InputStream in = connection.getInputStream();
  /external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/
MockWebServerTest.java 86 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); local
87 connection.setRequestProperty("Accept-Language", "en-US");
88 InputStream in = connection.getInputStream();
90 assertEquals(HttpURLConnection.HTTP_OK, connection.getResponseCode());
105 URLConnection connection = server.getUrl("/").openConnection(); local
106 InputStream in = connection.getInputStream();
131 URLConnection connection = server.getUrl("/").openConnection(); local
132 InputStream in = connection.getInputStream();
143 URLConnection connection = server.getUrl("/").openConnection(); local
144 InputStream in = connection.getInputStream()
202 URLConnection connection = server.getUrl("\/").openConnection(); local
263 HttpURLConnection connection = (HttpURLConnection) server.getUrl("\/").openConnection(); local
288 URLConnection connection = server.getUrl("\/").openConnection(); local
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
Http1xStream.java 43 * A socket connection that can be used to send HTTP/1.1 messages. This class
103 RealConnection connection = streamAllocation.connection(); local
104 if (connection != null) connection.cancel();
149 // Wrap the input stream from the connection (rather than just returning
155 /** Returns true if this connection is closed. */
  /frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
ProxyServer.java 52 private static final String HEADER_CONNECTION = "connection";
53 private static final String HEADER_PROXY_CONNECTION = "proxy-connection";
64 private Socket connection; field in class:ProxyServer.ProxyConnection
66 private ProxyConnection(Socket connection) {
67 this.connection = connection;
73 String requestLine = getLine(connection.getInputStream());
76 connection.close();
97 connection.close();
111 connection.close()
    [all...]
  /frameworks/base/services/robotests/src/com/android/server/backup/transport/
TransportClientTest.java 154 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); local
156 connection.onServiceConnected(mTransportComponent, mTransportBinder);
167 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); local
171 connection.onServiceConnected(mTransportComponent, mTransportBinder);
182 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); local
183 connection.onServiceConnected(mTransportComponent, mTransportBinder);
219 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); local
220 verify(mContext).unbindService(eq(connection));
227 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); local
228 connection.onServiceConnected(mTransportComponent, mTransportBinder)
241 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); local
256 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); local
269 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); local
294 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); local
306 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); local
317 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); local
329 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); local
342 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); local
377 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); local
390 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); local
403 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); local
423 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); local
434 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); local
446 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); local
465 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); local
496 ServiceConnection connection = verifyBindServiceAsUserAndCaptureServiceConnection(mContext); local
    [all...]
  /frameworks/base/telecomm/java/android/telecom/
RemoteConference.java 71 * @param connection The {@link RemoteConnection} being added.
73 public void onConnectionAdded(RemoteConference conference, RemoteConnection connection) {}
79 * @param connection The {@link RemoteConnection} being removed.
81 public void onConnectionRemoved(RemoteConference conference, RemoteConnection connection) {}
145 private int mState = Connection.STATE_NEW;
164 for (RemoteConnection connection : mChildConnections) {
165 connection.setConference(null);
181 if (newState != Connection.STATE_ACTIVE &&
182 newState != Connection.STATE_HOLDING &&
183 newState != Connection.STATE_DISCONNECTED)
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
FtpURLConnectionTest.java 92 URLConnection connection = fileUrl.openConnection(); local
93 assertContents(fileContents, connection.getInputStream());
114 URLConnection connection = fileUrl.openConnection(); local
116 connection.getInputStream();
129 URLConnection connection = fileUrl.openConnection(); local
130 connection.setDoInput(false);
131 connection.setDoOutput(true);
132 OutputStream os = connection.getOutputStream();
142 URLConnection connection = fileUrl.openConnection(proxy); local
143 assertContents(fileContents, connection.getInputStream())
181 URLConnection connection = fileUrl.openConnection(proxy); local
205 URLConnection connection = fileUrl.openConnection(); local
226 URLConnection connection = url.openConnection(); local
    [all...]
  /packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/
UsbDeviceStateController.java 179 UsbDeviceConnection connection = openConnection(device); local
181 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MANUFACTURER,
183 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MODEL,
185 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_DESCRIPTION,
187 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_VERSION,
189 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_URI, request.uri);
190 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_SERIAL,
192 AoapInterface.sendAoapStart(connection);
199 connection.close();
208 connection.close()
    [all...]
  /bionic/libc/kernel/uapi/sound/
asound_fm.h 42 unsigned char connection; member in struct:snd_dm_fm_voice
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
CtsConnectionService.java 21 import android.telecom.Connection;
41 void onDestroyed(CtsConnection connection) {
43 mConnections.remove(connection);
106 public Connection onCreateOutgoingConnection(PhoneAccountHandle connectionManagerAccount,
113 public Connection onCreateIncomingConnection(PhoneAccountHandle connectionManagerPhoneAccount,
129 private Connection createManagedConnection(ConnectionRequest request, boolean isIncoming) {
135 CtsConnection connection = new CtsConnection(getApplicationContext(), isIncoming, local
138 connection.setConnectionProperties(Connection.PROPERTY_SELF_MANAGED);
140 connection.setConnectionCapabilities(Connection.CAPABILITY_SUPPORT_HOLD
    [all...]
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...]
  /development/samples/ToyVpn/src/com/example/android/toyvpn/
ToyVpnService.java 44 private static class Connection extends Pair<Thread, ParcelFileDescriptor> {
45 public Connection(Thread thread, ParcelFileDescriptor pfd) {
51 private final AtomicReference<Connection> mConnection = new AtomicReference<>();
64 // Create the intent to "configure" the connection (just start ToyVpnClient).
112 // Kick off a connection.
117 private void startConnection(final ToyVpnConnection connection) {
119 final Thread thread = new Thread(connection, "ToyVpnThread");
123 connection.setConfigureIntent(mConfigureIntent);
124 connection.setOnEstablishListener(new ToyVpnConnection.OnEstablishListener() {
129 setConnection(new Connection(thread, tunInterface))
    [all...]
  /development/samples/USB/MissileLauncher/src/com/android/missilelauncher/
MissileLauncherActivity.java 135 UsbDeviceConnection connection = mUsbManager.openDevice(device); local
136 if (connection != null && connection.claimInterface(intf, true)) {
138 mConnection = connection;
  /device/linaro/bootloader/edk2/OvmfPkg/Include/IndustryStandard/Xen/io/
xs_wire.h 20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
122 UINT32 connection; member in struct:xenstore_domain_interface
135 /* Valid values for the connection field */
  /external/apache-http/android/src/android/net/http/
CertificateChainValidator.java 105 * @param sslSocket The secure connection socket
110 HttpsConnection connection, SSLSocket sslSocket, String domain)
126 // update the SSL certificate associated with the connection
127 if (connection != null) {
129 connection.setCertificate(
  /external/autotest/database/
migrate.py 86 connection = None variable in class:MigrationManager
325 # reset connection back to real DB
  /external/kernel-headers/original/uapi/sound/
asound_fm.h 60 unsigned char connection; /* 0 for serial, 1 for parallel */ member in struct:snd_dm_fm_voice
  /external/libbrillo/brillo/http/
http_transport_curl.cc 31 // This is a class that stores connection data on particular CURL socket
80 // The socket file descriptor for the connection.
89 // connection.
94 // We store a connection here to make sure the object is alive for
96 std::shared_ptr<Connection> connection; member in struct:brillo::http::curl::Transport::AsyncRequestData
117 std::shared_ptr<http::Connection> Transport::CreateConnection(
124 std::shared_ptr<http::Connection> connection; local
130 return connection;
426 Connection* connection = nullptr; local
    [all...]
http_transport_fake.cc 35 std::shared_ptr<http::Connection> Transport::CreateConnection(
42 std::shared_ptr<http::Connection> connection; local
46 return connection;
57 connection =
58 std::make_shared<http::fake::Connection>(url, method, shared_from_this());
59 CHECK(connection) << "Unable to create Connection object";
60 if (!connection->SendHeaders(headers_copy, error))
61 connection.reset()
    [all...]
  /external/libdrm/exynos/
exynos_drm.h 25 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
65 * A structure for user connection request of virtual display.
67 * @connection: indicate whether doing connetion or not by user.
73 unsigned int connection; member in struct:drm_exynos_vidi_connection
  /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...]

Completed in 871 milliseconds

1 2 3 4 5 6 78 91011>>