Home
last modified time | relevance | path

Searched refs:onConnectionStateChanged (Results 1 – 25 of 42) sorted by relevance

12

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStateMachine.java159 onConnectionStateChanged(BluetoothProfile.STATE_DISCONNECTED); in enter()
216 onConnectionStateChanged(BluetoothProfile.STATE_CONNECTING); in enter()
273 onConnectionStateChanged(BluetoothProfile.STATE_CONNECTED); in enter()
317 onConnectionStateChanged(BluetoothProfile.STATE_DISCONNECTING); in enter()
322 protected void onConnectionStateChanged(int currentState) { in onConnectionStateChanged() method in A2dpSinkStateMachine
DA2dpSinkNativeInterface.java153 public void onConnectionStateChanged(byte[] address, int state) { in onConnectionStateChanged() method in A2dpSinkNativeInterface
DA2dpSinkService.java518 onConnectionStateChanged(event); in messageFromNative()
532 private void onConnectionStateChanged(StackEvent event) { in onConnectionStateChanged() method in A2dpSinkService
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothSummaryUpdaterTest.java193 mSummaryUpdater.onConnectionStateChanged(null /* device */, in onBluetoothStateChanged_ConnectedDisabledEnabled_shouldSendDisconnectedSummary()
222 mSummaryUpdater.onConnectionStateChanged(null /* device */, in onConnectionStateChanged_connected_shouldSendConnectedMessage()
237 mSummaryUpdater.onConnectionStateChanged(null /* device */, in onConnectionStateChanged_inconsistentState_shouldSendDisconnectedMessage()
248 mSummaryUpdater.onConnectionStateChanged(null /* device */, in onConnectionStateChanged_noBondedDevice_shouldSendDisconnectedMessage()
260 mSummaryUpdater.onConnectionStateChanged(null /* device */, in onConnectionStateChanged_connecting_shouldSendConnectingMessage()
273 mSummaryUpdater.onConnectionStateChanged(null /* device */, in onConnectionStateChanged_disconnecting_shouldSendDisconnectingMessage()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DPbapClientStateMachine.java142 onConnectionStateChanged( in enter()
154 onConnectionStateChanged( in enter()
224 onConnectionStateChanged( in enter()
282 onConnectionStateChanged( in enter()
332 private void onConnectionStateChanged(BluetoothDevice device, int prevState, int state) { in onConnectionStateChanged() method in PbapClientStateMachine
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidNativeInterfaceTest.java76 public void onConnectionStateChanged() { in onConnectionStateChanged() method in HearingAidNativeInterfaceTest
78 mNativeInterface.onConnectionStateChanged( in onConnectionStateChanged()
90 mNativeInterface.onConnectionStateChanged( in onConnectionStateChanged()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerServiceTest.java344 mService.onConnectionStateChanged(remoteControlConnected, browsingConnected, mRemoteDevice); in onConnectionStateChanged_connectCase()
360 mService.onConnectionStateChanged(remoteControlConnected, browsingConnected, mRemoteDevice); in onConnectionStateChanged_disconnectCase()
523 mService.onConnectionStateChanged(true, true, mRemoteDevice); in testActiveDeviceMaintainsAudioFocusWhenOtherDeviceConnects_audioFocusMaintained()
529 mService.onConnectionStateChanged(true, true, mRemoteDevice2); in testActiveDeviceMaintainsAudioFocusWhenOtherDeviceConnects_audioFocusMaintained()
533 mService.onConnectionStateChanged(false, false, mRemoteDevice2); in testActiveDeviceMaintainsAudioFocusWhenOtherDeviceConnects_audioFocusMaintained()
534 mService.onConnectionStateChanged(true, true, mRemoteDevice2); in testActiveDeviceMaintainsAudioFocusWhenOtherDeviceConnects_audioFocusMaintained()
/packages/services/BuiltInPrintService/src/com/android/bips/util/
DWifiMonitor.java66 mListener.onConnectionStateChanged(mConnected); in WifiMonitor()
88 void onConnectionStateChanged(boolean isConnected); in onConnectionStateChanged() method
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedConnection.java46 public void onConnectionStateChanged(SelfManagedConnection connection) {} in onConnectionStateChanged() method in SelfManagedConnection.Listener
196 mListener.onConnectionStateChanged(this); in setConnectionActive()
204 mListener.onConnectionStateChanged(this); in setConnectionHeld()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/
DVolumeControlNativeInterfaceTest.java57 public void onConnectionStateChanged() { in onConnectionStateChanged() method in VolumeControlNativeInterfaceTest
61 mNativeInterface.onConnectionStateChanged(state, address); in onConnectionStateChanged()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioNativeInterfaceTest.java60 public void onConnectionStateChanged() { in onConnectionStateChanged() method in LeAudioNativeInterfaceTest
64 mNativeInterface.onConnectionStateChanged(state, address); in onConnectionStateChanged()
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/
DIBluetoothHidDeviceCallback.aidl24 void onConnectionStateChanged(in BluetoothDevice device, in int state); in onConnectionStateChanged() method
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothHidDevice.java282 public void onConnectionStateChanged(BluetoothDevice device, int state) { in onConnectionStateChanged() method in BluetoothHidDevice.Callback
377 public void onConnectionStateChanged(BluetoothDevice device, int state) { in onConnectionStateChanged() method in BluetoothHidDevice.CallbackWrapper
381 mExecutor.execute(() -> mCallback.onConnectionStateChanged(device, state)); in onConnectionStateChanged()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpBipClient.java98 void onConnectionStateChanged(int oldState, int newState); in onConnectionStateChanged() method
230 mCallback.onConnectionStateChanged(oldState, mState); in setConnectionState()
DAvrcpControllerNativeInterface.java121 void onConnectionStateChanged( in onConnectionStateChanged() method in AvrcpControllerNativeInterface
131 mAvrcpController.onConnectionStateChanged( in onConnectionStateChanged()
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DPairedBluetoothDevicesWorker.java78 public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { in onConnectionStateChanged() method in PairedBluetoothDevicesWorker
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/
DHapClientNativeInterfaceTest.java58 public void onConnectionStateChanged() { in onConnectionStateChanged() method in HapClientNativeInterfaceTest
60 mNativeInterface.onConnectionStateChanged(state, TEST_DEVICE_ADDRESS); in onConnectionStateChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DBluetoothUpdateWorkerTest.java73 mBluetoothUpdateWorker.onConnectionStateChanged(null, 0); in onConnectionStateChanged_shouldNotifyChange()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/csip/
DCsipSetCoordinatorServiceTest.java533 .onConnectionStateChanged(any(byte[].class), anyInt()); in testStackEventSetMemberAvailableAfterGroupConnected()
541 mCsipSetCoordinatorNativeInterface.onConnectionStateChanged( in testStackEventSetMemberAvailableAfterGroupConnected()
578 .onConnectionStateChanged(any(byte[].class), anyInt()); in testStackEventSetMemberAvailableBeforeGroupConnected()
583 mCsipSetCoordinatorNativeInterface.onConnectionStateChanged( in testStackEventSetMemberAvailableBeforeGroupConnected()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/
DMceStateMachine.java278 private void onConnectionStateChanged(int prevState, int state) { in onConnectionStateChanged() method in MceStateMachine
525 onConnectionStateChanged(mPreviousState, BluetoothProfile.STATE_DISCONNECTED); in enter()
544 onConnectionStateChanged(mPreviousState, BluetoothProfile.STATE_CONNECTING); in enter()
660 onConnectionStateChanged(mPreviousState, BluetoothProfile.STATE_CONNECTED); in enter()
1219 onConnectionStateChanged(mPreviousState, BluetoothProfile.STATE_DISCONNECTING); in enter()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothPreferenceController.java130 public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { in onConnectionStateChanged() method in BluetoothPreferenceController
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/
DHearingAidNativeInterface.java149 void onConnectionStateChanged(int state, byte[] address) { in onConnectionStateChanged() method in HearingAidNativeInterface
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothSummaryUpdater.java57 public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { in onConnectionStateChanged() method in BluetoothSummaryUpdater
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DBluetoothUpdateWorker.java100 public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { in onConnectionStateChanged() method in BluetoothUpdateWorker
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/
DHfpNativeInterfaceTest.java62 public void onConnectionStateChanged() { in onConnectionStateChanged() method in HfpNativeInterfaceTest
66 mNativeInterface.onConnectionStateChanged(state, peerFeat, chldFeat, TEST_DEVICE_ADDRESS); in onConnectionStateChanged()

12