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

1 2 3 4 5 67 8 91011>>

  /frameworks/base/services/core/jni/
com_android_server_tv_TvUinputBridge.cpp 193 NativeConnection* connection = NativeConnection::open(name.c_str(), uniqueId.c_str(), local
195 return reinterpret_cast<jlong>(connection);
199 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); local
200 delete connection;
204 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); local
206 connection->sendEvent(EV_MSC, MSC_ANDROID_TIME_SEC, timestamp / 1000L);
207 connection->sendEvent(EV_MSC, MSC_ANDROID_TIME_USEC, (timestamp % 1000L) * 1000L);
212 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); local
214 connection->sendEvent(EV_KEY, code, down ? 1 : 0);
222 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr) local
238 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); local
249 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); local
254 NativeConnection* connection = reinterpret_cast<NativeConnection*>(ptr); local
    [all...]
  /frameworks/native/libs/sensor/
SensorManager.cpp 233 sp<ISensorEventConnection> connection = local
235 if (connection == NULL) {
237 ALOGE("createEventQueue: connection is NULL.");
240 queue = new SensorEventQueue(connection);
296 ALOGE("Cannot find the handle in client direct connection table");
  /frameworks/native/services/surfaceflinger/tests/unittests/
EventThreadTest.cpp 50 class MockEventThreadConnection : public android::impl::EventThread::Connection {
53 : android::impl::EventThread::Connection(eventThread) {}
122 sp<MockEventThreadConnection> connection = new MockEventThreadConnection(mThread.get()); local
123 EXPECT_CALL(*connection, postEvent(_)).WillRepeatedly(Invoke(recorder.getInvocable()));
124 return connection;
198 // Signal that we want the next vsync event to be posted to the connection
211 // The interceptor should receive the event, as well as the connection.
217 // The interceptor should receive the event, but the the connection should
229 // Create a first connection, register it, and request a vsync rate of zero.
238 // However if there is another connection which wants events at a nonzero rate....
    [all...]
  /frameworks/support/lifecycle/service/src/androidTest/java/androidx/lifecycle/
ServiceLifecycleTest.java 102 ServiceConnection connection = bindToService(); local
104 InstrumentationRegistry.getTargetContext().unbindService(connection);
114 ServiceConnection connection = bindToService(); local
120 context.unbindService(connection);
136 ServiceConnection connection = bindToService(); local
148 context.unbindService(connection);
156 ServiceConnection connection = bindToService(); local
166 context.unbindService(connection);
180 ServiceConnection connection = bindToService(); local
195 context.unbindService(connection);
204 ServiceConnection connection = new ServiceConnection() { local
    [all...]
  /hardware/google/av/codec2/vndk/bufferpool/
Accessor.cpp 20 #include "Connection.h"
101 ALOGD("connection %lld closed on death", (long long)it->first);
118 sp<Connection> connection; local
122 ResultStatus status = connect(&connection, &connectionId, &fmqDesc, false);
124 _hidl_cb(status, connection, connectionId, *fmqDesc);
164 sp<Connection> *connection, ConnectionId *pConnectionId,
167 ResultStatus status = mImpl->connect(this, connection, pConnectionId, fmqDescPtr);
  /packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
ImapFolder.java 65 private ImapConnection connection; field in class:ImapFolder
85 if (connection != null) {
86 connection.destroyResponses();
96 connection = store.getConnection();
110 throw ioExceptionHandler(connection, ioe);
115 // Don't cache this connection, so we're forced to try connecting/login again
116 connection = null;
127 return exists && connection != null;
144 connection = null;
176 final String[] result = getSearchUids(connection.executeSimpleCommand(command))
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
MtpClient.java 194 UsbDeviceConnection connection = mUsbManager.openDevice(usbDevice); local
195 if (connection != null) {
197 if (mtpDevice.open(connection)) {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
HttpUrlConnectionBuilder.java 203 final HttpURLConnection connection = (HttpURLConnection) mUrl.openConnection(); local
204 connection.setConnectTimeout(mConnectTimeoutMillis);
205 connection.setReadTimeout(mReadTimeoutMillis);
206 connection.setUseCaches(mUseCache);
209 connection.setDoInput(true);
210 connection.setDoOutput(false);
213 connection.setDoInput(false);
214 connection.setDoOutput(true);
217 connection.setDoInput(true);
218 connection.setDoOutput(true)
    [all...]
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
DefaultSoftKeyboardEN.java 100 InputConnection connection = mWnn.getCurrentInputConnection(); local
101 if (connection != null) {
102 int caps = connection.getCursorCapsMode(editor.inputType);
  /packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
SelfManagedCallListAdapter.java 20 import android.telecom.Connection;
39 * Listener used to handle tap of the "disconnect" button for a connection.
45 SelfManagedConnection connection = (SelfManagedConnection) parent.getTag();
46 connection.setConnectionDisconnected(DisconnectCause.LOCAL);
47 SelfManagedCallList.getInstance().removeConnection(connection);
52 * Listener used to handle tap of the "active" button for a connection.
58 SelfManagedConnection connection = (SelfManagedConnection) parent.getTag();
59 connection.setConnectionActive();
65 * Listener used to handle tap of the "missed" button for a connection.
71 SelfManagedConnection connection = (SelfManagedConnection) parent.getTag()
154 SelfManagedConnection connection = mConnections.get(position); local
    [all...]
  /prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/
SDL_syswm.h 228 MirConnection *connection; /**< Mir display server connection */ member in struct:SDL_SysWMinfo::__anon263::__anon271
  /prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/
SDL_syswm.h 228 MirConnection *connection; /**< Mir display server connection */ member in struct:SDL_SysWMinfo::__anon372::__anon380
  /prebuilts/misc/windows/sdl2/include/
SDL_syswm.h 216 MirConnection *connection; /**< Mir display server connection */ member in struct:SDL_SysWMinfo::__anon450::__anon457
  /prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/
SDL_syswm.h 228 MirConnection *connection; /**< Mir display server connection */ member in struct:SDL_SysWMinfo::__anon545::__anon553
  /system/core/adb/
transport.h 48 // in the connection banner.
61 struct Connection {
62 Connection() = default;
63 Connection(const Connection& copy) = delete;
64 Connection(Connection&& move) = delete;
66 // Destroy a Connection. Formerly known as 'Close' in atransport.
67 virtual ~Connection() = default;
74 // Terminate a connection
137 std::unique_ptr<Connection> connection; member in class:atransport
    [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...]
  /packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
BitmapWorkerTask.java 221 HttpURLConnection connection = null; local
223 connection = (HttpURLConnection) url.openConnection();
224 connection.setConnectTimeout(SOCKET_TIMEOUT);
225 connection.setReadTimeout(READ_TIMEOUT);
226 InputStream in = new BufferedInputStream(connection.getInputStream());
232 if (connection != null) {
233 connection.disconnect();
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
ViewHierarchyScene.java 128 final ConnectionWidget connection = (ConnectionWidget) findWidget(edge); local
130 connection.bringToBack();
132 connection.setSourceAnchor(AnchorFactory.createRectangularAnchor(source));
137 final ConnectionWidget connection = (ConnectionWidget) findWidget(edge); local
139 connection.bringToBack();
141 connection.setTargetAnchor(AnchorFactory.createRectangularAnchor(target));
  /libcore/luni/src/test/java/libcore/java/net/
URLConnectionTest.java 339 HttpURLConnection connection = (HttpURLConnection) server.getUrl("/").openConnection(); local
340 assertNull(connection.getErrorStream());
346 HttpURLConnection connection = (HttpURLConnection) server.getUrl("/").openConnection(); local
347 assertEquals("A", readAscii(connection.getErrorStream(), Integer.MAX_VALUE));
351 // recycled connection doesn't get the unread tail of the first request's response.
430 .setBody("This connection won't pool properly")
432 server.enqueue(new MockResponse().setBody("This comes after a busted connection"));
435 assertContent("This connection won't pool properly", server.getUrl("/a").openConnection());
437 assertContent("This comes after a busted connection", server.getUrl("/b").openConnection());
438 // sequence number 0 means the HTTP socket connection was not reuse
551 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("\/foo").openConnection(); local
570 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("\/").openConnection(); local
592 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("\/").openConnection(); local
618 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("\/foo").openConnection(); local
667 HttpURLConnection connection = proxyConfig.connect(server, url); local
718 HttpsURLConnection connection = (HttpsURLConnection) proxyConfig.connect(server, url); local
760 HttpsURLConnection connection = (HttpsURLConnection) proxyConfig.connect(server, url); local
801 HttpsURLConnection connection = (HttpsURLConnection) proxyConfig.connect(server, url); local
883 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); local
932 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); local
971 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection( local
1022 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection( local
1054 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection( local
1069 HttpURLConnection connection = (HttpURLConnection) server.getUrl("\/").openConnection(); local
1129 HttpURLConnection connection = (HttpURLConnection) server.getUrl("\/").openConnection(); local
1148 HttpURLConnection connection = (HttpURLConnection) server.getUrl("\/").openConnection(); local
1161 HttpURLConnection connection = (HttpURLConnection) server.getUrl("\/").openConnection(); local
1255 URLConnection connection = server.getUrl("\/").openConnection(); local
1271 URLConnection connection = server.getUrl("\/").openConnection(); local
1290 URLConnection connection = server.getUrl("\/").openConnection(); local
1307 URLConnection connection = server.getUrl("\/").openConnection(); local
1332 URLConnection connection = server.getUrl("\/").openConnection(); local
1356 URLConnection connection = server.getUrl("\/").openConnection(); local
    [all...]
  /packages/services/Telecomm/src/com/android/server/telecom/
Call.java 38 import android.telecom.Connection;
89 /** Identifies extras changes which originated from a connection service. */
317 /** The caller display name (CNAP) set by the connection service. */
326 * The connection service which is attempted or already connecting this call.
449 * {@link #onConnectionEvent(String)} receives the {@link Connection#EVENT_ON_HOLD_TONE_START}
469 * For {@link Connection}s or {@link android.telecom.Conference}s added via a ConnectionManager
471 * Connection)} or {@link android.telecom.ConnectionService#addConference(Conference)},
475 * See {@link Connection#EXTRA_ORIGINAL_CONNECTION_ID} for more information.
481 * between the in-call app and the connection service. If both non-null, this call should be
528 * @param repository The connection service repository
    [all...]
  /cts/libs/testserver/src/android/webkit/cts/
TestWebServer.java 139 URLConnection connection = openConnection(url); local
140 connection.connect();
143 InputStream is = connection.getInputStream();
329 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); local
330 connection.setHostnameVerifier(new TestHostnameVerifier());
335 connection.setSSLSocketFactory(context.getSocketFactory());
337 return connection;
  /cts/tests/tests/net/src/android/net/wifi/cts/
WifiManagerTest.java 582 fail("This test requires a wifi network connection.");
585 // This will generate a distinct stack trace if the initial connection fails.
590 // Wait for a WiFi connection
597 HttpURLConnection connection = null; local
600 connection = (HttpURLConnection) url.openConnection();
601 connection.setInstanceFollowRedirects(false);
602 connection.setConnectTimeout(TIMEOUT_MSEC);
603 connection.setReadTimeout(TIMEOUT_MSEC);
604 connection.setUseCaches(false);
605 connection.getInputStream()
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
HttpOverSpdyTest.java 77 protected HttpURLConnection connection; field in class:HttpOverSpdyTest
100 connection = client.open(server.getUrl("/foo"));
101 assertContent("ABCDE", connection, Integer.MAX_VALUE);
102 assertEquals(200, connection.getResponseCode());
103 assertEquals("Sweet", connection.getResponseMessage());
114 connection = client.open(server.getUrl("/foo"));
115 assertEquals(-1, connection.getInputStream().read());
123 connection = client.open(server.getUrl("/foo"));
124 connection.setDoOutput(true);
125 connection.setChunkedStreamingMode(0)
    [all...]
  /frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/media/
RegisteredMediaRouteProvider.java 81 * Maintains a connection to a particular media route provider service.
94 private Connection mActiveConnection;
143 Connection connection = new Connection(messenger); local
144 if (connection.register()) {
145 mActiveConnection = connection;
167 return "Service connection " + mComponentName.flattenToShortString();
282 void onConnectionReady(Connection connection) {
684 Connection connection = mConnectionRef.get(); local
    [all...]
  /frameworks/base/core/java/android/accessibilityservice/
AccessibilityService.java 443 * Dispatches service connection to internal components first, then the
454 // The client gets to handle service connection last, after we've set
591 final IAccessibilityServiceConnection connection = local
593 if (connection != null) {
595 connection.disableSelf();
667 final IAccessibilityServiceConnection connection = local
670 if (connection == null) {
686 connection.sendGesture(mGestureStatusCallbackSequence,
850 final IAccessibilityServiceConnection connection = local
911 final IAccessibilityServiceConnection connection = local
940 final IAccessibilityServiceConnection connection = local
969 final IAccessibilityServiceConnection connection = local
1003 final IAccessibilityServiceConnection connection = local
1032 final IAccessibilityServiceConnection connection = local
1060 final IAccessibilityServiceConnection connection = local
1092 final IAccessibilityServiceConnection connection = local
1243 final IAccessibilityServiceConnection connection = local
1327 final IAccessibilityServiceConnection connection = local
1407 IAccessibilityServiceConnection connection = local
1456 IAccessibilityServiceConnection connection = local
1488 IAccessibilityServiceConnection connection = local
    [all...]

Completed in 1086 milliseconds

1 2 3 4 5 67 8 91011>>