Home
last modified time | relevance | path

Searched refs:deviceClass (Results 1 – 3 of 3) sorted by relevance

/haiku/src/preferences/bluetooth/
H A DBluetoothSettingsView.cpp178 int32 deviceClass; in MessageReceived() local
180 (int32*)&deviceClass) == B_OK) { in MessageReceived()
182 if (deviceClass == 5) in MessageReceived()
185 _SetDeviceClass(1, deviceClass, 0x72); in MessageReceived()
277 int deviceClass = in _GetClassForMenu() local
286 deviceClass -= 1; in _GetClassForMenu()
288 return deviceClass; in _GetClassForMenu()
/haiku/headers/os/bluetooth/
H A DLocalDevice.h38 status_t SetDeviceClass(DeviceClass deviceClass);
/haiku/src/kits/bluetooth/
H A DLocalDevice.cpp367 LocalDevice::SetDeviceClass(DeviceClass deviceClass) in SetDeviceClass() argument
377 setDeviceClass->dev_class[0] = deviceClass.Record() & 0xFF; in SetDeviceClass()
378 setDeviceClass->dev_class[1] = (deviceClass.Record() & 0xFF00) >> 8; in SetDeviceClass()
379 setDeviceClass->dev_class[2] = (deviceClass.Record() & 0xFF0000) >> 16; in SetDeviceClass()