/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | BluetoothEventManagerTest.java | 154 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 …]
|
D | CachedBluetoothDeviceTest.java | 173 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 …]
|
D | LocalBluetoothProfileManagerTest.java | 120 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()
|
D | A2dpProfileTest.java | 71 mServiceListener.onServiceConnected(BluetoothProfile.A2DP, mBluetoothA2dp); in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/ |
D | AudioDeviceBrokerTest.java | 100 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/ |
D | BluetoothAirplaneModeListener.java | 160 mAdapter.getProfileProxy(mContext, mProfileServiceListener, BluetoothProfile.A2DP); in AirplaneModeHelper() 170 case BluetoothProfile.A2DP: 185 case BluetoothProfile.A2DP:
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothProfile.java | 86 int A2DP = 2; field 379 case A2DP: in getProfileName()
|
D | BluetoothA2dp.java | 230 new BluetoothProfileConnector(this, BluetoothProfile.A2DP, "BluetoothA2dp",
|
D | BluetoothAdapter.java | 2808 } else if (profile == BluetoothProfile.A2DP) { in getProfileProxy() 2878 case BluetoothProfile.A2DP: in closeProfileProxy()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | BluetoothRouteProvider.java | 107 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/ |
D | BluetoothStressTest.java | 199 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()
|
D | BluetoothTestUtils.java | 222 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/ |
D | A2dpProfile.java | 96 return BluetoothProfile.A2DP; in getProfileId() 106 BluetoothProfile.A2DP); in A2dpProfile() 358 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.A2DP, in finalize()
|
D | CachedBluetoothDevice.java | 108 case BluetoothProfile.A2DP: 227 case BluetoothProfile.A2DP: in setProfileConnectedStatus() 529 case BluetoothProfile.A2DP: in onActiveDeviceChanged() 566 case BluetoothProfile.A2DP: in isActiveDevice()
|
D | BluetoothEventManager.java | 440 bluetoothProfile = BluetoothProfile.A2DP; in onReceive()
|
D | LocalBluetoothProfileManager.java | 134 if (mA2dpProfile == null && supportedList.contains(BluetoothProfile.A2DP)) { in updateLocalProfiles()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
D | BluetoothMediaDeviceTest.java | 52 when(mDevice.isActiveDevice(BluetoothProfile.A2DP)).thenReturn(true); in setUp()
|
D | LocalMediaManagerTest.java | 749 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/ |
D | BluetoothControllerImpl.java | 265 || device.isActiveDevice(BluetoothProfile.A2DP) in updateActive() 284 || profileId == BluetoothProfile.A2DP in updateAudioProfile()
|
/frameworks/av/media/libaudiohal/impl/ |
D | DevicesFactoryHalHidl.cpp | 91 return IDevicesFactory::Device::A2DP; in idFromHal()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | BtHelper.java | 242 mBluetoothProfileServiceListener, BluetoothProfile.A2DP); in onSystemReady() 665 case BluetoothProfile.A2DP: 696 case BluetoothProfile.A2DP:
|
D | AudioDeviceInventory.java | 488 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/ |
D | atoms.proto | 1822 // 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/ |
D | settings_enums.proto | 2147 // OPEN: Settings -> Developer Options -> Disable Bluetooth A2DP hardware
|
/frameworks/base/proto/src/metrics_constants/ |
D | metrics_constants.proto | 6115 // OPEN: Settings -> Developer Options -> Disable Bluetooth A2DP hardware
|