Home
last modified time | relevance | path

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

12345678910>>...13

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DMediaDeviceTest.java194 mBluetoothMediaDevice2.connect(); in compareTo_lastSelected_others_lastSelectedFirst()
205 mBluetoothMediaDevice1.connect(); in compareTo_connectionRecord_sortByRecord()
206 mBluetoothMediaDevice2.connect(); in compareTo_connectionRecord_sortByRecord()
207 mBluetoothMediaDevice2.connect(); in compareTo_connectionRecord_sortByRecord()
224 mBluetoothMediaDevice1.connect(); in compareTo_sortByRecord_connectedDeviceFirst()
225 mBluetoothMediaDevice2.connect(); in compareTo_sortByRecord_connectedDeviceFirst()
226 mBluetoothMediaDevice2.connect(); in compareTo_sortByRecord_connectedDeviceFirst()
308 mBluetoothMediaDevice3.connect(); in compareTo_mixedDevices_carKitFirst()
309 mBluetoothMediaDevice2.connect(); in compareTo_mixedDevices_carKitFirst()
310 mBluetoothMediaDevice2.connect(); in compareTo_mixedDevices_carKitFirst()
[all …]
DPhoneMediaDeviceTest.java75 assertThat(mPhoneMediaDevice.connect()).isTrue(); in connect_phoneDeviceSetActiveSuccess_isConnectedReturnTrue()
83 assertThat(mPhoneMediaDevice.connect()).isFalse(); in connect_a2dpProfileSetActiveFail_isConnectedReturnFalse()
91 assertThat(mPhoneMediaDevice.connect()).isFalse(); in connect_hearingAidProfileSetActiveFail_isConnectedReturnFalse()
99 assertThat(mPhoneMediaDevice.connect()).isFalse(); in connect_hearingAidAndA2dpProfileSetActiveFail_isConnectedReturnFalse()
107 assertThat(mPhoneMediaDevice.connect()).isTrue(); in connect_hearingAidProfileIsNullAndA2dpProfileNotNull_isConnectedReturnTrue()
115 assertThat(mPhoneMediaDevice.connect()).isTrue(); in connect_hearingAidProfileNotNullAndA2dpProfileIsNull_isConnectedReturnTrue()
123 assertThat(mPhoneMediaDevice.connect()).isFalse(); in connect_hearingAidProfileAndA2dpProfileIsNull_isConnectedReturnFalse()
/frameworks/av/media/libaaudio/tests/
Dtest_flowgraph.cpp48 sourceFloat.output.connect(&sinkI16.input); in TEST()
67 sourceFloat.output.connect(&monoToStereo.input); in TEST()
68 monoToStereo.output.connect(&sinkFloat.input); in TEST()
92 rampLinear.output.connect(&sinkFloat.input); in TEST()
121 sourceI24.output.connect(&sinkI24.input); in TEST()
147 sourceFloat.output.connect(&clipper.input); in TEST()
148 clipper.output.connect(&sinkFloat.input); in TEST()
/frameworks/av/media/libstagefright/
DOMXClient.cpp39 status_t OMXClient::connect() { in connect() function in android::OMXClient
40 return connect("default"); in connect()
43 status_t OMXClient::connect(const char* name) { in connect() function in android::OMXClient
/frameworks/av/media/libaaudio/src/client/
DAAudioFlowGraph.cpp62 lastOutput->connect(&mVolumeRamp->input); in configure()
69 lastOutput->connect(&mClipper->input); in configure()
76 lastOutput->connect(&mChannelConverter->input); in configure()
97 lastOutput->connect(&mSink->input); in configure()
/frameworks/base/services/core/java/com/android/server/om/
DIdmapDaemon.java108 try (Connection connection = connect()) { in createIdmap()
114 try (Connection connection = connect()) { in removeIdmap()
121 try (Connection connection = connect()) { in verifyIdmap()
127 try (Connection connection = connect()) { in getIdmapPath()
140 private Connection connect() throws Exception { in connect() method in IdmapDaemon
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java168 assertEquals(false, mNetworkConnection.connect(TEST_SSID, TEST_NAI, TEST_PROVIDER_NAME)); in verifyNetworkConnectionWhenWifiIsDisabled()
178 mNetworkConnection.connect(TEST_SSID, TEST_NAI_OSEN, TEST_PROVIDER_NAME)); in verifyOSENUnsupported()
189 assertEquals(false, mNetworkConnection.connect(TEST_SSID, TEST_NAI, TEST_PROVIDER_NAME)); in verifyNetworkConnectionWhenAddNetworkFails()
201 assertEquals(false, mNetworkConnection.connect(TEST_SSID, TEST_NAI, TEST_PROVIDER_NAME)); in verifyNetworkConnectionWhenEnableNetworkFails()
215 assertEquals(true, mNetworkConnection.connect(TEST_SSID, TEST_NAI, TEST_PROVIDER_NAME)); in verifyNetworkCallbackInvokedWhenConnected()
245 assertEquals(true, mNetworkConnection.connect(TEST_SSID, TEST_NAI, TEST_PROVIDER_NAME)); in verifyNetworkCallbackWithoutOnAvailable()
268 assertEquals(true, mNetworkConnection.connect(TEST_SSID, TEST_NAI, TEST_PROVIDER_NAME)); in verifyNetworkConnectionTimeout()
295 assertEquals(true, mNetworkConnection.connect(TEST_SSID, TEST_NAI, TEST_PROVIDER_NAME)); in verifyNetworkDisconnect()
313 assertEquals(true, mNetworkConnection.connect(TEST_SSID, TEST_NAI, TEST_PROVIDER_NAME)); in verifyWifiConfigurationForOsuNetwork()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java548 mWiFiNetworkAgent.connect(false); in testWaitForIdle()
568 mWiFiNetworkAgent.connect(false); in verifyThatNotWaitingForIdleCausesRaceConditions()
685 super.connect(); in connectWithoutInternet()
692 public void connect(boolean validated) { in connect() method in ConnectivityServiceTest.TestNetworkAgentWrapper
693 connect(validated, true, false /* isStrictMode */); in connect()
701 public void connect(boolean validated, boolean hasInternet, boolean isStrictMode) { in connect() method in ConnectivityServiceTest.TestNetworkAgentWrapper
740 connect(false, true /* hasInternet */, isStrictMode); in connectWithCaptivePortal()
745 connect(false); in connectWithPartialConnectivity()
750 connect(false, true /* hasInternet */, isStrictMode); in connectWithPartialValidConnectivity()
1076 private void connect(boolean isAlwaysMetered) { in connect() method in ConnectivityServiceTest.MockVpn
[all …]
/frameworks/rs/tests/java_api/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
77 connect, in createTest()
85 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/av/media/libstagefright/include/media/stagefright/
DOMXClient.h29 status_t connect();
30 status_t connect(const char* name);
/frameworks/native/libs/gui/tests/
DMalicious.cpp61 status_t connect(const sp<IProducerListener>& listener, int api, bool producerControlledByApp, in connect() function in android::test::ProxyBQP
63 return mProducer->connect(listener, api, producerControlledByApp, output); in connect()
154 ASSERT_EQ(NO_ERROR, surface->connect(NATIVE_WINDOW_API_CPU, nullptr, false)); in TEST()
168 ASSERT_EQ(NO_ERROR, surface->connect(NATIVE_WINDOW_API_CPU, nullptr, false)); in TEST()
182 ASSERT_EQ(NO_ERROR, surface->connect(NATIVE_WINDOW_API_CPU, nullptr, false)); in TEST()
196 ASSERT_EQ(NO_ERROR, surface->connect(NATIVE_WINDOW_API_CPU, nullptr, false)); in TEST()
DBufferQueue_test.cpp141 mProducer->connect(nullptr, NATIVE_WINDOW_API_CPU, false, &output)); in TEST_F()
177 mProducer->connect(new DummyProducerListener, NATIVE_WINDOW_API_CPU, false, in TEST_F()
217 mProducer->connect(new DummyProducerListener, NATIVE_WINDOW_API_CPU, false, in TEST_F()
258 mProducer->connect(new DummyProducerListener, NATIVE_WINDOW_API_CPU, false, in TEST_F()
326 ASSERT_EQ(OK, mProducer->connect(new DummyProducerListener, in TEST_F()
380 ASSERT_EQ(OK, mProducer->connect(new DummyProducerListener, in TEST_F()
439 ASSERT_EQ(OK, mProducer->connect(new DummyProducerListener, in TEST_F()
482 ASSERT_EQ(OK, mProducer->connect(new DummyProducerListener, in TEST_F()
520 ASSERT_EQ(OK, mProducer->connect(new DummyProducerListener, in TEST_F()
562 ASSERT_EQ(OK, mProducer->connect(new DummyProducerListener, in TEST_F()
[all …]
/frameworks/rs/tests/java_api/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/tests/java_api/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/av/media/libdatasource/
DMediaHTTP.cpp41 status_t MediaHTTP::connect( in connect() function in android::MediaHTTP
63 bool success = mHTTPConnection->connect(mLastURI.c_str(), &extHeaders); in connect()
153 return connect(mLastURI.c_str(), &mLastHeaders, offset); in reconnectAtOffset()
/frameworks/av/media/bufferpool/1.0/
DAccessor.cpp117 Return<void> Accessor::connect(connect_cb _hidl_cb) { in connect() function in android::hardware::media::bufferpool::V1_0::implementation::Accessor
122 ResultStatus status = connect(&connection, &connectionId, &fmqDesc, false); in connect()
163 ResultStatus Accessor::connect( in connect() function in android::hardware::media::bufferpool::V1_0::implementation::Accessor
167 ResultStatus status = mImpl->connect(this, connection, pConnectionId, fmqDescPtr); in connect()
/frameworks/base/core/java/com/android/internal/util/
DAsyncChannel.java323 public void connect(Context srcContext, Handler srcHandler, String dstPackageName, in connect() method in AsyncChannel
366 public void connect(Context srcContext, Handler srcHandler, Class<?> klass) { in connect() method in AsyncChannel
367 connect(srcContext, srcHandler, klass.getPackage().getName(), klass.getName()); in connect()
382 public void connect(Context srcContext, Handler srcHandler, Messenger dstMessenger) { in connect() method in AsyncChannel
426 public void connect(Context srcContext, Handler srcHandler, Handler dstHandler) { in connect() method in AsyncChannel
427 connect(srcContext, srcHandler, new Messenger(dstHandler)); in connect()
440 public void connect(AsyncService srcAsyncService, Messenger dstMessenger) { in connect() method in AsyncChannel
441 connect(srcAsyncService, srcAsyncService.getHandler(), dstMessenger); in connect()
/frameworks/base/core/java/android/net/
DLocalSocket.java141 public void connect(LocalSocketAddress endpoint) throws IOException { in connect() method in LocalSocket
148 impl.connect(endpoint, 0); in connect()
292 public void connect(LocalSocketAddress endpoint, int timeout) in connect() method in LocalSocket
/frameworks/rs/tests/java_api/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/av/media/bufferpool/2.0/
DAccessor.cpp121 Return<void> Accessor::connect( in connect() function in android::hardware::media::bufferpool::V2_0::implementation::Accessor
130 ResultStatus status = connect( in connect()
183 ResultStatus Accessor::connect( in connect() function in android::hardware::media::bufferpool::V2_0::implementation::Accessor
190 ResultStatus status = mImpl->connect( in connect()
/frameworks/av/media/libaaudio/src/flowgraph/
DAudioProcessorBase.cpp54 void AudioFloatOutputPort::connect(AudioFloatInputPort *port) { in connect() function in AudioFloatOutputPort
55 port->connect(this); in connect()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAccessPointControllerImpl.java107 public boolean connect(AccessPoint ap) { in connect() method in AccessPointControllerImpl
111 mWifiTracker.getManager().connect(ap.getConfig().networkId, mConnectListener); in connect()
122 mWifiTracker.getManager().connect(ap.getConfig(), mConnectListener); in connect()

12345678910>>...13