/external/pdfium/fxjs/xfa/ |
cjx_connect.cpp | 27 void CJX_Connect::connection(CFXJSE_Value* pValue, function in class:CJX_Connect
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
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...] |
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...] |
SimulatorConferenceCreator.java | 22 import android.telecom.Connection; 105 public void onNewIncomingConnection(@NonNull SimulatorConnection connection) { 109 if (!simulatorConnectionsBank.isSimulatorConnection(connection)) { 110 LogUtil.i("SimulatorConferenceCreator.onNewOutgoingConnection", "unknown connection"); 113 LogUtil.i("SimulatorConferenceCreator.onNewOutgoingConnection", "connection created"); 114 connection.addListener(this); 115 // Once the connection is active, go ahead and conference it and add the next call. 118 connection.setActive(); 119 addNextCall(getCallCount(connection), shouldReconnect(connection)); [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
EnterSubject.java | 43 InputConnection connection = super.onCreateInputConnection(outAttrs); local 54 return connection;
|
/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...] |
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
UsbUtil.java | 35 UsbDeviceConnection connection = openConnection(usbManager, device); local 36 if (AoapInterface.isSupported(connection)) { 39 connection.close(); 49 public static void sendAoapAccessoryStart(UsbDeviceConnection connection, String manufacturer, 52 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MANUFACTURER, 54 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_MODEL, 56 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_DESCRIPTION, 58 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_VERSION, 60 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_URI, uri); 61 AoapInterface.sendString(connection, AoapInterface.ACCESSORY_STRING_SERIAL,serial) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
HttpsURLConnectionTest.java | 66 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); local 68 connection.getCipherSuite(); 82 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); local 84 connection.getLocalCertificates(); 124 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); local 126 connection.getLocalPrincipal(); 142 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); local 144 connection.getPeerPrincipal(); 165 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); local 167 connection.getServerCertificates() [all...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
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...] |
/cts/tests/tests/telecom3/src/android/telecom/cts/ |
SelfManagedAwareInCallServiceTest.java | 122 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); local 123 assertNotNull(connection); 131 connection.disconnectAndDestroy(); 146 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); local 147 assertNotNull(connection); 155 connection.disconnectAndDestroy(); 169 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); local 170 assertNotNull(connection); 184 // Set active from the connection side. 185 connection.setActive() [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/ |
HfpClientDeviceBlock.java | 24 import android.telecom.Connection; 90 synchronized Connection onCreateIncomingConnection(BluetoothHeadsetClientCall call) { 91 HfpClientConnection connection = mConnections.get(call.getUUID()); local 92 if (connection != null) { 93 connection.onAdded(); 94 return connection; 96 Log.e(mTAG, "Call " + call + " ignored: connection does not exist"); 101 Connection onCreateOutgoingConnection(Uri address) { 102 HfpClientConnection connection = buildConnection(null, address); local 103 if (connection != null) 111 HfpClientConnection connection = mConnections.get(call.getUUID()); local 151 HfpClientConnection connection = findConnectionKey(call); local 251 HfpClientConnection connection = null; local 259 mConnections.put(connection.getUUID(), connection); local [all...] |
/external/apache-http/src/org/apache/http/impl/conn/ |
AbstractPoolEntry.java | 47 * A pool entry for use by connection manager implementations. 50 * The adapter is handed out to applications that obtain a connection. 51 * The pool entry stores the underlying connection and tracks the 58 * underlying connection and the established route. 76 /** The connection operator. */ 79 /** The underlying connection being pooled or used. */ 80 protected final OperatedClientConnection connection; field in class:AbstractPoolEntry 83 //@@@ currently accessed from connection manager(s) as attribute 88 /** Connection state object */ 98 * @param connOperator the Connection Operator for this entr [all...] |
/frameworks/base/services/core/java/com/android/server/location/ |
GpsXtraDownloader.java | 117 HttpURLConnection connection = null; local 119 connection = (HttpURLConnection) (new URL(url)).openConnection(); 120 connection.setRequestProperty( 123 connection.setRequestProperty( 126 connection.setConnectTimeout(CONNECTION_TIMEOUT_MS); 127 connection.setReadTimeout(READ_TIMEOUT_MS); 129 connection.connect(); 130 int statusCode = connection.getResponseCode(); 136 try (InputStream in = connection.getInputStream()) { 152 if (connection != null) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
ImsExternalCallTracker.java | 24 import com.android.internal.telephony.Connection; 56 * Notifies that an unknown connection has been added. 57 * @param c The new unknown connection. 59 void notifyUnknownConnection(Connection c); 84 public void onPullExternalCall(ImsExternalConnection connection) { 85 Log.d(TAG, "onPullExternalCall: connection = " + connection); 90 mCallPuller.pullExternalCall(connection.getAddress(), connection.getVideoState(), 91 connection.getCallId()) 309 ImsExternalConnection connection = new ImsExternalConnection(mPhone, local 326 mExternalConnections.put(connection.getCallId(), connection); local [all...] |
/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...] |
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/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/output/ |
TcpServerOutput.java | 33 private TcpConnection connection; field in class:TcpServerOutput 59 connection = new TcpConnection( 62 connection.init(); 63 connection.run(); 82 if (connection != null) { 83 connection.close(); 90 if (connection != null) { 91 connection.writeExecutionData(reset);
|
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/internal/huc/ |
URLEncodingTest.java | 166 HttpURLConnection connection = new OkUrlFactory(client).open(url); local 167 connection.getResponseCode();
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
TestUtil.java | 95 final UsbDeviceConnection connection = usbManager.openDevice(device); local 99 connection.claimInterface(device.getInterface(i), true); 100 connection.releaseInterface(device.getInterface(i)); 102 connection.close();
|
/external/libmicrohttpd/src/microhttpd/ |
test_postprocessor_large.c | 62 struct MHD_Connection connection; local 75 memset (&connection, 0, sizeof (struct MHD_Connection)); 77 connection.headers_received = &header; 81 pp = MHD_create_post_processor (&connection, 1024, &value_checker, &pos);
|
/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/robolectric/v1/src/test/java/com/xtremelabs/robolectric/util/ |
NullDatabaseMapTest.java | 10 import java.sql.Connection; 42 Connection connection = null; local 47 connection = DatabaseConfig.getMemoryConnection(); 49 //since the connection should not actually be made 56 Assert.assertTrue(connection == null);
|
/frameworks/base/core/java/android/app/ |
ContentProviderHolder.java | 34 public IBinder connection; field in class:ContentProviderHolder 54 dest.writeStrongBinder(connection); 75 connection = source.readStrongBinder();
|
/hardware/intel/common/libmix/mix_audio/src/ |
amhelper.c | 4 static DBusGConnection *connection; variable 30 connection = dbus_g_bus_get(DBUS_BUS_SESSION, &error); 32 if (connection == NULL) { 33 mix_log(MIX_AUDIO_COMP, MIX_LOG_LEVEL_WARNING, "Failed to open connection to bus: %s\n", 38 mix_log(MIX_AUDIO_COMP, MIX_LOG_LEVEL_VERBOSE, "Successfully get a dbus connection\n"); 40 proxy_lpe = dbus_g_proxy_new_for_name(connection, name,
|
/libcore/benchmarks/src/benchmarks/regression/ |
HostnameVerifierBenchmark.java | 32 * This benchmark makes a real HTTP connection to a handful of hosts and 55 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); local 56 connection.setHostnameVerifier(new HostnameVerifier() { 67 connection.getInputStream(); 68 connection.disconnect();
|