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.java102 abstract boolean matches(ParcelUuid[] uuids, BluetoothClass btClass); in matches() argument
112 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches() argument
120 } else if (btClass != null) { in matches()
121 if (btClass.doesClassMatch(BluetoothClass.PROFILE_A2DP) || in matches()
122 btClass.doesClassMatch(BluetoothClass.PROFILE_HEADSET)) { in matches()
133 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches() argument
139 return btClass != null in matches()
140 && btClass.doesClassMatch(BluetoothClass.PROFILE_OPP); in matches()
147 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches() argument
153 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.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()
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
DSapProfile.java190 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DPbapClientProfile.java186 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
DMapClientProfile.java193 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DHfpClientProfile.java199 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DHeadsetProfile.java224 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DHearingAidProfile.java248 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DA2dpProfile.java350 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
/frameworks/base/core/java/android/bluetooth/
DBluetoothMap.java238 public static boolean doesClassMatchSink(BluetoothClass btClass) { in doesClassMatchSink() argument
240 switch (btClass.getDeviceClass()) { in doesClassMatchSink()
/frameworks/base/services/core/java/com/android/server/audio/
DBtHelper.java534 BluetoothClass btClass = btDevice.getBluetoothClass(); in handleBtScoActiveDeviceChange() local
541 if (btClass != null) { in handleBtScoActiveDeviceChange()
542 switch (btClass.getDeviceClass()) { in handleBtScoActiveDeviceChange()