Home
last modified time | relevance | path

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

12345678

/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DTelephonyRcsServiceTest.java90 verify(mFeatureControllerSlot0).connect(); in testUserCapabilityExchangePresenceConnected()
98 verify(mFeatureControllerSlot0).connect(); in testUserCapabilityExchangeOptionsConnected()
107 verify(mFeatureControllerSlot0, never()).connect(); in testNoFeaturesEnabled()
118 verify(mFeatureControllerSlot0, never()).connect(); in testNoFeaturesEnabledCarrierConfigChanged()
128 verify(mFeatureControllerSlot0).connect(); in testSlotUpdates()
134 verify(mFeatureControllerSlot0, times(1)).connect(); in testSlotUpdates()
139 verify(mFeatureControllerSlot1, never()).connect(); in testSlotUpdates()
144 verify(mFeatureControllerSlot0, times(1)).connect(); in testSlotUpdates()
146 verify(mFeatureControllerSlot1, times(1)).connect(); in testSlotUpdates()
155 verify(mFeatureControllerSlot0, times(1)).connect(); in testSlotUpdates()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DBrowserPlayerWrapperTest.java73 wrapper.connect(mConnCb); in testWrap()
75 verify(mMockBrowser).connect(); in testWrap()
88 wrapper.connect(mConnCb); in testConnect_Successful()
92 verify(mMockBrowser, times(1)).connect(); in testConnect_Successful()
102 wrapper.connect(mConnCb); in testConnect_Suspended()
106 verify(mMockBrowser, times(1)).connect(); in testConnect_Suspended()
119 wrapper.connect(mConnCb); in testConnect_Failed()
123 verify(mMockBrowser, times(1)).connect(); in testConnect_Failed()
136 wrapper.connect(mConnCb); in testEmptyRoot()
140 verify(mMockBrowser, times(1)).connect(); in testEmptyRoot()
[all …]
/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.java73 when(mHeadsetService.connect(any(BluetoothDevice.class))).thenReturn(true); in setUp()
74 when(mA2dpService.connect(any(BluetoothDevice.class))).thenReturn(true); in setUp()
167 verify(mA2dpService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).connect(eq(bondedDevice)); in testAdapterOnAutoConnect()
168 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).connect(eq(bondedDevice)); 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.java101 public int connect(Call call) { return CONNECTION_FAILED; } in connect() method in InCallController.InCallServiceConnection
272 public int connect(Call call) { in connect() method in InCallController.InCallServiceBindingConnection
407 connect(call);
425 public int connect(Call call) { in connect() method in InCallController.EmergencyInCallServiceConnection
428 int result = mSubConnection.connect(call); in connect()
450 return super.connect(call); in connect()
488 connect(mCall); // reconnect in onDisconnected()
515 super.connect(null); in takeControl()
554 int result = newConnection.connect(null); in chooseInitialInCallService()
574 int result = mDialerConnection.connect(null); in disableCarMode()
[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/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidServiceTest.java302 Assert.assertFalse("Connect expected to fail", mService.connect(mLeftDevice)); in testOutgoingConnectMissingHearingAidUuid()
319 Assert.assertFalse("Connect expected to fail", mService.connect(mLeftDevice)); in testOutgoingConnectPriorityOff()
341 Assert.assertTrue("Connect failed", mService.connect(mLeftDevice)); in testOutgoingConnectTimeout()
378 Assert.assertTrue("Connect failed", mService.connect(mLeftDevice)); in testConnectAPair_connectBothDevices()
412 Assert.assertTrue("Connect failed", mService.connect(mLeftDevice)); in testConnectAnotherPair_disconnectCurrentPair()
440 Assert.assertTrue("Connect failed", mService.connect(mSingleDevice)); in testConnectAnotherPair_disconnectCurrentPair()
478 Assert.assertTrue("Connect failed", mService.connect(mLeftDevice)); in testAudioManagerConnectDisconnect()
479 Assert.assertTrue("Connect failed", mService.connect(mRightDevice)); in testAudioManagerConnectDisconnect()
845 Assert.assertTrue("Connect failed", mService.connect(mLeftDevice)); in firstTimeConnection_shouldConnectToBothDevices()
875 Assert.assertTrue("Connect failed", mService.connect(mRightDevice)); in firstTimeConnection_shouldConnectToBothDevices()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpBipClient.java247 private synchronized void connect() { in connect() method in AvrcpBipClient
258 mSocket.connect(); in connect()
266 headerSet = mSession.connect(headerSet); in connect()
303 headerSet = mSession.connect(headerSet); in refreshObexSession()
407 inst.connect(); in handleMessage()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMasClient.java106 private void connect() { in connect() method in MasClient
123 mSocket.connect(); in connect()
135 headerset = mSession.connect(headerset); in connect()
226 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()
500 connect(mSelectedAccessPoint.getConfig(), isSavedNetwork); in onContextItemSelected()
546 connect(mSelectedAccessPoint.getConfig(), mSelectedAccessPoint.isSaved()); in onPreferenceTreeClick()
550 connect(mSelectedAccessPoint.getConfig(), true /* isSavedNetwork */); in onPreferenceTreeClick()
1079 connect(mSelectedAccessPoint.getConfig(), true /* isSavedNetwork */); in submit()
1086 connect(config, false /* isSavedNetwork */); in submit()
1123 protected void connect(final WifiConfiguration config, boolean isSavedNetwork) { in connect() method in WifiSettings
1127 mWifiManager.connect(config, mConnectListener); in connect()
1131 protected void connect(final int networkId, boolean isSavedNetwork) { in connect() method in WifiSettings
1135 mWifiManager.connect(networkId, mConnectListener); in connect()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceTest.java238 Assert.assertTrue(mHeadsetService.connect(mCurrentDevice)); in testConnectDevice_connectDeviceBelowLimit()
256 Assert.assertFalse(mHeadsetService.connect(mCurrentDevice)); in testConnectDevice_connectDeviceBelowLimit()
351 Assert.assertTrue(mHeadsetService.connect(mCurrentDevice)); in testConnectDevice_connectDeviceAboveLimit()
379 Assert.assertFalse(mHeadsetService.connect(mCurrentDevice)); in testConnectDevice_connectDeviceAboveLimit()
402 Assert.assertTrue(mHeadsetService.connect(mCurrentDevice)); in testConnectAudio_withOneDevice()
455 Assert.assertTrue(mHeadsetService.connect(mCurrentDevice)); in testConnectAudio_withMultipleDevices()
531 Assert.assertTrue(mHeadsetService.connect(mCurrentDevice)); in testConnectAudio_connectTwoAudioChannelsShouldFail()
607 Assert.assertTrue(mHeadsetService.connect(mCurrentDevice)); in testConnectAudio_firstConnectedAudioDevice()
672 Assert.assertTrue(mHeadsetService.connect(mCurrentDevice)); in testConnectAudio_deviceDisconnected()
728 Assert.assertTrue(mHeadsetService.connect(mCurrentDevice)); in testPhoneStateChange_oneDeviceSaveState()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/mapclient/
DMapClientTest.java117 Assert.assertTrue(mService.connect(device)); in testConnect()
141 Assert.assertFalse(mService.connect(device)); in testConnectPriorityOffDevice()
169 Assert.assertTrue(mService.connect(d)); in testConnectMaxDevices()
181 Assert.assertFalse(mService.connect(last)); in testConnectMaxDevices()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkService.java174 public boolean connect(BluetoothDevice device) { in connect() method in A2dpSinkService.A2dpSinkServiceBinder
179 return service.connect(device); in connect()
262 public boolean connect(BluetoothDevice device) { in connect() method in A2dpSinkService
282 stateMachine.connect(); in connect()
404 connect(device); in setConnectionPolicy()
/packages/services/Car/service/src/com/android/car/
DCarBluetoothUserService.java284 return mBluetoothA2dpSink.connect(device); in bluetoothConnectToProfile()
286 return mBluetoothHeadsetClient.connect(device); in bluetoothConnectToProfile()
288 return mBluetoothMapClient.connect(device); in bluetoothConnectToProfile()
290 return mBluetoothPbapClient.connect(device); in bluetoothConnectToProfile()
292 return mBluetoothPan.connect(device); in bluetoothConnectToProfile()

12345678