Home
last modified time | relevance | path

Searched refs:CONNECT (Results 1 – 25 of 33) sorted by relevance

12

/packages/apps/Bluetooth/src/com/android/bluetooth/le_audio/
DLeAudioStateMachine.java70 static final int CONNECT = 1; field in LeAudioStateMachine
157 case CONNECT: in processMessage()
259 case CONNECT: in processMessage()
345 case CONNECT: in processMessage()
425 removeDeferredMessages(CONNECT); in enter()
442 case CONNECT: in processMessage()
535 case CONNECT: in messageWhatToString()
DLeAudioService.java232 sm.sendMessage(LeAudioStateMachine.CONNECT, groupId); in connect()
251 sm.sendMessage(LeAudioStateMachine.CONNECT, groupId); in connect()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceTest.java242 verify(mStateMachines.get(mCurrentDevice)).sendMessage(HeadsetStateMachine.CONNECT, in testConnectDevice_connectDeviceBelowLimit()
260 verify(mStateMachines.get(mCurrentDevice)).sendMessage(eq(HeadsetStateMachine.CONNECT), in testConnectDevice_connectDeviceBelowLimit()
358 verify(mStateMachines.get(mCurrentDevice)).sendMessage(HeadsetStateMachine.CONNECT, in testConnectDevice_connectDeviceAboveLimit()
360 verify(mStateMachines.get(mCurrentDevice)).sendMessage(eq(HeadsetStateMachine.CONNECT), in testConnectDevice_connectDeviceAboveLimit()
406 verify(mStateMachines.get(mCurrentDevice)).sendMessage(HeadsetStateMachine.CONNECT, in testConnectAudio_withOneDevice()
462 verify(mStateMachines.get(mCurrentDevice)).sendMessage(HeadsetStateMachine.CONNECT, in testConnectAudio_withMultipleDevices()
464 verify(mStateMachines.get(mCurrentDevice)).sendMessage(eq(HeadsetStateMachine.CONNECT), in testConnectAudio_withMultipleDevices()
538 verify(mStateMachines.get(mCurrentDevice)).sendMessage(HeadsetStateMachine.CONNECT, in testConnectAudio_connectTwoAudioChannelsShouldFail()
540 verify(mStateMachines.get(mCurrentDevice)).sendMessage(eq(HeadsetStateMachine.CONNECT), in testConnectAudio_connectTwoAudioChannelsShouldFail()
614 verify(mStateMachines.get(mCurrentDevice)).sendMessage(HeadsetStateMachine.CONNECT, in testConnectAudio_firstConnectedAudioDevice()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidStateMachine.java73 static final int CONNECT = 1; field in HearingAidStateMachine
163 case CONNECT: in processMessage()
265 case CONNECT: in processMessage()
356 case CONNECT: in processMessage()
437 removeDeferredMessages(CONNECT); in enter()
454 case CONNECT: in processMessage()
534 case CONNECT: in messageWhatToString()
DHearingAidService.java273 smConnect.sendMessage(HearingAidStateMachine.CONNECT); in connect()
288 sm.sendMessage(HearingAidStateMachine.CONNECT); in connect()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java77 static final int CONNECT = 1; field in A2dpStateMachine
186 case CONNECT: in processMessage()
290 case CONNECT: in processMessage()
386 case CONNECT: in processMessage()
473 removeDeferredMessages(CONNECT); in enter()
498 case CONNECT: in processMessage()
730 case CONNECT: in messageWhatToString()
/packages/modules/adb/
Dprotocol.txt56 --- CONNECT(version, maxdata, "system-identity-string") ----------------
60 The CONNECT message establishes the presence of a remote system.
66 hard-coded maxdata=4096, so CONNECT and AUTH packets sent to a device must not
67 be larger than that because they're sent before the CONNECT from the device
70 Both sides send a CONNECT message when the connection between them is
71 established. Until a CONNECT message is received no other messages may
72 be sent. Any messages received before a CONNECT message MUST be ignored.
74 If a CONNECT message is received with an unknown version or insufficiently
99 signature verification succeeds, the sender replies with a CONNECT packet.
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMasClient.java42 private static final int CONNECT = 0; field in MasClient
103 mHandler.obtainMessage(CONNECT).sendToTarget(); in MasClient()
224 case CONNECT: in handleMessage()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStateMachine.java43 public static final int CONNECT = 1; field in A2dpSinkStateMachine
119 sendMessage(CONNECT); in connect()
159 case CONNECT: in processMessage()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java91 static final int CONNECT = 1; field in HeadsetStateMachine
467 case CONNECT: in processMessage()
581 case CONNECT: in processMessage()
742 case CONNECT: in processMessage()
827 case CONNECT: in processMessage()
1062 removeDeferredMessages(CONNECT); in enter()
1070 case CONNECT: { in processMessage()
1178 case CONNECT: in processMessage()
1282 case CONNECT: { in processMessage()
1408 case CONNECT: in processMessage()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpBipClient.java71 private static final int CONNECT = 0; field in AvrcpBipClient
141 mHandler.obtainMessage(CONNECT).sendToTarget(); in AvrcpBipClient()
405 case CONNECT: in handleMessage()
DAvrcpControllerStateMachine.java59 public static final int CONNECT = 1; field in AvrcpControllerStateMachine
219 sendMessage(CONNECT); in connect()
428 case CONNECT: in processMessage()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothRouteTransitionTests.java232 private static final int CONNECT = 2; field in BluetoothRouteTransitionTests
329 case CONNECT: in testTransitions()
406 .setExpectedBluetoothInteraction(CONNECT) in generateTestCases()
462 .setExpectedBluetoothInteraction(CONNECT) in generateTestCases()
476 .setExpectedBluetoothInteraction(CONNECT) in generateTestCases()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/connectivity/setup/
DAddStartStateTest.java95 verify(mStateCompleteListener).onComplete(StateMachine.CONNECT); in testForward_AlreadyHasPassword()
103 verify(mStateCompleteListener).onComplete(StateMachine.CONNECT); in testForward_DoNotNeedPassword()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DStateMachine.java47 public static final int CONNECT = 5; field in StateMachine
78 CONNECT,
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DAddWifiNetworkActivity.java149 StateMachine.CONNECT, in onCreate()
161 StateMachine.CONNECT, in onCreate()
DWifiConnectionActivity.java145 StateMachine.CONNECT, in onCreate()
157 StateMachine.CONNECT, in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DWifiSetupActivity.java188 StateMachine.CONNECT, in onCreate()
236 StateMachine.CONNECT, in onCreate()
DAddStartState.java57 mStateMachine.getListener().onComplete(StateMachine.CONNECT); in processForward()
DOptionsOrConnectState.java51 stateMachine.getListener().onComplete(StateMachine.CONNECT); in processForward()
DEasyConnectQRState.java171 mStateMachine.getListener().onComplete(StateMachine.CONNECT); in onEnrolleeSuccess()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java95 public static final int CONNECT = 1; field in HeadsetClientStateMachine
264 case CONNECT: in getMessageName()
930 case CONNECT: in processMessage()
1028 case CONNECT: in processMessage()
1189 case CONNECT: in processMessage()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioStateMachineTest.java189 mLeAudioStateMachine.sendMessage(LeAudioStateMachine.CONNECT, mTestDevice); in testOutgoingTimeout()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidStateMachineTest.java193 mHearingAidStateMachine.sendMessage(HearingAidStateMachine.CONNECT, mTestDevice); in testOutgoingTimeout()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java440 case WifiP2pManager.CONNECT: in handleMessage()
1130 case WifiP2pManager.CONNECT: in processMessage()
1398 case WifiP2pManager.CONNECT: in processMessage()
2000 case WifiP2pManager.CONNECT: in processMessage()
2833 sendMessage(WifiP2pManager.CONNECT, mSavedPeerConfig); in processMessage()
3058 case WifiP2pManager.CONNECT: in processMessage()
3103 sendMessage(WifiP2pManager.CONNECT, mSavedPeerConfig); in processMessage()

12