Home
last modified time | relevance | path

Searched refs:A2DP (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DBluetoothEventManagerTest.java154 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP); in dispatchProfileConnectionStateChanged_registerCallback_shouldDispatchCallback()
157 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP); in dispatchProfileConnectionStateChanged_registerCallback_shouldDispatchCallback()
243 assertThat(mCachedDevice1.isActiveDevice(BluetoothProfile.A2DP)).isFalse(); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged()
245 assertThat(mCachedDevice2.isActiveDevice(BluetoothProfile.A2DP)).isFalse(); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged()
249 mBluetoothEventManager.dispatchActiveDeviceChanged(mCachedDevice1, BluetoothProfile.A2DP); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged()
252 assertThat(mCachedDevice1.isActiveDevice(BluetoothProfile.A2DP)).isTrue(); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged()
254 assertThat(mCachedDevice2.isActiveDevice(BluetoothProfile.A2DP)).isFalse(); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged()
260 assertThat(mCachedDevice1.isActiveDevice(BluetoothProfile.A2DP)).isTrue(); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged()
262 assertThat(mCachedDevice2.isActiveDevice(BluetoothProfile.A2DP)).isFalse(); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged()
266 mBluetoothEventManager.dispatchActiveDeviceChanged(mCachedDevice2, BluetoothProfile.A2DP); in dispatchActiveDeviceChanged_connectedDevices_activeDeviceChanged()
[all …]
DCachedBluetoothDeviceTest.java173 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testSingleProfileActiveDeviceA2dp()
189 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testSingleProfileActiveDeviceA2dp()
205 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_shortSummary_returnShortSummary()
237 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testA2dpInCall_returnNull()
252 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testA2dpBatteryInCall_returnBattery()
420 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testMultipleProfilesActiveDevice()
430 mCachedDevice.onActiveDeviceChanged(false, BluetoothProfile.A2DP); in getConnectionSummary_testMultipleProfilesActiveDevice()
439 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testMultipleProfilesActiveDevice()
448 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testMultipleProfilesActiveDevice()
582 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getCarConnectionSummary_singleProfileActiveDeviceA2dp()
[all …]
DLocalBluetoothProfileManagerTest.java120 new int[] {BluetoothProfile.A2DP})); in updateLocalProfiles_addA2dpToLocalProfiles()
155 new int[] {BluetoothProfile.A2DP})); in stateChangedHandler_receiveA2dpConnectionStateChanged_shouldDispatchCallback()
166 mCachedBluetoothDevice, BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP); in stateChangedHandler_receiveA2dpConnectionStateChanged_shouldDispatchCallback()
DA2dpProfileTest.java71 mServiceListener.onServiceConnected(BluetoothProfile.A2DP, mBluetoothA2dp); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DAudioDeviceBrokerTest.java100 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP, true, 1); in testPostA2dpDeviceConnectionChange()
105 ArgumentMatchers.eq(BluetoothProfile.A2DP) /*profile*/, in testPostA2dpDeviceConnectionChange()
187 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP, true, 1); in doTestConnectionDisconnectionReconnection()
192 BluetoothProfile.STATE_DISCONNECTED, BluetoothProfile.A2DP, false, -1); in doTestConnectionDisconnectionReconnection()
199 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP, true, 2); in doTestConnectionDisconnectionReconnection()
/frameworks/base/services/core/java/com/android/server/
DBluetoothAirplaneModeListener.java160 mAdapter.getProfileProxy(mContext, mProfileServiceListener, BluetoothProfile.A2DP); in AirplaneModeHelper()
170 case BluetoothProfile.A2DP:
185 case BluetoothProfile.A2DP:
/frameworks/base/core/java/android/bluetooth/
DBluetoothProfile.java86 int A2DP = 2; field
379 case A2DP: in getProfileName()
DBluetoothA2dp.java230 new BluetoothProfileConnector(this, BluetoothProfile.A2DP, "BluetoothA2dp",
DBluetoothAdapter.java2808 } else if (profile == BluetoothProfile.A2DP) { in getProfileProxy()
2878 case BluetoothProfile.A2DP: in closeProfileProxy()
/frameworks/base/services/core/java/com/android/server/media/
DBluetoothRouteProvider.java107 mBluetoothAdapter.getProfileProxy(mContext, mProfileListener, BluetoothProfile.A2DP); in start()
277 newBtRoute.connectedProfiles.put(BluetoothProfile.A2DP, true); in createBluetoothRoute()
399 case BluetoothProfile.A2DP: in onServiceConnected()
426 case BluetoothProfile.A2DP: in onServiceDisconnected()
489 handleConnectionStateChanged(BluetoothProfile.A2DP, intent, device); in onReceive()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothStressTest.java199 mTestUtils.disconnectProfile(mAdapter, device, BluetoothProfile.A2DP, null); in testConnectA2dp()
203 mTestUtils.connectProfile(mAdapter, device, BluetoothProfile.A2DP, in testConnectA2dp()
205 mTestUtils.disconnectProfile(mAdapter, device, BluetoothProfile.A2DP, in testConnectA2dp()
DBluetoothTestUtils.java222 case BluetoothProfile.A2DP: in ConnectProfileReceiver()
317 case BluetoothProfile.A2DP:
337 case BluetoothProfile.A2DP:
938 if (profile == BluetoothProfile.A2DP) { in connectProfile()
1013 if (profile == BluetoothProfile.A2DP) { in disconnectProfile()
1440 case BluetoothProfile.A2DP: in connectProxy()
1466 case BluetoothProfile.A2DP: in connectProxy()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DA2dpProfile.java96 return BluetoothProfile.A2DP; in getProfileId()
106 BluetoothProfile.A2DP); in A2dpProfile()
358 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.A2DP, in finalize()
DCachedBluetoothDevice.java108 case BluetoothProfile.A2DP:
227 case BluetoothProfile.A2DP: in setProfileConnectedStatus()
529 case BluetoothProfile.A2DP: in onActiveDeviceChanged()
566 case BluetoothProfile.A2DP: in isActiveDevice()
DBluetoothEventManager.java440 bluetoothProfile = BluetoothProfile.A2DP; in onReceive()
DLocalBluetoothProfileManager.java134 if (mA2dpProfile == null && supportedList.contains(BluetoothProfile.A2DP)) { in updateLocalProfiles()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DBluetoothMediaDeviceTest.java52 when(mDevice.isActiveDevice(BluetoothProfile.A2DP)).thenReturn(true); in setUp()
DLocalMediaManagerTest.java749 when(cachedDevice1.isActiveDevice(BluetoothProfile.A2DP)).thenReturn(false); in updateCurrentConnectedDevice_bluetoothDeviceIsActive_returnBluetoothDevice()
750 when(cachedDevice2.isActiveDevice(BluetoothProfile.A2DP)).thenReturn(true); in updateCurrentConnectedDevice_bluetoothDeviceIsActive_returnBluetoothDevice()
777 when(cachedDevice1.isActiveDevice(BluetoothProfile.A2DP)).thenReturn(false); in updateCurrentConnectedDevice_phoneDeviceIsActive_returnPhoneDevice()
778 when(cachedDevice2.isActiveDevice(BluetoothProfile.A2DP)).thenReturn(false); in updateCurrentConnectedDevice_phoneDeviceIsActive_returnPhoneDevice()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImpl.java265 || device.isActiveDevice(BluetoothProfile.A2DP) in updateActive()
284 || profileId == BluetoothProfile.A2DP in updateAudioProfile()
/frameworks/av/media/libaudiohal/impl/
DDevicesFactoryHalHidl.cpp91 return IDevicesFactory::Device::A2DP; in idFromHal()
/frameworks/base/services/core/java/com/android/server/audio/
DBtHelper.java242 mBluetoothProfileServiceListener, BluetoothProfile.A2DP); in onSystemReady()
665 case BluetoothProfile.A2DP:
696 case BluetoothProfile.A2DP:
DAudioDeviceInventory.java488 btDevice, BluetoothA2dp.STATE_DISCONNECTED, BluetoothProfile.A2DP, in onBluetoothA2dpActiveDeviceChange()
803 if (profile != BluetoothProfile.A2DP && profile != BluetoothProfile.A2DP_SINK) { in setBluetoothA2dpDeviceConnectionState()
807 if (profile == BluetoothProfile.A2DP && !suppressNoisyIntent) { in setBluetoothA2dpDeviceConnectionState()
829 if (profile == BluetoothProfile.A2DP) { in setBluetoothA2dpDeviceConnectionState()
/frameworks/base/cmds/statsd/src/
Datoms.proto1822 // The profile that is connected. Eg. GATT, A2DP, HEADSET.
1917 // The profile whose active device has changed. Eg. A2DP, HEADSET, HEARING_AID
2067 * Logs when there is a change in Bluetooth A2DP playback state
2098 * Logs when there is a change in A2DP codec config for a particular remote device
2145 * Logs when there is a change in selectable A2DP codec capability for a paricular remote device
2196 * Logs when A2DP failed to read from PCM source.
2197 * This typically happens when audio HAL cannot supply A2DP with data fast enough for encoding.
2228 * Logs when A2DP failed send encoded data to the remote device fast enough such that the transmit
/frameworks/base/core/proto/android/app/
Dsettings_enums.proto2147 // OPEN: Settings -> Developer Options -> Disable Bluetooth A2DP hardware
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto6115 // OPEN: Settings -> Developer Options -> Disable Bluetooth A2DP hardware

12