Searched refs:connect (Results 1 - 25 of 96) sorted by relevance

1234

/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothPbap.aidl29 boolean connect(in BluetoothDevice device);
H A DIBluetoothA2dp.aidl28 boolean connect(in BluetoothDevice device);
H A DIBluetoothHeadset.aidl28 boolean connect(in BluetoothDevice device);
/frameworks/base/core/java/android/nfc/tech/
H A DTagTechnology.java63 * block or cause RF activity, and do not require {@link #connect} to have been called.
69 * <li>{@link #connect} must be called before using any other I/O operation.
72 * (including {@link #connect} with {@link IOException}.
74 * {@link #connect} will return {@link IOException}.
168 * @throws IOException if there is an I/O failure, or connect is canceled
170 public void connect() throws IOException; method in interface:TagTechnology
173 * Re-connect to the {@link Tag} associated with this connection. Reconnecting to a tag can be
182 * @see #connect()
185 * @throws IOException if there is an I/O failure, or connect is canceled
197 * @see #connect()
[all...]
H A DBasicTagTechnology.java52 throw new IllegalStateException("Call connect() first!");
71 public void connect() throws IOException { method in class:BasicTagTechnology
73 int errorCode = mTag.getTagService().connect(mTag.getServiceHandle(),
/frameworks/base/include/media/stagefright/
H A DOMXClient.h29 status_t connect();
/frameworks/base/core/java/android/net/
H A DLinkSocket.java59 * to connect to the given proxy.
135 * @param dstName the address of the remote host to connect to
136 * @param dstPort the port to connect to on the remote host
143 public void connect(String dstName, int dstPort, int timeout) method in class:LinkSocket
145 if (DBG) log("connect(dstName, dstPort, timeout) EX");
151 * @param dstName the address of the remote host to connect to
152 * @param dstPort the port to connect to on the remote host
157 public void connect(String dstName, int dstPort) method in class:LinkSocket
159 if (DBG) log("connect(dstName, dstPort, timeout) EX");
165 * @deprecated Use {@code connect(Strin
175 public void connect(SocketAddress remoteAddr, int timeout) method in class:LinkSocket
194 public void connect(SocketAddress remoteAddr) throws IOException { method in class:LinkSocket
205 public void connect(int timeout) throws IOException { method in class:LinkSocket
215 public void connect() throws IOException { method in class:LinkSocket
[all...]
H A DLocalSocket.java91 public void connect(LocalSocketAddress endpoint) throws IOException { method in class:LocalSocket
98 impl.connect(endpoint, 0);
241 public void connect(LocalSocketAddress endpoint, int timeout) method in class:LocalSocket
/frameworks/base/obex/javax/obex/
H A DObexTransport.java64 void connect() throws IOException; method in interface:ObexTransport
/frameworks/base/media/libstagefright/
H A DOMXClient.cpp31 status_t OMXClient::connect() { function in class:android::OMXClient
/frameworks/base/core/java/android/nfc/
H A DINfcTag.aidl29 int connect(int nativeHandle, int technology);
/frameworks/base/include/camera/
H A DICameraService.h44 virtual sp<ICamera> connect(const sp<ICameraClient>& cameraClient,
H A DICamera.h40 // connect new client with existing camera remote
41 virtual status_t connect(const sp<ICameraClient>& client) = 0;
/frameworks/base/core/java/com/android/internal/util/
H A DAsyncChannel.java45 * use the connect methods. The typical sequence of operations is:</p>
48 * <ol>For an asynchronous half connection client calls AsyncChannel#connect.</ol>
63 * use the connect methods. The typical sequence of operation is:</p>
66 * <ol>For an asynchronous full connection it calls AsyncChannel#connect</li>
82 * TODO: Consider simplifying where we have connect and fullyConnect with only one response
156 /** Error attempting to bind on a connect */
200 if (DBG) log("connect srcHandler to dst Package & class E");
220 if (DBG) log("connect srcHandler to dst Package & class X result=" + result);
245 * connect two local Handlers synchronously.
259 * Fully connect tw
291 public void connect(Context srcContext, Handler srcHandler, String dstPackageName, method in class:AsyncChannel
334 public void connect(Context srcContext, Handler srcHandler, Class<?> klass) { method in class:AsyncChannel
349 public void connect(Context srcContext, Handler srcHandler, Messenger dstMessenger) { method in class:AsyncChannel
393 public void connect(Context srcContext, Handler srcHandler, Handler dstHandler) { method in class:AsyncChannel
407 public void connect(AsyncService srcAsyncService, Messenger dstMessenger) { method in class:AsyncChannel
[all...]
/frameworks/base/libs/camera/
H A DICameraService.cpp58 // connect to camera service
59 virtual sp<ICamera> connect(const sp<ICameraClient>& cameraClient, int cameraId) function in class:android::BpCameraService
96 sp<ICamera> camera = connect(cameraClient, data.readInt32());
H A DCamera.cpp80 if (camera->connect(c) == NO_ERROR) {
100 // because we may be invoked by CameraService::Client::connect() and will
118 sp<Camera> Camera::connect(int cameraId) function in class:android::Camera
120 LOGV("connect");
124 c->mCamera = cs->connect(c, cameraId);
150 return c->connect(this);
/frameworks/base/services/surfaceflinger/
H A DSurfaceTextureLayer.cpp83 status_t SurfaceTextureLayer::connect(int api, function in class:android::SurfaceTextureLayer
85 status_t err = SurfaceTexture::connect(api,
H A DSurfaceTextureLayer.h54 virtual status_t connect(int api,
/frameworks/base/media/libstagefright/include/
H A DHTTPBase.h36 virtual status_t connect(
H A DChromiumHTTPDataSource.h33 virtual status_t connect(
H A DLiveSession.h42 void connect(
/frameworks/base/media/java/android/media/
H A DMediaScannerConnection.java47 private boolean mConnected; // true if connect() has been called since last disconnect()
112 public void connect() { method in class:MediaScannerConnection
215 * {@link #connect} on it, and calling {@link #scanFile} with the given
235 connection.connect();
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
H A DBandwidthEnforcementTestService.java40 * Test Service that tries to connect to the web via different methods and outputs the results to
91 * @return true if it was able to connect, false otherwise.
98 conn.connect();
115 * @return true if it was able to connect, false otherwise.
122 conn.connect();
138 * Tests to connect via sntp.
139 * @return true if it was able to connect, false otherwise.
151 * @return true if it was able to connect, false otherwise.
/frameworks/base/tests/CoreTests/android/core/
H A DSocketTest.java48 // Test for basic bind/connect/accept behavior.
194 // sock.connect(new InetSocketAddress(NON_EXISTING_ADDRESS, 80), timeout);
230 clntSckt.connect(scktAddrss, 5000);
245 // socket.connect() to return immediately.
264 client.connect(new InetSocketAddress(PACKAGE_DROPPING_ADDRESS, 1357));
283 fail("Socket connect still ongoing");
285 fail("Socket connect interrupted with wrong error: " + error.toString());
/frameworks/base/include/gui/
H A DISurfaceTexture.h108 // connect attempts to connect a client API to the SurfaceTexture. This
112 // This method will fail if the connect was previously called on the
118 virtual status_t connect(int api,
123 // ISurfaceTexture methods to fail except for getAllocator and connect.
124 // Successfully calling connect after this will allow the other methods to

Completed in 1990 milliseconds

1234