Searched refs:connect (Results 76 - 100 of 121) sorted by last modified time

12345

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothInputDevice.java89 * Return codes for the connect and disconnect Bluez / Dbus calls.
290 public boolean connect(BluetoothDevice device) { method in class:BluetoothInputDevice
291 if (DBG) log("connect(" + device + ")");
294 return mService.connect(device);
H A DBluetoothPan.java96 * Return codes for the connect and disconnect Bluez / Dbus calls.
210 public boolean connect(BluetoothDevice device) { method in class:BluetoothPan
211 if (DBG) log("connect(" + device + ")");
215 return mPanService.connect(device);
H A DBluetoothSocket.java56 * Then call {@link #connect()} to attempt a connection to the remote device.
143 * @param device remote device that this socket can connect to
210 * @param address remote device that this socket can connect to
283 * Attempt to connect to a remote device.
299 public void connect() throws IOException { method in class:BluetoothSocket
311 if (DBG) Log.d(TAG, "connect(), SocketState: " + mSocketState + ", mPfd: " + mPfd);
313 if (mPfd == null) throw new IOException("bt socket connect failed");
321 throw new IOException("bt socket connect failed");
H A DIBluetoothA2dp.aidl28 boolean connect(in BluetoothDevice device);
H A DIBluetoothHeadset.aidl28 boolean connect(in BluetoothDevice device);
H A DIBluetoothInputDevice.aidl28 boolean connect(in BluetoothDevice device);
H A DIBluetoothPan.aidl30 boolean connect(in BluetoothDevice device);
H A DIBluetoothPbap.aidl29 boolean connect(in BluetoothDevice device);
/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.java101 public void connect(LocalSocketAddress endpoint) throws IOException { method in class:LocalSocket
108 impl.connect(endpoint, 0);
252 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
H A DMobileDataStateTracker.java226 // we connect.
294 ac.connect(mContext, MobileDataStateTracker.this.mHandler, mMessenger);
/frameworks/base/core/java/android/net/nsd/
H A DNsdManager.java434 mAsyncChannel.connect(mContext, mHandler, messenger);
/frameworks/base/core/java/android/nfc/
H A DINfcTag.aidl29 int connect(int nativeHandle, int technology);
/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}.
177 * @throws IOException if there is an I/O failure, or connect is canceled
179 public void connect() throws IOException; method in interface:TagTechnology
182 * Re-connect to the {@link Tag} associated with this connection. Reconnecting to a tag can be
191 * @see #connect()
194 * @throws IOException if there is an I/O failure, or connect is canceled
206 * @see #connect()
[all...]
/frameworks/base/core/java/android/os/
H A DProcess.java451 sZygoteSocket.connect(new LocalSocketAddress(ZYGOTE_SOCKET,
483 throw new ZygoteStartFailedEx("connect failed");
/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
174 /** Error attempting to bind on a connect */
218 if (DBG) log("connect srcHandler to dst Package & class E");
238 if (DBG) log("connect srcHandler to dst Package & class X result=" + result);
263 * connect two local Handlers synchronously.
277 * Fully connect tw
309 public void connect(Context srcContext, Handler srcHandler, String dstPackageName, method in class:AsyncChannel
352 public void connect(Context srcContext, Handler srcHandler, Class<?> klass) { method in class:AsyncChannel
367 public void connect(Context srcContext, Handler srcHandler, Messenger dstMessenger) { method in class:AsyncChannel
411 public void connect(Context srcContext, Handler srcHandler, Handler dstHandler) { method in class:AsyncChannel
425 public void connect(AsyncService srcAsyncService, Messenger dstMessenger) { method in class:AsyncChannel
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp466 // connect to camera service
470 sp<Camera> camera = Camera::connect(cameraId);
473 jniThrowRuntimeException(env, "Fail to connect to camera service");
/frameworks/av/camera/
H A DCamera.cpp81 if (camera->connect(c) == NO_ERROR) {
101 // because we may be invoked by CameraService::Client::connect() and will
119 sp<Camera> Camera::connect(int cameraId) function in class:android::Camera
121 ALOGV("connect");
125 c->mCamera = cs->connect(c, cameraId);
151 return c->connect(this);
H A DICamera.cpp247 virtual status_t connect(const sp<ICameraClient>& cameraClient) function in class:android::BpCamera
400 reply->writeInt32(connect(cameraClient));
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());
/frameworks/av/cmds/stagefright/
H A Daudioloop.cpp27 CHECK_EQ(client.connect(), (status_t)OK);
H A Drecord.cpp186 CHECK_EQ(client.connect(), (status_t)OK);
302 CHECK_EQ(client.connect(), (status_t)OK);
H A Drecordvideo.cpp254 CHECK_EQ(client.connect(), (status_t)OK);

Completed in 9484 milliseconds

12345