/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothDeviceFilter.java | 19 import android.bluetooth.BluetoothClass; 102 abstract boolean matches(ParcelUuid[] uuids, BluetoothClass btClass); in matches() 112 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { 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() 140 && btClass.doesClassMatch(BluetoothClass.PROFILE_OPP); in matches() 147 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches() 154 && btClass.doesClassMatch(BluetoothClass.PROFILE_PANU); in matches() 161 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches() [all …]
|
D | HidProfile.java | 23 import android.bluetooth.BluetoothClass; 171 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() 178 public static int getHidClassDrawable(BluetoothClass btClass) { in getHidClassDrawable() 180 case BluetoothClass.Device.PERIPHERAL_KEYBOARD: in getHidClassDrawable() 181 case BluetoothClass.Device.PERIPHERAL_KEYBOARD_POINTING: in getHidClassDrawable() 183 case BluetoothClass.Device.PERIPHERAL_POINTING: in getHidClassDrawable()
|
D | BluetoothUtils.java | 3 import android.bluetooth.BluetoothClass; 66 BluetoothClass btClass = cachedDevice.getBtClass(); in getBtClassDrawableWithDescription() 69 case BluetoothClass.Device.Major.COMPUTER: in getBtClassDrawableWithDescription() 74 case BluetoothClass.Device.Major.PHONE: in getBtClassDrawableWithDescription() 80 case BluetoothClass.Device.Major.PERIPHERAL: in getBtClassDrawableWithDescription() 85 case BluetoothClass.Device.Major.IMAGING: in getBtClassDrawableWithDescription() 104 if (btClass.doesClassMatch(BluetoothClass.PROFILE_HEADSET)) { in getBtClassDrawableWithDescription() 110 if (btClass.doesClassMatch(BluetoothClass.PROFILE_A2DP)) { in getBtClassDrawableWithDescription()
|
D | LocalBluetoothProfile.java | 19 import android.bluetooth.BluetoothClass; 81 int getDrawableResource(BluetoothClass btClass); in getDrawableResource()
|
D | OppProfile.java | 19 import android.bluetooth.BluetoothClass; 87 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource()
|
D | PbapServerProfile.java | 22 import android.bluetooth.BluetoothClass; 139 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource()
|
D | HidDeviceProfile.java | 22 import android.bluetooth.BluetoothClass; 164 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource()
|
D | PanProfile.java | 23 import android.bluetooth.BluetoothClass; 162 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource()
|
D | SapProfile.java | 23 import android.bluetooth.BluetoothClass; 190 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource()
|
D | PbapClientProfile.java | 23 import android.bluetooth.BluetoothClass; 186 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource()
|
D | A2dpSinkProfile.java | 24 import android.bluetooth.BluetoothClass; 198 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource()
|
D | MapProfile.java | 23 import android.bluetooth.BluetoothClass; 192 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource()
|
D | MapClientProfile.java | 23 import android.bluetooth.BluetoothClass; 193 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource()
|
D | HfpClientProfile.java | 23 import android.bluetooth.BluetoothClass; 199 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource()
|
D | HeadsetProfile.java | 24 import android.bluetooth.BluetoothClass; 224 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource()
|
D | HearingAidProfile.java | 24 import android.bluetooth.BluetoothClass; 248 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothClass.java | 58 public final class BluetoothClass implements Parcelable { class 70 public BluetoothClass(int classInt) { in BluetoothClass() method in BluetoothClass 76 if (o instanceof BluetoothClass) { in equals() 77 return mClass == ((BluetoothClass) o).mClass; in equals() 97 public static final @android.annotation.NonNull Parcelable.Creator<BluetoothClass> CREATOR = 98 new Parcelable.Creator<BluetoothClass>() { 99 public BluetoothClass createFromParcel(Parcel in) { 100 return new BluetoothClass(in.readInt()); 103 public BluetoothClass[] newArray(int size) { 104 return new BluetoothClass[size];
|
D | BluetoothMap.java | 238 public static boolean doesClassMatchSink(BluetoothClass btClass) { in doesClassMatchSink() 241 case BluetoothClass.Device.COMPUTER_DESKTOP: in doesClassMatchSink() 242 case BluetoothClass.Device.COMPUTER_LAPTOP: in doesClassMatchSink() 243 case BluetoothClass.Device.COMPUTER_SERVER: in doesClassMatchSink() 244 case BluetoothClass.Device.COMPUTER_UNCATEGORIZED: in doesClassMatchSink()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | BluetoothMediaDevice.java | 18 import android.bluetooth.BluetoothClass; 91 final BluetoothClass bluetoothClass = mCachedDevice.getDevice().getBluetoothClass(); in isCarKitDevice() 95 case BluetoothClass.Device.AUDIO_VIDEO_HANDSFREE: in isCarKitDevice() 96 case BluetoothClass.Device.AUDIO_VIDEO_CAR_AUDIO: in isCarKitDevice()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
D | MediaDeviceTest.java | 22 import android.bluetooth.BluetoothClass; 59 private final BluetoothClass mHeadreeClass = 60 new BluetoothClass(BluetoothClass.Device.AUDIO_VIDEO_HEADPHONES); 61 private final BluetoothClass mCarkitClass = 62 new BluetoothClass(BluetoothClass.Device.AUDIO_VIDEO_CAR_AUDIO);
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | BluetoothUtilsTest.java | 24 import android.bluetooth.BluetoothClass; 65 BluetoothClass.Device.Major.PHONE); in getBtClassDrawableWithDescription_typePhone_returnPhoneDrawable() 75 BluetoothClass.Device.Major.COMPUTER); in getBtClassDrawableWithDescription_typeComputer_returnComputerDrawable()
|
D | CachedBluetoothDeviceManagerTest.java | 27 import android.bluetooth.BluetoothClass; 57 private final BluetoothClass DEVICE_CLASS_1 = 58 new BluetoothClass(BluetoothClass.Device.AUDIO_VIDEO_HEADPHONES); 59 private final BluetoothClass DEVICE_CLASS_2 = 60 new BluetoothClass(BluetoothClass.Device.AUDIO_VIDEO_HANDSFREE);
|
D | HearingAidDeviceManagerTest.java | 26 import android.bluetooth.BluetoothClass; 50 private final BluetoothClass DEVICE_CLASS = 51 new BluetoothClass(BluetoothClass.Device.AUDIO_VIDEO_HANDSFREE);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | BluetoothTile.java | 21 import android.bluetooth.BluetoothClass; 208 final BluetoothClass bluetoothClass = lastDevice.getBtClass(); in getSecondaryLabel() 213 } else if (bluetoothClass.doesClassMatch(BluetoothClass.PROFILE_A2DP)) { in getSecondaryLabel() 216 } else if (bluetoothClass.doesClassMatch(BluetoothClass.PROFILE_HEADSET)) { in getSecondaryLabel() 219 } else if (bluetoothClass.doesClassMatch(BluetoothClass.PROFILE_HID)) { in getSecondaryLabel()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | BtHelper.java | 22 import android.bluetooth.BluetoothClass; 534 BluetoothClass btClass = btDevice.getBluetoothClass(); in handleBtScoActiveDeviceChange() 543 case BluetoothClass.Device.AUDIO_VIDEO_WEARABLE_HEADSET: in handleBtScoActiveDeviceChange() 544 case BluetoothClass.Device.AUDIO_VIDEO_HANDSFREE: in handleBtScoActiveDeviceChange() 547 case BluetoothClass.Device.AUDIO_VIDEO_CAR_AUDIO: in handleBtScoActiveDeviceChange()
|