Searched refs:a2dpProfile (Results 1 – 4 of 4) sorted by relevance
74 final A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in connect() local78 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()
92 final A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in addConnectableA2dpDevices() local93 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()
380 A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in setActive() local381 if (a2dpProfile != null && isConnectedProfile(a2dpProfile)) { in setActive()382 if (a2dpProfile.setActiveDevice(getDevice())) { in setActive()578 A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in fetchActiveDevices() local579 if (a2dpProfile != null) { in fetchActiveDevices()580 mIsActiveDeviceA2dp = mDevice.equals(a2dpProfile.getActiveDevice()); in fetchActiveDevices()1050 A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in isConnectedA2dpDevice() local1051 return a2dpProfile != null && a2dpProfile.getConnectionStatus(mDevice) == in isConnectedA2dpDevice()
515 /*package*/ void postBtA2dpProfileConnected(BluetoothA2dp a2dpProfile) { in postBtA2dpProfileConnected() argument516 sendLMsgNoDelay(MSG_L_BT_SERVICE_CONNECTED_PROFILE_A2DP, SENDMSG_QUEUE, a2dpProfile); in postBtA2dpProfileConnected()