Home
last modified time | relevance | path

Searched refs:btClass (Results 1 – 21 of 21) 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 …]
DUtils.java58 BluetoothClass btClass = cachedDevice.getBtClass(); in getBtClassDrawableWithDescription() local
60 if (btClass != null) { in getBtClassDrawableWithDescription()
61 switch (btClass.getMajorDeviceClass()) { in getBtClassDrawableWithDescription()
75 getBluetoothDrawable(context, HidProfile.getHidClassDrawable(btClass), in getBtClassDrawableWithDescription()
92 int resId = profile.getDrawableResource(btClass); in getBtClassDrawableWithDescription()
97 if (btClass != null) { in getBtClassDrawableWithDescription()
98 if (btClass.doesClassMatch(BluetoothClass.PROFILE_HEADSET)) { in getBtClassDrawableWithDescription()
104 if (btClass.doesClassMatch(BluetoothClass.PROFILE_A2DP)) { in getBtClassDrawableWithDescription()
DHidProfile.java175 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
176 if (btClass == null) { in getDrawableResource()
179 return getHidClassDrawable(btClass); in getDrawableResource()
182 public static int getHidClassDrawable(BluetoothClass btClass) { in getHidClassDrawable() argument
183 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.java140 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DCachedBluetoothDevice.java719 void setBtClass(BluetoothClass btClass) { in setBtClass() argument
720 if (btClass != null && mBtClass != btClass) { in setBtClass()
721 mBtClass = btClass; in setBtClass()
DPanProfile.java160 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DHidDeviceProfile.java187 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DMapClientProfile.java201 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DPbapClientProfile.java219 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DA2dpSinkProfile.java209 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DMapProfile.java202 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DSapProfile.java205 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DHfpClientProfile.java217 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DBluetoothEventManager.java232 BluetoothClass btClass = intent.getParcelableExtra(BluetoothDevice.EXTRA_CLASS); in onReceive() local
243 cachedDevice.setBtClass(btClass); in onReceive()
DHearingAidProfile.java241 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DHeadsetProfile.java236 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DA2dpProfile.java327 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
/frameworks/base/core/java/android/bluetooth/
DBluetoothMap.java259 public static boolean doesClassMatchSink(BluetoothClass btClass) { in doesClassMatchSink() argument
261 switch (btClass.getDeviceClass()) { in doesClassMatchSink()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java3730 BluetoothClass btClass = btDevice.getBluetoothClass(); in handleBtScoActiveDeviceChange() local
3737 if (btClass != null) { in handleBtScoActiveDeviceChange()
3738 switch (btClass.getDeviceClass()) { in handleBtScoActiveDeviceChange()