Home
last modified time | relevance | path

Searched refs:connect (Results 1 – 25 of 321) sorted by relevance

12345678910>>...13

/frameworks/base/docs/html/training/
Dbuilding-connectivity.jd8 <p>These classes teach you how to connect your app to the world beyond the user's device.
9 You'll learn how to connect to other devices in the area, connect to the Internet, backup and
/frameworks/base/services/tests/servicestests/src/com/android/server/
DConnectivityServiceTest.java215 public void connect(boolean validated) { in connect() method in ConnectivityServiceTest.MockNetworkAgent
252 connect(false); in connectWithCaptivePortal()
542 mCellNetworkAgent.connect(true); in testLingering()
552 mWiFiNetworkAgent.connect(true); in testLingering()
580 mWiFiNetworkAgent.connect(false); in testValidatedCellularOutscoresUnvalidatedWiFi()
585 mCellNetworkAgent.connect(false); in testValidatedCellularOutscoresUnvalidatedWiFi()
595 mCellNetworkAgent.connect(true); in testValidatedCellularOutscoresUnvalidatedWiFi()
615 mCellNetworkAgent.connect(false); in testUnvalidatedWifiOutscoresUnvalidatedCellular()
621 mWiFiNetworkAgent.connect(false); in testUnvalidatedWifiOutscoresUnvalidatedCellular()
641 mWiFiNetworkAgent.connect(false); in testUnlingeringDoesNotValidate()
[all …]
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
DUsageIO.java49 Type connect = mInPixelsAllocation.getType(); in createTest() local
51 …mScratchPixelsAllocation1 = Allocation.createTyped(mRS, connect, Allocation.USAGE_IO_OUTPUT | Allo… in createTest()
52 …mScratchPixelsAllocation2 = Allocation.createTyped(mRS, connect, Allocation.USAGE_IO_INPUT | Alloc… in createTest()
DGroupTest.java69 Type connect = tb.create(); in createTest() local
75 b.addConnection(connect, mConvolve.getKernelID(), mMatrix.getKernelID()); in createTest()
78 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, connect); in createTest()
/frameworks/compile/mclinker/lib/Core/
DInputTree.cpp26 pMover.connect(pRoot, pTree.m_Root.node.right); in merge()
37 pMover.connect(pRoot, node); in enterGroup()
46 pMover.connect(pRoot, node); in insert()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFilterGraph.java148 public void connect(String sourceFilterName, String sourcePort, in connect() method in FilterGraph.Builder
157 connect(sourceFilter, sourcePort, targetFilter, targetPort); in connect()
169 public void connect(Filter sourceFilter, String sourcePort, in connect() method in FilterGraph.Builder
171 sourceFilter.connect(sourcePort, targetFilter, targetPort); in connect()
225 ((Filter)valueSource).connect("value", filter, inputName); in assignValueToFilterInput()
297 sourceFilter.connect(sourcePort, branch, "input"); in connectAndBranch()
300 branch.connect(portName, targetFilter, targetPort); in connectAndBranch()
/frameworks/base/core/java/com/android/internal/os/
DInstallerConnection.java50 if (!connect()) { in transact()
62 if (!connect() || !writeCommand(cmd)) { in transact()
122 private boolean connect() { in connect() method in InstallerConnection
133 mSocket.connect(address); in connect()
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
DGroupTest.java62 Type connect = tb.create(); in createTest() local
68 b.addConnection(connect, mConvolve.getKernelID(), mMatrix.getKernelID()); in createTest()
71 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, connect); in createTest()
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
DGroupTest.java69 Type connect = tb.create(); in createTest() local
75 b.addConnection(connect, mConvolve.getKernelID(), mMatrix.getKernelID()); in createTest()
78 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, connect); in createTest()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMasObexClientSession.java70 connect(); in run()
110 private void connect() { in connect() method in BluetoothMasObexClientSession.ClientThread
117 headerset = mSession.connect(headerset); in connect()
/frameworks/base/core/java/android/net/
DLocalSocket.java123 public void connect(LocalSocketAddress endpoint) throws IOException { in connect() method in LocalSocket
130 impl.connect(endpoint, 0); in connect()
274 public void connect(LocalSocketAddress endpoint, int timeout) in connect() method in LocalSocket
/frameworks/base/core/java/com/android/internal/util/
DAsyncChannel.java315 public void connect(Context srcContext, Handler srcHandler, String dstPackageName, in connect() method in AsyncChannel
358 public void connect(Context srcContext, Handler srcHandler, Class<?> klass) { in connect() method in AsyncChannel
359 connect(srcContext, srcHandler, klass.getPackage().getName(), klass.getName()); in connect()
373 public void connect(Context srcContext, Handler srcHandler, Messenger dstMessenger) { in connect() method in AsyncChannel
417 public void connect(Context srcContext, Handler srcHandler, Handler dstHandler) { in connect() method in AsyncChannel
418 connect(srcContext, srcHandler, new Messenger(dstHandler)); in connect()
431 public void connect(AsyncService srcAsyncService, Messenger dstMessenger) { in connect() method in AsyncChannel
432 connect(srcAsyncService, srcAsyncService.getHandler(), dstMessenger); in connect()
/frameworks/av/media/libstagefright/http/
DMediaHTTP.cpp44 status_t MediaHTTP::connect( in connect() function in android::MediaHTTP
61 bool success = mHTTPConnection->connect(uri, &extHeaders); in connect()
142 return connect(mLastURI.c_str(), &mLastHeaders, offset); in reconnectAtOffset()
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
DBluetoothPbapObexSession.java136 if (!connect()) { in run()
193 private boolean connect() { in connect() method in BluetoothPbapObexSession.ObexClientThread
207 hs = mClientSession.connect(hs); in connect()
/frameworks/av/camera/
DCamera.cpp43 &ICameraService::connect;
55 if (camera->connect(c) == NO_ERROR) { in create()
74 sp<Camera> Camera::connect(int cameraId, const String16& clientPackageName, in connect() function in android::Camera
77 return CameraBaseT::connect(cameraId, clientPackageName, clientUid); in connect()
112 return c->connect(this); in reconnect()
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/
DFilters.java357 Type connect = tb.create(); in createTest() local
364 b.addConnection(connect, s_uc2f.getKernelID_uc4tof4(), in createTest()
369 b.addConnection(connect, mFilters[i-1].getKernelID(), in createTest()
389 connect, in); in createTest()
392 c = mFilters[i].asyncLaunch(b2, c.getReturn(), connect); in createTest()
405 mScratchPixelsAllocation[0] = Allocation.createTyped(mRS, connect); in createTest()
406 mScratchPixelsAllocation[1] = Allocation.createTyped(mRS, connect); in createTest()
/frameworks/base/docs/html/guide/topics/connectivity/
Dwifip2p.jd30 <li><a href="{@docRoot}training/connect-devices-wirelessly/wifi-direct.html">Creating
38 hardware to connect directly to each other via Wi-Fi without an intermediate access point (Android's
40 Using these APIs, you can discover and connect to other devices when each device supports Wi-Fi P2P,
48 <li>Methods that allow you to discover, request, and connect to peers are defined
73 …the Wi-Fi hardware on your device to do things like discover and connect to peers. The following a…
90 <td>{@link android.net.wifi.p2p.WifiP2pManager#connect connect()}</td>
146 <td>{@link android.net.wifi.p2p.WifiP2pManager#connect connect()}, {@link
323 method returns a {@link android.net.wifi.p2p.WifiP2pManager.Channel}, which is used to connect
393 <p>To discover peers that are available to connect to, call {@link
444 through to find the peer that you want to connect to.</p>
[all …]
/frameworks/base/docs/html/training/connect-devices-wirelessly/
Dwifi-direct.jd16 <li><a href="#connect">Connect to a Peer</a></li>
25 <p>The Wi-Fi peer-to-peer (P2P) APIs allow applications to connect to nearby devices without
26 needing to connect to a network or hotspot (Android's Wi-Fi P2P framework complies with the
33 This lesson shows you how to find and connect to nearby devices using Wi-Fi P2P.
105 connect your app to the Wi-Fi P2P framework.</p>
278 <h2 id="connect">Connect to a Peer</h2>
279 <p>In order to connect to a peer, create a new {@link
282 connect to. Then call the {@link
283 android.net.wifi.p2p.WifiP2pManager#connect(WifiP2pManager.Channel,
284 WifiP2pConfig, WifiP2pManager.ActionListener) connect()}
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAccessPointControllerImpl.java110 public boolean connect(AccessPoint ap) { in connect() method in AccessPointControllerImpl
114 mWifiTracker.getManager().connect(ap.getConfig().networkId, mConnectListener); in connect()
125 mWifiTracker.getManager().connect(ap.getConfig(), mConnectListener); in connect()
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp110 mProducer->connect(NULL, NATIVE_WINDOW_API_CPU, false, &output)); in TEST_F()
146 mProducer->connect(new DummyProducerListener, NATIVE_WINDOW_API_CPU, false, in TEST_F()
214 ASSERT_EQ(OK, mProducer->connect(new DummyProducerListener, in TEST_F()
268 ASSERT_EQ(OK, mProducer->connect(new DummyProducerListener, in TEST_F()
327 ASSERT_EQ(OK, mProducer->connect(new DummyProducerListener, in TEST_F()
370 ASSERT_EQ(OK, mProducer->connect(new DummyProducerListener, in TEST_F()
406 ASSERT_EQ(OK, mProducer->connect(new DummyProducerListener, in TEST_F()
/frameworks/native/include/gui/
DBufferQueueConsumer.h82 virtual status_t connect(const sp<IConsumerListener>& consumerListener,
166 return connect(consumer, controlledByApp); in consumerConnect()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DUiAutomationShellWrapper.java25 public void connect() { in connect() method in UiAutomationShellWrapper
32 mUiAutomation.connect(); in connect()
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/res/raw/
Dcameraeffectsrecordingsample.graph55 @connect camera[video] => renderer[frame];
57 @connect camera[video] => mediaEncoder[videoframe];
/frameworks/base/core/java/android/nfc/tech/
DBasicTagTechnology.java71 public void connect() throws IOException { in connect() method in BasicTagTechnology
73 int errorCode = mTag.getTagService().connect(mTag.getServiceHandle(), in connect()
/frameworks/base/services/core/java/com/android/server/media/
DRemoteDisplayProviderProxy.java109 mActiveConnection.connect(id); in setSelectedDisplay()
260 mActiveConnection.connect(mSelectedDisplayId); in onConnectionReady()
364 public void connect(String id) { in connect() method in RemoteDisplayProviderProxy.Connection
366 mProvider.connect(id); in connect()

12345678910>>...13