Home
last modified time | relevance | path

Searched refs:ACTION_CONNECTION_STATE_CHANGED (Results 1 – 25 of 52) sorted by relevance

123

/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterProperties.java128 case BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED:
131 case BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED:
134 case BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED:
137 case BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED:
140 case BluetoothA2dpSink.ACTION_CONNECTION_STATE_CHANGED:
143 case BluetoothHidDevice.ACTION_CONNECTION_STATE_CHANGED:
146 case BluetoothHidHost.ACTION_CONNECTION_STATE_CHANGED:
149 case BluetoothAvrcpController.ACTION_CONNECTION_STATE_CHANGED:
152 case BluetoothPan.ACTION_CONNECTION_STATE_CHANGED:
155 case BluetoothMap.ACTION_CONNECTION_STATE_CHANGED:
[all …]
DSilenceDeviceManager.java90 case BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED:
94 case BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED:
221 filter.addAction(BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED); in start()
223 filter.addAction(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); in start()
DActiveDeviceManager.java141 case BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED:
149 case BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED:
385 filter.addAction(BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED); in start()
387 filter.addAction(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); in start()
DPhonePolicy.java109 case BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED:
114 case BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED:
230 filter.addAction(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); in start()
231 filter.addAction(BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED); in start()
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothStateReceiver.java41 INTENT_FILTER.addAction(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED);
44 INTENT_FILTER.addAction(BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED);
62 case BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED: in onReceive()
63 case BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED: in onReceive()
123 boolean isHearingAid = BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED in handleConnectionStateChanged()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DSilenceDeviceManagerTest.java173 Intent intent = new Intent(BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED); in a2dpConnected()
185 Intent intent = new Intent(BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED); in a2dpDisconnected()
197 Intent intent = new Intent(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); in headsetConnected()
209 Intent intent = new Intent(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); in headsetDisconnected()
DActiveDeviceManagerTest.java313 Intent intent = new Intent(BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED); in a2dpConnected()
324 Intent intent = new Intent(BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED); in a2dpDisconnected()
344 Intent intent = new Intent(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); in headsetConnected()
355 Intent intent = new Intent(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); in headsetDisconnected()
DPhonePolicyTest.java232 intent = new Intent(BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED); in testDisconnectNoAutoConnect()
622 Intent intent = new Intent(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); in testNoReconnectOnNoConnect()
678 Intent intent = new Intent(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); in testNoReconnectOnNoConnect_MultiDevice()
774 intent = new Intent(BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED); in updateProfileConnectionStateHelper()
778 intent = new Intent(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); in updateProfileConnectionStateHelper()
781 intent = new Intent(BluetoothAdapter.ACTION_CONNECTION_STATE_CHANGED); in updateProfileConnectionStateHelper()
/packages/apps/Nfc/src/com/android/nfc/handover/
DBluetoothPeripheralHandover.java173 filter.addAction(BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED); in start()
174 filter.addAction(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); in start()
175 filter.addAction(BluetoothHidHost.ACTION_CONNECTION_STATE_CHANGED); in start()
493 } else if (BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED.equals(action) && in handleIntent()
507 } else if (BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED.equals(action) && in handleIntent()
521 } else if (BluetoothHidHost.ACTION_CONNECTION_STATE_CHANGED.equals(action) && in handleIntent()
/packages/services/Car/service/src/com/android/car/
DBluetoothProfileDeviceManager.java92 new BluetoothProfileInfo(BluetoothA2dpSink.ACTION_CONNECTION_STATE_CHANGED, in sProfileActions.put() argument
97 new BluetoothProfileInfo(BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED, in sProfileActions.put() argument
103 new BluetoothProfileInfo(BluetoothMapClient.ACTION_CONNECTION_STATE_CHANGED, in sProfileActions.put() argument
108 new BluetoothProfileInfo(BluetoothPan.ACTION_CONNECTION_STATE_CHANGED, in sProfileActions.put() argument
113 new BluetoothProfileInfo(BluetoothPbapClient.ACTION_CONNECTION_STATE_CHANGED, in sProfileActions.put() argument
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/
DBluetoothTile.java74 } else if (action.equals(BluetoothAdapter.ACTION_CONNECTION_STATE_CHANGED)) {
148 mBtStateChangeFilter.addAction(BluetoothAdapter.ACTION_CONNECTION_STATE_CHANGED); in start()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DAccessibilityHearingAidPreferenceController.java63 if (BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED.equals(intent.getAction())) {
111 filter.addAction(BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED); in onResume()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityHearingAidPreferenceController.java63 if (BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED.equals(intent.getAction())) {
111 filter.addAction(BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED); in onResume()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStateMachine.java84 return BluetoothA2dpSink.ACTION_CONNECTION_STATE_CHANGED; in getConnectionStateChangedIntent()
304 Intent intent = new Intent(BluetoothA2dpSink.ACTION_CONNECTION_STATE_CHANGED); in onConnectionStateChanged()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hid/
DHidDeviceTest.java139 filter.addAction(BluetoothHidDevice.ACTION_CONNECTION_STATE_CHANGED); in setUp()
163 if (!BluetoothHidDevice.ACTION_CONNECTION_STATE_CHANGED.equals(intent.getAction())) { in onReceive()
189 Assert.assertEquals(BluetoothHidDevice.ACTION_CONNECTION_STATE_CHANGED, intent.getAction()); in verifyConnectionStateIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilityHearingAidPreferenceControllerTest.java115 Intent intent = new Intent(BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED); in onHearingAidStateChanged_connected_updateHearingAidSummary()
125 Intent intent = new Intent(BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED); in onHearingAidStateChanged_disconnected_updateHearingAidSummary()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothDeviceManagerTest.java247 ? BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED in buildConnectionActionIntent()
248 : BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); in buildConnectionActionIntent()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcpTargetService.java108 } else if (action.equals(BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED)) { in onReceive()
202 filter.addAction(BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED); in start()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientConnectionService.java69 if (BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED.equals(action)) {
174 filter.addAction(BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED); in onStartCommand()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientService.java87 filter.addAction(BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED); in start()
203 } else if (action.equals(BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED)) { in onReceive()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/
DMapMceTestFragment.java183 intentFilter.addAction(BluetoothMapClient.ACTION_CONNECTION_STATE_CHANGED); in onResume()
315 if (action.equals(BluetoothMapClient.ACTION_CONNECTION_STATE_CHANGED)) { in onReceive()
/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/
DBluetoothHfpStateLiveData.java57 mIntentFilter.addAction(BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED); in BluetoothHfpStateLiveData()
DHfpDeviceListLiveData.java70 mIntentFilter.addAction(BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED); in HfpDeviceListLiveData()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetTestUtils.java64 Assert.assertEquals(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED, intent.getAction()); in verifyConnectionStateBroadcast()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachineTest.java168 Assert.assertEquals(BluetoothAvrcpController.ACTION_CONNECTION_STATE_CHANGED, in testDisconnect()
202 Assert.assertEquals(BluetoothAvrcpController.ACTION_CONNECTION_STATE_CHANGED, in testControlOnly()
234 Assert.assertEquals(BluetoothAvrcpController.ACTION_CONNECTION_STATE_CHANGED, in testBrowsingOnly()

123