Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DBluetoothMediaDevice.java87 final BluetoothClass bluetoothClass = mCachedDevice.getDevice().getBluetoothClass(); in isCarKitDevice() local
88 if (bluetoothClass != null) { in isCarKitDevice()
89 switch (bluetoothClass.getDeviceClass()) { in isCarKitDevice()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBluetoothTile.java206 final BluetoothClass bluetoothClass = lastDevice.getBtClass(); in getSecondaryLabel() local
207 if (bluetoothClass != null) { in getSecondaryLabel()
211 } else if (bluetoothClass.doesClassMatch(BluetoothClass.PROFILE_A2DP)) { in getSecondaryLabel()
214 } else if (bluetoothClass.doesClassMatch(BluetoothClass.PROFILE_HEADSET)) { in getSecondaryLabel()
217 } else if (bluetoothClass.doesClassMatch(BluetoothClass.PROFILE_HID)) { in getSecondaryLabel()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java642 BluetoothClass bluetoothClass = mDevice.getBluetoothClass(); in updateProfiles() local
644 if (bluetoothClass != null) Log.v(TAG, "Class: " + bluetoothClass.toString()); in updateProfiles()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DLocalMediaManagerTest.java658 final BluetoothClass bluetoothClass = mock(BluetoothClass.class); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice() local
680 when(bluetoothDevice.getBluetoothClass()).thenReturn(bluetoothClass); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice()
681 when(bluetoothClass.getDeviceClass()).thenReturn(AUDIO_VIDEO_HEADPHONES); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice()
/frameworks/base/core/java/android/bluetooth/
DBluetoothAdapter.java1336 public boolean setBluetoothClass(BluetoothClass bluetoothClass) { in setBluetoothClass() argument
1343 return mService.setBluetoothClass(bluetoothClass); in setBluetoothClass()