HomeSort by relevance Sort by last modified time
    Searched refs:connection (Results 276 - 300 of 1578) sorted by null

<<11121314151617181920>>

  /packages/services/Car/service/src/com/android/car/
VmsPublisherService.java 198 PublisherConnection connection = new PublisherConnection(); local
199 if (publisherService.mContext.bindService(intent, connection,
201 mPublisherConnectionMap.put(publisherName, connection);
209 * Removes the publisher and associated connection.
223 PublisherConnection connection = mPublisherConnectionMap.get(publisherName); local
224 publisherService.mContext.unbindService(connection);
246 for (PublisherConnection connection : mPublisherConnectionMap.values()) {
247 publisherService.mContext.unbindService(connection);
  /packages/services/Telephony/src/com/android/services/telephony/
CdmaConnection.java 28 import com.android.internal.telephony.Connection;
65 * {@code True} if the CDMA connection should allow mute.
77 Connection connection,
82 super(connection, telecomCallId, isOutgoing);
85 mIsCallWaiting = connection != null && connection.getState() == Call.State.WAITING;
115 Connection connection = getOriginalConnection(); local
116 if (connection != null)
    [all...]
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
SQLiteCursorTest.java 13 import java.sql.Connection;
25 private Connection connection; field in class:SQLiteCursorTest
31 connection = DatabaseConfig.getMemoryConnection();
33 Statement statement = connection.createStatement();
44 connection.close();
214 PreparedStatement statement = connection.prepareStatement(sql);
234 PreparedStatement statement = connection.prepareStatement(sql);
335 connection.createStatement().executeUpdate(insert);
340 Statement statement = connection.createStatement(DatabaseConfig.getResultSetType(), ResultSet.CONCUR_READ_ONLY)
    [all...]
CursorAdapterTest.java 9 import java.sql.Connection;
38 Connection connection = DatabaseConfig.getMemoryConnection(); local
40 Statement statement = connection.createStatement();
51 connection.createStatement().executeUpdate(insert);
54 statement = connection.createStatement(DatabaseConfig.getResultSetType(), ResultSet.CONCUR_READ_ONLY);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
CarrierServiceBindHelper.java 138 private CarrierServiceConnection connection; field in class:CarrierServiceBindHelper.AppBinding
212 } else if (connection != null) {
213 // Component is unchanged and connection is up - do nothing, but cancel any
228 connection = new CarrierServiceConnection();
232 if (mContext.bindServiceAsUser(carrierService, connection,
257 if (connection == null) {
262 // Only let the binding linger if a delayed unbind is requested *and* the connection is
263 // currently active. If the connection is down, unbind immediately as the app is likely
266 if (immediate || !connection.connected) {
290 mContext.unbindService(connection);
    [all...]
  /external/libbrillo/brillo/http/
http_transport_curl.h 21 class Connection;
43 std::shared_ptr<http::Connection> CreateConnection(
54 RequestID StartAsyncTransfer(http::Connection* connection,
89 void OnTransferComplete(http::curl::Connection* connection,
93 // on a connection.
94 void CleanAsyncConnection(http::curl::Connection* connection);
118 // A map to find a corresponding Connection* using a request ID
    [all...]
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/libmicrohttpd/src/examples/
fileserver_example_external_select.c 50 struct MHD_Connection *connection,
82 ret = MHD_queue_response (connection, MHD_HTTP_NOT_FOUND, response);
96 ret = MHD_queue_response (connection, MHD_HTTP_OK, response);
  /external/libmicrohttpd/src/microhttpd/
daemon.c 37 #include "connection.h"
74 * Default connection limit.
83 * Default memory allowed per connection.
178 * Maintain connection count for single address.
212 * Lock shared structure for IP connection counts and connection DLLs.
221 MHD_PANIC ("Failed to acquire IP connection limit mutex\n");
227 * Unlock shared structure for IP connection counts and connection DLLs.
236 MHD_PANIC ("Failed to release IP connection limit mutex\n")
432 struct MHD_Connection* connection = (struct MHD_Connection*)bio->ptr; local
445 struct MHD_Connection* connection = (struct MHD_Connection*)bio->ptr; local
1353 struct MHD_Connection *connection; local
    [all...]
  /external/libmicrohttpd/src/testcurl/https/
test_https_session_info.c 23 * @brief Testcase for libmicrohttpd HTTPS connection querying operations
44 query_session_ahc (void *cls, struct MHD_Connection *connection,
60 (connection,
84 ret = MHD_queue_response (connection, MHD_HTTP_OK, response);
91 * negotiate a secure connection with server & query negotiated security parameters
  /external/libmojo/mojo/public/cpp/bindings/tests/
versioning_test_service.cc 104 bool OnConnect(Connection* connection) override {
105 connection->AddInterface<HumanResourceDatabase>(this);
110 void Create(Connection* connection,
113 // connection error.
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowSQLiteProgram.java 10 import java.sql.Connection;
19 Connection connection; field in class:ShadowSQLiteProgram
23 connection = Robolectric.shadowOf(db).getConnection();
26 actualDBstatement = connection.prepareStatement(sql,
  /frameworks/base/services/midi/java/com/android/server/midi/
MidiService.java 168 DeviceConnection connection = new DeviceConnection(device, this, callback); local
169 mDeviceConnections.put(connection.getToken(), connection); local
170 device.addDeviceConnection(connection);
175 DeviceConnection connection = mDeviceConnections.remove(token); local
176 if (connection != null) {
177 connection.getDevice().removeDeviceConnection(connection);
185 public void removeDeviceConnection(DeviceConnection connection) {
186 mDeviceConnections.remove(connection.getToken())
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
OldJarURLConnectionTest.java 162 JarURLConnection connection = (JarURLConnection) url.openConnection(); local
164 connection.connect();
171 connection.getJarFile();
231 JarURLConnection connection = (JarURLConnection) url.openConnection(); local
232 connection.setUseCaches(false);
233 connection.getInputStream();
234 InputStream in = connection.getInputStream();
235 JarFile jarFile1 = connection.getJarFile();
236 JarEntry jarEntry1 = connection.getJarEntry();
239 JarFile jarFile2 = connection.getJarFile()
    [all...]
  /packages/services/Car/obd2-lib/src/com/android/car/obd2/
Obd2LiveFrameGenerator.java 37 public Obd2LiveFrameGenerator(Obd2Connection connection)
39 mConnection = connection;
40 Set<Integer> connectionPids = connection.getSupportedPIDs();
  /tools/test/connectivity/acts/framework/acts/controllers/utils_lib/commands/
route.py 18 from acts.controllers.utils_lib.ssh import connection
63 except connection.CommandError as e:
174 except connection.CommandError as e:
  /cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/
TestUtils.java 96 fail("Connection to " + host + ":" + port + " succeeded");
110 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); local
112 connection.getInputStream();
113 fail("Connection to " + host + ":" + port + " succeeded");
121 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); local
122 connection.getInputStream();
142 fail("Connection to " + host + ":" + port + " succeeded");
  /external/apache-http/src/org/apache/http/impl/conn/tsccm/
BasicPoolEntry.java 44 * Basic implementation of a connection pool entry.
63 * @param op the connection operator
64 * @param route the planned route for the connection
79 return super.connection;
  /external/autotest/client/common_lib/cros/graphite/
statsd_mock_unittest.py 15 """Test mock class Connection"""
16 connection = statsd.Connection(host='host', port=1)
17 statsd.Connection.set_defaults(host='host', port=1)
  /external/libmojo/mojo/edk/js/test/
run_js_integration_tests.cc 48 TEST(JSTest, connection) {
  /external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/
AbstractResponseCache.java 35 @Override public CacheRequest put(URI uri, URLConnection connection) throws IOException {
  /external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/
UrlDownloaderTask.java 146 URLConnection connection = null; local
148 connection = mUrl.openConnection();
153 int contentLength = connection.getContentLength();
168 int bytesCopied = IoUtils.copy(connection.getInputStream(), mProgressReportingOutputStream);
  /frameworks/base/core/java/android/hardware/usb/
UsbRequest.java 62 // Prevent the connection from being finalized
92 public boolean initialize(UsbDeviceConnection connection, UsbEndpoint endpoint) {
94 mConnection = Preconditions.checkNotNull(connection, "connection");
96 boolean wasInitialized = native_init(connection, endpoint.getAddress(),
347 private native boolean native_init(UsbDeviceConnection connection, int ep_address,
  /external/libbrillo/brillo/glib/
dbus.h 56 DCHECK(object_) << "referencing an empty connection";
83 // Proxy has reference semantics and represents a connection to on object on
84 // the bus. A proxy object is constructed with a connection to a bus, a name
96 Proxy(const BusConnection& connection,
102 // Equivalent to Proxy(connection, name, path, interface, false).
103 Proxy(const BusConnection& connection,
109 Proxy(const BusConnection& connection,
138 BRILLO_PRIVATE static value_type GetGProxy(const BusConnection& connection,
145 const BusConnection& connection,
163 // supplied \param object at \param service_path on the \param connection
    [all...]
  /bionic/libc/kernel/uapi/linux/
ncp_fs.h 40 int connection; member in struct:ncp_fs_info
50 unsigned int connection; member in struct:ncp_fs_info_v2

Completed in 711 milliseconds

<<11121314151617181920>>