Home
last modified time | relevance | path

Searched refs:bluetoothClass (Results 1 – 9 of 9) sorted by relevance

/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
H A DInputDeviceCriteria.java50 public boolean isInputDevice(BluetoothClass bluetoothClass) { in isInputDevice() argument
51 return isMatchingMajorDeviceClass(bluetoothClass.getMajorDeviceClass()) && in isInputDevice()
52 isMatchingDeviceClass(bluetoothClass.getDeviceClass()); in isInputDevice()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
H A DBluetoothMediaDevice.java87 final BluetoothClass bluetoothClass = mCachedDevice.getDevice().getBluetoothClass(); in isCarKitDevice() local
88 if (bluetoothClass != null) { in isCarKitDevice()
89 switch (bluetoothClass.getDeviceClass()) { in isCarKitDevice()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DBluetoothTile.java218 final BluetoothClass bluetoothClass = lastDevice.getBtClass(); in getSecondaryLabel() local
219 if (bluetoothClass != null) { in getSecondaryLabel()
223 } else if (bluetoothClass.doesClassMatch(BluetoothClass.PROFILE_A2DP)) { in getSecondaryLabel()
226 } else if (bluetoothClass.doesClassMatch(BluetoothClass.PROFILE_HEADSET)) { in getSecondaryLabel()
229 } else if (bluetoothClass.doesClassMatch(BluetoothClass.PROFILE_HID)) { in getSecondaryLabel()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DCachedBluetoothDevice.java679 BluetoothClass bluetoothClass = mDevice.getBluetoothClass(); in updateProfiles() local
681 if (bluetoothClass != null) Log.v(TAG, "Class: " + bluetoothClass.toString()); in updateProfiles()
894 final BluetoothClass bluetoothClass = mDevice.getBluetoothClass(); in processPhonebookAccess() local
896 if (bluetoothClass != null && (bluetoothClass.getDeviceClass() in processPhonebookAccess()
898 || bluetoothClass.getDeviceClass() in processPhonebookAccess()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DAdapterProperties.java308 boolean setBluetoothClass(BluetoothClass bluetoothClass) { in setBluetoothClass() argument
312 bluetoothClass.getClassOfDeviceBytes()); in setBluetoothClass()
315 mBluetoothClass = bluetoothClass; in setBluetoothClass()
879 int bluetoothClass = in adapterPropertyChangedCallback() local
881 if (bluetoothClass != 0) { in adapterPropertyChangedCallback()
882 mBluetoothClass = new BluetoothClass(bluetoothClass); in adapterPropertyChangedCallback()
H A DAdapterService.java1354 public boolean setBluetoothClass(BluetoothClass bluetoothClass, AttributionSource source) { in setBluetoothClass() argument
1364 if (!service.mAdapterProperties.setBluetoothClass(bluetoothClass)) { in setBluetoothClass()
1371 bluetoothClass.getClassOfDevice()); in setBluetoothClass()
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
H A DLocalMediaManagerTest.java659 final BluetoothClass bluetoothClass = mock(BluetoothClass.class); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice() local
681 when(bluetoothDevice.getBluetoothClass()).thenReturn(bluetoothClass); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice()
682 when(bluetoothClass.getDeviceClass()).thenReturn(AUDIO_VIDEO_HEADPHONES); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice()
/aosp12/system/bt/binder/android/bluetooth/
H A DIBluetooth.aidl65 …boolean setBluetoothClass(in BluetoothClass bluetoothClass, in AttributionSource attributionSource… in setBluetoothClass() argument
/aosp12/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAdapter.java1451 public boolean setBluetoothClass(BluetoothClass bluetoothClass) { in setBluetoothClass() argument
1458 return mService.setBluetoothClass(bluetoothClass, mAttributionSource); in setBluetoothClass()