Home
last modified time | relevance | path

Searched refs:doesClassMatch (Results 1 – 7 of 7) sorted by relevance

/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DBluetoothDeviceFilter.java121 if (btClass.doesClassMatch(BluetoothClass.PROFILE_A2DP) || in matches()
122 btClass.doesClassMatch(BluetoothClass.PROFILE_HEADSET)) { in matches()
140 && btClass.doesClassMatch(BluetoothClass.PROFILE_OPP); in matches()
154 && btClass.doesClassMatch(BluetoothClass.PROFILE_PANU); in matches()
168 && btClass.doesClassMatch(BluetoothClass.PROFILE_NAP); in matches()
H A DBluetoothUtils.java113 if (btClass.doesClassMatch(BluetoothClass.PROFILE_HEADSET)) { in getBtClassDrawableWithDescription()
119 if (btClass.doesClassMatch(BluetoothClass.PROFILE_A2DP)) { in getBtClassDrawableWithDescription()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DBluetoothTile.java223 } else if (bluetoothClass.doesClassMatch(BluetoothClass.PROFILE_A2DP)) { in getSecondaryLabel()
226 } else if (bluetoothClass.doesClassMatch(BluetoothClass.PROFILE_HEADSET)) { in getSecondaryLabel()
229 } else if (bluetoothClass.doesClassMatch(BluetoothClass.PROFILE_HID)) { in getSecondaryLabel()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/qc/
H A DPairedBluetoothDevices.java247 if (btClass.doesClassMatch(BluetoothClass.PROFILE_HEADSET)) { in getIconRes()
250 if (btClass.doesClassMatch(BluetoothClass.PROFILE_A2DP)) { in getIconRes()
/aosp12/frameworks/base/core/java/android/bluetooth/
H A DBluetoothClass.java358 public boolean doesClassMatch(int profile) { in doesClassMatch() method in BluetoothClass
/aosp12/packages/apps/Nfc/src/com/android/nfc/handover/
H A DBluetoothPeripheralHandover.java597 if (btClass != null && btClass.doesClassMatch(BluetoothClass.PROFILE_A2DP)) { in hasA2dpCapability()
611 if (btClass != null && btClass.doesClassMatch(BluetoothClass.PROFILE_HEADSET)) { in hasHeadsetCapability()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
H A DAccessoriesFragment.java215 && device.getBluetoothClass().doesClassMatch(BluetoothProfile.A2DP); in isA2dpSource()