Searched defs:connect (Results 1 - 25 of 40) sorted by path

12

/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/media/libstagefright/
H A DOMXClient.cpp319 status_t OMXClient::connect() { function in class:android::OMXClient
/frameworks/av/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 "connect to <URL suppressed> @%lld", offset);
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp75 void LiveSession::connect( function in class:android::LiveSession
246 status_t err = mHTTPDataSource->connect(url, &headers);
824 keySource->connect(
/frameworks/av/media/libstagefright/rtsp/
H A DARTSPConnection.cpp67 void ARTSPConnection::connect(const char *url, const sp<AMessage> &reply) { function in class:android::ARTSPConnection
277 int err = ::connect(
348 // While we were attempting to connect, the attempt was
H A DMyHandler.h165 void connect() { function in struct:android::MyHandler
173 mConn->connect(mOriginalSessionURL.c_str(), reply);
384 mConn->connect(mOriginalSessionURL.c_str(), reply);
/frameworks/av/media/libstagefright/wifi-display/sink/
H A DRTPSink.cpp639 status_t RTPSink::connect( function in class:android::RTPSink
/frameworks/av/services/camera/libcameraservice/
H A DCamera2Client.cpp420 status_t Camera2Client::connect(const sp<ICameraClient>& client) { function in class:android::Camera2Client
H A DCameraClient.cpp179 // connect a new client to the camera
180 status_t CameraClient::connect(const sp<ICameraClient>& client) { function in class:android::CameraClient
182 LOG1("connect E (pid %d)", callingPid);
186 ALOGW("Tried to connect to a locked camera (old pid %d, new pid %d)",
200 LOG1("connect X (pid %d)", callingPid);
H A DCameraService.cpp134 sp<ICamera> CameraService::connect( function in class:android::CameraService
138 LOG1("CameraService::connect E (pid %d, id %d)", callingPid, cameraId);
147 ALOGE("CameraService::connect X (pid %d) rejected (invalid cameraId %d).",
156 ALOGI("Camera is disabled. connect X (pid %d) rejected", callingPid);
165 LOG1("CameraService::connect X (pid %d) (the same client)",
169 ALOGW("CameraService::connect X (pid %d) rejected (existing client).",
178 ALOGW("CameraService::connect X (pid %d) rejected"
217 LOG1("CameraService::connect X (id %d, this pid is %d)", cameraId, getpid());
322 // The reason we need this busy bit is a new CameraService::connect() request
/frameworks/base/core/java/android/accessibilityservice/
H A DUiTestAutomationBridge.java118 public void connect() { method in class:UiTestAutomationBridge
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothA2dp.java213 public boolean connect(BluetoothDevice device) { method in class:BluetoothA2dp
214 if (DBG) log("connect(" + device + ")");
218 return mService.connect(device);
H A DBluetoothHeadset.java331 public boolean connect(BluetoothDevice device) { method in class:BluetoothHeadset
332 if (DBG) log("connect(" + device + ")");
336 return mService.connect(device);
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");
/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
/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/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/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 3146 milliseconds

12