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

12

/frameworks/base/media/libstagefright/
H A DOMXClient.cpp31 status_t OMXClient::connect() { function in class:android::OMXClient
H A DHTTPStream.cpp73 if (connect(s, addr, addrlen) == 0) {
204 status_t HTTPStream::connect(const char *server, int port) { function in class:android::HTTPStream
H A DNuHTTPDataSource.cpp94 status_t NuHTTPDataSource::connect( function in class:android::NuHTTPDataSource
101 return connect(uri, headers, offset);
104 status_t NuHTTPDataSource::connect( function in class:android::NuHTTPDataSource
114 return connect(host, port, path, headers, offset);
122 status_t NuHTTPDataSource::connect( function in class:android::NuHTTPDataSource
126 LOGI("connect to %s:%u%s @%ld", host, port, path, offset);
149 err = mHTTP.connect(host, port);
195 return connect(value.c_str(), headers, offset);
350 status_t err = connect(host, mPort, path, headers, offset);
/frameworks/base/packages/VpnServices/src/com/android/server/vpn/
H A DL2tpIpsecPskService.java31 protected void connect(String serverIp, String username, String password) method in class:L2tpIpsecPskService
H A DL2tpIpsecService.java31 protected void connect(String serverIp, String username, String password) method in class:L2tpIpsecService
H A DL2tpService.java28 protected void connect(String serverIp, String username, String password) method in class:L2tpService
H A DPptpService.java28 protected void connect(String serverIp, String username, String password) method in class:PptpService
H A DVpnServiceBinder.java63 public boolean connect(VpnProfile p, String username, String password) {
64 return VpnServiceBinder.this.connect(p, username, password);
110 private synchronized boolean connect(final VpnProfile p, method in class:VpnServiceBinder
/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.cpp79 if (camera->connect(c) == NO_ERROR) {
98 // because we may be invoked by CameraService::Client::connect() and will
116 sp<Camera> Camera::connect(int cameraId) function in class:android::Camera
118 LOGV("connect");
122 c->mCamera = cs->connect(c, cameraId);
148 return c->connect(this);
H A DICamera.cpp220 virtual status_t connect(const sp<ICameraClient>& cameraClient) function in class:android::BpCamera
358 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/core/java/com/android/internal/nfc/
H A DP2pTarget.java79 public void connect() throws NfcException { method in class:P2pTarget
86 // Perform connect
88 int result = mService.connect(mHandle);
91 throw new NfcException("Failed to connect");
100 Log.e(TAG, "RemoteException in connect(): ", e);
H A DLlcpSocket.java99 public void connect(int sap) throws IOException, LlcpException { method in class:LlcpSocket
101 int result = mService.connect(mHandle, sap);
126 public void connect(String sn) throws IOException, LlcpException { method in class:LlcpSocket
/frameworks/base/media/libstagefright/rtsp/
H A DARTSPController.cpp43 status_t ARTSPController::connect(const char *url) { function in class:android::ARTSPController
56 mHandler->connect(msg);
/frameworks/base/core/java/android/net/
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.java48 private boolean mConnected; // true if connect() has been called since last disconnect()
113 public void connect() { method in class:MediaScannerConnection
216 * {@link #connect} on it, and calling {@link #scanFile} with the given
236 connection.connect();
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothSocket.java48 * Then call {@link #connect()} to attempt a connection to the remote device.
112 * @param device remote device that this socket can connect to
158 * @param address remote device that this socket can connect to
179 * Attempt to connect to a remote device.
195 public void connect() throws IOException { method in class:BluetoothSocket
H A DHeadsetBase.java198 public boolean connect(Handler handler) { method in class:HeadsetBase
208 * Returns true when either the asynchronous connect is in progress, or
209 * the connect is complete. Call waitForAsyncConnect() to find out whether
210 * the connect is actually complete, or disconnect() to cancel.
224 * Returns 1 when an async connect is complete, 0 on timeout, and -1 on
226 * the async connect.
H A DScoSocket.java43 public static final int STATE_CONNECTING = 3; // connect() thread running
89 public synchronized boolean connect(String address, String name) { method in class:ScoSocket
90 if (DBG) log("connect() " + this);
92 if (DBG) log("connect(): Bad state");
/frameworks/base/services/java/com/android/server/
H A DInstaller.java40 private boolean connect() { method in class:Installer
51 mSocket.connect(address);
133 if (!connect()) {
145 if (!connect() || !writeCommand(cmd)) {

Completed in 332 milliseconds

12