/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDeviceManagerTest.java | 406 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 …]
|
D | CachedBluetoothDeviceTest.java | 170 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 …]
|
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 | BluetoothEventManagerTest.java | 129 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP); in dispatchProfileConnectionStateChanged_registerCallback_shouldDispatchCallback() 132 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.A2DP); in dispatchProfileConnectionStateChanged_registerCallback_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 | 94 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/ |
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 | 2735 } else if (profile == BluetoothProfile.A2DP) { in getProfileProxy() 2805 case BluetoothProfile.A2DP: in closeProfileProxy()
|
/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 | 453 case BluetoothProfile.A2DP: in onActiveDeviceChanged() 490 case BluetoothProfile.A2DP: in isActiveDevice()
|
D | BluetoothEventManager.java | 434 bluetoothProfile = BluetoothProfile.A2DP; in onReceive()
|
D | LocalBluetoothProfileManager.java | 133 if (mA2dpProfile == null && supportedList.contains(BluetoothProfile.A2DP)) { in updateLocalProfiles()
|
/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 | 228 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/ |
D | BluetoothMediaDeviceTest.java | 51 when(mDevice.isActiveDevice(BluetoothProfile.A2DP)).thenReturn(true); in setUp()
|
D | BluetoothMediaManagerTest.java | 412 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/ |
D | BluetoothControllerImpl.java | 265 || device.isActiveDevice(BluetoothProfile.A2DP) in updateActive() 284 || profileId == BluetoothProfile.A2DP in updateAudioProfile()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioDeviceInventory.java | 318 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()
|
D | BtHelper.java | 191 mBluetoothProfileServiceListener, BluetoothProfile.A2DP); in onSystemReady() 602 case BluetoothProfile.A2DP: 633 case BluetoothProfile.A2DP:
|
/frameworks/av/media/libaudiohal/impl/ |
D | DevicesFactoryHalHidl.cpp | 91 return IDevicesFactory::Device::A2DP; in idFromHal()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | LocalMediaManager.java | 234 return device.isActiveDevice(BluetoothProfile.A2DP) in isConnected()
|
D | BluetoothMediaManager.java | 290 } else if (BluetoothProfile.A2DP == bluetoothProfile) { in onActiveDeviceChanged()
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 1558 // 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
|