Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DA2dpProfileTest.java25 import android.bluetooth.BluetoothA2dp;
59 private 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;
158 mIntent = new Intent(BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED); in stateChangedHandler_receiveA2dpConnectionStateChanged_shouldDispatchCallback()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DA2dpProfile.java19 import android.bluetooth.BluetoothA2dp;
41 private BluetoothA2dp mService;
62 mService = (BluetoothA2dp) proxy; in onServiceConnected()
214 return support == BluetoothA2dp.OPTIONAL_CODECS_SUPPORTED; in supportsHighQualityAudio()
219 if (enabled != BluetoothA2dp.OPTIONAL_CODECS_PREF_UNKNOWN) { in isHighQualityAudioEnabled()
220 return enabled == BluetoothA2dp.OPTIONAL_CODECS_PREF_ENABLED; in isHighQualityAudioEnabled()
241 ? BluetoothA2dp.OPTIONAL_CODECS_PREF_ENABLED in setHighQualityAudioEnabled()
242 : BluetoothA2dp.OPTIONAL_CODECS_PREF_DISABLED; in setHighQualityAudioEnabled()
DBluetoothEventManager.java19 import android.bluetooth.BluetoothA2dp;
111 addHandler(BluetoothA2dp.ACTION_ACTIVE_DEVICE_CHANGED, new ActiveDeviceChangedHandler()); in BluetoothEventManager()
460 if (Objects.equals(action, BluetoothA2dp.ACTION_ACTIVE_DEVICE_CHANGED)) { in onReceive()
DLocalBluetoothProfileManager.java19 import android.bluetooth.BluetoothA2dp;
136 BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED); in updateLocalProfiles()
/frameworks/base/core/java/android/bluetooth/
DBluetoothA2dp.java48 public final class BluetoothA2dp implements BluetoothProfile { class
219 /*package*/ BluetoothA2dp(Context context, ServiceListener listener) { in BluetoothA2dp() method in BluetoothA2dp
745 if (value != BluetoothA2dp.OPTIONAL_CODECS_PREF_UNKNOWN in setOptionalCodecsEnabled()
746 && value != BluetoothA2dp.OPTIONAL_CODECS_PREF_DISABLED in setOptionalCodecsEnabled()
747 && value != BluetoothA2dp.OPTIONAL_CODECS_PREF_ENABLED) { in setOptionalCodecsEnabled()
DBluetoothAdapter.java2515 BluetoothA2dp a2dp = new BluetoothA2dp(context, listener); in getProfileProxy()
2582 BluetoothA2dp a2dp = (BluetoothA2dp) proxy; in closeProfileProxy()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Phone/Settings/
Ddevice_for_product_strategy_enforced_audible.pfw36 AvailableOutputDevices Excludes BluetoothA2dp
87 conf: BluetoothA2dp
88 AvailableOutputDevices Includes BluetoothA2dp
Ddevice_for_product_strategy_media.pfw40 conf: BluetoothA2dp
43 AvailableOutputDevices Includes BluetoothA2dp
Ddevice_for_product_strategy_phone.pfw89 conf: BluetoothA2dp
94 AvailableOutputDevices Includes BluetoothA2dp
Ddevice_for_product_strategy_sonification.pfw53 conf: BluetoothA2dp
57 AvailableOutputDevices Includes BluetoothA2dp
Ddevice_for_product_strategy_accessibility.pfw54 conf: BluetoothA2dp
61 AvailableOutputDevices Includes BluetoothA2dp
Ddevice_for_product_strategy_sonification_respectful.pfw74 conf: BluetoothA2dp
82 AvailableOutputDevices Includes BluetoothA2dp
Ddevice_for_product_strategy_dtmf.pfw45 conf: BluetoothA2dp
52 AvailableOutputDevices Includes BluetoothA2dp
/frameworks/base/core/proto/android/bluetooth/a2dp/
Denums.proto24 // frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceBroker.java22 import android.bluetooth.BluetoothA2dp;
471 /*package*/ void postBtA2dpProfileConnected(BluetoothA2dp a2dpProfile) { in postBtA2dpProfileConnected()
524 final int intState = (state == BluetoothA2dp.STATE_CONNECTED) in handleSetA2dpSinkConnectionState()
542 final int intState = (state == BluetoothA2dp.STATE_CONNECTED) ? 1 : 0; in postSetA2dpSourceConnectionState()
806 mBtHelper.onA2dpProfileConnected((BluetoothA2dp) msg.obj); in handleMessage()
DBtHelper.java20 import android.bluetooth.BluetoothA2dp;
72 private @Nullable BluetoothA2dp mA2dp;
437 /*package*/ synchronized void onA2dpProfileConnected(BluetoothA2dp a2dp) { in onA2dpProfileConnected()
598 mDeviceBroker.postBtA2dpProfileConnected((BluetoothA2dp) proxy);
DAudioDeviceInventory.java20 import android.bluetooth.BluetoothA2dp;
321 btDevice, BluetoothA2dp.STATE_DISCONNECTED, BluetoothProfile.A2DP, in onBluetoothA2dpActiveDeviceChange()
547 int intState = (state == BluetoothA2dp.STATE_CONNECTED) ? 1 : 0; in setBluetoothA2dpDeviceConnectionState()
/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;
941 assertTrue(((BluetoothA2dp)proxy).connect(device)); in connectProfile()
1016 assertTrue(((BluetoothA2dp)proxy).disconnect(device)); in disconnectProfile()
1411 BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED, in getConnectProfileReceiver()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java21 import android.bluetooth.BluetoothA2dp;
198 IntentFilter intentFilter = new IntentFilter(BluetoothA2dp.ACTION_ACTIVE_DEVICE_CHANGED); in MediaRouterService()
717 if (intent.getAction().equals(BluetoothA2dp.ACTION_ACTIVE_DEVICE_CHANGED)) { in onReceive()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Settings/
Ddevice_for_input_source.pfw249 AvailableInputDevices Includes BluetoothA2dp
/frameworks/base/config/
Dpreloaded-classes661 android.bluetooth.BluetoothA2dp$1
662 android.bluetooth.BluetoothA2dp$2
663 android.bluetooth.BluetoothA2dp
Dboot-image-profile.txt3144 HSPLandroid/bluetooth/BluetoothA2dp$1;->onBluetoothStateChange(Z)V
3145 HSPLandroid/bluetooth/BluetoothA2dp$2;->onServiceConnected(Landroid/content/ComponentName;Landroid/…
3146 HSPLandroid/bluetooth/BluetoothA2dp;-><init>(Landroid/content/Context;Landroid/bluetooth/BluetoothP…
3147 HSPLandroid/bluetooth/BluetoothA2dp;->doBind()Z
3148 HSPLandroid/bluetooth/BluetoothA2dp;->getActiveDevice()Landroid/bluetooth/BluetoothDevice;
3149 HPLandroid/bluetooth/BluetoothA2dp;->getCodecStatus(Landroid/bluetooth/BluetoothDevice;)Landroid/bl…
3150 HSPLandroid/bluetooth/BluetoothA2dp;->getConnectedDevices()Ljava/util/List;
32751 Landroid/bluetooth/BluetoothA2dp$1;
32752 Landroid/bluetooth/BluetoothA2dp$2;
32753 Landroid/bluetooth/BluetoothA2dp;
[all …]
Dhiddenapi-greylist-max-o.txt10489 Landroid/bluetooth/BluetoothA2dp;-><init>(Landroid/content/Context;Landroid/bluetooth/BluetoothProf…
10490 Landroid/bluetooth/BluetoothA2dp;->ACTION_AVRCP_CONNECTION_STATE_CHANGED:Ljava/lang/String;
10491 Landroid/bluetooth/BluetoothA2dp;->DBG:Z
10492 Landroid/bluetooth/BluetoothA2dp;->doBind()Z
10493 Landroid/bluetooth/BluetoothA2dp;->enableDisableOptionalCodecs(Landroid/bluetooth/BluetoothDevice;Z…
10494 Landroid/bluetooth/BluetoothA2dp;->isAvrcpAbsoluteVolumeSupported()Z
10495 Landroid/bluetooth/BluetoothA2dp;->isEnabled()Z
10496 Landroid/bluetooth/BluetoothA2dp;->isValidDevice(Landroid/bluetooth/BluetoothDevice;)Z
10497 Landroid/bluetooth/BluetoothA2dp;->log(Ljava/lang/String;)V
10498 Landroid/bluetooth/BluetoothA2dp;->mAdapter:Landroid/bluetooth/BluetoothAdapter;
[all …]
/frameworks/base/services/
Dart-profile4376 HSPLcom/android/server/audio/BtHelper;->onA2dpProfileConnected(Landroid/bluetooth/BluetoothA2dp;)V

12