Home
last modified time | relevance | path

Searched refs:a2dpProfile (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DPhoneMediaDevice.java74 final A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in connect() local
78 if (hapProfile != null && a2dpProfile != null) { in connect()
79 isConnected = hapProfile.setActiveDevice(null) && a2dpProfile.setActiveDevice(null); in connect()
80 } else if (a2dpProfile != null) { in connect()
81 isConnected = a2dpProfile.setActiveDevice(null); in connect()
DBluetoothMediaManager.java92 final A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in addConnectableA2dpDevices() local
93 if (a2dpProfile == null) { in addConnectableA2dpDevices()
98 final List<BluetoothDevice> devices = a2dpProfile.getConnectableDevices(); in addConnectableA2dpDevices()
111 + ", is enabled : " + a2dpProfile.isEnabled(device)); in addConnectableA2dpDevices()
113 if (a2dpProfile.isEnabled(device) in addConnectableA2dpDevices()
119 mIsA2dpProfileReady = a2dpProfile.isProfileReady(); in addConnectableA2dpDevices()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java380 A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in setActive() local
381 if (a2dpProfile != null && isConnectedProfile(a2dpProfile)) { in setActive()
382 if (a2dpProfile.setActiveDevice(getDevice())) { in setActive()
578 A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in fetchActiveDevices() local
579 if (a2dpProfile != null) { in fetchActiveDevices()
580 mIsActiveDeviceA2dp = mDevice.equals(a2dpProfile.getActiveDevice()); in fetchActiveDevices()
1050 A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in isConnectedA2dpDevice() local
1051 return a2dpProfile != null && a2dpProfile.getConnectionStatus(mDevice) == in isConnectedA2dpDevice()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceBroker.java515 /*package*/ void postBtA2dpProfileConnected(BluetoothA2dp a2dpProfile) { in postBtA2dpProfileConnected() argument
516 sendLMsgNoDelay(MSG_L_BT_SERVICE_CONNECTED_PROFILE_A2DP, SENDMSG_QUEUE, a2dpProfile); in postBtA2dpProfileConnected()