Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DA2dpProfileTest.java25 import android.bluetooth.BluetoothA2dp;
51 @Mock BluetoothA2dp mBluetoothA2dp;
77 BluetoothA2dp.OPTIONAL_CODECS_SUPPORTED); in supportsHighQualityAudio()
81 BluetoothA2dp.OPTIONAL_CODECS_NOT_SUPPORTED); in supportsHighQualityAudio()
85 BluetoothA2dp.OPTIONAL_CODECS_SUPPORT_UNKNOWN); in supportsHighQualityAudio()
92 BluetoothA2dp.OPTIONAL_CODECS_PREF_ENABLED); in isHighQualityAudioEnabled()
96 BluetoothA2dp.OPTIONAL_CODECS_PREF_DISABLED); in isHighQualityAudioEnabled()
104 BluetoothA2dp.OPTIONAL_CODECS_PREF_UNKNOWN); in isHighQualityAudioEnabled()
109 BluetoothA2dp.OPTIONAL_CODECS_NOT_SUPPORTED); in isHighQualityAudioEnabled()
113 BluetoothA2dp.OPTIONAL_CODECS_SUPPORTED); in isHighQualityAudioEnabled()
[all …]
DLocalBluetoothProfileManagerTest.java28 import android.bluetooth.BluetoothA2dp;
142 mIntent = new Intent(BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED); in stateChangedHandler_receiveA2dpConnectionStateChanged_shouldDispatchCallback()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wrapper/
DBluetoothA2dpWrapper.java19 import android.bluetooth.BluetoothA2dp;
30 private BluetoothA2dp mService;
32 public BluetoothA2dpWrapper(BluetoothA2dp service) { in BluetoothA2dpWrapper()
39 public BluetoothA2dp getService() { in getService()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DA2dpProfile.java19 import android.bluetooth.BluetoothA2dp;
45 private BluetoothA2dp mService;
69 mService = (BluetoothA2dp) proxy; in onServiceConnected()
212 return support == BluetoothA2dp.OPTIONAL_CODECS_SUPPORTED; in supportsHighQualityAudio()
217 if (enabled != BluetoothA2dp.OPTIONAL_CODECS_PREF_UNKNOWN) { in isHighQualityAudioEnabled()
218 return enabled == BluetoothA2dp.OPTIONAL_CODECS_PREF_ENABLED; in isHighQualityAudioEnabled()
239 ? BluetoothA2dp.OPTIONAL_CODECS_PREF_ENABLED in setHighQualityAudioEnabled()
240 : BluetoothA2dp.OPTIONAL_CODECS_PREF_DISABLED; in setHighQualityAudioEnabled()
DBluetoothEventManager.java19 import android.bluetooth.BluetoothA2dp;
116 addHandler(BluetoothA2dp.ACTION_ACTIVE_DEVICE_CHANGED, in BluetoothEventManager()
455 if (Objects.equals(action, BluetoothA2dp.ACTION_ACTIVE_DEVICE_CHANGED)) { in onReceive()
DLocalBluetoothProfileManager.java19 import android.bluetooth.BluetoothA2dp;
186 BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED); in updateLocalProfiles()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/
Dpolicy_criteria.txt2 …set DgtlDockHeadset UsbAccessory UsbDevice FmTuner TvTuner Line Spdif BluetoothA2dp Loopback Ip Bu…
3 …et WiredHeadphone BluetoothSco BluetoothScoHeadset BluetoothScoCarkit BluetoothA2dp BluetoothA2dpH…
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/config/
Daudio_policy_criteria.conf51 …et,WiredHeadphone,BluetoothSco,BluetoothScoHeadset,BluetoothScoCarkit,BluetoothA2dp,BluetoothA2dpH…
58 …DockHeadset,DgtlDockHeadset,UsbAccessory,UsbDevice,FmTuner,TvTune,Line,Spdif,BluetoothA2dp,Loopback
/frameworks/base/core/java/android/bluetooth/
DBluetoothA2dp.java52 public final class BluetoothA2dp implements BluetoothProfile { class
243 /*package*/ BluetoothA2dp(Context context, ServiceListener l) { in BluetoothA2dp() method in BluetoothA2dp
829 if (value != BluetoothA2dp.OPTIONAL_CODECS_PREF_UNKNOWN in setOptionalCodecsEnabled()
830 && value != BluetoothA2dp.OPTIONAL_CODECS_PREF_DISABLED in setOptionalCodecsEnabled()
831 && value != BluetoothA2dp.OPTIONAL_CODECS_PREF_ENABLED) { in setOptionalCodecsEnabled()
887 mServiceListener.onServiceConnected(BluetoothProfile.A2DP, BluetoothA2dp.this);
DBluetoothAdapter.java2275 BluetoothA2dp a2dp = new BluetoothA2dp(context, listener); in getProfileProxy()
2340 BluetoothA2dp a2dp = (BluetoothA2dp) proxy; in closeProfileProxy()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Settings/
Ddevice_for_strategy_enforced_audible.pfw34 AvailableOutputDevices Excludes BluetoothA2dp
84 conf: BluetoothA2dp
85 AvailableOutputDevices Includes BluetoothA2dp
Ddevice_for_strategy_rerouting.pfw43 conf: BluetoothA2dp
45 AvailableOutputDevices Includes BluetoothA2dp
Ddevice_for_strategy_media.pfw38 conf: BluetoothA2dp
41 AvailableOutputDevices Includes BluetoothA2dp
Ddevice_for_strategy_phone.pfw89 conf: BluetoothA2dp
94 AvailableOutputDevices Includes BluetoothA2dp
Ddevice_for_strategy_sonification.pfw53 conf: BluetoothA2dp
57 AvailableOutputDevices Includes BluetoothA2dp
Ddevice_for_strategy_sonification_respectful.pfw74 conf: BluetoothA2dp
82 AvailableOutputDevices Includes BluetoothA2dp
Ddevice_for_strategy_accessibility.pfw51 conf: BluetoothA2dp
58 AvailableOutputDevices Includes BluetoothA2dp
Ddevice_for_strategy_dtmf.pfw43 conf: BluetoothA2dp
50 AvailableOutputDevices Includes BluetoothA2dp
Ddevice_for_input_source.pfw249 AvailableInputDevices Includes BluetoothA2dp
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java225 mConnectionAction = BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED; in ConnectProfileReceiver()
320 mA2dp = (BluetoothA2dp) proxy;
363 private BluetoothA2dp mA2dp = null;
935 assertTrue(((BluetoothA2dp)proxy).connect(device)); in connectProfile()
1010 assertTrue(((BluetoothA2dp)proxy).disconnect(device)); in disconnectProfile()
1405 BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED, in getConnectProfileReceiver()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java24 import android.bluetooth.BluetoothA2dp;
200 IntentFilter intentFilter = new IntentFilter(BluetoothA2dp.ACTION_ACTIVE_DEVICE_CHANGED); in MediaRouterService()
658 if (intent.getAction().equals(BluetoothA2dp.ACTION_ACTIVE_DEVICE_CHANGED)) { in onReceive()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java40 import android.bluetooth.BluetoothA2dp;
624 private BluetoothA2dp mA2dp;
3796 mA2dp = (BluetoothA2dp) proxy;
3801 int intState = (state == BluetoothA2dp.STATE_CONNECTED) ? 1 : 0;
4685 int intState = (state == BluetoothA2dp.STATE_CONNECTED) ? 1 : 0; in setBluetoothA2dpDeviceConnectionStateInt()
6092 btDevice, BluetoothA2dp.STATE_DISCONNECTED, BluetoothProfile.A2DP, in onBluetoothA2dpDeviceConfigChange()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt1043 Landroid/bluetooth/BluetoothA2dp;->ACTION_ACTIVE_DEVICE_CHANGED:Ljava/lang/String;
1044 Landroid/bluetooth/BluetoothA2dp;->ACTION_CODEC_CONFIG_CHANGED:Ljava/lang/String;
1045 Landroid/bluetooth/BluetoothA2dp;->close()V
1046 Landroid/bluetooth/BluetoothA2dp;->connect(Landroid/bluetooth/BluetoothDevice;)Z
1047 Landroid/bluetooth/BluetoothA2dp;->disableOptionalCodecs(Landroid/bluetooth/BluetoothDevice;)V
1048 Landroid/bluetooth/BluetoothA2dp;->disconnect(Landroid/bluetooth/BluetoothDevice;)Z
1049 Landroid/bluetooth/BluetoothA2dp;->enableOptionalCodecs(Landroid/bluetooth/BluetoothDevice;)V
1050 Landroid/bluetooth/BluetoothA2dp;->getActiveDevice()Landroid/bluetooth/BluetoothDevice;
1051 Landroid/bluetooth/BluetoothA2dp;->getCodecStatus(Landroid/bluetooth/BluetoothDevice;)Landroid/blue…
1052 Landroid/bluetooth/BluetoothA2dp;->getOptionalCodecsEnabled(Landroid/bluetooth/BluetoothDevice;)I
[all …]
Dpreloaded-classes578 android.bluetooth.BluetoothA2dp
579 android.bluetooth.BluetoothA2dp$1
580 android.bluetooth.BluetoothA2dp$2
Dboot-image-profile.txt1203 HPLandroid/bluetooth/BluetoothA2dp;->connect(Landroid/bluetooth/BluetoothDevice;)Z
1204 HPLandroid/bluetooth/BluetoothA2dp;->getConnectionState(Landroid/bluetooth/BluetoothDevice;)I
1205 HPLandroid/bluetooth/BluetoothA2dp;->getPriority(Landroid/bluetooth/BluetoothDevice;)I
16428 HSPLandroid/bluetooth/BluetoothA2dp$1;->onBluetoothStateChange(Z)V
16429 HSPLandroid/bluetooth/BluetoothA2dp$2;->onServiceConnected(Landroid/content/ComponentName;Landroid/…
16430 HSPLandroid/bluetooth/BluetoothA2dp;-><init>(Landroid/content/Context;Landroid/bluetooth/BluetoothP…
16431 HSPLandroid/bluetooth/BluetoothA2dp;->doBind()Z
16432 HSPLandroid/bluetooth/BluetoothA2dp;->getActiveDevice()Landroid/bluetooth/BluetoothDevice;
16433 HSPLandroid/bluetooth/BluetoothA2dp;->getConnectedDevices()Ljava/util/List;
54295 Landroid/bluetooth/BluetoothA2dp$1;
[all …]

12