Lines Matching refs:btpeer
81 'MOUSE': lambda btpeer: btpeer.get_bluetooth_hid_mouse,
82 'KEYBOARD': lambda btpeer: btpeer.get_bluetooth_hid_keyboard,
83 'BLE_MOUSE': lambda btpeer: btpeer.get_ble_mouse,
84 'BLE_KEYBOARD': lambda btpeer: btpeer.get_ble_keyboard,
86 'BLUETOOTH_TESTER': lambda btpeer: btpeer.get_bluetooth_tester,
90 'BLUETOOTH_BASE': lambda btpeer: btpeer.get_bluetooth_base,
165 def get_bluetooth_emulated_device(btpeer, device_type): argument
227 if not fix_serial_device(btpeer, device, action):
246 device = SUPPORTED_DEVICE_TYPES[device_type](btpeer)()
343 def _reboot_btpeer(btpeer, device): argument
359 btpeer.reboot()
415 def fix_serial_device(btpeer, device, operation='reset'): argument
460 return _reboot_btpeer(btpeer, device)
786 for idx, btpeer in enumerate(self.host.btpeer_list):
789 device = gen_device_func(btpeer)()
791 self.btpeer_group[device_type].append(btpeer)
795 self.btpeer_group_copy[device_type].append(btpeer)
917 for btpeer in self.btpeer_group[device_type][:number]:
919 device = self.reset_device(btpeer, device_type, on_start)
926 if btpeer in self.btpeer_group[temp_device]:
927 self.btpeer_group[temp_device].remove(btpeer)
945 self.reset_device(self.host.btpeer, device_type, on_start))
982 def is_device_available(self, btpeer, device_type): argument
990 device = SUPPORTED_DEVICE_TYPES[device_type](btpeer)()
1011 for btpeer in self.host.btpeer_list:
1012 if self.is_device_available(btpeer, device_type):