Home
last modified time | relevance | path

Searched refs:BluetoothDevice (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_device_class.cpp33 return (class_ & BluetoothDevice::MAJOR_BITMASK); in GetMajorClass()
38 int res = (class_ & BluetoothDevice::DEVICE_BITMASK); in GetMajorMinorClass()
50 if (profileId == BluetoothDevice::PROFILE_A2DP) { in IsProfileSupported()
52 } else if (profileId == BluetoothDevice::PROFILE_A2DP_SINK) { in IsProfileSupported()
54 } else if (profileId == BluetoothDevice::PROFILE_HEADSET) { in IsProfileSupported()
56 } else if (profileId == BluetoothDevice::PROFILE_OPP) { in IsProfileSupported()
58 } else if (profileId == BluetoothDevice::PROFILE_HID) { in IsProfileSupported()
59 return (GetMajorMinorClass() & BluetoothDevice::MAJOR_PERIPHERAL) == in IsProfileSupported()
60 BluetoothDevice::MAJOR_PERIPHERAL; in IsProfileSupported()
61 } else if (profileId == BluetoothDevice in IsProfileSupported()
[all...]
H A Dbluetooth_remote_device.cpp340 cod = BluetoothDevice::MAJOR_UNCATEGORIZED; in GetDeviceProductType()
341 majorClass = BluetoothDevice::MAJOR_UNCATEGORIZED; in GetDeviceProductType()
342 majorMinorClass = BluetoothDevice::MAJOR_UNCATEGORIZED; in GetDeviceProductType()
/foundation/multimedia/audio_framework/frameworks/native/bluetoothclient/
H A Dbluetooth_device_manager.cpp40 {std::make_pair(BluetoothDevice::MAJOR_AUDIO_VIDEO, BluetoothDevice::AUDIO_VIDEO_HEADPHONES), BT_HEADPHONE},
41 {std::make_pair(BluetoothDevice::MAJOR_AUDIO_VIDEO, BluetoothDevice::AUDIO_VIDEO_WEARABLE_HEADSET), BT_HEADPHONE},
42 {std::make_pair(BluetoothDevice::MAJOR_AUDIO_VIDEO, BluetoothDevice::AUDIO_VIDEO_LOUDSPEAKER), BT_SOUNDBOX},
43 {std::make_pair(BluetoothDevice::MAJOR_AUDIO_VIDEO, BluetoothDevice::AUDIO_VIDEO_HANDSFREE), BT_CAR},
44 {std::make_pair(BluetoothDevice::MAJOR_AUDIO_VIDEO, BluetoothDevice
[all...]
/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_device.h46 class BluetoothDevice { class

Completed in 3 milliseconds