Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothDeviceFilter.java103 abstract boolean matches(ParcelUuid[] uuids, BluetoothClass btClass); in matches() argument
113 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches() argument
121 } else if (btClass != null) { in matches()
122 if (doesClassMatch(btClass, BluetoothClass.PROFILE_A2DP) in matches()
123 || doesClassMatch(btClass, BluetoothClass.PROFILE_HEADSET)) { in matches()
134 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches() argument
140 return btClass != null in matches()
141 && doesClassMatch(btClass, BluetoothClass.PROFILE_OPP); in matches()
148 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches() argument
154 return btClass != null in matches()
[all …]
DHidProfile.java171 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
172 if (btClass == null) { in getDrawableResource()
175 return getHidClassDrawable(btClass); in getDrawableResource()
178 public static int getHidClassDrawable(BluetoothClass btClass) { in getHidClassDrawable() argument
179 switch (btClass.getDeviceClass()) { in getHidClassDrawable()
DBluetoothUtils.java87 BluetoothClass btClass = cachedDevice.getBtClass(); in getBtClassDrawableWithDescription() local
88 if (btClass != null) { in getBtClassDrawableWithDescription()
89 switch (btClass.getMajorDeviceClass()) { in getBtClassDrawableWithDescription()
103 getBluetoothDrawable(context, HidProfile.getHidClassDrawable(btClass)), in getBtClassDrawableWithDescription()
119 int resId = profile.getDrawableResource(btClass); in getBtClassDrawableWithDescription()
124 if (btClass != null) { in getBtClassDrawableWithDescription()
125 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() argument
442 return btClass.doesClassMatch(classId); in doesClassMatch()
DLocalBluetoothProfile.java81 int getDrawableResource(BluetoothClass btClass); in getDrawableResource() argument
DOppProfile.java87 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DPbapServerProfile.java139 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DHidDeviceProfile.java164 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DPanProfile.java162 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DVolumeControlProfile.java206 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DSapProfile.java190 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DPbapClientProfile.java186 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DMapClientProfile.java191 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DHfpClientProfile.java199 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DA2dpSinkProfile.java198 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DMapProfile.java192 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DCsipSetCoordinatorProfile.java213 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DHeadsetProfile.java219 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DLeAudioProfile.java277 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DLocalBluetoothLeBroadcastAssistant.java344 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DHearingAidProfile.java354 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DA2dpProfile.java374 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DLocalBluetoothLeBroadcast.java564 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
/frameworks/base/services/core/java/com/android/server/audio/
DBtHelper.java631 BluetoothClass btClass = btDevice.getBluetoothClass(); in btHeadsetDeviceToAudioDevice() local
633 if (btClass != null) { in btHeadsetDeviceToAudioDevice()
634 switch (btClass.getDeviceClass()) { in btHeadsetDeviceToAudioDevice()
646 + " btClass: " + (btClass == null ? "Unknown" : btClass) in btHeadsetDeviceToAudioDevice()