Home
last modified time | relevance | path

Searched refs:btClass (Results 1 – 24 of 24) 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.java173 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
174 if (btClass == null) { in getDrawableResource()
177 return getHidClassDrawable(btClass); in getDrawableResource()
180 public static int getHidClassDrawable(BluetoothClass btClass) { in getHidClassDrawable() argument
181 switch (btClass.getDeviceClass()) { in getHidClassDrawable()
DBluetoothUtils.java98 BluetoothClass btClass = cachedDevice.getBtClass(); in getBtClassDrawableWithDescription() local
99 if (btClass != null) { in getBtClassDrawableWithDescription()
100 switch (btClass.getMajorDeviceClass()) { in getBtClassDrawableWithDescription()
114 getBluetoothDrawable(context, HidProfile.getHidClassDrawable(btClass)), in getBtClassDrawableWithDescription()
138 int profileResId = profile.getDrawableResource(btClass); in getBtClassDrawableWithDescription()
156 if (btClass != null) { in getBtClassDrawableWithDescription()
157 if (doesClassMatch(btClass, BluetoothClass.PROFILE_HEADSET)) { in getBtClassDrawableWithDescription()
163 if (doesClassMatch(btClass, BluetoothClass.PROFILE_A2DP)) { in getBtClassDrawableWithDescription()
721 private static boolean doesClassMatch(BluetoothClass btClass, int classId) { in doesClassMatch() argument
722 return btClass.doesClassMatch(classId); in doesClassMatch()
DLocalBluetoothProfile.java81 int getDrawableResource(BluetoothClass btClass); in getDrawableResource() argument
DLeAudioProfile.java297 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
298 if (btClass == null) { in getDrawableResource()
302 switch (btClass.getDeviceClass()) { in getDrawableResource()
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
DPbapClientProfile.java186 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DSapProfile.java190 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DMapClientProfile.java191 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
DHfpClientProfile.java199 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DA2dpSinkProfile.java198 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DHeadsetProfile.java219 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DVolumeControlProfile.java316 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DHearingAidProfile.java334 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DLocalBluetoothLeBroadcastAssistant.java439 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DA2dpProfile.java373 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DHapClientProfile.java630 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DLocalBluetoothLeBroadcast.java1032 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
/frameworks/base/services/core/java/com/android/server/audio/
DBtHelper.java868 BluetoothClass btClass = btDevice.getBluetoothClass(); in btHeadsetDeviceToAudioDevice() local
870 if (btClass != null) { in btHeadsetDeviceToAudioDevice()
871 switch (btClass.getDeviceClass()) { in btHeadsetDeviceToAudioDevice()
883 + " btClass: " + (btClass == null ? "Unknown" : btClass) in btHeadsetDeviceToAudioDevice()