Searched refs:connect (Results 26 - 50 of 121) sorted by relevance

12345

/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
H A DBandwidthEnforcementTestService.java40 * Test Service that tries to connect to the web via different methods and outputs the results to
91 * @return true if it was able to connect, false otherwise.
98 conn.connect();
115 * @return true if it was able to connect, false otherwise.
122 conn.connect();
138 * Tests to connect via sntp.
139 * @return true if it was able to connect, false otherwise.
151 * @return true if it was able to connect, false otherwise.
/frameworks/base/tests/CoreTests/android/core/
H A DSocketTest.java48 // Test for basic bind/connect/accept behavior.
194 // sock.connect(new InetSocketAddress(NON_EXISTING_ADDRESS, 80), timeout);
230 clntSckt.connect(scktAddrss, 5000);
245 // socket.connect() to return immediately.
264 client.connect(new InetSocketAddress(PACKAGE_DROPPING_ADDRESS, 1357));
283 fail("Socket connect still ongoing");
285 fail("Socket connect interrupted with wrong error: " + error.toString());
/frameworks/base/media/java/android/media/
H A DMediaScannerConnection.java47 private boolean mConnected; // true if connect() has been called since last disconnect()
112 public void connect() { method in class:MediaScannerConnection
215 * {@link #connect} on it, and calling {@link #scanFile} with the given
235 connection.connect();
/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);
/frameworks/av/include/camera/
H A DICamera.h40 // connect new client with existing camera remote
41 virtual status_t connect(const sp<ICameraClient>& client) = 0;
H A DCamera.h75 static sp<Camera> connect(int cameraId);
/frameworks/av/media/libstagefright/include/
H A DChromiumHTTPDataSource.h33 virtual status_t connect(
H A DLiveSession.h42 void connect(
/frameworks/base/services/java/com/android/server/pm/
H A DInstaller.java43 private boolean connect() { method in class:Installer
54 mSocket.connect(address);
149 if (!connect()) {
161 if (!connect() || !writeCommand(cmd)) {
/frameworks/av/services/camera/tests/CameraServiceTest/
H A DCameraServiceTest.cpp433 sp<ICamera> c = cs->connect(cc, cameraId);
443 sp<ICamera> c = cs->connect(cc, cameraId);
446 ASSERT(cs->connect(cc, cameraId) != 0);
449 ASSERT(cs->connect(cc2, cameraId) == 0);
457 ASSERT(c->connect(cc) != NO_ERROR);
464 ASSERT(c->connect(cc) == NO_ERROR);
489 // Run the connect tests in another process.
536 sp<ICamera> c = cs->connect(cc, cameraId);
539 ASSERT(c->connect(cc) == NO_ERROR);
542 ASSERT(c->connect(cc
[all...]
/frameworks/compile/mclinker/include/mcld/MC/
H A DInputTree.h97 * iterator forward in certain direction. @ref Mover::connect
102 virtual void connect(TreeIteratorBase& pFrom, const TreeIteratorBase& pTo) const = 0;
110 virtual void connect(TreeIteratorBase& pFrom, const TreeIteratorBase& pTo) const { function in struct:mcld::InputTree::Succeeder
123 virtual void connect(TreeIteratorBase& pFrom, const TreeIteratorBase& pTo) const { function in struct:mcld::InputTree::Includer
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DAbstractProxyTest.java172 RecordedRequest connect = server.takeRequest();
174 "CONNECT android.com:443 HTTP/1.1", connect.getRequestLine());
175 assertContains(connect.getHeaders(), "Host: android.com");
/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/av/cmds/stagefright/
H A Daudioloop.cpp27 CHECK_EQ(client.connect(), (status_t)OK);
/frameworks/av/media/libstagefright/rtsp/
H A DARTSPConnection.h38 void connect(const char *url, const sp<AMessage> &reply);
H A Drtp_test.cpp182 CHECK_EQ(client.connect(), (status_t)OK);
/frameworks/base/core/tests/coretests/src/android/net/
H A DLocalSocketTest.java42 ls.connect(new LocalSocketAddress("android.net.LocalSocketTest"));
/frameworks/native/libs/gui/tests/
H A DBufferQueue_test.cpp67 mBQ->connect(NATIVE_WINDOW_API_CPU, &qbo);
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
H A DUiAutomatorBridge.java79 connect();
/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 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);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DHTTPLiveSource.cpp78 mLiveSession->connect(
/frameworks/av/media/libstagefright/
H A DDataSource.cpp154 if (httpSource->connect(uri, headers) != OK) {
/frameworks/av/services/camera/libcameraservice/
H A DCameraClient.h32 virtual status_t connect(const sp<ICameraClient>& client);
/frameworks/native/include/gui/
H A DISurfaceTexture.h167 // connect attempts to connect a client API to the SurfaceTexture. This
171 // This method will fail if the connect was previously called on the
177 virtual status_t connect(int api, QueueBufferOutput* output) = 0;
181 // ISurfaceTexture methods to fail except for getAllocator and connect.
182 // Successfully calling connect after this will allow the other methods to

Completed in 438 milliseconds

12345