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 …]
DHidProfile.java170 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
171 if (btClass == null) { in getDrawableResource()
174 return getHidClassDrawable(btClass); in getDrawableResource()
177 public static int getHidClassDrawable(BluetoothClass btClass) { in getHidClassDrawable() argument
178 switch (btClass.getDeviceClass()) { in getHidClassDrawable()
DLocalBluetoothProfile.java70 int getDrawableResource(BluetoothClass btClass); in getDrawableResource() argument
DOppProfile.java86 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DCachedBluetoothDevice.java592 void setBtClass(BluetoothClass btClass) { in setBtClass() argument
593 if (btClass != null && mBtClass != btClass) { in setBtClass()
594 mBtClass = btClass; in setBtClass()
DPbapServerProfile.java135 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DPanProfile.java154 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DBluetoothEventManager.java190 BluetoothClass btClass = intent.getParcelableExtra(BluetoothDevice.EXTRA_CLASS); in onReceive() local
201 cachedDevice.setBtClass(btClass); in onReceive()
DHfpClientProfile.java212 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DSapProfile.java200 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DPbapClientProfile.java214 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DMapClientProfile.java196 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DA2dpSinkProfile.java204 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DMapProfile.java197 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DHeadsetProfile.java211 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
DA2dpProfile.java309 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
/frameworks/base/core/java/android/bluetooth/
DBluetoothPbap.java299 public static boolean doesClassMatchSink(BluetoothClass btClass) { in doesClassMatchSink() argument
301 switch (btClass.getDeviceClass()) { in doesClassMatchSink()
DBluetoothMap.java257 public static boolean doesClassMatchSink(BluetoothClass btClass) { in doesClassMatchSink() argument
259 switch (btClass.getDeviceClass()) { in doesClassMatchSink()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java3333 BluetoothClass btClass = btDevice.getBluetoothClass(); in setBtScoDeviceConnectionState() local
3336 if (btClass != null) { in setBtScoDeviceConnectionState()
3337 switch (btClass.getDeviceClass()) { in setBtScoDeviceConnectionState()