Home
last modified time | relevance | path

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

12345678

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DBrowserPlayerWrapperTest.java62 wrapper.connect(mConnCb); in testWrap()
64 verify(mMockBrowser).connect(); in testWrap()
76 wrapper.connect(mConnCb); in testConnect()
83 wrapper.connect(mConnCb); in testConnect()
84 verify(mMockBrowser, times(2)).connect(); in testConnect()
97 wrapper.connect(mConnCb); in testEmptyRoot()
101 verify(mMockBrowser, times(1)).connect(); in testEmptyRoot()
111 wrapper.connect(mConnCb); in testDisconnect()
121 wrapper.connect(mConnCb); in testGetRootId()
137 verify(mMockBrowser, times(1)).connect(); in testPlayItem()
/packages/apps/Gallery2/res/raw/
Dgoofy_face.graph112 @connect source[video] => rotate[image];
113 @connect rotate[image] => toPackedGray[image];
114 @connect toPackedGray[image] => faceTracker[image];
116 @connect source[video] => goofyrenderer[image];
118 @connect faceTracker[faces] => metarotate[faces];
119 @connect metarotate[faces] => goofyrenderer[faces];
121 @connect goofyrenderer[outimage] => display[frame];
123 @connect goofyrenderer[outimage] => recorder[videoframe];
Dbackdropper.graph87 @connect source[video] => replacer[video];
88 @connect background[video] => replacer[background];
89 @connect replacer[video] => display[frame];
90 @connect replacer[video] => recorder[videoframe];
/packages/apps/LegacyCamera/res/raw/
Dgoofy_face.graph109 @connect source[video] => rotate[image];
110 @connect rotate[image] => toPackedGray[image];
111 @connect toPackedGray[image] => faceTracker[image];
113 @connect source[video] => goofyrenderer[image];
115 @connect faceTracker[faces] => metarotate[faces];
116 @connect metarotate[faces] => goofyrenderer[faces];
118 @connect goofyrenderer[outimage] => display[frame];
120 @connect goofyrenderer[outimage] => recorder[videoframe];
Dbackdropper.graph85 @connect source[video] => replacer[video];
86 @connect background[video] => replacer[background];
87 @connect replacer[video] => display[frame];
88 @connect replacer[video] => recorder[videoframe];
/packages/apps/Camera2/res/raw/
Dgoofy_face.graph112 @connect source[video] => rotate[image];
113 @connect rotate[image] => toPackedGray[image];
114 @connect toPackedGray[image] => faceTracker[image];
116 @connect source[video] => goofyrenderer[image];
118 @connect faceTracker[faces] => metarotate[faces];
119 @connect metarotate[faces] => goofyrenderer[faces];
121 @connect goofyrenderer[outimage] => display[frame];
123 @connect goofyrenderer[outimage] => recorder[videoframe];
Dbackdropper.graph87 @connect source[video] => replacer[video];
88 @connect background[video] => replacer[background];
89 @connect replacer[video] => display[frame];
90 @connect replacer[video] => recorder[videoframe];
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DPhonePolicyTest.java70 when(mHeadsetService.connect(any(BluetoothDevice.class))).thenReturn(true); in setUp()
71 when(mA2dpService.connect(any(BluetoothDevice.class))).thenReturn(true); in setUp()
157 verify(mA2dpService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).connect(eq(bondedDevices[0])); in testAdapterOnAutoConnect()
158 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).connect(eq(bondedDevices[0])); in testAdapterOnAutoConnect()
296 verify(mA2dpService, timeout(CONNECT_OTHER_PROFILES_TIMEOUT_WAIT_MILLIS)).connect( in testReconnectOnPartialConnect()
337 verify(mA2dpService, timeout(CONNECT_OTHER_PROFILES_TIMEOUT_WAIT_MILLIS)).connect( in testReconnectOnPartialConnect_PreviousPartialFail()
355 verify(mA2dpService, timeout(CONNECT_OTHER_PROFILES_TIMEOUT_WAIT_MILLIS)).connect( in testReconnectOnPartialConnect_PreviousPartialFail()
371 verify(mA2dpService, timeout(CONNECT_OTHER_PROFILES_TIMEOUT_WAIT_MILLIS).times(2)).connect( in testReconnectOnPartialConnect_PreviousPartialFail()
434 verify(mA2dpService, timeout(CONNECT_OTHER_PROFILES_TIMEOUT_WAIT_MILLIS)).connect( in testAutoConnectMultipleDevices()
436 verify(mA2dpService, timeout(CONNECT_OTHER_PROFILES_TIMEOUT_WAIT_MILLIS)).connect( in testAutoConnectMultipleDevices()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/
DConnectToWifiHandlerTest.java70 mHandler.connect(mContext, mAccessPoint); in connect_shouldConnectToUnsavedOpenNetwork()
80 mHandler.connect(mContext, mAccessPoint); in connect_shouldStartOsuProvisioning()
91 mHandler.connect(mContext, mAccessPoint); in connect_shouldConnectWithPasspointProvider()
104 mHandler.connect(mContext, mAccessPoint); in connect_shouldConnectToSavedSecuredNetwork()
114 mHandler.connect(mContext, mAccessPoint); in connect_shouldNotConnectToUnsavedSecuredNetwork()
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallController.java89 public int connect(Call call) { return CONNECTION_FAILED; } in connect() method in InCallController.InCallServiceConnection
210 public int connect(Call call) { in connect() method in InCallController.InCallServiceBindingConnection
320 connect(null);
338 public int connect(Call call) { in connect() method in InCallController.EmergencyInCallServiceConnection
341 int result = mSubConnection.connect(call); in connect()
363 return super.connect(call); in connect()
401 connect(null); // reconnect in onDisconnected()
428 super.connect(null); in takeControl()
461 int result = newConnection.connect(null); in setCarMode()
470 public int connect(Call call) { in connect() method in InCallController.CarSwappingInCallServiceConnection
[all …]
/packages/services/Car/obd2-lib/src/com/android/car/obd2/connections/
DBluetoothConnection.java48 connect(); in BluetoothConnection()
66 private boolean connect() { in connect() method in BluetoothConnection
69 mSocket.connect(); in connect()
99 return connect(); in reconnect()
/packages/apps/Nfc/tests/src/com/android/nfc/snep/
DSnepDefaultClientTests.java48 client.connect(); in testPutSmallToDefaultServer()
55 client.connect(); in testPutLargeToDefaultServer()
62 client.connect(); in testPutTwiceToDefaultServer()
70 client.connect(); in testGetFail()
DSnepCustomClientTests.java48 client.connect(); in testPutSmall()
55 client.connect(); in testPutLarge()
62 client.connect(); in testPutTwice()
70 client.connect(); in testGetSmall()
DSnepValidationClientTests.java56 client.connect(); in testNonFragmented()
81 client.connect(); in testFragmented()
104 client.connect(); in testMultipleNdef()
149 client.connect(); in testUnavailable()
167 client.connect(); in testUndeliverable()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarTest.java67 car.connect(); in testCarConnection()
92 car.connect(); in testDoubleConnect()
94 car.connect(); in testDoubleConnect()
104 car.connect(); in testConstructorWithICar()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMasClient.java100 private void connect() { in connect() method in MasClient
108 mSocket.connect(); in connect()
120 headerset = mSession.connect(headerset); in connect()
211 inst.connect(); in handleMessage()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiSettings.java492 connect(mSelectedAccessPoint.getConfig(), isSavedNetwork); in onContextItemSelected()
497 connect(mSelectedAccessPoint.getConfig(), isSavedNetwork); in onContextItemSelected()
543 connect(mSelectedAccessPoint.getConfig(), mSelectedAccessPoint.isSaved()); in onPreferenceTreeClick()
547 connect(mSelectedAccessPoint.getConfig(), true /* isSavedNetwork */); in onPreferenceTreeClick()
1048 connect(mSelectedAccessPoint.getConfig(), true /* isSavedNetwork */); in submit()
1055 connect(config, false /* isSavedNetwork */); in submit()
1092 protected void connect(final WifiConfiguration config, boolean isSavedNetwork) { in connect() method in WifiSettings
1096 mWifiManager.connect(config, mConnectListener); in connect()
1100 protected void connect(final int networkId, boolean isSavedNetwork) { in connect() method in WifiSettings
1104 mWifiManager.connect(networkId, mConnectListener); in connect()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiSettings.java495 connect(mSelectedAccessPoint.getConfig(), isSavedNetwork); in onContextItemSelected()
502 connect(mSelectedAccessPoint.getConfig(), isSavedNetwork); in onContextItemSelected()
548 connect(mSelectedAccessPoint.getConfig(), mSelectedAccessPoint.isSaved()); in onPreferenceTreeClick()
552 connect(mSelectedAccessPoint.getConfig(), true /* isSavedNetwork */); in onPreferenceTreeClick()
1082 connect(mSelectedAccessPoint.getConfig(), true /* isSavedNetwork */); in submit()
1089 connect(config, false /* isSavedNetwork */); in submit()
1126 protected void connect(final WifiConfiguration config, boolean isSavedNetwork) { in connect() method in WifiSettings
1130 mWifiManager.connect(config, mConnectListener); in connect()
1134 protected void connect(final int networkId, boolean isSavedNetwork) { in connect() method in WifiSettings
1138 mWifiManager.connect(networkId, mConnectListener); in connect()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceTest.java248 Assert.assertTrue(mHeadsetService.connect(mCurrentDevice)); in testConnectDevice_connectDeviceBelowLimit()
266 Assert.assertFalse(mHeadsetService.connect(mCurrentDevice)); in testConnectDevice_connectDeviceBelowLimit()
361 Assert.assertTrue(mHeadsetService.connect(mCurrentDevice)); in testConnectDevice_connectDeviceAboveLimit()
389 Assert.assertFalse(mHeadsetService.connect(mCurrentDevice)); in testConnectDevice_connectDeviceAboveLimit()
412 Assert.assertTrue(mHeadsetService.connect(mCurrentDevice)); in testConnectAudio_withOneDevice()
465 Assert.assertTrue(mHeadsetService.connect(mCurrentDevice)); in testConnectAudio_withMultipleDevices()
541 Assert.assertTrue(mHeadsetService.connect(mCurrentDevice)); in testConnectAudio_connectTwoAudioChannelsShouldFail()
617 Assert.assertTrue(mHeadsetService.connect(mCurrentDevice)); in testConnectAudio_firstConnectedAudioDevice()
682 Assert.assertTrue(mHeadsetService.connect(mCurrentDevice)); in testConnectAudio_deviceDisconnected()
738 Assert.assertTrue(mHeadsetService.connect(mCurrentDevice)); in testPhoneStateChange_oneDeviceSaveState()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidServiceTest.java318 Assert.assertFalse("Connect expected to fail", mService.connect(mLeftDevice)); in testOutgoingConnectMissingHearingAidUuid()
335 Assert.assertFalse("Connect expected to fail", mService.connect(mLeftDevice)); in testOutgoingConnectPriorityOff()
355 Assert.assertTrue("Connect failed", mService.connect(mLeftDevice)); in testOutgoingConnectTimeout()
390 Assert.assertTrue("Connect failed", mService.connect(mLeftDevice)); in testConnectAPair_connectBothDevices()
422 Assert.assertTrue("Connect failed", mService.connect(mLeftDevice)); in testConnectAnotherPair_disconnectCurrentPair()
450 Assert.assertTrue("Connect failed", mService.connect(mSingleDevice)); in testConnectAnotherPair_disconnectCurrentPair()
486 Assert.assertTrue("Connect failed", mService.connect(mLeftDevice)); in testAudioManagerConnectDisconnect()
487 Assert.assertTrue("Connect failed", mService.connect(mRightDevice)); in testAudioManagerConnectDisconnect()
842 Assert.assertTrue("Connect failed", mService.connect(mLeftDevice)); in firstTimeConnection_shouldConnectToBothDevices()
872 Assert.assertTrue("Connect failed", mService.connect(mRightDevice)); in firstTimeConnection_shouldConnectToBothDevices()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/mapclient/
DMapClientTest.java128 Assert.assertTrue(mService.connect(device)); in testConnect()
147 Assert.assertFalse(mService.connect(device)); in testConnectPriorityOffDevice()
175 Assert.assertTrue(mService.connect(d)); in testConnectMaxDevices()
187 Assert.assertFalse(mService.connect(last)); in testConnectMaxDevices()
/packages/services/Car/service/src/com/android/car/
DCarBluetoothUserService.java308 return mBluetoothA2dpSink.connect(device); in bluetoothConnectToProfile()
310 return mBluetoothHeadsetClient.connect(device); in bluetoothConnectToProfile()
312 return mBluetoothMapClient.connect(device); in bluetoothConnectToProfile()
314 return mBluetoothPbapClient.connect(device); in bluetoothConnectToProfile()
316 return mBluetoothPan.connect(device); in bluetoothConnectToProfile()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/slice/
DConnectToWifiHandler.java50 connect(new AccessPoint(this, accessPointState)); in onCreate()
56 void connect(AccessPoint accessPoint) { in connect() method in ConnectToWifiHandler
68 wifiManager.connect(accessPoint.getConfig(), connectListener); in connect()
/packages/apps/Settings/src/com/android/settings/wifi/slice/
DConnectToWifiHandler.java55 connect(context, new AccessPoint(context, accessPointState)); in onReceive()
60 void connect(Context context, AccessPoint accessPoint) { in connect() method in ConnectToWifiHandler
75 wifiManager.connect(accessPoint.getConfig(), connectListener); in connect()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DBrowsedPlayerWrapper.java112 void connect(ConnectionCallback cb) { in connect() method in BrowsedPlayerWrapper
127 mWrappedBrowser.connect(); in connect()
146 connect((int status, BrowsedPlayerWrapper wrapper) -> { in playItem() method
193 mWrappedBrowser.connect(); in getFolderItems()

12345678