D | apollo_acts.py | 111 def pair(self, phone, companion_app=True): argument 125 if bt_util.android_device_in_connected_state(phone, target_addr): 128 if bt_util.android_device_in_paired_state(phone, target_addr): 131 if not bt_util.bt_unpair(phone, self.dut): 133 bt_util.bt_pair_and_connect(phone, self.dut) 146 def unpair(self, phone, companion_app=True, factory_reset_dut=True): argument 160 if not bt_util.android_device_in_paired_state(phone, target_addr): 164 phone, self.dut, factory_reset_dut=factory_reset_dut) 177 def is_paired(self, phone): argument 189 return bt_util.android_device_in_paired_state(phone, target_addr)
|