Home
last modified time | relevance | path

Searched refs:BluetoothClass (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothDeviceFilter.java19 import android.bluetooth.BluetoothClass;
100 abstract boolean matches(ParcelUuid[] uuids, BluetoothClass btClass); in matches()
110 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { 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()
138 && btClass.doesClassMatch(BluetoothClass.PROFILE_OPP); in matches()
145 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches()
152 && btClass.doesClassMatch(BluetoothClass.PROFILE_PANU); in matches()
159 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches()
[all …]
DHidProfile.java20 import android.bluetooth.BluetoothClass;
170 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource()
177 public static int getHidClassDrawable(BluetoothClass btClass) { in getHidClassDrawable()
179 case BluetoothClass.Device.PERIPHERAL_KEYBOARD: in getHidClassDrawable()
180 case BluetoothClass.Device.PERIPHERAL_KEYBOARD_POINTING: in getHidClassDrawable()
182 case BluetoothClass.Device.PERIPHERAL_POINTING: in getHidClassDrawable()
DLocalBluetoothProfile.java19 import android.bluetooth.BluetoothClass;
70 int getDrawableResource(BluetoothClass btClass); in getDrawableResource()
DOppProfile.java21 import android.bluetooth.BluetoothClass;
86 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource()
DPbapServerProfile.java19 import android.bluetooth.BluetoothClass;
133 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource()
DCachedBluetoothDevice.java19 import android.bluetooth.BluetoothClass;
55 private BluetoothClass mBtClass;
500 BluetoothClass bluetoothClass = mDevice.getBluetoothClass(); in updateProfiles()
572 void setBtClass(BluetoothClass btClass) { in setBtClass()
579 public BluetoothClass getBtClass() { in getBtClass()
812 == BluetoothClass.Device.AUDIO_VIDEO_HANDSFREE) { in processPhonebookAccess()
DPanProfile.java20 import android.bluetooth.BluetoothClass;
154 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource()
DA2dpSinkProfile.java21 import android.bluetooth.BluetoothClass;
207 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource()
DHfpClientProfile.java21 import android.bluetooth.BluetoothClass;
217 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource()
DMapProfile.java20 import android.bluetooth.BluetoothClass;
197 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource()
DSapProfile.java20 import android.bluetooth.BluetoothClass;
200 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource()
DA2dpProfile.java21 import android.bluetooth.BluetoothClass;
198 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource()
DPbapClientProfile.java21 import android.bluetooth.BluetoothClass;
217 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource()
DHeadsetProfile.java20 import android.bluetooth.BluetoothClass;
211 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource()
DBluetoothEventManager.java20 import android.bluetooth.BluetoothClass;
190 BluetoothClass btClass = intent.getParcelableExtra(BluetoothDevice.EXTRA_CLASS); in onReceive()
/frameworks/base/core/java/android/bluetooth/
DBluetoothClass.java51 public final class BluetoothClass implements Parcelable { class
61 public BluetoothClass(int classInt) { in BluetoothClass() method in BluetoothClass
67 if (o instanceof BluetoothClass) { in equals()
68 return mClass == ((BluetoothClass)o).mClass; in equals()
87 public static final Parcelable.Creator<BluetoothClass> CREATOR =
88 new Parcelable.Creator<BluetoothClass>() {
89 public BluetoothClass createFromParcel(Parcel in) {
90 return new BluetoothClass(in.readInt());
92 public BluetoothClass[] newArray(int size) {
93 return new BluetoothClass[size];
DBluetoothPbap.java289 public static boolean doesClassMatchSink(BluetoothClass btClass) { in doesClassMatchSink()
292 case BluetoothClass.Device.COMPUTER_DESKTOP: in doesClassMatchSink()
293 case BluetoothClass.Device.COMPUTER_LAPTOP: in doesClassMatchSink()
294 case BluetoothClass.Device.COMPUTER_SERVER: in doesClassMatchSink()
295 case BluetoothClass.Device.COMPUTER_UNCATEGORIZED: in doesClassMatchSink()
DBluetoothMap.java245 public static boolean doesClassMatchSink(BluetoothClass btClass) { in doesClassMatchSink()
248 case BluetoothClass.Device.COMPUTER_DESKTOP: in doesClassMatchSink()
249 case BluetoothClass.Device.COMPUTER_LAPTOP: in doesClassMatchSink()
250 case BluetoothClass.Device.COMPUTER_SERVER: in doesClassMatchSink()
251 case BluetoothClass.Device.COMPUTER_UNCATEGORIZED: in doesClassMatchSink()
DBluetoothDevice.java1040 public BluetoothClass getBluetoothClass() { in getBluetoothClass()
1047 if (classInt == BluetoothClass.ERROR) return null; in getBluetoothClass()
1048 return new BluetoothClass(classInt); in getBluetoothClass()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java34 import android.bluetooth.BluetoothClass;
3075 BluetoothClass btClass = btDevice.getBluetoothClass(); in setBtScoDeviceConnectionState()
3080 case BluetoothClass.Device.AUDIO_VIDEO_WEARABLE_HEADSET: in setBtScoDeviceConnectionState()
3081 case BluetoothClass.Device.AUDIO_VIDEO_HANDSFREE: in setBtScoDeviceConnectionState()
3084 case BluetoothClass.Device.AUDIO_VIDEO_CAR_AUDIO: in setBtScoDeviceConnectionState()
/frameworks/base/docs/html/guide/topics/connectivity/
Dbluetooth.jd116 <dt>{@link android.bluetooth.BluetoothClass}</dt>
373 android.bluetooth.BluetoothClass}, respectively. For example, here's how you can
/frameworks/base/
Dcompiled-classes-phone633 android.bluetooth.BluetoothClass
634 android.bluetooth.BluetoothClass$1
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt6100 public final class BluetoothClass implements android.os.Parcelable {
6106 … field public static final android.os.Parcelable.Creator<android.bluetooth.BluetoothClass> CREATOR;
6109 public static class BluetoothClass.Device {
6110 ctor public BluetoothClass.Device();
6163 public static class BluetoothClass.Device.Major {
6164 ctor public BluetoothClass.Device.Major();
6178 public static final class BluetoothClass.Service {
6179 ctor public BluetoothClass.Service();
6199 method public android.bluetooth.BluetoothClass getBluetoothClass();
/frameworks/base/api/
Dcurrent.txt6958 public final class BluetoothClass implements android.os.Parcelable {
6964 … field public static final android.os.Parcelable.Creator<android.bluetooth.BluetoothClass> CREATOR;
6967 public static class BluetoothClass.Device {
6968 ctor public BluetoothClass.Device();
7021 public static class BluetoothClass.Device.Major {
7022 ctor public BluetoothClass.Device.Major();
7036 public static final class BluetoothClass.Service {
7037 ctor public BluetoothClass.Service();
7058 method public android.bluetooth.BluetoothClass getBluetoothClass();
Dtest-current.txt6964 public final class BluetoothClass implements android.os.Parcelable {
6970 … field public static final android.os.Parcelable.Creator<android.bluetooth.BluetoothClass> CREATOR;
6973 public static class BluetoothClass.Device {
6974 ctor public BluetoothClass.Device();
7027 public static class BluetoothClass.Device.Major {
7028 ctor public BluetoothClass.Device.Major();
7042 public static final class BluetoothClass.Service {
7043 ctor public BluetoothClass.Service();
7064 method public android.bluetooth.BluetoothClass getBluetoothClass();

12