Searched defs:connect (Results 51 - 74 of 74) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/media/
H A DRemoteDisplayProviderProxy.java109 mActiveConnection.connect(id);
259 mActiveConnection.connect(mSelectedDisplayId);
363 public void connect(String id) { method in class:RemoteDisplayProviderProxy.Connection
365 mProvider.connect(id);
367 Slog.e(TAG, "Failed to deliver request to connect to display.", ex);
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
H A DSinkActivity.java148 connect(device);
159 private void connect(UsbDevice device) { method in class:SinkActivity
188 // If already in accessory mode, then connect to the device.
/frameworks/native/libs/gui/
H A DIGraphicBufferProducer.cpp208 virtual status_t connect(const sp<IProducerListener>& listener, function in class:android::BpGraphicBufferProducer
392 status_t res = connect(listener, api, producerControlledByApp, output);
H A DBufferQueueProducer.cpp768 status_t BufferQueueProducer::connect(const sp<IProducerListener>& listener, function in class:android::BufferQueueProducer
773 BQ_LOGV("connect(P): api=%d producerControlledByApp=%s", api,
777 BQ_LOGE("connect(P): BufferQueue has been abandoned");
782 BQ_LOGE("connect(P): BufferQueue has no consumer");
787 BQ_LOGE("connect(P): output was NULL");
792 BQ_LOGE("connect(P): already connected (cur=%d req=%d)",
814 BQ_LOGE("connect(P): linkToDeath failed: %s (%d)",
821 BQ_LOGE("connect(P): unknown API %d", api);
H A DSurface.cpp460 return connect(api);
548 int Surface::connect(int api) { function in class:android::Surface
550 ALOGV("Surface::connect");
554 int err = mGraphicBufferProducer->connect(listener, api, mProducerControlledByApp, &output);
805 int err = Surface::connect(NATIVE_WINDOW_API_CPU);
/frameworks/av/media/libstagefright/rtsp/
H A DARTSPConnection.cpp70 void ARTSPConnection::connect(const char *url, const sp<AMessage> &reply) { function in class:android::ARTSPConnection
282 int err = ::connect(
355 // While we were attempting to connect, the attempt was
H A DMyHandler.h168 void connect() { function in struct:android::MyHandler
176 mConn->connect(mOriginalSessionURL.c_str(), reply);
188 mConn->connect(mOriginalSessionURL.c_str(), reply);
472 mConn->connect(mOriginalSessionURL.c_str(), reply);
518 mConn->connect(mOriginalSessionURL.c_str(), reply);
/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.cpp195 // connect a new client to the camera
196 status_t CameraClient::connect(const sp<ICameraClient>& client) { function in class:android::CameraClient
198 LOG1("connect E (pid %d)", callingPid);
202 ALOGW("Tried to connect to a locked camera (old pid %d, new pid %d)",
217 LOG1("connect X (pid %d)", callingPid);
H A DCamera2Client.cpp457 status_t Camera2Client::connect(const sp<ICameraClient>& client) { function in class:android::Camera2Client
/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/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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
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...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFilter.java557 final void connect(String outputName, Filter targetFilter, String inputName) { method in class:Filter
560 throw new RuntimeException("Attempting to connect already connected output port '"
563 throw new RuntimeException("Attempting to connect already connected input port '"
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.cpp498 status_t VirtualDisplaySurface::connect(const sp<IProducerListener>& listener, function in class:android::VirtualDisplaySurface
502 status_t result = mSource[SOURCE_SINK]->connect(listener, api,
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiAutoJoinController.java367 // thru WifiPicker, or that a 3rd party app asked us to connect to via the
374 // so keep it above connect choices (+/-60) and
387 // so keep it above connect choices (+/-60) and
406 * - if it is a "connect", remember which network were there at the point of the connect, so
411 * @param connect : if the update includes a connect
413 public void updateConfigurationHistory(int netId, boolean userTriggered, boolean connect) { argument
428 // since the user want to connect to this configuration
447 if (connect
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHeadsetClient.java473 * @param device a remote device we want connect to
479 public boolean connect(BluetoothDevice device) { method in class:BluetoothHeadsetClient
480 if (DBG) log("connect(" + device + ")");
484 return mService.connect(device);
832 * @param index index of the call to connect in private mode
859 * That means connect other calls and disconnect.
/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/services/core/java/com/android/server/display/
H A DWifiDisplayController.java118 // The device to which we want to connect, or null if we want to be disconnected.
122 // or are not trying to connect.
128 // The device to which we were previously trying to connect and are now canceling.
258 connect(device);
376 // mode. So we allow discovery to continue until we give up trying to connect.
511 private void connect(final WifiP2pDevice device) { method in class:WifiDisplayController
515 Slog.d(TAG, "connect: nothing to do, already connecting to "
525 Slog.d(TAG, "connect: nothing to do, already connected to "
533 Slog.i(TAG, "Ignoring request to connect to Wifi display because the "
563 // Resume scans later when no longer attempting to connect
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasClient.java54 * @see #connect()
473 socket.connect();
612 public void connect() { method in class:BluetoothMasClient
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
H A DBluetoothPbapClient.java32 * How to connect to remote device which is acting in PSE role:
70 * <code>connect</code> and <code>disconnect</code> methods are introduced for
526 public void connect() { method in class:BluetoothPbapClient
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp177 since it is also called from connect and we could get into a deadlock */
504 ALOGE("%s: Could not connect to client camera device.", __FUNCTION__);
577 ALOGE("CameraService::connect X (pid %d) rejected (don't trust clientUid)",
589 ALOGE("CameraService::connect X (pid %d) rejected (invalid cameraId %d).",
598 ALOGI("Camera is disabled. connect X (pid %d) rejected", callingPid);
605 " connect X (pid %d) rejected", callingPid);
609 " connect X (pid %d) rejected", callingPid);
629 LOG1("CameraService::connect X (pid %d) (the same client)",
635 ALOGW("CameraService::connect X (pid %d) rejected"
653 ALOGW("CameraService::connect
733 status_t CameraService::connect( function in class:android::CameraService
[all...]
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pManager.java73 * <p> An application can initiate a connection request to a peer through {@link #connect}. See
78 * <p> After a successful group formation through {@link #createGroup} or through {@link #connect},
956 * connect through listener callbacks {@link ActionListener#onSuccess} or
962 * <p> If the current device is not part of a p2p group, a connect request initiates
973 public void connect(Channel c, WifiP2pConfig config, ActionListener listener) { method in class:WifiP2pManager
/frameworks/native/opengl/libagl/
H A Degl.cpp159 virtual EGLBoolean connect() { return EGL_TRUE; } function in struct:android::egl_surface_t
229 virtual EGLBoolean connect();
370 EGLBoolean egl_window_surface_v2_t::connect() function in class:android::egl_window_surface_v2_t
409 ALOGE("connect() failed to lock buffer %p (%ux%u)",
1764 if (d->connect() == EGL_FALSE) {
1771 // FIXME: lock/connect the read surface too
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiManager.java59 * make decisions about what access point to connect to.</li>
442 * Activity Action: Pick a Wi-Fi network to connect to.
461 * will be made to automatically connect to remembered access points,
704 * networks are disabled, and an attempt to connect to the selected
709 * select a particular network to connect to is specify {@code true}
1461 * Start the driver and connect to network.
1866 sAsyncChannel.connect(mContext, handler, messenger);
1897 public void connect(WifiConfiguration config, ActionListener listener) { method in class:WifiManager
1919 public void connect(int networkId, ActionListener listener) { method in class:WifiManager

Completed in 3218 milliseconds

123