/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothDeviceFilter.java | 103 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 …]
|
D | HidProfile.java | 173 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()
|
D | BluetoothUtils.java | 98 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()
|
D | LocalBluetoothProfile.java | 81 int getDrawableResource(BluetoothClass btClass); in getDrawableResource() argument
|
D | LeAudioProfile.java | 297 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument 298 if (btClass == null) { in getDrawableResource() 302 switch (btClass.getDeviceClass()) { in getDrawableResource()
|
D | OppProfile.java | 87 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | PbapServerProfile.java | 139 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | HidDeviceProfile.java | 164 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | PanProfile.java | 162 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | PbapClientProfile.java | 186 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | SapProfile.java | 190 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | MapClientProfile.java | 191 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | MapProfile.java | 192 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | CsipSetCoordinatorProfile.java | 213 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | HfpClientProfile.java | 199 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | A2dpSinkProfile.java | 198 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | HeadsetProfile.java | 219 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | VolumeControlProfile.java | 316 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | HearingAidProfile.java | 334 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | LocalBluetoothLeBroadcastAssistant.java | 439 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | A2dpProfile.java | 373 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | HapClientProfile.java | 630 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | LocalBluetoothLeBroadcast.java | 1032 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | BtHelper.java | 868 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()
|