Lines Matching refs:device_type
48 bool DeviceIsPointing(device::BluetoothDevice::DeviceType device_type) {
49 return device_type == device::BluetoothDevice::DEVICE_MOUSE ||
50 device_type == device::BluetoothDevice::DEVICE_KEYBOARD_MOUSE_COMBO ||
51 device_type == device::BluetoothDevice::DEVICE_TABLET;
59 bool DeviceIsKeyboard(device::BluetoothDevice::DeviceType device_type) {
60 return device_type == device::BluetoothDevice::DEVICE_KEYBOARD ||
61 device_type == device::BluetoothDevice::DEVICE_KEYBOARD_MOUSE_COMBO;
492 device::BluetoothDevice::DeviceType device_type = device->GetDeviceType();
494 if (device_type == device::BluetoothDevice::DEVICE_MOUSE ||
495 device_type == device::BluetoothDevice::DEVICE_TABLET) {
499 } else if (device_type == device::BluetoothDevice::DEVICE_KEYBOARD) {
503 } else if (device_type ==
512 weak_ptr_factory_.GetWeakPtr(), device_type),
515 device->GetAddress(), device_type));
519 device::BluetoothDevice::DeviceType device_type) {
520 if (DeviceIsPointing(device_type))
522 if (DeviceIsKeyboard(device_type))
528 device::BluetoothDevice::DeviceType device_type,
532 if (DeviceIsPointing(device_type))
534 if (DeviceIsKeyboard(device_type)) {