Searched defs:connect (Results 26 - 50 of 74) sorted by path

123

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothMap.java211 public boolean connect(BluetoothDevice device) { method in class:BluetoothMap
212 if (DBG) log("connect(" + device + ")" + "not supported for MAPS");
H A DBluetoothPan.java95 * Return codes for the connect and disconnect Bluez / Dbus calls.
226 public boolean connect(BluetoothDevice device) { method in class:BluetoothPan
227 if (DBG) log("connect(" + device + ")");
231 return mPanService.connect(device);
H A DBluetoothSocket.java52 * Then call {@link #connect()} to attempt a connection to the remote device.
139 * @param device remote device that this socket can connect to
207 * @param address remote device that this socket can connect to
280 * Attempt to connect to a remote device.
296 public void connect() throws IOException { method in class:BluetoothSocket
307 if (DBG) Log.d(TAG, "connect(), SocketState: " + mSocketState + ", mPfd: " + mPfd);
309 if (mPfd == null) throw new IOException("bt socket connect failed");
317 throw new IOException("bt socket connect failed");
/frameworks/base/core/java/android/net/
H A DLocalSocket.java123 public void connect(LocalSocketAddress endpoint) throws IOException { method in class:LocalSocket
130 impl.connect(endpoint, 0);
274 public void connect(LocalSocketAddress endpoint, int timeout) method in class:LocalSocket
H A DLocalSocketImpl.java283 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.java64 * block or cause RF activity, and do not require {@link #connect} to have been called.
70 * <li>{@link #connect} must be called before using any other I/O operation.
73 * (including {@link #connect} with {@link IOException}.
75 * {@link #connect} will return {@link IOException}.
178 * @throws IOException if there is an I/O failure, or connect is canceled
180 public void connect() throws IOException; method in interface:TagTechnology
183 * Re-connect to the {@link Tag} associated with this connection. Reconnecting to a tag can be
192 * @see #connect()
195 * @throws IOException if there is an I/O failure, or connect is canceled
207 * @see #connect()
[all...]
/frameworks/base/core/java/android/os/
H A DProcess.java388 public static ZygoteState connect(String socketAddress) throws IOException { method in class:Process.ZygoteState
394 zygoteSocket.connect(new LocalSocketAddress(socketAddress,
701 throw new RuntimeException("Unable to connect to zygote for abi: " + abi, ex);
712 primaryZygoteState = ZygoteState.connect(ZYGOTE_SOCKET);
725 secondaryZygoteState = ZygoteState.connect(SECONDARY_ZYGOTE_SOCKET);
/frameworks/base/core/java/com/android/internal/os/
H A DInstallerConnection.java30 * Represents a connection to {@code installd}. Allows multiple connect and
49 if (!connect()) {
61 if (!connect() || !writeCommand(cmd)) {
133 private boolean connect() { method in class:InstallerConnection
144 mSocket.connect(address);
/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 */
224 if (DBG) log("connect srcHandler to dst Package & class E");
244 if (DBG) log("connect srcHandler to dst Package & class X result=" + result);
269 * connect two local Handlers synchronously.
283 * Fully connect tw
315 public void connect(Context srcContext, Handler srcHandler, String dstPackageName, method in class:AsyncChannel
358 public void connect(Context srcContext, Handler srcHandler, Class<?> klass) { method in class:AsyncChannel
373 public void connect(Context srcContext, Handler srcHandler, Messenger dstMessenger) { method in class:AsyncChannel
417 public void connect(Context srcContext, Handler srcHandler, Handler dstHandler) { method in class:AsyncChannel
431 public void connect(AsyncService srcAsyncService, Messenger dstMessenger) { method in class:AsyncChannel
[all...]
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestUtils.java53 /** Timeout to connect a profile proxy in ms. */
913 * @param profile The profile to connect. One of {@link BluetoothProfile#A2DP},
952 assertTrue(((BluetoothA2dp)proxy).connect(device));
954 assertTrue(((BluetoothHeadset)proxy).connect(device));
956 assertTrue(((BluetoothInputDevice)proxy).connect(device));
1093 * {@link #incomingPanConnection(BluetoothAdapter, BluetoothDevice)} to either connect to a
1098 * @param connect If the method should initiate the connection (is PANU)
1101 boolean connect) {
1106 if (connect) {
1141 Log.i("BT", "connect t
1100 connectPanOrIncomingPanConnection(BluetoothAdapter adapter, BluetoothDevice device, boolean connect) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaHTTPConnection.java68 public IBinder connect(String uri, String headers) { method in class:MediaHTTPConnection
70 Log.d(TAG, "connect: uri=" + uri + ", headers=" + headers);
H A DMediaScannerConnection.java47 private boolean mConnected; // true if connect() has been called since last disconnect()
112 public void connect() { method in class:MediaScannerConnection
218 * {@link #connect} on it, and calling {@link #scanFile} with the given
238 connection.connect();
/frameworks/base/media/java/android/media/browse/
H A DMediaBrowser.java116 public void connect() { method in class:MediaBrowser
118 throw new IllegalStateException("connect() called while not disconnected (state="
153 // but we don't want to do callbacks inside of connect(). So post it,
160 // Ensure that nobody else came in or tried to connect again.
170 Log.d(TAG, "connect...");
189 Log.w(TAG, "RemoteException during connect for " + mServiceComponent);
324 // connected, the service will be told when we connect.
650 * Invoked after {@link MediaBrowser#connect()} when the request has successfully completed.
711 // We make a new mServiceCallbacks each time we connect so that we can drop
716 // Call connect, whic
[all...]
/frameworks/base/media/java/android/service/media/
H A DMediaBrowserService.java155 public void connect(final String pkg, final Bundle rootHints, method in class:MediaBrowserService.ServiceBinder
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/
H A DRemoteDisplayProvider.java135 * This mode indicates that the user is actively trying to connect to a route
182 * Called when the system would like to connect to a display.
340 public void connect(String id) { method in class:RemoteDisplayProvider.ProviderStub
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFilterGraph.java82 public void connect(Filter source, method in class:FilterGraph
87 throw new IllegalArgumentException("Passing null Filter in connect()!");
89 throw new RuntimeException("Attempting to connect filter not in graph!");
105 public void connect(String sourceName, method in class:FilterGraph
113 "Attempting to connect unknown source filter '" + sourceName + "'!");
116 "Attempting to connect unknown target filter '" + targetName + "'!");
118 connect(source, outputName, target, inputName);
320 throw new RuntimeException("Attempting to connect " + outputPort + " to multiple "
/frameworks/base/obex/javax/obex/
H A DClientSession.java72 public HeaderSet connect(final HeaderSet header) throws IOException { method in class:ClientSession
H A DObexTransport.java64 void connect() throws IOException; method in interface:ObexTransport
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DAccessPointControllerImpl.java52 // This string extra specifies a network to open the connect dialog on, so the user can enter
119 public boolean connect(AccessPoint ap) { method in class:AccessPointControllerImpl
121 if (DEBUG) Log.d(TAG, "connect networkId=" + ap.networkId);
134 mWifiManager.connect(config, mConnectListener);
137 mWifiManager.connect(ap.networkId, mConnectListener);
223 if (DEBUG) Log.d(TAG, "connect success");
228 if (DEBUG) Log.d(TAG, "connect failure reason=" + reason);
H A DBluetoothController.java32 void connect(PairedDevice device); method in interface:BluetoothController
H A DBluetoothControllerImpl.java222 public void connect(final PairedDevice pd) { method in class:BluetoothControllerImpl
223 connect(pd, true);
228 connect(pd, false);
231 private void connect(PairedDevice pd, final boolean connect) { argument
235 final String action = connect ? "connect" : "disconnect";
243 if (connect) {
265 final boolean ok = connect ? p.connect(devic
[all...]
H A DBluetoothUtil.java134 public boolean connect(BluetoothDevice device) {
135 return a2dp.connect(device);
148 public boolean connect(BluetoothDevice device) {
149 return headset.connect(device);
162 public boolean connect(BluetoothDevice device) {
163 return sink.connect(device);
176 public boolean connect(BluetoothDevice device) {
177 return client.connect(device);
190 public boolean connect(BluetoothDevice device) {
191 return input.connect(devic
231 boolean connect(BluetoothDevice device); method in interface:BluetoothUtil.Profile
[all...]
H A DNetworkController.java53 boolean connect(AccessPoint ap); method in interface:NetworkController.AccessPointController
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
H A DSocketConnect.java41 public static void connect(Socket first, Socket second) { method in class:SocketConnect

Completed in 1078 milliseconds

123