Searched refs:a2dpProfile (Results 1 – 4 of 4) sorted by relevance
456 A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in setActive() local457 if (a2dpProfile != null && isConnectedProfile(a2dpProfile)) { in setActive()458 if (a2dpProfile.setActiveDevice(getDevice())) { in setActive()654 A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in fetchActiveDevices() local655 if (a2dpProfile != null) { in fetchActiveDevices()656 mIsActiveDeviceA2dp = mDevice.equals(a2dpProfile.getActiveDevice()); in fetchActiveDevices()1131 A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in isConnectedA2dpDevice() local1132 return a2dpProfile != null && a2dpProfile.getConnectionStatus(mDevice) == in isConnectedA2dpDevice()
427 final A2dpProfile a2dpProfile = mLocalBluetoothManager.getProfileManager().getA2dpProfile(); in isActiveDevice() local428 if (a2dpProfile != null) { in isActiveDevice()429 isActiveDeviceA2dp = device.getDevice().equals(a2dpProfile.getActiveDevice()); in isActiveDevice()
566 final A2dpProfile a2dpProfile = mock(A2dpProfile.class); in onDeviceListAdded_haveDisconnectedDevice_addDisconnectedDevice() local567 profiles.add(a2dpProfile); in onDeviceListAdded_haveDisconnectedDevice_addDisconnectedDevice()648 final A2dpProfile a2dpProfile = mock(A2dpProfile.class); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice() local649 profiles.add(a2dpProfile); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice()
634 /*package*/ void postBtA2dpProfileConnected(BluetoothA2dp a2dpProfile) { in postBtA2dpProfileConnected() argument635 sendLMsgNoDelay(MSG_L_BT_SERVICE_CONNECTED_PROFILE_A2DP, SENDMSG_QUEUE, a2dpProfile); in postBtA2dpProfileConnected()