Searched refs:bluetoothClass (Results 1 – 5 of 5) sorted by relevance
87 final BluetoothClass bluetoothClass = mCachedDevice.getDevice().getBluetoothClass(); in isCarKitDevice() local88 if (bluetoothClass != null) { in isCarKitDevice()89 switch (bluetoothClass.getDeviceClass()) { in isCarKitDevice()
206 final BluetoothClass bluetoothClass = lastDevice.getBtClass(); in getSecondaryLabel() local207 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()
642 BluetoothClass bluetoothClass = mDevice.getBluetoothClass(); in updateProfiles() local644 if (bluetoothClass != null) Log.v(TAG, "Class: " + bluetoothClass.toString()); in updateProfiles()
658 final BluetoothClass bluetoothClass = mock(BluetoothClass.class); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice() local680 when(bluetoothDevice.getBluetoothClass()).thenReturn(bluetoothClass); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice()681 when(bluetoothClass.getDeviceClass()).thenReturn(AUDIO_VIDEO_HEADPHONES); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice()
1336 public boolean setBluetoothClass(BluetoothClass bluetoothClass) { in setBluetoothClass() argument1343 return mService.setBluetoothClass(bluetoothClass); in setBluetoothClass()