Home
last modified time | relevance | path

Searched refs:btClass (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Nfc/src/com/android/nfc/handover/
DBluetoothPeripheralHandover.java124 int transport, OobData oobData, ParcelUuid[] uuids, BluetoothClass btClass, in BluetoothPeripheralHandover() argument
139 mIsHeadsetAvailable = hasHeadsetCapability(uuids, btClass); in BluetoothPeripheralHandover()
140 mIsA2dpAvailable = hasA2dpCapability(uuids, btClass); in BluetoothPeripheralHandover()
588 boolean hasA2dpCapability(ParcelUuid[] uuids, BluetoothClass btClass) { in hasA2dpCapability() argument
596 if (btClass != null && btClass.doesClassMatch(BluetoothClass.PROFILE_A2DP)) { in hasA2dpCapability()
602 boolean hasHeadsetCapability(ParcelUuid[] uuids, BluetoothClass btClass) { in hasHeadsetCapability() argument
610 if (btClass != null && btClass.doesClassMatch(BluetoothClass.PROFILE_HEADSET)) { in hasHeadsetCapability()
DHandoverDataParser.java101 public BluetoothClass btClass = null; field in HandoverDataParser.BluetoothHandoverData
439 result.btClass = parseBluetoothClassFromBluetoothRecord(payload); in parseBtOob()
625 byte[] btClass = new byte[CLASS_OF_DEVICE_SIZE]; in parseBluetoothClassFromBluetoothRecord()
626 payload.get(btClass); in parseBluetoothClassFromBluetoothRecord()
629 buffer.put(btClass); in parseBluetoothClassFromBluetoothRecord()
DPeripheralHandoverService.java166 BluetoothClass btClass = msgData.getParcelable(EXTRA_PERIPHERAL_CLASS); in doPeripheralHandover() local
180 this, mDevice, name, transport, oobData, uuids, btClass, this); in doPeripheralHandover()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DBondStateMachine.java244 BluetoothClass btClass = dev.getBluetoothClass(); in processMessage() local
245 int btDeviceClass = btClass.getDeviceClass(); in processMessage()
/packages/apps/Nfc/src/com/android/nfc/
DNfcDispatcher.java677 if (handover.btClass != null) { in tryPeripheralHandover()
678 intent.putExtra(PeripheralHandoverService.EXTRA_PERIPHERAL_CLASS, handover.btClass); in tryPeripheralHandover()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsProfilesControllerTest.java170 public int getDrawableResource(BluetoothClass btClass) { in getDrawableResource() argument