Searched defs:connect (Results 1 - 25 of 34) sorted by relevance

12

/frameworks/base/media/libstagefright/
H A DOMXClient.cpp31 status_t OMXClient::connect() { function in class:android::OMXClient
/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);
H A DICamera.cpp245 virtual status_t connect(const sp<ICameraClient>& cameraClient) function in class:android::BpCamera
398 reply->writeInt32(connect(cameraClient));
/frameworks/base/obex/javax/obex/
H A DObexTransport.java64 void connect() throws IOException; method in interface:ObexTransport
H A DClientSession.java72 public HeaderSet connect(final HeaderSet header) throws IOException { method in class:ClientSession
/frameworks/base/core/java/android/nfc/tech/
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(),
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...]
/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,
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothA2dp.java158 public boolean connect(BluetoothDevice device) { method in class:BluetoothA2dp
159 if (DBG) log("connect(" + device + ")");
163 return mService.connect(device);
H A DBluetoothInputDevice.java69 * Return codes for the connect and disconnect Bluez / Dbus calls.
145 public boolean connect(BluetoothDevice device) { method in class:BluetoothInputDevice
146 if (DBG) log("connect(" + device + ")");
H A DBluetoothPan.java90 * Return codes for the connect and disconnect Bluez / Dbus calls.
164 public boolean connect(BluetoothDevice device) { method in class:BluetoothPan
165 if (DBG) log("connect(" + device + ")");
H A DBluetoothHeadset.java273 public boolean connect(BluetoothDevice device) { method in class:BluetoothHeadset
274 if (DBG) log("connect(" + device + ")");
278 return mService.connect(device);
603 * Create the connect thread for the incoming connection.
H A DHeadsetBase.java197 public boolean connect(Handler handler) { method in class:HeadsetBase
207 * Returns true when either the asynchronous connect is in progress, or
208 * the connect is complete. Call waitForAsyncConnect() to find out whether
209 * the connect is actually complete, or disconnect() to cancel.
223 * Returns 1 when an async connect is complete, 0 on timeout, and -1 on
225 * the async connect.
H A DBluetoothSocket.java48 * Then call {@link #connect()} to attempt a connection to the remote device.
118 * @param device remote device that this socket can connect to
164 * @param address remote device that this socket can connect to
185 * Attempt to connect to a remote device.
201 public void connect() throws IOException { method in class:BluetoothSocket
/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
H A DLocalSocketImpl.java231 protected void connect(LocalSocketAddress address, int timeout) method in class:LocalSocketImpl
/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/libs/gui/
H A DISurfaceTexture.cpp192 virtual status_t connect(int api, function in class:android::BpSurfaceTexture
324 status_t res = connect(api,
/frameworks/base/media/libstagefright/chromium_http/
H A DChromiumHTTPDataSource.cpp58 status_t ChromiumHTTPDataSource::connect( function in class:android::ChromiumHTTPDataSource
68 LOG_PRI(ANDROID_LOG_VERBOSE, LOG_TAG, "connect on behalf of uid %d", uid);
82 LOG_PRI(ANDROID_LOG_INFO, LOG_TAG, "connect to %s @%lld", uri, offset);
85 "connect to <URL suppressed> @%lld", offset);
/frameworks/base/services/java/com/android/server/pm/
H A DInstaller.java43 private boolean connect() { method in class:Installer
54 mSocket.connect(address);
149 if (!connect()) {
161 if (!connect() || !writeCommand(cmd)) {
/frameworks/base/core/java/android/server/
H A DBluetoothA2dpService.java265 public synchronized boolean connect(BluetoothDevice device) { method in class:BluetoothA2dpService
509 // We have connected or attempting to connect.
/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/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestUtils.java52 /** Timeout to connect a profile proxy in ms. */
901 * @param profile The profile to connect. One of {@link BluetoothProfile#A2DP},
940 assertTrue(((BluetoothA2dp)proxy).connect(device));
942 assertTrue(((BluetoothHeadset)proxy).connect(device));
944 assertTrue(((BluetoothInputDevice)proxy).connect(device));
1081 * {@link #incomingPanConnection(BluetoothAdapter, BluetoothDevice)} to either connect to a
1086 * @param connect If the method should initiate the connection (is PANU)
1089 boolean connect) {
1094 if (connect) {
1129 Log.i("BT", "connect t
1088 connectPanOrIncomingPanConnection(BluetoothAdapter adapter, BluetoothDevice device, boolean connect) argument
[all...]

Completed in 516 milliseconds

12