Home
last modified time | relevance | path

Searched refs:isActiveHfpDevice (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/storage/
DDatabaseManager.java624 metadata.isActiveHfpDevice = true; in setConnection()
712 if (profileId == BluetoothProfile.HEADSET && metadata.isActiveHfpDevice) { in setDisconnection()
713 metadata.isActiveHfpDevice = false; in setDisconnection()
743 if (metadata.isActiveHfpDevice) { in resetActiveHfpDevice()
745 metadata.isActiveHfpDevice = false; in resetActiveHfpDevice()
846 .filter(x -> x.getValue().isActiveHfpDevice) in getMostRecentlyActiveHfpDevice()
873 .filter(x -> x.getValue().isActiveHfpDevice) in getMostRecentlyActiveHfpDevices()
1178 void createMetadata(String address, boolean isActiveA2dpDevice, boolean isActiveHfpDevice) { in createMetadata() argument
1184 if (isActiveHfpDevice) { in createMetadata()
1193 + (" isActiveHfpDevice=" + isActiveHfpDevice) in createMetadata()
DMetadata.java53 public boolean isActiveHfpDevice; field in Metadata
89 isActiveHfpDevice = isActiveHfp; in Metadata()
467 .append(isActiveHfpDevice) in toString()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/storage/
DDatabaseManagerTest.java537 mDatabaseManager.mMetadataCache.get(mTestDevice.getAddress()).isActiveHfpDevice); in testSetConnectionHeadset()
549 mDatabaseManager.mMetadataCache.get(mTestDevice.getAddress()).isActiveHfpDevice); in testSetConnectionHeadset()
551 mDatabaseManager.mMetadataCache.get(mTestDevice2.getAddress()).isActiveHfpDevice); in testSetConnectionHeadset()
563 mDatabaseManager.mMetadataCache.get(mTestDevice.getAddress()).isActiveHfpDevice); in testSetConnectionHeadset()