Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothDeviceFilter.java122 if (doesClassMatch(btClass, BluetoothClass.PROFILE_A2DP) in matches()
123 || doesClassMatch(btClass, BluetoothClass.PROFILE_HEADSET)) { in matches()
141 && doesClassMatch(btClass, BluetoothClass.PROFILE_OPP); in matches()
155 && doesClassMatch(btClass, BluetoothClass.PROFILE_PANU); in matches()
169 && doesClassMatch(btClass, BluetoothClass.PROFILE_NAP); in matches()
174 private static boolean doesClassMatch(BluetoothClass btClass, int classId) { in doesClassMatch() method in BluetoothDeviceFilter
175 return btClass.doesClassMatch(classId); in doesClassMatch()
DBluetoothUtils.java125 if (doesClassMatch(btClass, BluetoothClass.PROFILE_HEADSET)) { in getBtClassDrawableWithDescription()
131 if (doesClassMatch(btClass, BluetoothClass.PROFILE_A2DP)) { in getBtClassDrawableWithDescription()
441 private static boolean doesClassMatch(BluetoothClass btClass, int classId) { in doesClassMatch() method in BluetoothUtils
442 return btClass.doesClassMatch(classId); in doesClassMatch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBluetoothTile.java209 } else if (bluetoothClass.doesClassMatch(BluetoothClass.PROFILE_A2DP)) { in getSecondaryLabel()
212 } else if (bluetoothClass.doesClassMatch(BluetoothClass.PROFILE_HEADSET)) { in getSecondaryLabel()
215 } else if (bluetoothClass.doesClassMatch(BluetoothClass.PROFILE_HID)) { in getSecondaryLabel()