Home | History | Annotate | Download | only in car_bt

Lines Matching refs:ag

46         car_bt_utils.set_car_profile_priorities_off(self.hf, self.ag)
50 self.hf, self.ag, [BtEnum.BluetoothProfile.HEADSET_CLIENT],
59 self.ag.droid.bluetoothGetLocalAddress())
69 1. AG & HF are disconnected but paired.
72 1. Make a call from AG role (since disconnected)
74 3. Connect AG & HF
83 # make a call on AG
84 if not initiate_call(self.log, self.ag, self.re_phone_number):
85 self.ag.log.error("Failed to initiate call from ag.")
91 # Wait for AG, RE to go into an Active state.
92 if not car_telecom_utils.wait_for_active(self.log, self.ag):
93 self.ag.log.error("AG not in Active state.")
101 self.hf, self.ag,
103 self.log.error("Could not connect HF and AG {} {}".format(
104 self.hf.serial, self.ag.serial))
116 ret &= car_telecom_utils.wait_for_not_in_call(self.log, self.ag)
129 1. AG & HF are disconnected but paired.
133 1. Make a call from AG role (since disconnected)
144 # Connect HF & AG
146 self.hf, self.ag,
148 self.log.error("Could not connect HF and AG {} {}".format(
149 self.hf.serial, self.ag.serial))
152 # make a call on AG
153 if not initiate_call(self.log, self.ag, self.re_phone_number):
154 self.ag.log.error("Failed to initiate call from ag.")
166 # Wait for all HF, AG, RE to go into an Active state.
170 if not car_telecom_utils.wait_for_active(self.log, self.ag):
171 self.ag.log.error("AG not in Active state.")
196 ret &= car_telecom_utils.wait_for_not_in_call(self.log, self.ag)
209 1. AG & HF are paired
212 0. Connect AG & HF
215 3. Disconnect AG & HF
217 5. Connect AG & HF
228 self.hf, self.ag,
230 self.log.error("Could not connect HF and AG {} {}".format(
231 self.hf.serial, self.ag.serial))
240 # Wait for HF, AG to be dialing and RE to be ringing
244 ret &= car_telecom_utils.wait_for_dialing(self.log, self.ag)
257 ret &= car_telecom_utils.wait_for_active(self.log, self.ag)
264 # Disconnect HF & AG
266 self.ag.droid.bluetoothGetLocalAddress())
275 self.hf, self.ag,
277 self.log.error("Could not connect HF and AG {} {}".format(
278 self.hf.serial, self.ag.serial))
281 self.hf, self.ag.droid.bluetoothGetLocalAddress()):
295 ret &= car_telecom_utils.wait_for_not_in_call(self.log, self.ag)