Home
last modified time | relevance | path

Searched refs:btClass (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothDeviceFilter.java100 abstract boolean matches(ParcelUuid[] uuids, BluetoothClass btClass); in matches() argument
110 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches() argument
118 } else if (btClass != null) { in matches()
119 if (btClass.doesClassMatch(BluetoothClass.PROFILE_A2DP) || in matches()
120 btClass.doesClassMatch(BluetoothClass.PROFILE_HEADSET)) { in matches()
131 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches() argument
137 return btClass != null in matches()
138 && btClass.doesClassMatch(BluetoothClass.PROFILE_OPP); in matches()
145 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches() argument
151 return btClass != null in matches()
[all …]
DBluetoothUtils.java66 BluetoothClass btClass = cachedDevice.getBtClass(); in getBtClassDrawableWithDescription() local
67 if (btClass != null) { in getBtClassDrawableWithDescription()
68 switch (btClass.getMajorDeviceClass()) { in getBtClassDrawableWithDescription()
82 getBluetoothDrawable(context, HidProfile.getHidClassDrawable(btClass)), in getBtClassDrawableWithDescription()
98 int resId = profile.getDrawableResource(btClass); in getBtClassDrawableWithDescription()
103 if (btClass != null) { in getBtClassDrawableWithDescription()
104 if (btClass.doesClassMatch(BluetoothClass.PROFILE_HEADSET)) { in getBtClassDrawableWithDescription()
110 if (btClass.doesClassMatch(BluetoothClass.PROFILE_A2DP)) { in getBtClassDrawableWithDescription()
DHidProfile.java166 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
167 if (btClass == null) { in getDrawableResource()
170 return getHidClassDrawable(btClass); in getDrawableResource()
173 public static int getHidClassDrawable(BluetoothClass btClass) { in getHidClassDrawable() argument
174 switch (btClass.getDeviceClass()) { in getHidClassDrawable()
DLocalBluetoothProfile.java72 int getDrawableResource(BluetoothClass btClass); in getDrawableResource() argument
DOppProfile.java91 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DPbapServerProfile.java137 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DPanProfile.java155 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DHidDeviceProfile.java173 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DPbapClientProfile.java194 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DMapClientProfile.java202 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DHfpClientProfile.java213 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DA2dpSinkProfile.java207 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DSapProfile.java198 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DMapProfile.java198 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DHeadsetProfile.java227 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DHearingAidProfile.java261 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DA2dpProfile.java329 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
/frameworks/base/core/java/android/bluetooth/
DBluetoothMap.java197 public static boolean doesClassMatchSink(BluetoothClass btClass) { in doesClassMatchSink() argument
199 switch (btClass.getDeviceClass()) { in doesClassMatchSink()
/frameworks/base/services/core/java/com/android/server/audio/
DBtHelper.java527 BluetoothClass btClass = btDevice.getBluetoothClass(); in handleBtScoActiveDeviceChange() local
534 if (btClass != null) { in handleBtScoActiveDeviceChange()
535 switch (btClass.getDeviceClass()) { in handleBtScoActiveDeviceChange()