/external/chromium_org/device/bluetooth/ |
bluetooth_device_chromeos.cc | 70 std::string modalias = properties->modalias.value(); local 71 if (StartsWithASCII(modalias, "usb:", false) && modalias.length() == 19) { 73 if (modalias[4] == 'v' && vendor_id != NULL) { 75 base::HexStringToUInt64(modalias.substr(5, 4), &component); 79 if (modalias[9] == 'p' && product_id != NULL) { 81 base::HexStringToUInt64(modalias.substr(10, 4), &component); 85 if (modalias[14] == 'd' && device_id != NULL) { 87 base::HexStringToUInt64(modalias.substr(15, 4), &component) [all...] |
/external/chromium_org/chromeos/dbus/ |
bluetooth_adapter_client.h | 76 // Local Device ID information in Linux kernel modalias format. Read-only. 77 dbus::Property<std::string> modalias; member in struct:chromeos::BluetoothAdapterClient::Properties
|
bluetooth_device_client.h | 80 // Remote Device ID information in Linux kernel modalias format. Read-only. 81 dbus::Property<std::string> modalias; member in struct:chromeos::BluetoothDeviceClient::Properties
|
bluetooth_adapter_client.cc | 42 RegisterProperty(bluetooth_adapter::kModaliasProperty, &modalias);
|
bluetooth_device_client.cc | 43 RegisterProperty(bluetooth_device::kModaliasProperty, &modalias);
|
fake_bluetooth_device_client.cc | 214 properties->modalias.ReplaceValue("usb:v05ACp030Dd0306"); [all...] |