Searched refs:bluetoothClass (Results 1 – 9 of 9) sorted by relevance
50 public boolean isInputDevice(BluetoothClass bluetoothClass) { in isInputDevice() argument51 return isMatchingMajorDeviceClass(bluetoothClass.getMajorDeviceClass()) && in isInputDevice()52 isMatchingDeviceClass(bluetoothClass.getDeviceClass()); in isInputDevice()
87 final BluetoothClass bluetoothClass = mCachedDevice.getDevice().getBluetoothClass(); in isCarKitDevice() local88 if (bluetoothClass != null) { in isCarKitDevice()89 switch (bluetoothClass.getDeviceClass()) { in isCarKitDevice()
218 final BluetoothClass bluetoothClass = lastDevice.getBtClass(); in getSecondaryLabel() local219 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()
679 BluetoothClass bluetoothClass = mDevice.getBluetoothClass(); in updateProfiles() local681 if (bluetoothClass != null) Log.v(TAG, "Class: " + bluetoothClass.toString()); in updateProfiles()894 final BluetoothClass bluetoothClass = mDevice.getBluetoothClass(); in processPhonebookAccess() local896 if (bluetoothClass != null && (bluetoothClass.getDeviceClass() in processPhonebookAccess()898 || bluetoothClass.getDeviceClass() in processPhonebookAccess()
308 boolean setBluetoothClass(BluetoothClass bluetoothClass) { in setBluetoothClass() argument312 bluetoothClass.getClassOfDeviceBytes()); in setBluetoothClass()315 mBluetoothClass = bluetoothClass; in setBluetoothClass()879 int bluetoothClass = in adapterPropertyChangedCallback() local881 if (bluetoothClass != 0) { in adapterPropertyChangedCallback()882 mBluetoothClass = new BluetoothClass(bluetoothClass); in adapterPropertyChangedCallback()
1354 public boolean setBluetoothClass(BluetoothClass bluetoothClass, AttributionSource source) { in setBluetoothClass() argument1364 if (!service.mAdapterProperties.setBluetoothClass(bluetoothClass)) { in setBluetoothClass()1371 bluetoothClass.getClassOfDevice()); in setBluetoothClass()
659 final BluetoothClass bluetoothClass = mock(BluetoothClass.class); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice() local681 when(bluetoothDevice.getBluetoothClass()).thenReturn(bluetoothClass); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice()682 when(bluetoothClass.getDeviceClass()).thenReturn(AUDIO_VIDEO_HEADPHONES); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice()
65 …boolean setBluetoothClass(in BluetoothClass bluetoothClass, in AttributionSource attributionSource… in setBluetoothClass() argument
1451 public boolean setBluetoothClass(BluetoothClass bluetoothClass) { in setBluetoothClass() argument1458 return mService.setBluetoothClass(bluetoothClass, mAttributionSource); in setBluetoothClass()