Home
last modified time | relevance | path

Searched refs:headsetProfile (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java387 HeadsetProfile headsetProfile = mProfileManager.getHeadsetProfile(); in setActive() local
388 if ((headsetProfile != null) && isConnectedProfile(headsetProfile)) { in setActive()
389 if (headsetProfile.setActiveDevice(getDevice())) { in setActive()
582 HeadsetProfile headsetProfile = mProfileManager.getHeadsetProfile(); in fetchActiveDevices() local
583 if (headsetProfile != null) { in fetchActiveDevices()
584 mIsActiveDeviceHeadset = mDevice.equals(headsetProfile.getActiveDevice()); in fetchActiveDevices()
1059 HeadsetProfile headsetProfile = mProfileManager.getHeadsetProfile(); in isConnectedHfpDevice() local
1060 return headsetProfile != null && headsetProfile.getConnectionStatus(mDevice) == in isConnectedHfpDevice()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceBroker.java523 /*package*/ void postBtHeasetProfileConnected(BluetoothHeadset headsetProfile) { in postBtHeasetProfileConnected() argument
524 sendLMsgNoDelay(MSG_L_BT_SERVICE_CONNECTED_PROFILE_HEADSET, SENDMSG_QUEUE, headsetProfile); in postBtHeasetProfileConnected()