Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceManagerTest.java406 assertThat(cachedDevice1.isActiveDevice(BluetoothProfile.A2DP)).isFalse(); in onActiveDeviceChanged_connectedDevices_activeDeviceChanged()
408 assertThat(cachedDevice2.isActiveDevice(BluetoothProfile.A2DP)).isFalse(); in onActiveDeviceChanged_connectedDevices_activeDeviceChanged()
412 mCachedDeviceManager.onActiveDeviceChanged(cachedDevice1, BluetoothProfile.A2DP); in onActiveDeviceChanged_connectedDevices_activeDeviceChanged()
414 assertThat(cachedDevice1.isActiveDevice(BluetoothProfile.A2DP)).isTrue(); in onActiveDeviceChanged_connectedDevices_activeDeviceChanged()
416 assertThat(cachedDevice2.isActiveDevice(BluetoothProfile.A2DP)).isFalse(); in onActiveDeviceChanged_connectedDevices_activeDeviceChanged()
421 assertThat(cachedDevice1.isActiveDevice(BluetoothProfile.A2DP)).isTrue(); in onActiveDeviceChanged_connectedDevices_activeDeviceChanged()
423 assertThat(cachedDevice2.isActiveDevice(BluetoothProfile.A2DP)).isFalse(); in onActiveDeviceChanged_connectedDevices_activeDeviceChanged()
427 mCachedDeviceManager.onActiveDeviceChanged(cachedDevice2, BluetoothProfile.A2DP); in onActiveDeviceChanged_connectedDevices_activeDeviceChanged()
429 assertThat(cachedDevice1.isActiveDevice(BluetoothProfile.A2DP)).isFalse(); in onActiveDeviceChanged_connectedDevices_activeDeviceChanged()
431 assertThat(cachedDevice2.isActiveDevice(BluetoothProfile.A2DP)).isTrue(); in onActiveDeviceChanged_connectedDevices_activeDeviceChanged()
[all …]
DCachedBluetoothDeviceTest.java170 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testSingleProfileActiveDeviceA2dp()
186 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testSingleProfileActiveDeviceA2dp()
202 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_shortSummary_returnShortSummary()
234 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testA2dpInCall_returnNull()
249 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testA2dpBatteryInCall_returnBattery()
417 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testMultipleProfilesActiveDevice()
427 mCachedDevice.onActiveDeviceChanged(false, BluetoothProfile.A2DP); in getConnectionSummary_testMultipleProfilesActiveDevice()
436 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testMultipleProfilesActiveDevice()
445 mCachedDevice.onActiveDeviceChanged(true, BluetoothProfile.A2DP); in getConnectionSummary_testMultipleProfilesActiveDevice()
579 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()
DBluetoothEventManagerTest.java129 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP); in dispatchProfileConnectionStateChanged_registerCallback_shouldDispatchCallback()
132 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP); in dispatchProfileConnectionStateChanged_registerCallback_shouldDispatchCallback()
DA2dpProfileTest.java71 mServiceListener.onServiceConnected(BluetoothProfile.A2DP, mBluetoothA2dp); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DAudioDeviceBrokerTest.java94 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP, true, 1); in testPostA2dpDeviceConnectionChange()
99 ArgumentMatchers.eq(BluetoothProfile.A2DP) /*profile*/, in testPostA2dpDeviceConnectionChange()
139 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP, true, 1); in doTestConnectionDisconnectionReconnection()
144 BluetoothProfile.STATE_DISCONNECTED, BluetoothProfile.A2DP, false, -1); in doTestConnectionDisconnectionReconnection()
151 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.java2735 } else if (profile == BluetoothProfile.A2DP) { in getProfileProxy()
2805 case BluetoothProfile.A2DP: in closeProfileProxy()
/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.java453 case BluetoothProfile.A2DP: in onActiveDeviceChanged()
490 case BluetoothProfile.A2DP: in isActiveDevice()
DBluetoothEventManager.java434 bluetoothProfile = BluetoothProfile.A2DP; in onReceive()
DLocalBluetoothProfileManager.java133 if (mA2dpProfile == null && supportedList.contains(BluetoothProfile.A2DP)) { in updateLocalProfiles()
/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.java228 case BluetoothProfile.A2DP: in ConnectProfileReceiver()
354 case BluetoothProfile.A2DP:
377 case BluetoothProfile.A2DP:
983 if (profile == BluetoothProfile.A2DP) { in connectProfile()
1060 if (profile == BluetoothProfile.A2DP) { in disconnectProfile()
1583 case BluetoothProfile.A2DP: in connectProxy()
1613 case BluetoothProfile.A2DP: in connectProxy()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DBluetoothMediaDeviceTest.java51 when(mDevice.isActiveDevice(BluetoothProfile.A2DP)).thenReturn(true); in setUp()
DBluetoothMediaManagerTest.java412 mMediaManager.onActiveDeviceChanged(device, BluetoothProfile.A2DP); in onActiveDeviceChanged_isA2dpProfile_callOnActiveDeviceChanged()
442 mMediaManager.onActiveDeviceChanged(null, BluetoothProfile.A2DP); in onActiveDeviceChanged_hearingAidDeviceIsActive_returnHearingAidDeviceId()
454 mMediaManager.onActiveDeviceChanged(null, BluetoothProfile.A2DP); in onActiveDeviceChanged_hearingAidDeviceNotActive_returnPhoneDeviceId()
/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/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java318 btDevice, BluetoothA2dp.STATE_DISCONNECTED, BluetoothProfile.A2DP, in onBluetoothA2dpActiveDeviceChange()
546 if (profile != BluetoothProfile.A2DP && profile != BluetoothProfile.A2DP_SINK) { in setBluetoothA2dpDeviceConnectionState()
550 if (profile == BluetoothProfile.A2DP && !suppressNoisyIntent) { in setBluetoothA2dpDeviceConnectionState()
571 if (profile == BluetoothProfile.A2DP) { in setBluetoothA2dpDeviceConnectionState()
DBtHelper.java191 mBluetoothProfileServiceListener, BluetoothProfile.A2DP); in onSystemReady()
602 case BluetoothProfile.A2DP:
633 case BluetoothProfile.A2DP:
/frameworks/av/media/libaudiohal/impl/
DDevicesFactoryHalHidl.cpp91 return IDevicesFactory::Device::A2DP; in idFromHal()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DLocalMediaManager.java234 return device.isActiveDevice(BluetoothProfile.A2DP) in isConnected()
DBluetoothMediaManager.java290 } else if (BluetoothProfile.A2DP == bluetoothProfile) { in onActiveDeviceChanged()
/frameworks/base/cmds/statsd/src/
Datoms.proto1558 // The profile that is connected. Eg. GATT, A2DP, HEADSET.
1653 // The profile whose active device has changed. Eg. A2DP, HEADSET, HEARING_AID
1800 * Logs when there is a change in Bluetooth A2DP playback state
1831 * Logs when there is a change in A2DP codec config for a particular remote device
1878 * Logs when there is a change in selectable A2DP codec capability for a paricular remote device
1929 * Logs when A2DP failed to read from PCM source.
1930 * This typically happens when audio HAL cannot supply A2DP with data fast enough for encoding.
1961 * Logs when A2DP failed send encoded data to the remote device fast enough such that the transmit

12