/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 | 171 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()
|
D | BluetoothUtils.java | 87 BluetoothClass btClass = cachedDevice.getBtClass(); in getBtClassDrawableWithDescription() local 88 if (btClass != null) { in getBtClassDrawableWithDescription() 89 switch (btClass.getMajorDeviceClass()) { in getBtClassDrawableWithDescription() 103 getBluetoothDrawable(context, HidProfile.getHidClassDrawable(btClass)), in getBtClassDrawableWithDescription() 119 int resId = profile.getDrawableResource(btClass); in getBtClassDrawableWithDescription() 124 if (btClass != null) { in getBtClassDrawableWithDescription() 125 if (doesClassMatch(btClass, BluetoothClass.PROFILE_HEADSET)) { in getBtClassDrawableWithDescription() 131 if (doesClassMatch(btClass, BluetoothClass.PROFILE_A2DP)) { in getBtClassDrawableWithDescription() 441 private static boolean doesClassMatch(BluetoothClass btClass, int classId) { in doesClassMatch() argument 442 return btClass.doesClassMatch(classId); in doesClassMatch()
|
D | LocalBluetoothProfile.java | 81 int getDrawableResource(BluetoothClass btClass); in getDrawableResource() argument
|
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 | VolumeControlProfile.java | 206 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | SapProfile.java | 190 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | PbapClientProfile.java | 186 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | MapClientProfile.java | 191 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 | MapProfile.java | 192 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | CsipSetCoordinatorProfile.java | 213 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | HeadsetProfile.java | 219 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | LeAudioProfile.java | 277 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | LocalBluetoothLeBroadcastAssistant.java | 344 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | HearingAidProfile.java | 354 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | A2dpProfile.java | 374 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
D | LocalBluetoothLeBroadcast.java | 564 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | BtHelper.java | 631 BluetoothClass btClass = btDevice.getBluetoothClass(); in btHeadsetDeviceToAudioDevice() local 633 if (btClass != null) { in btHeadsetDeviceToAudioDevice() 634 switch (btClass.getDeviceClass()) { in btHeadsetDeviceToAudioDevice() 646 + " btClass: " + (btClass == null ? "Unknown" : btClass) in btHeadsetDeviceToAudioDevice()
|