Home
last modified time | relevance | path

Searched refs:BluetoothProfile (Results 1 – 25 of 69) sorted by relevance

123

/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
H A DCachedBluetoothDeviceTest.java33 import android.bluetooth.BluetoothProfile;
149 BluetoothProfile.CONNECTION_POLICY_FORBIDDEN, null); in onProfileStateChanged_testConnectingToDisconnected_policyForbidden_noProblem()
151 BluetoothProfile.CONNECTION_POLICY_FORBIDDEN, null); in onProfileStateChanged_testConnectingToDisconnected_policyForbidden_noProblem()
153 BluetoothProfile.CONNECTION_POLICY_FORBIDDEN, null); in onProfileStateChanged_testConnectingToDisconnected_policyForbidden_noProblem()
155 BluetoothProfile.CONNECTION_POLICY_FORBIDDEN, null); in onProfileStateChanged_testConnectingToDisconnected_policyForbidden_noProblem()
161 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, null); in onProfileStateChanged_testConnectingToDisconnected_policyUnknown_noProblem()
163 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, null); in onProfileStateChanged_testConnectingToDisconnected_policyUnknown_noProblem()
165 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, null); in onProfileStateChanged_testConnectingToDisconnected_policyUnknown_noProblem()
167 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, null); in onProfileStateChanged_testConnectingToDisconnected_policyUnknown_noProblem()
1072 BluetoothProfile.STATE_DISCONNECTED); in getProfileConnectionState_nullProfile_returnDisconnected()
[all …]
H A DBluetoothEventManagerTest.java30 import android.bluetooth.BluetoothProfile;
168 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP); in dispatchProfileConnectionStateChanged_registerCallback_shouldDispatchCallback()
171 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP); in dispatchProfileConnectionStateChanged_registerCallback_shouldDispatchCallback()
257 assertThat(mCachedDevice1.isActiveDevice(BluetoothProfile.A2DP)).isFalse(); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged()
259 assertThat(mCachedDevice2.isActiveDevice(BluetoothProfile.A2DP)).isFalse(); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged()
266 assertThat(mCachedDevice1.isActiveDevice(BluetoothProfile.A2DP)).isTrue(); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged()
274 assertThat(mCachedDevice1.isActiveDevice(BluetoothProfile.A2DP)).isTrue(); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged()
285 assertThat(mCachedDevice2.isActiveDevice(BluetoothProfile.A2DP)).isTrue(); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged()
334 BluetoothProfile.LE_AUDIO); in dispatchActiveDeviceChanged_connectedMemberDevices_activeDeviceChanged()
407 BluetoothProfile.HEARING_AID); in dispatchActiveDeviceChanged_callExpectedOnActiveDeviceChanged()
[all …]
H A DLocalBluetoothProfileManagerTest.java95 new int[] {BluetoothProfile.HID_HOST, BluetoothProfile.HID_DEVICE})); in constructor_initiateHidAndHidDeviceProfile()
160 mIntent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, BluetoothProfile.STATE_CONNECTING); in stateChangedHandler_receiveA2dpConnectionStateChanged_shouldDispatchCallback()
161 mIntent.putExtra(BluetoothProfile.EXTRA_STATE, BluetoothProfile.STATE_CONNECTED); in stateChangedHandler_receiveA2dpConnectionStateChanged_shouldDispatchCallback()
166 mCachedBluetoothDevice, BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP); in stateChangedHandler_receiveA2dpConnectionStateChanged_shouldDispatchCallback()
182 mIntent.putExtra(BluetoothProfile.EXTRA_STATE, BluetoothProfile.STATE_CONNECTED); in stateChangedHandler_receiveHeadsetConnectionStateChanged_shouldDispatchCallback()
187 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.HEADSET); in stateChangedHandler_receiveHeadsetConnectionStateChanged_shouldDispatchCallback()
204 mIntent.putExtra(BluetoothProfile.EXTRA_STATE, BluetoothProfile.STATE_CONNECTED); in stateChangedHandler_receiveHAPConnectionStateChanged_shouldDispatchDeviceManager()
209 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.HEARING_AID); in stateChangedHandler_receiveHAPConnectionStateChanged_shouldDispatchDeviceManager()
225 mIntent.putExtra(BluetoothProfile.EXTRA_STATE, BluetoothProfile.STATE_CONNECTED); in stateChangedHandler_receivePanConnectionStateChanged_shouldNotDispatchCallback()
246 mIntent.putExtra(BluetoothProfile.EXTRA_STATE, BluetoothProfile.STATE_CONNECTED); in stateChangedHandler_receivePanConnectionStateChangedWithoutProfile_shouldNotRefresh()
[all …]
H A DHapClientProfileTest.java30 import android.bluetooth.BluetoothProfile;
68 private BluetoothProfile.ServiceListener mServiceListener;
100 .thenReturn(BluetoothProfile.STATE_CONNECTED); in getConnectionStatus_returnCorrectConnectionState()
103 .isEqualTo(BluetoothProfile.STATE_CONNECTED); in getConnectionStatus_returnCorrectConnectionState()
178 BluetoothProfile.STATE_CONNECTED, in getConnectedDevices_returnCorrectList()
179 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices_returnCorrectList()
180 BluetoothProfile.STATE_DISCONNECTING}; in getConnectedDevices_returnCorrectList()
195 BluetoothProfile.STATE_DISCONNECTED, in getConnectableDevices_returnCorrectList()
196 BluetoothProfile.STATE_CONNECTED, in getConnectableDevices_returnCorrectList()
197 BluetoothProfile.STATE_CONNECTING, in getConnectableDevices_returnCorrectList()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/media/
H A DBluetoothProfileMonitor.java26 import android.bluetooth.BluetoothProfile;
74 BluetoothProfile bluetoothProfile; in isProfileSupported()
78 case BluetoothProfile.A2DP: in isProfileSupported()
81 case BluetoothProfile.LE_AUDIO: in isProfileSupported()
84 case BluetoothProfile.HEARING_AID: in isProfileSupported()
103 case BluetoothProfile.A2DP: in getGroupId()
105 case BluetoothProfile.LE_AUDIO: in getGroupId()
108 case BluetoothProfile.HEARING_AID: in getGroupId()
129 case BluetoothProfile.A2DP: in onServiceConnected()
135 case BluetoothProfile.LE_AUDIO: in onServiceConnected()
[all …]
H A DLegacyBluetoothRouteController.java30 import android.bluetooth.BluetoothProfile;
436 case BluetoothProfile.A2DP: in onServiceConnected()
441 case BluetoothProfile.HEARING_AID: in onServiceConnected()
444 BluetoothProfile.HEARING_AID); in onServiceConnected()
446 case BluetoothProfile.LE_AUDIO: in onServiceConnected()
469 case BluetoothProfile.A2DP: in onServiceDisconnected()
472 case BluetoothProfile.HEARING_AID: in onServiceDisconnected()
475 case BluetoothProfile.LE_AUDIO: in onServiceDisconnected()
557 if (state == BluetoothProfile.STATE_CONNECTED) { in handleConnectionStateChanged()
567 } else if (state == BluetoothProfile.STATE_DISCONNECTING in handleConnectionStateChanged()
[all …]
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DMapProfile.java26 import android.bluetooth.BluetoothProfile;
61 implements BluetoothProfile.ServiceListener {
76 BluetoothProfile.STATE_CONNECTED); in onServiceConnected()
97 return BluetoothProfile.MAP; in getProfileId()
105 BluetoothProfile.MAP); in MapProfile()
118 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
161 new int[] {BluetoothProfile.STATE_CONNECTED, in getConnectedDevices()
162 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
171 return BluetoothProfile.MAP; in getOrdinal()
181 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
[all …]
H A DHapClientProfile.java29 import android.bluetooth.BluetoothProfile;
114 BluetoothProfile.HAP_CLIENT); in HapClientProfile()
130 BluetoothProfile.STATE_CONNECTED, in getConnectedDevices()
131 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
132 BluetoothProfile.STATE_DISCONNECTING}); in getConnectedDevices()
146 BluetoothProfile.STATE_DISCONNECTED, in getConnectableDevices()
147 BluetoothProfile.STATE_CONNECTED, in getConnectableDevices()
148 BluetoothProfile.STATE_CONNECTING, in getConnectableDevices()
283 return BluetoothProfile.HAP_CLIENT; in getProfileId()
300 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
[all …]
H A DHearingAidProfile.java28 import android.bluetooth.BluetoothProfile;
130 return BluetoothProfile.HEARING_AID; in getProfileId()
161 BluetoothProfile.STATE_CONNECTED, in getConnectedDevices()
162 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
163 BluetoothProfile.STATE_DISCONNECTING}); in getConnectedDevices()
177 BluetoothProfile.STATE_DISCONNECTED, in getConnectableDevices()
178 BluetoothProfile.STATE_CONNECTED, in getConnectableDevices()
179 BluetoothProfile.STATE_CONNECTING, in getConnectableDevices()
180 BluetoothProfile.STATE_DISCONNECTING}); in getConnectableDevices()
323 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
[all …]
H A DSapProfile.java25 import android.bluetooth.BluetoothProfile;
60 implements BluetoothProfile.ServiceListener {
75 BluetoothProfile.STATE_CONNECTED); in onServiceConnected()
95 return BluetoothProfile.SAP; in getProfileId()
103 BluetoothProfile.SAP); in SapProfile()
116 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
159 new int[] {BluetoothProfile.STATE_CONNECTED, in getConnectedDevices()
160 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
161 BluetoothProfile.STATE_DISCONNECTING}); in getConnectedDevices()
179 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
[all …]
H A DMapClientProfile.java19 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_ALLOWED;
26 import android.bluetooth.BluetoothProfile;
60 implements BluetoothProfile.ServiceListener {
75 BluetoothProfile.STATE_CONNECTED); in onServiceConnected()
96 return BluetoothProfile.MAP_CLIENT; in getProfileId()
117 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
160 new int[] {BluetoothProfile.STATE_CONNECTED, in getConnectedDevices()
161 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
162 BluetoothProfile.STATE_DISCONNECTING}); in getConnectedDevices()
180 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
[all …]
H A DA2dpProfile.java28 import android.bluetooth.BluetoothProfile;
100 return BluetoothProfile.A2DP; in getProfileId()
110 BluetoothProfile.A2DP); in A2dpProfile()
131 BluetoothProfile.STATE_CONNECTED, in getConnectedDevices()
132 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
133 BluetoothProfile.STATE_DISCONNECTING}); in getConnectedDevices()
147 BluetoothProfile.STATE_DISCONNECTED, in getConnectableDevices()
148 BluetoothProfile.STATE_CONNECTED, in getConnectableDevices()
149 BluetoothProfile.STATE_CONNECTING, in getConnectableDevices()
362 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
[all …]
H A DHeadsetProfile.java27 import android.bluetooth.BluetoothProfile;
63 implements BluetoothProfile.ServiceListener {
78 BluetoothProfile.STATE_CONNECTED); in onServiceConnected()
97 return BluetoothProfile.HEADSET; in getProfileId()
106 BluetoothProfile.HEADSET); in HeadsetProfile()
119 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
139 .getActiveDevices(BluetoothProfile.HEADSET); in getActiveDevice()
188 new int[] {BluetoothProfile.STATE_CONNECTED, in getConnectedDevices()
189 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
208 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
[all …]
H A DA2dpSinkProfile.java19 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_ALLOWED;
26 import android.bluetooth.BluetoothProfile;
58 implements BluetoothProfile.ServiceListener {
89 return BluetoothProfile.A2DP_SINK; in getProfileId()
97 BluetoothProfile.A2DP_SINK); in A2dpSinkProfile()
113 new int[] {BluetoothProfile.STATE_CONNECTED, in getConnectedDevices()
114 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
115 BluetoothProfile.STATE_DISCONNECTING}); in getConnectedDevices()
120 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
187 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
[all …]
H A DHfpClientProfile.java19 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_ALLOWED;
26 import android.bluetooth.BluetoothProfile;
61 implements BluetoothProfile.ServiceListener {
96 return BluetoothProfile.HEADSET_CLIENT; in getProfileId()
122 new int[] {BluetoothProfile.STATE_CONNECTED, in getConnectedDevices()
123 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
124 BluetoothProfile.STATE_DISCONNECTING}); in getConnectedDevices()
130 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
187 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
190 case BluetoothProfile.STATE_CONNECTED: in getSummaryResourceForDevice()
[all …]
H A DLeAudioProfile.java31 import android.bluetooth.BluetoothProfile;
67 implements BluetoothProfile.ServiceListener {
88 BluetoothProfile.STATE_CONNECTED); in onServiceConnected()
111 return BluetoothProfile.LE_AUDIO; in getProfileId()
123 BluetoothProfile.LE_AUDIO); in LeAudioProfile()
139 new int[] {BluetoothProfile.STATE_CONNECTED, in getConnectedDevices()
140 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
141 BluetoothProfile.STATE_DISCONNECTING}); in getConnectedDevices()
166 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
266 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
[all …]
H A DHidDeviceProfile.java19 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_FORBIDDEN;
25 import android.bluetooth.BluetoothProfile;
55 new HidDeviceServiceListener(), BluetoothProfile.HID_DEVICE); in HidDeviceProfile()
60 implements BluetoothProfile.ServiceListener {
62 public void onServiceConnected(int profile, BluetoothProfile proxy) { in onServiceConnected()
75 BluetoothProfile.STATE_CONNECTED); in onServiceConnected()
93 return BluetoothProfile.HID_DEVICE; in getProfileId()
109 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
116 return getConnectionStatus(device) != BluetoothProfile.STATE_DISCONNECTED; in isEnabled()
154 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
[all …]
H A DPbapClientProfile.java19 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_ALLOWED;
20 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_FORBIDDEN;
26 import android.bluetooth.BluetoothProfile;
58 implements BluetoothProfile.ServiceListener {
60 public void onServiceConnected(int profile, BluetoothProfile proxy) { in onServiceConnected()
100 return BluetoothProfile.PBAP_CLIENT; in getProfileId()
124 new int[] {BluetoothProfile.STATE_CONNECTED, in getConnectedDevices()
125 BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
126 BluetoothProfile.STATE_DISCONNECTING}); in getConnectedDevices()
131 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
[all …]
H A DCsipSetCoordinatorProfile.java20 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_ALLOWED;
21 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_FORBIDDEN;
27 import android.bluetooth.BluetoothProfile;
63 public void onServiceConnected(int profile, BluetoothProfile proxy) { in onServiceConnected()
81 CsipSetCoordinatorProfile.this, BluetoothProfile.STATE_CONNECTED); in onServiceConnected()
106 new CoordinatedSetServiceListener(), BluetoothProfile.CSIP_SET_COORDINATOR); in CsipSetCoordinatorProfile()
123 new int[] {BluetoothProfile.STATE_CONNECTED, BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
124 BluetoothProfile.STATE_DISCONNECTING}); in getConnectedDevices()
138 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
150 return BluetoothProfile.CSIP_SET_COORDINATOR; in getProfileId()
[all …]
H A DVolumeControlProfile.java19 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_ALLOWED;
20 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_FORBIDDEN;
25 import android.bluetooth.BluetoothProfile;
55 implements BluetoothProfile.ServiceListener {
58 public void onServiceConnected(int profile, BluetoothProfile proxy) { in onServiceConnected()
77 BluetoothProfile.STATE_CONNECTED); in onServiceConnected()
102 BluetoothProfile.VOLUME_CONTROL); in VolumeControlProfile()
128 new int[]{BluetoothProfile.STATE_CONNECTED, BluetoothProfile.STATE_CONNECTING, in getConnectedDevices()
129 BluetoothProfile.STATE_DISCONNECTING}); in getConnectedDevices()
135 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
[all …]
H A DHidProfile.java19 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_ALLOWED;
20 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_FORBIDDEN;
26 import android.bluetooth.BluetoothProfile;
53 implements BluetoothProfile.ServiceListener {
55 public void onServiceConnected(int profile, BluetoothProfile proxy) { in onServiceConnected()
67 device.onProfileStateChanged(HidProfile.this, BluetoothProfile.STATE_CONNECTED); in onServiceConnected()
84 return BluetoothProfile.HID_HOST; in getProfileId()
93 BluetoothProfile.HID_HOST); in HidProfile()
106 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
160 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
[all …]
H A DPanProfile.java19 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_ALLOWED;
20 import static android.bluetooth.BluetoothProfile.CONNECTION_POLICY_FORBIDDEN;
26 import android.bluetooth.BluetoothProfile;
55 implements BluetoothProfile.ServiceListener {
57 public void onServiceConnected(int profile, BluetoothProfile proxy) { in onServiceConnected()
73 return BluetoothProfile.PAN; in getProfileId()
78 BluetoothProfile.PAN); in PanProfile()
91 return BluetoothProfile.STATE_DISCONNECTED; in getConnectionStatus()
147 case BluetoothProfile.STATE_DISCONNECTED: in getSummaryResourceForDevice()
150 case BluetoothProfile.STATE_CONNECTED: in getSummaryResourceForDevice()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/bluetooth/
H A DBluetoothRepositoryImplTest.kt17 import android.bluetooth.BluetoothProfile
68 assertThat(status.maxConnectionState).isEqualTo(BluetoothProfile.STATE_CONNECTING)
84 assertThat(status.maxConnectionState).isEqualTo(BluetoothProfile.STATE_DISCONNECTED)
101 assertThat(status.maxConnectionState).isEqualTo(BluetoothProfile.STATE_CONNECTING)
109 whenever(it.maxConnectionState).thenReturn(BluetoothProfile.STATE_CONNECTING)
114 assertThat(status.maxConnectionState).isEqualTo(BluetoothProfile.STATE_CONNECTING)
128 whenever(it.maxConnectionState).thenReturn(BluetoothProfile.STATE_CONNECTED)
134 assertThat(status.maxConnectionState).isEqualTo(BluetoothProfile.STATE_CONNECTED)
144 whenever(it.maxConnectionState).thenReturn(BluetoothProfile.STATE_CONNECTED)
149 whenever(it.maxConnectionState).thenReturn(BluetoothProfile.STATE_CONNECTED)
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/audio/
H A DBtHelper.java29 import android.bluetooth.BluetoothProfile;
466 case BluetoothProfile.HEADSET: in onBtProfileDisconnected()
469 case BluetoothProfile.A2DP: in onBtProfileDisconnected()
475 case BluetoothProfile.LE_AUDIO: in onBtProfileDisconnected()
478 case BluetoothProfile.A2DP_SINK: in onBtProfileDisconnected()
497 case BluetoothProfile.HEADSET: in onBtProfileConnected()
500 case BluetoothProfile.A2DP: in onBtProfileConnected()
506 case BluetoothProfile.LE_AUDIO: in onBtProfileConnected()
509 case BluetoothProfile.A2DP_SINK: in onBtProfileConnected()
946 return BluetoothProfile.A2DP; in getProfileFromType()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DBluetoothControllerImplTest.java32 import android.bluetooth.BluetoothProfile;
251 BluetoothProfile.STATE_CONNECTED); in testOnACLConnectionStateChange_updatesBluetoothStateOnConnection_repoFlagOff()
273 BluetoothProfile.STATE_CONNECTED); in testOnACLConnectionStateChange_updatesBluetoothStateOnConnection_repoFlagOn()
291 BluetoothProfile.STATE_CONNECTED); in testOnActiveDeviceChanged_updatesAudioActive()
311 BluetoothProfile.A2DP, /* isConnected= */ true, /* isActive= */ true); in isBluetoothAudioActive_a2dpIsActive_true()
313 mBluetoothControllerImpl.onActiveDeviceChanged(device, BluetoothProfile.A2DP); in isBluetoothAudioActive_a2dpIsActive_true()
341 BluetoothProfile.PAN, /* isConnected= */ true, /* isActive= */ true); in isBluetoothAudioActive_otherProfile_false()
343 mBluetoothControllerImpl.onActiveDeviceChanged(device, BluetoothProfile.PAN); in isBluetoothAudioActive_otherProfile_false()
395 BluetoothProfile.A2DP, /* isConnected= */ true, /* isActive= */ false); in isBluetoothAudioProfileOnly_onlyA2dpConnected_true()
417 BluetoothProfile.A2DP, /* isConnected= */ true, /* isActive= */ false); in isBluetoothAudioProfileOnly_multipleAudioOnlyProfilesConnected_true()
[all …]

123